Re: [PATCH v3 2/2] soc: fsl: qbman: Use raw spinlock for cgr_lock

2023-04-17 Thread Crystal Wood
On Tue, 2023-04-11 at 11:09 -0400, Sean Anderson wrote: > Hi Crystal, > > On 4/4/23 12:04, Sean Anderson wrote: > > On 4/4/23 11:33, Crystal Wood wrote: > > > On Tue, 2023-04-04 at 10:55 -0400, Sean Anderson wrote: > > > > > > > @@ -1456,11 +1456,11 @@ static void tqm_congestion_task(struct > > >

RE: [PATCH v3 6/6] PCI/AER: Unmask RCEC internal errors to enable RCH downstream port error handling

2023-04-17 Thread Dan Williams
Terry Bowman wrote: > From: Robert Richter > > RCEC AER corrected and uncorrectable internal errors (CIE/UIE) are > disabled by default. [1][2] Enable them to receive CXL downstream port > errors of a Restricted CXL Host (RCH). > > [1] CXL 3.0 Spec, 12.2.1.1 - RCH Downstream Port Detected Errors

Re: [PATCH 12/33] mm: Create ptdesc equivalents for pgtable_{pte,pmd}_page_{ctor,dtor}

2023-04-17 Thread kernel test robot
Hi Vishal, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on next-20230417] [cannot apply to s390/features powerpc/next powerpc/fixes geert-m68k/for-next geert-m68k/for-linus linus/master v6.3-rc7] [If your

Re: [PATCH 04/33] mm: add utility functions for ptdesc

2023-04-17 Thread kernel test robot
Hi Vishal, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on s390/features powerpc/next powerpc/fixes geert-m68k/for-next geert-m68k/for-linus linus/master v6.3-rc7 next-20230417] [If your patch is applied to the

RE: [PATCH v3 5/6] PCI/AER: Forward RCH downstream port-detected errors to the CXL.mem dev handler

2023-04-17 Thread Dan Williams
Terry Bowman wrote: > From: Robert Richter > > In Restricted CXL Device (RCD) mode a CXL device is exposed as an > RCiEP, but CXL downstream and upstream ports are not enumerated and > not visible in the PCIe hierarchy. Protocol and link errors are sent > to an RCEC. > > Restricted CXL host (RCH

[PATCH 06/11] ASoC: fsl: use asoc_dummy_dlc

2023-04-17 Thread Kuninori Morimoto
Now we can share asoc_dummy_dlc. This patch use it. Signed-off-by: Kuninori Morimoto --- sound/soc/fsl/imx-audmix.c | 14 +- sound/soc/fsl/imx-card.c | 11 +-- sound/soc/fsl/imx-rpmsg.c | 3 +-- sound/soc/fsl/imx-spdif.c | 6 ++ 4 files changed, 9 insertions(+), 25

Re: [PATCH 24/33] m68k: Convert various functions to use ptdescs

2023-04-17 Thread kernel test robot
Hi Vishal, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on next-20230417] [cannot apply to s390/features powerpc/next powerpc/fixes geert-m68k/for-next geert-m68k/for-linus linus/master v6.3-rc7] [If your

Re: [PATCH v3 5/6] PCI/AER: Forward RCH downstream port-detected errors to the CXL.mem dev handler

2023-04-17 Thread Robert Richter
On 14.04.23 16:32:54, Bjorn Helgaas wrote: > On Thu, Apr 13, 2023 at 01:40:52PM +0200, Robert Richter wrote: > > On 12.04.23 17:02:33, Bjorn Helgaas wrote: > > > On Tue, Apr 11, 2023 at 01:03:01PM -0500, Terry Bowman wrote: > > > > From: Robert Richter > > > ... > > Let's assume just a simple CXL

[PATCH v2 2/2] start_kernel: omit prevent_tail_call_optimization for newer toolchains

2023-04-17 Thread ndesaulniers
prevent_tail_call_optimization was added in commit a9a3ed1eff36 ("x86: Fix early boot crash on gcc-10, third try") to work around stack canaries getting inserted into functions that would initialize the stack canary in the first place. Now that we have no_stack_protector function attribute (gcc-11

[PATCH v2 1/2] start_kernel: add no_stack_protector fn attr

2023-04-17 Thread ndesaulniers
Back during the discussion of commit a9a3ed1eff36 ("x86: Fix early boot crash on gcc-10, third try") we discussed the need for a function attribute to control the omission of stack protectors on a per-function basis; at the time Clang had support for no_stack_protector but GCC did not. This was fix

[PATCH v2 0/2] start_kernel: omit stack canary

2023-04-17 Thread ndesaulniers
A security research paper was recently published detailing Catch Handler Oriented Programming (CHOP) attacks. https://download.vusec.net/papers/chop_ndss23.pdf The TL;DR being that C++ structured exception handling runtimes are attractive gadgets for Jump Oriented Programming (JOP) attacks. In res

[PATCH 2/2] start_kernel: omit prevent_tail_call_optimization for newer toolchains

2023-04-17 Thread ndesaulniers
prevent_tail_call_optimization was added in commit a9a3ed1eff36 ("x86: Fix early boot crash on gcc-10, third try") to work around stack canaries getting inserted into functions that would initialize the stack canary in the first place. Now that we have no_stack_protector function attribute (gcc-11

[PATCH 0/2] start_kernel: omit stack canary

2023-04-17 Thread ndesaulniers
A security research paper was recently published detailing Catch Handler Oriented Programming (CHOP) attacks. https://download.vusec.net/papers/chop_ndss23.pdf The TL;DR being that C++ structured exception handling runtimes are attractive gadgets for Jump Oriented Programming (JOP) attacks. In res

[PATCH 1/2] start_kernel: add no_stack_protector fn attr

2023-04-17 Thread ndesaulniers
Back during the discussion of commit a9a3ed1eff36 ("x86: Fix early boot crash on gcc-10, third try") we discussed the need for a function attribute to control the omission of stack protectors on a per-function basis; at the time Clang had support for no_stack_protector but GCC did not. This was fix

Re: [PATCH v3 5/6] PCI/AER: Forward RCH downstream port-detected errors to the CXL.mem dev handler

2023-04-17 Thread Robert Richter
Hi Jonathan, On 17.04.23 17:54:31, Jonathan Cameron wrote: > On Fri, 14 Apr 2023 16:35:05 +0200 > Robert Richter wrote: > > > On 14.04.23 13:19:50, Jonathan Cameron wrote: > > > On Tue, 11 Apr 2023 13:03:01 -0500 > > > Terry Bowman wrote: > > > > > > > From: Robert Richter > > > > > > > >

Re: [PATCH 1/2] ASoC: fsl_mqs: move of_node_put() to the correct location

2023-04-17 Thread Mark Brown
On Mon, 03 Apr 2023 23:26:47 +0800, Liliang Ye wrote: > of_node_put() should have been done directly after > mqs_priv->regmap = syscon_node_to_regmap(gpr_np); > otherwise it creates a reference leak on the success path. > > To fix this, of_node_put() is moved to the correct location, and change >

Re: [PATCH 2/2] ASoC: fsl_mqs: call pm_runtime_disable() on error path

2023-04-17 Thread Mark Brown
On Mon, Apr 03, 2023 at 11:27:37PM +0800, Liliang Ye wrote: > pm_runtime_disable was missed in cleanup operation, which corresponds to > the earlier call to pm_runtime_enable. This doesn't apply against current code, please check and resend. signature.asc Description: PGP signature

Re: [PATCH v3 5/6] PCI/AER: Forward RCH downstream port-detected errors to the CXL.mem dev handler

2023-04-17 Thread Jonathan Cameron
On Fri, 14 Apr 2023 16:35:05 +0200 Robert Richter wrote: > On 14.04.23 13:19:50, Jonathan Cameron wrote: > > On Tue, 11 Apr 2023 13:03:01 -0500 > > Terry Bowman wrote: > > > > > From: Robert Richter > > > > > > In Restricted CXL Device (RCD) mode a CXL device is exposed as an > > > RCiEP, b

Re: [PATCH 1/4] add generic builtin command line

2023-04-17 Thread Daniel Walker (danielwa)
On Mon, Apr 17, 2023 at 06:18:18PM +0200, Tomas Mudrunka wrote: > This seems quite useful. Can you please merge it? I need to re-send it before it can be merge. I'll try to update it soon. Daniel

Re: [RFC PATCH 0/4] Remove some e500/MPC85xx evaluation platforms

2023-04-17 Thread Paul Gortmaker
[RE: [RFC PATCH 0/4] Remove some e500/MPC85xx evaluation platforms] On 14/04/2023 (Fri 23:29) Leo Li wrote: > > > > -Original Message- > > From: Michael Ellerman > > Sent: Thursday, April 13, 2023 9:14 PM > > To: Leo Li ; Paul Gortmaker > > > > Cc: Scott Wood ; Paul Mackerras ; > > Cl

Re: [PATCH v3 16/19] arch/sh: Implement with generic helpers

2023-04-17 Thread John Paul Adrian Glaubitz
On Mon, 2023-04-17 at 14:56 +0200, Thomas Zimmermann wrote: > Replace the architecture's fbdev helpers with the generic > ones from . No functional changes. > > v2: > * use default implementation for fb_pgprotect() (Arnd) > > Signed-off-by: Thomas Zimmermann > Cc: Yoshinori Sato > Cc: Ric

Re: [PATCH v3 16/19] arch/sh: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Hi Am 17.04.23 um 16:13 schrieb John Paul Adrian Glaubitz: Hi Thomas! On Mon, 2023-04-17 at 16:06 +0200, Thomas Zimmermann wrote: Hi Am 17.04.23 um 15:02 schrieb John Paul Adrian Glaubitz: Hi Thomas! On Mon, 2023-04-17 at 14:56 +0200, Thomas Zimmermann wrote: Replace the architecture's fbd

Re: [PATCH v3 16/19] arch/sh: Implement with generic helpers

2023-04-17 Thread John Paul Adrian Glaubitz
Hi Thomas! On Mon, 2023-04-17 at 16:06 +0200, Thomas Zimmermann wrote: > Hi > > Am 17.04.23 um 15:02 schrieb John Paul Adrian Glaubitz: > > Hi Thomas! > > > > On Mon, 2023-04-17 at 14:56 +0200, Thomas Zimmermann wrote: > > > Replace the architecture's fbdev helpers with the generic > > > ones fr

Re: [PATCH v3 00/19] arch: Consolidate

2023-04-17 Thread Arnd Bergmann
On Mon, Apr 17, 2023, at 14:56, Thomas Zimmermann wrote: > Various architectures provide with helpers for fbdev > framebuffer devices. Share the contained code where possible. There > is already , which implements generic (as in > 'empty') functions of the fbdev helpers. The header was added in >

Re: [PATCH v3 16/19] arch/sh: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Am 17.04.23 um 16:06 schrieb Thomas Zimmermann: Hi Am 17.04.23 um 15:02 schrieb John Paul Adrian Glaubitz: Hi Thomas! On Mon, 2023-04-17 at 14:56 +0200, Thomas Zimmermann wrote: Replace the architecture's fbdev helpers with the generic ones from . No functional changes. v2: * use defau

Re: [PATCH v3 16/19] arch/sh: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Hi Am 17.04.23 um 15:02 schrieb John Paul Adrian Glaubitz: Hi Thomas! On Mon, 2023-04-17 at 14:56 +0200, Thomas Zimmermann wrote: Replace the architecture's fbdev helpers with the generic ones from . No functional changes. v2: * use default implementation for fb_pgprotect() (Arnd) Si

Re: [PATCH] Revert "powerpc/rtas: Implement reentrant rtas call"

2023-04-17 Thread Nathan Lynch
Michal Suchánek writes: > On Fri, Sep 16, 2022 at 04:56:18PM -0500, Nathan Lynch wrote: >> "Nicholas Piggin" writes: >> > On Wed Sep 14, 2022 at 3:39 AM AEST, Leonardo Brás wrote: >> >> On Mon, 2022-09-12 at 14:58 -0500, Nathan Lynch wrote: >> >> > Leonardo Brás writes: >> >> > > On Fri, 2022-09

Re: [PATCH v3 1/1] of: fdt: Scan /memreserve/ last

2023-04-17 Thread Rob Herring
On Wed, Apr 12, 2023 at 5:46 PM Lucas Tanure wrote: > > Change the order of scanning /memreserve/ and /reserved-memory node. > /reserved-memory node should go first, as it has a more updated > description of the memory regions and it can apply flags, like nomap. > Also, /memreserve/ should avoid r

Re: [PATCH v3 16/19] arch/sh: Implement with generic helpers

2023-04-17 Thread John Paul Adrian Glaubitz
Hi Thomas! On Mon, 2023-04-17 at 14:56 +0200, Thomas Zimmermann wrote: > Replace the architecture's fbdev helpers with the generic > ones from . No functional changes. > > v2: > * use default implementation for fb_pgprotect() (Arnd) > > Signed-off-by: Thomas Zimmermann > Cc: Yoshinori Sat

Re: [PATCH 3/3] PCI/DPC: Disable DPC service on suspend when IRQ is shared with PME

2023-04-17 Thread Kai-Heng Feng
On Thu, Sep 29, 2022 at 5:24 AM Bjorn Helgaas wrote: > > On Wed, Jul 27, 2022 at 09:32:52AM +0800, Kai-Heng Feng wrote: > > PCIe service that shares IRQ with PME may cause spurious wakeup on > > system suspend. > > > > Since AER is conditionally disabled in previous patch, also apply the > > same

[PATCH v3 19/19] arch/x86: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Include and set the required preprocessor tokens correctly. x86 now implements its own set of fb helpers, but still follows the overall pattern of the other files. v3: * clarified commit message Signed-off-by: Thomas Zimmermann Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov

[PATCH v3 14/19] arch/parisc: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Replace the architecture's fbdev helpers with the generic ones from . On PARISC, pgprot_writecombine() and pgprot_noncached() are the same; hence no functional changes. v3: * use default implementation for fb_pgprotect() (Arnd) Signed-off-by: Thomas Zimmermann Cc: "James E.J. Bottomley"

[PATCH v3 15/19] arch/powerpc: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Replace the architecture's fb_is_primary_device() with the generic one from . No functional changes. Signed-off-by: Thomas Zimmermann Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Christophe Leroy Acked-by: Michael Ellerman --- arch/powerpc/include/asm/fb.h | 8 +++- 1 file changed, 3 ins

[PATCH v3 13/19] arch/parisc: Implement fb_is_primary_device() under arch/parisc

2023-04-17 Thread Thomas Zimmermann
Move PARISC's implementation of fb_is_primary_device() into the architecture directory. This the place of the declaration and where other architectures implement this function. No functional changes. Signed-off-by: Thomas Zimmermann Cc: "James E.J. Bottomley" Cc: Helge Deller --- arch/parisc/M

[PATCH v3 12/19] arch/parisc: Remove trailing whitespaces

2023-04-17 Thread Thomas Zimmermann
Fix trailing whitespaces. No functional changes. Signed-off-by: Thomas Zimmermann Cc: "James E.J. Bottomley" Cc: Helge Deller --- arch/parisc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index a2d8600521f9..0d049a6f6a6

[PATCH v3 18/19] arch/sparc: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Replace sparc64's fb_pgprotect() with the generic one from . On sparc, pgprot_writecombine() and pgprot_noncached() are the same; hence no functional changes v3: * use default implementation for fb_pgprotect() on sparc64 (Arnd) v2: * restore the original fb_pgprotect() S

[PATCH v3 17/19] arch/sparc: Implement fb_is_primary_device() in source file

2023-04-17 Thread Thomas Zimmermann
Other architectures implment fb_is_primary_device() in a source file. Do the same on sparc. No functional changes, but allows to remove several include statement from . v2: * don't include in header file Signed-off-by: Thomas Zimmermann Cc: "David S. Miller" --- arch/sparc/Makefile

[PATCH v3 16/19] arch/sh: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Replace the architecture's fbdev helpers with the generic ones from . No functional changes. v2: * use default implementation for fb_pgprotect() (Arnd) Signed-off-by: Thomas Zimmermann Cc: Yoshinori Sato Cc: Rich Felker Cc: John Paul Adrian Glaubitz --- arch/sh/include/asm/fb.h | 15

[PATCH v3 10/19] video: Remove trailing whitespaces

2023-04-17 Thread Thomas Zimmermann
Fix trailing whitespaces. No functional changes. Signed-off-by: Thomas Zimmermann --- drivers/video/console/sticon.c | 4 +- drivers/video/console/sticore.c | 102 ++--- drivers/video/fbdev/sticore.h | 14 +-- drivers/video/fbdev/stifb.c | 156 --

[PATCH v3 09/19] arch/mips: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Replace the architecture's fb_is_primary_device() with the generic one from . No functional changes. Signed-off-by: Thomas Zimmermann Cc: Thomas Bogendoerfer --- arch/mips/include/asm/fb.h | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/mips/include/asm/fb.h

[PATCH v3 07/19] arch/m68k: Merge variants of fb_pgprotect() into single function

2023-04-17 Thread Thomas Zimmermann
Merge all variants of fb_pgprotect() into a single function body. There are two different cases for MMU systems. For non-MMU systems, the function body will be empty. No functional changes, but this will help with the switch to . Signed-off-by: Thomas Zimmermann Reviewed-by: Geert Uytterhoeven A

[PATCH v3 04/19] arch/arm64: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Replace the architecture's fbdev helpers with the generic ones from . No functional changes. v2: * use default implementation for fb_pgprotect() (Arnd) Signed-off-by: Thomas Zimmermann Cc: Catalin Marinas Cc: Will Deacon --- arch/arm64/include/asm/fb.h | 15 +-- 1 file cha

[PATCH v3 03/19] arch/arm: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Replace the architecture's fbdev helpers with the generic ones from . No functional changes. v2: * use default implementation for fb_pgprotect() (Arnd) Signed-off-by: Thomas Zimmermann Cc: Russell King --- arch/arm/include/asm/fb.h | 15 +-- 1 file changed, 1 insertion(+),

[PATCH v3 08/19] arch/m68k: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Replace the architecture's fb_is_primary_device() with the generic one from . No functional changes. v2: * provide empty fb_pgprotect() on non-MMU systems Signed-off-by: Thomas Zimmermann Cc: Geert Uytterhoeven Acked-by: Geert Uytterhoeven --- arch/m68k/include/asm/fb.h | 10 -

[PATCH v3 11/19] video: Move HP PARISC STI core code to shared location

2023-04-17 Thread Thomas Zimmermann
STI core files have been located in console and fbdev code. Move the source code and header to the directories for video helpers. Also update the config and build rules such that the code depends on the config symbol CONFIG_STI_CORE, which STI console and STI framebuffer select automatically. Clea

[PATCH v3 06/19] arch/loongarch: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Replace the architecture's fbdev helpers with the generic ones from . No functional changes. v2: * use default implementation for fb_pgprotect() (Arnd) Signed-off-by: Thomas Zimmermann Cc: Huacai Chen Cc: WANG Xuerui --- arch/loongarch/include/asm/fb.h | 15 +-- 1 file cha

[PATCH v3 02/19] arch/arc: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Replace the architecture's fbdev helpers with the generic ones from . On arc, pgprot_writecombine() and pgprot_noncached() are the same; hence no functional changes. v3: * use default implementation for fb_pgprotect() (Arnd) Signed-off-by: Thomas Zimmermann Cc: Vineet Gupta --- arch/ar

[PATCH v3 05/19] arch/ia64: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Replace the architecture's fb_is_primary_device() with the generic one from . No functional changes. Signed-off-by: Thomas Zimmermann --- arch/ia64/include/asm/fb.h | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/arch/ia64/include/asm/fb.h b/arch/ia64/include/asm/

[PATCH v3 01/19] fbdev: Prepare generic architecture helpers

2023-04-17 Thread Thomas Zimmermann
Generic implementations of fb_pgprotect() and fb_is_primary_device() have been in the source code for a long time. Prepare the header file to make use of them. Improve the code by using an inline function for fb_pgprotect() and by removing include statements. The default mode set by fb_pgprotect()

[PATCH v3 00/19] arch: Consolidate

2023-04-17 Thread Thomas Zimmermann
Various architectures provide with helpers for fbdev framebuffer devices. Share the contained code where possible. There is already , which implements generic (as in 'empty') functions of the fbdev helpers. The header was added in commit aafe4dbed0bf ("asm-generic: add generic versions of common h

Re: [PATCH v3 6/7] mm/gup: remove vmas parameter from pin_user_pages()

2023-04-17 Thread Dennis Dalessandro
On 4/15/23 8:09 AM, Lorenzo Stoakes wrote: > After the introduction of FOLL_SAME_FILE we no longer require vmas for any > invocation of pin_user_pages(), so eliminate this parameter from the > function and all callers. > > This clears the way to removing the vmas parameter from GUP altogether. >

Re: [PATCH 2/3] PCI/AER: Disable AER service on suspend when IRQ is shared with PME

2023-04-17 Thread Kai-Heng Feng
On Thu, Sep 29, 2022 at 5:46 AM Bjorn Helgaas wrote: > > On Wed, Jul 27, 2022 at 09:32:51AM +0800, Kai-Heng Feng wrote: > > PCIe service that shares IRQ with PME may cause spurious wakeup on > > system suspend. > > > > PCIe Base Spec 5.0, section 5.2 "Link State Power Management" states > > that T

Re: [PATCH] ASoC: fsl: Simplify an error message

2023-04-17 Thread Iuliana Prodan
On 4/16/2023 9:29 AM, Christophe JAILLET wrote: dev_err_probe() already display the error code. There is no need to duplicate it explicitly in the error message. Signed-off-by: Christophe JAILLET Reviewed-by: Iuliana Prodan Thanks, Iulia --- sound/soc/fsl/fsl-asoc-card.c | 2 +- 1 file

Re: [PATCH v3 6/7] mm/gup: remove vmas parameter from pin_user_pages()

2023-04-17 Thread David Hildenbrand
On 15.04.23 14:09, Lorenzo Stoakes wrote: After the introduction of FOLL_SAME_FILE we no longer require vmas for any invocation of pin_user_pages(), so eliminate this parameter from the function and all callers. This clears the way to removing the vmas parameter from GUP altogether. Signed-off-

Re: [PATCH v2 01/19] fbdev: Prepare generic architecture helpers

2023-04-17 Thread Arnd Bergmann
On Mon, Apr 17, 2023, at 11:03, Thomas Zimmermann wrote: > Am 11.04.23 um 10:08 schrieb Geert Uytterhoeven: >> On Thu, Apr 6, 2023 at 4:30 PM Thomas Zimmermann wrote: >>> +#ifndef fb_pgprotect >>> +#define fb_pgprotect fb_pgprotect >>> +static inline void fb_pgprotect(struct file *file, struct vm

Re: [PATCH v2 02/19] arch/arc: Implement with generic helpers

2023-04-17 Thread Thomas Zimmermann
Am 06.04.23 um 16:43 schrieb Arnd Bergmann: On Thu, Apr 6, 2023, at 16:30, Thomas Zimmermann wrote: + static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, unsigned long off) { vma->vm_page_prot = pgprot_noncached(vma->vm_pag

Re: [PATCH v2 01/19] fbdev: Prepare generic architecture helpers

2023-04-17 Thread Thomas Zimmermann
Hi Geert Am 11.04.23 um 10:08 schrieb Geert Uytterhoeven: Hi Thomas, On Thu, Apr 6, 2023 at 4:30 PM Thomas Zimmermann wrote: Generic implementations of fb_pgprotect() and fb_is_primary_device() have been in the source code for a long time. Prepare the header file to make use of them. Improve