Re: [PATCH v2 1/2] PCI/DPC: Run recovery on device that detected the error

2025-01-22 Thread Shuai Xue
在 2025/1/23 12:53, Sathyanarayanan Kuppuswamy 写道: On 11/12/24 5:54 AM, Shuai Xue wrote: The current implementation of pcie_do_recovery() assumes that the recovery process is executed on the device that detected the error. However, the DPC driver currently passes the error port that experienc

Re: [PATCH 2/2] powerpc/fadump: fix additional param memory reservation for HASH MMU

2025-01-22 Thread Mahesh J Salgaonkar
On 2025-01-20 23:05:00 Mon, Sourabh Jain wrote: > Commit 683eab94da75bc ("powerpc/fadump: setup additional parameters for > dump capture kernel") introduced the additional parameter feature in > fadump for HASH MMU with the understanding that GRUB does not use the > memory area between 640MB and 76

Re: [PATCH v2 1/2] PCI/DPC: Run recovery on device that detected the error

2025-01-22 Thread Sathyanarayanan Kuppuswamy
On 11/12/24 5:54 AM, Shuai Xue wrote: The current implementation of pcie_do_recovery() assumes that the recovery process is executed on the device that detected the error. However, the DPC driver currently passes the error port that experienced the DPC event to pcie_do_recovery(). Use the SOUR

Re: [PATCH] mm/hugetlb: bring gigantic page allocation under hugepages_supported()

2025-01-22 Thread Sourabh Jain
Hello Gerald, On 22/01/25 19:36, Gerald Schaefer wrote: On Tue, 21 Jan 2025 20:34:19 +0530 Sourabh Jain wrote: Despite having kernel arguments to enable gigantic hugepages, this provides a way for the architecture to disable gigantic hugepages on the fly, similar to what we do for hugepages.

Re: [PATCH v2] powerpc: increase MIN RMA size for CAS negotiation

2025-01-22 Thread Sourabh Jain
Hello Maddy, On 22/01/25 18:13, Madhavan Srinivasan wrote: On Fri, 06 Dec 2024 12:25:45 +0530, Avnish Chouhan wrote: Change RMA size from 512 MB to 768 MB which will result in more RMA at boot time for PowerPC. When PowerPC LPAR use/uses vTPM, Secure Boot or FADump, the 512 MB RMA memory is not

Re: [PATCH 5.10] ibmvnic: Add tx check to prevent skb leak

2025-01-22 Thread Jacob Keller
On 1/20/2025 4:46 AM, Denis Arefev wrote: > From: Nick Child > > From: Nick Child > > commit 0983d288caf984de0202c66641577b739caad561 upstream. > > Below is a summary of how the driver stores a reference to an skb during > transmit: > tx_buff[free_map[consumer_index]]->skb = new_skb; >

Re: BUG: KASAN: vmalloc-out-of-bounds in copy_to_kernel_nofault+0xd8/0x1c8 (v6.13-rc6, PowerMac G4)

2025-01-22 Thread Christophe Leroy
Le 22/01/2025 à 16:32, Christophe Leroy a écrit : Le 22/01/2025 à 00:21, Erhard Furtner a écrit : On Tue, 21 Jan 2025 23:07:25 +0100 Christophe Leroy wrote: Meanwhile I bisected the bug. Offending commit is:    # git bisect good 32913f348229c9f72dda45fc2c08c6d9dfcd3d6d is the first bad

Re: BUG: KASAN: vmalloc-out-of-bounds in copy_to_kernel_nofault+0xd8/0x1c8 (v6.13-rc6, PowerMac G4)

2025-01-22 Thread Christophe Leroy
Le 22/01/2025 à 00:21, Erhard Furtner a écrit : On Tue, 21 Jan 2025 23:07:25 +0100 Christophe Leroy wrote: Meanwhile I bisected the bug. Offending commit is: # git bisect good 32913f348229c9f72dda45fc2c08c6d9dfcd3d6d is the first bad commit commit 32913f348229c9f72dda45fc2c08c6d9dfcd3d6

