[powerpc:next] BUILD SUCCESS 85a616416e9e01db0bfa92f26457e92642e2236b

2023-08-31 Thread kernel test robot
allyesconfig gcc arc defconfig gcc arc randconfig-001-20230831 gcc arc randconfig-001-20230901 gcc arc randconfig-r002-20230901 gcc arc randconfig-r004-20230831 gcc arc

[powerpc:merge] BUILD SUCCESS 5c28fde1e3240c87cae1ed98a82a10118fdfa9d7

2023-08-31 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git merge branch HEAD: 5c28fde1e3240c87cae1ed98a82a10118fdfa9d7 Automatic merge of 'next' into merge (2023-08-31 22:11) elapsed time: 1024m configs tested: 204 configs skipped: 2 The following configs have been built

Re: [RFC PATCH v11 12/29] KVM: Add KVM_CREATE_GUEST_MEMFD ioctl() for guest-specific backing memory

2023-08-31 Thread Binbin Wu
On 8/31/2023 12:44 AM, Ackerley Tng wrote: Binbin Wu writes: +static long kvm_gmem_allocate(struct inode *inode, loff_t offset, loff_t len) +{ + struct address_space *mapping = inode->i_mapping; + pgoff_t start, index, end; + int r; + + /* Dedicated guest is

[PATCH v2 3/3] kconfig: add dependencies of POWER_RESET for PowerMac

2023-08-31 Thread Yuan Tan
PowerMac's power off depends on ADB_CUDA to work. Enable it when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/powerpc/platforms/powermac/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/powermac/Kconfig

[PATCH v2 2/3] kconfig: add dependencies of POWER_RESET for x86

2023-08-31 Thread Yuan Tan
x86 and x86_64's power off depends on ACPI and PCI to work. Enable them when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/x86/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index

[PATCH v2 1/3] kconfig: add dependencies of POWER_RESET for mips malta

2023-08-31 Thread Yuan Tan
MIPS Malta's power off depends on PCI, PCI_QUIRKS, and POWER_RESET_PIIX4_POWEROFF to work. Enable them when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/mips/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/Kconfig

[PATCH v2 0/3] Add dependencies of POWER_RESET for MIPS Malta, x86, and PowerMac

2023-08-31 Thread Yuan Tan
These patches are to add dependencies of POWER_RESET for MIPS Malta, x86, and PowerMac. I am really sorry I forget to use --thread in v1[1] as I stayed up too late. So here I am resending v2 patch with a mirror fix and consolidating them into a thread. To simplify the enablement of the poweroff

Re: Framebuffer mmap on PowerPC

2023-08-31 Thread Arnd Bergmann
On Thu, Aug 31, 2023, at 10:41, Thomas Zimmermann wrote: > Hi, > > there's a per-architecture function called fb_pgprotect() that sets > VMA's vm_page_prot for mmaped framebuffers. Most architectures use a > simple implementation based on pgprot_writecomine() [1] or > pgprot_noncached(). [2] >

Re: KASAN debug kernel fails to boot at early stage when CONFIG_SMP=y is set (kernel 6.5-rc5, PowerMac G4 3,6)

2023-08-31 Thread Erhard Furtner
On Thu, 31 Aug 2023 05:32:46 + Christophe Leroy wrote: > Ok so there is some corrupted memory somewhere. > > Can you try what happens when you remove the call to kasan_init() at the > start of setup_arch() in arch/powerpc/kernel/setup-common.c Ok, so I left the other patches in place +

Re: [RFC PATCH v2 0/7] Add audio support in v4l2 framework

2023-08-31 Thread Nicolas Dufresne
Hi, Le jeudi 24 août 2023 à 19:03 +0200, Takashi Iwai a écrit : > > 3. How to handle the xrun issue. pause or resume. which are brought by ALSA. > > Doesn't V4L2 handle the overrun/underrun at all?  Also, no resume > support? just a 2 cents comment. All our video m2m are job based. When there

Framebuffer mmap on PowerPC

2023-08-31 Thread Thomas Zimmermann
Hi, there's a per-architecture function called fb_pgprotect() that sets VMA's vm_page_prot for mmaped framebuffers. Most architectures use a simple implementation based on pgprot_writecomine() [1] or pgprot_noncached(). [2] On PPC this function uses phys_mem_access_prot() and therefore

Re: [PATCH v7 5/8] KVM: x86/mmu: Don't pass FOLL_GET to __kvm_follow_pfn

2023-08-31 Thread Sean Christopherson
On Fri, Aug 25, 2023, David Stevens wrote: > On Fri, Aug 25, 2023 at 12:15 AM Sean Christopherson > wrote: > > > > On Thu, Aug 24, 2023, David Stevens wrote: > > > On Wed, Jul 5, 2023 at 7:25 PM Yu Zhang > > > wrote: > > > > > > > > On Tue, Jul 04, 2023 at 04:50:50PM +0900, David Stevens

RE: [PATCH v10 13/15] PCI/AER: Forward RCH downstream port-detected errors to the CXL.mem dev handler

2023-08-31 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. [1] Protocol and link errors from > these non-enumerated ports are signaled

[PATCH v1 0/3] Add dependencies of POWER_RESET for MIPS Malta, x86, and PowerMac.

2023-08-31 Thread Yuan Tan
These patches is to add dependencies of POWER_RESET for MIPS Malta, x86, and PowerMac. To simplify the enablement of the poweroff support, selecting the required options for CONFIG_POWER_RESET=y may make many people happyespecially when they are using a customized config (maybe tinyconfigbased)

[PATCH v1 1/3] kconfig: add dependencies of POWER_RESET for mips malta

2023-08-31 Thread Yuan Tan
MIPS Malta's power off depends on PCI, PCI_QUIRKS, and POWER_RESET_PIIX4_POWEROFF to work. Enable them when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/mips/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/Kconfig

[PATCH v1 2/3] kconfig: add dependencies of POWER_RESET for x86

2023-08-31 Thread Yuan Tan
x86 and x86_64's power off depends on ACPI and PCI to work. Enable them when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/x86/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index

[PATCH v1 3/3] kconfig: add dependencies of POWER_RESET for PowerMac

2023-08-31 Thread Yuan Tan
PowerMac's power off depends on ADB_CUDA to work. Enable it when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/powerpc/platforms/powermac/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/powermac/Kconfig

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.6-1 tag

2023-08-31 Thread pr-tracker-bot
The pull request you sent on Thu, 31 Aug 2023 22:42:24 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-6.6-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4ad0a4c2343d3981e92df2b39fa262be62a9091a Thank you! --

[PATCH v3] kbuild: Show marked Kconfig fragments in "help"

2023-08-31 Thread Kees Cook
Currently the Kconfig fragments in kernel/configs and arch/*/configs that aren't used internally aren't discoverable through "make help", which consists of hard-coded lists of config fragments. Instead, list all the fragment targets that have a "# Help: " comment prefix so the targets can be

Re: [PATCH v2 1/2] maple_tree: Disable mas_wr_append() when other readers are possible

2023-08-31 Thread Andreas Schwab
On Aug 31 2023, Michael Ellerman wrote: > Andreas Schwab writes: >> This breaks booting on ppc32: > > Does enabling CONFIG_DEBUG_ATOMIC_SLEEP fix the crash? Yes, it does. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now

Re: [PATCH RFC 1/2] powerpc/pseries: papr-vpd char driver for VPD retrieval

2023-08-31 Thread Nathan Lynch
Michal Suchánek writes: > On Thu, Aug 31, 2023 at 09:37:12PM +1000, Michael Ellerman wrote: >> Michal Suchánek writes: >> > On Thu, Aug 31, 2023 at 03:34:37PM +1000, Michael Ellerman wrote: >> >> Michal Suchánek writes: >> >> > On Tue, Aug 22, 2023 at 04:33:39PM -0500, Nathan Lynch via B4 Relay

Re: Framebuffer mmap on PowerPC

2023-08-31 Thread Christophe Leroy
Le 31/08/2023 à 19:38, Christophe Leroy a écrit : > > > Le 31/08/2023 à 16:41, Thomas Zimmermann a écrit : >> Hi, >> >> there's a per-architecture function called fb_pgprotect() that sets >> VMA's vm_page_prot for mmaped framebuffers. Most architectures use a >> simple implementation based

Re: Framebuffer mmap on PowerPC

2023-08-31 Thread Christophe Leroy
Le 31/08/2023 à 16:41, Thomas Zimmermann a écrit : > Hi, > > there's a per-architecture function called fb_pgprotect() that sets > VMA's vm_page_prot for mmaped framebuffers. Most architectures use a > simple implementation based on pgprot_writecomine() [1] or > pgprot_noncached(). [2] > >

[PATCH v10 13/15] PCI/AER: Forward RCH downstream port-detected errors to the CXL.mem dev handler

2023-08-31 Thread Terry Bowman
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. [1] Protocol and link errors from these non-enumerated ports are signaled as internal AER errors, either

Re: [PATCH RFC 1/2] powerpc/pseries: papr-vpd char driver for VPD retrieval

2023-08-31 Thread Nathan Lynch
Michal Suchánek writes: > > thanks for working on this. Thanks for reviewing! > On Tue, Aug 22, 2023 at 04:33:39PM -0500, Nathan Lynch via B4 Relay wrote: >> From: Nathan Lynch >> >> PowerVM LPARs may retrieve Vital Product Data (VPD) for system >> components using the ibm,get-vpd RTAS

Re: [PATCH v2 0/2] kbuild: Show Kconfig fragments in "help"

2023-08-31 Thread Masahiro Yamada
On Thu, Aug 31, 2023 at 9:03 AM Kees Cook wrote: > > On Tue, Aug 29, 2023 at 11:57:19PM +0900, Masahiro Yamada wrote: > > The attached patch will work too. > > > > I dropped the "in the first line" restriction > > because SPDX might be placed in the first line > > of config fragments. > > Good

Re: [PATCH] macintosh: Explicitly include correct DT includes

2023-08-31 Thread Randy Dunlap
On 8/31/23 07:04, Guenter Roeck wrote: > On Fri, Jul 14, 2023 at 11:46:54AM -0600, Rob Herring wrote: >> The DT of_device.h and of_platform.h date back to the separate >> of_platform_bus_type before it as merged into the regular platform bus. >> As part of that merge prepping Arm DT support 13

Re: [PATCH] macintosh: Explicitly include correct DT includes

2023-08-31 Thread Guenter Roeck
On Fri, Jul 14, 2023 at 11:46:54AM -0600, Rob Herring wrote: > The DT of_device.h and of_platform.h date back to the separate > of_platform_bus_type before it as merged into the regular platform bus. > As part of that merge prepping Arm DT support 13 years ago, they > "temporarily" include each

[GIT PULL] Please pull powerpc/linux.git powerpc-6.6-1 tag

2023-08-31 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull powerpc updates for 6.6. There's a conflict in drivers/net/ethernet/freescale/fs_enet/fs_enet.h, where the correct resolution is to drop the include of both linux/fs_enet_pd.h and asm/fs_pd.h. There's a trivial conflict in

Re: [PATCH] macintosh/ams: linux/platform_device.h is needed

2023-08-31 Thread Michael Ellerman
On Tue, 29 Aug 2023 15:58:37 -0700, Randy Dunlap wrote: > ams.h uses struct platform_device, so the header should be used > to prevent build errors: > > drivers/macintosh/ams/ams-input.c: In function 'ams_input_enable': > drivers/macintosh/ams/ams-input.c:68:45: error: invalid use of undefined

Re: [PATCH RFC 1/2] powerpc/pseries: papr-vpd char driver for VPD retrieval

2023-08-31 Thread Michal Suchánek
On Thu, Aug 31, 2023 at 09:37:12PM +1000, Michael Ellerman wrote: > Michal Suchánek writes: > > On Thu, Aug 31, 2023 at 03:34:37PM +1000, Michael Ellerman wrote: > >> Michal Suchánek writes: > >> > On Tue, Aug 22, 2023 at 04:33:39PM -0500, Nathan Lynch via B4 Relay > >> > wrote: > >> >> From:

Re: [PATCH RFC 1/2] powerpc/pseries: papr-vpd char driver for VPD retrieval

2023-08-31 Thread Michael Ellerman
Michal Suchánek writes: > On Thu, Aug 31, 2023 at 03:34:37PM +1000, Michael Ellerman wrote: >> Michal Suchánek writes: >> > On Tue, Aug 22, 2023 at 04:33:39PM -0500, Nathan Lynch via B4 Relay wrote: >> >> From: Nathan Lynch >> >> >> >> PowerVM LPARs may retrieve Vital Product Data (VPD) for

Re: [PATCH RFC 1/2] powerpc/pseries: papr-vpd char driver for VPD retrieval

2023-08-31 Thread Michal Suchánek
On Thu, Aug 31, 2023 at 03:34:37PM +1000, Michael Ellerman wrote: > Michal Suchánek writes: > > Hello, > > > > thanks for working on this. > > > > On Tue, Aug 22, 2023 at 04:33:39PM -0500, Nathan Lynch via B4 Relay wrote: > >> From: Nathan Lynch > >> > >> PowerVM LPARs may retrieve Vital

Re: [PATCH RFC 1/2] powerpc/pseries: papr-vpd char driver for VPD retrieval

2023-08-31 Thread Michal Suchánek
On Thu, Aug 31, 2023 at 03:34:37PM +1000, Michael Ellerman wrote: > Michal Suchánek writes: > > Hello, > > > > thanks for working on this. > > > > On Tue, Aug 22, 2023 at 04:33:39PM -0500, Nathan Lynch via B4 Relay wrote: > >> From: Nathan Lynch > >> > >> PowerVM LPARs may retrieve Vital