[PATCH v2] fs: introduce getfsxattrat and setfsxattrat syscalls

2025-01-22 Thread Andrey Albershteyn
From: Andrey Albershteyn Introduce getfsxattrat and setfsxattrat syscalls to manipulate inode extended attributes/flags. The syscalls take parent directory FD and path to the child together with struct fsxattr. This is an alternative to FS_IOC_FSSETXATTR ioctl with a difference that file don't n

Re: [PATCH] mm/hugetlb: bring gigantic page allocation under hugepages_supported()

2025-01-22 Thread Gerald Schaefer
On Tue, 21 Jan 2025 20:34:19 +0530 Sourabh Jain wrote: > Despite having kernel arguments to enable gigantic hugepages, this > provides a way for the architecture to disable gigantic hugepages on the > fly, similar to what we do for hugepages. > > Components like fadump (PowerPC-specific) need th

Re: [PATCH] powerpc/pseries/iommu: Don't unset window if it was never set

2025-01-22 Thread Madhavan Srinivasan
On Mon, 13 Jan 2025 03:48:55 +, Shivaprasad G Bhat wrote: > On pSeries, when user attempts to use the same vfio container used by > different iommu group, the spapr_tce_set_window() returns -EPERM > and the subsequent cleanup leads to the below crash. > >Kernel attempted to read user page

Re: [PATCH v2] powerpc: increase MIN RMA size for CAS negotiation

2025-01-22 Thread Madhavan Srinivasan
On Fri, 06 Dec 2024 12:25:45 +0530, Avnish Chouhan wrote: > Change RMA size from 512 MB to 768 MB which will result > in more RMA at boot time for PowerPC. When PowerPC LPAR use/uses vTPM, > Secure Boot or FADump, the 512 MB RMA memory is not sufficient for > booting. With this 512 MB RMA, GRUB2 ru

Re: [PATCH v4 RESEND] powerpc/pseries/eeh: Fix get PE state translation

2025-01-22 Thread Madhavan Srinivasan
On Thu, 16 Jan 2025 04:39:54 -0600, Narayana Murty N wrote: > The PE Reset State "0" returned by RTAS calls > "ibm_read_slot_reset_[state|state2]" indicates that the reset is > deactivated and the PE is in a state where MMIO and DMA are allowed. > However, the current implementation of "pseries_eeh

Re: Re: [PATCH v2] treewide: const qualify ctl_tables where applicable

2025-01-22 Thread Ard Biesheuvel
On Wed, 22 Jan 2025 at 13:25, Joel Granados wrote: > > On Tue, Jan 21, 2025 at 02:40:16PM +0100, Alexander Gordeev wrote: > > On Fri, Jan 10, 2025 at 03:16:08PM +0100, Joel Granados wrote: > > > > Hi Joel, > > > > > Add the const qualifier to all the ctl_tables in the tree except for > > > watchdo

Re: Re: [PATCH v2] treewide: const qualify ctl_tables where applicable

2025-01-22 Thread Joel Granados
On Tue, Jan 21, 2025 at 02:40:16PM +0100, Alexander Gordeev wrote: > On Fri, Jan 10, 2025 at 03:16:08PM +0100, Joel Granados wrote: > > Hi Joel, > > > Add the const qualifier to all the ctl_tables in the tree except for > > watchdog_hardlockup_sysctl, memory_allocation_profiling_sysctls, > > load

Re: [PATCH v2 0/2] PCI/AER: Report fatal errors of RCiEP and EP if link recoverd

2025-01-22 Thread Shuai Xue
Hi, all, Gentle ping. Best Regards, Shuai 在 2024/12/24 19:03, Shuai Xue 写道: 在 2024/11/12 21:54, Shuai Xue 写道: changes since v1: - rewrite commit log per Bjorn - refactor aer_get_device_error_info to reduce duplication per Keith - fix to avoid reporting fatal errors twice for root and down