Re: [PATCH v3 0/2] Copy-on-write poison recovery

2022-10-25 Thread Shuai Xue
在 2022/10/23 PM11:52, Shuai Xue 写道: > > > 在 2022/10/22 AM4:01, Tony Luck 写道: >> Part 1 deals with the process that triggered the copy on write >> fault with a store to a shared read-only page. That process is >> send a SIGBUS with the usual machine check decoration to specify >> the virtual

Re: [PATCH] powerpc: Save AMR/IAMR when switching tasks

2022-10-25 Thread Samuel Holland
On 9/21/22 00:17, Christophe Leroy wrote: > Le 21/09/2022 à 05:33, Samuel Holland a écrit : >> On 9/19/22 07:37, Michael Ellerman wrote: >>> Christophe Leroy writes: Le 16/09/2022 à 07:05, Samuel Holland a écrit : > With CONFIG_PREEMPT=y (involuntary preemption enabled), it is possible

Re: Linux 6.1-rc2

2022-10-25 Thread Michael Ellerman
Guenter Roeck writes: > On Tue, Oct 25, 2022 at 09:41:50AM -0700, Linus Torvalds wrote: >> On Tue, Oct 25, 2022 at 9:24 AM Guenter Roeck wrote: >> > >> > Build results: >> > total: 152 pass: 152 fail: 0 >> > Qemu test results: >> > total: 499 pass: 499 fail: 0 >> >> Woo-hoo! >>

Re: [PATCH v3 3/3] powerpc: mm: support page table check

2022-10-25 Thread Russell Currey
On Mon, 2022-10-24 at 11:35 +1100, Rohan McLure wrote: > On creation and clearing of a page table mapping, instrument such > calls > by invoking page_table_check_pte_set and page_table_check_pte_clear > respectively. These calls serve as a sanity check against illegal > mappings. > > Enable

Re: [PATCH v9 4/7] powerpc/code-patching: Verify instruction patch succeeded

2022-10-25 Thread Benjamin Gray
It occurred to me that we don't require holding a lock when patching text. Many use cases do hold text_mutex, but it's not required, so it's possible for this warning to show false positives. If we do want text_mutex be held, then lockdep_assert_held(_mutex) ought to be added too.

Re: [linux-next:master] BUILD REGRESSION 89bf6e28373beef9577fa71f996a5f73a569617c

2022-10-25 Thread Doug Berger
On 10/25/2022 3:41 PM, Jakub Kicinski wrote: On Wed, 26 Oct 2022 01:17:48 +0800 kernel test robot wrote: drivers/net/ethernet/broadcom/genet/bcmgenet.c:1497:5-13: ERROR: invalid reference to the index variable of the iterator on line 1475 CC Doug Thanks for highlighting this for me, but I

Re: [PATCH v4 2/6] powerpc/module: Handle caller-saved TOC in module linker

2022-10-25 Thread Benjamin Gray
On Tue, 2022-10-25 at 13:10 +1100, Andrew Donnellan wrote: > On Mon, 2022-10-10 at 11:29 +1100, Benjamin Gray wrote: > > > A function symbol may set a value in the st_other field to > > > indicate > > > the TOC should be treated as caller-saved. The linker should > > > ensure> the > > > current

Re: [linux-next:master] BUILD REGRESSION 89bf6e28373beef9577fa71f996a5f73a569617c

2022-10-25 Thread Jakub Kicinski
On Tue, 25 Oct 2022 16:04:15 -0700 Doug Berger wrote: > > On Wed, 26 Oct 2022 01:17:48 +0800 kernel test robot wrote: > >> drivers/net/ethernet/broadcom/genet/bcmgenet.c:1497:5-13: ERROR: invalid > >> reference to the index variable of the iterator on line 1475 > > > > CC Doug > Thanks for

Re: [linux-next:master] BUILD REGRESSION 89bf6e28373beef9577fa71f996a5f73a569617c

2022-10-25 Thread Jakub Kicinski
On Wed, 26 Oct 2022 01:17:48 +0800 kernel test robot wrote: > drivers/net/ethernet/broadcom/genet/bcmgenet.c:1497:5-13: ERROR: invalid > reference to the index variable of the iterator on line 1475 CC Doug

Re: [PATCH v2 3/4] PCI: mvebu: Include explicitly

2022-10-25 Thread Thomas Petazzoni
On Tue, 25 Oct 2022 13:51:46 -0500 Bjorn Helgaas wrote: > From: Bjorn Helgaas > > pci-mvebu.c uses irq_domain_add_linear() and related interfaces but relies > on but doesn't include it directly; it relies on the > fact that includes it. > > Include directly to remove this implicit

Re: [PATCH v2 0/4] PCI: Remove unnecessary includes

2022-10-25 Thread Conor Dooley
On Tue, Oct 25, 2022 at 01:51:43PM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Many host controller drivers #include even though they > don't need it. Remove the unnecessary #includes. > > v1: https://lore.kernel.org/all/20221019195452.37606-1-helg...@kernel.org/ > > Changes from

[PATCH v2 4/4] PCI: Remove unnecessary includes

2022-10-25 Thread Bjorn Helgaas
From: Bjorn Helgaas Many host controller drivers #include even though they don't need it. Remove the unnecessary #includes. Signed-off-by: Bjorn Helgaas --- drivers/pci/controller/cadence/pci-j721e.c | 1 - drivers/pci/controller/dwc/pci-layerscape.c | 1 -

[PATCH v2 3/4] PCI: mvebu: Include explicitly

2022-10-25 Thread Bjorn Helgaas
From: Bjorn Helgaas pci-mvebu.c uses irq_domain_add_linear() and related interfaces but relies on but doesn't include it directly; it relies on the fact that includes it. Include directly to remove this implicit dependency. Signed-off-by: Bjorn Helgaas ---

[PATCH v2 2/4] PCI: microchip: Include explicitly

2022-10-25 Thread Bjorn Helgaas
From: Bjorn Helgaas pcie-microchip-host.c uses irq_domain_add_linear() and related interfaces, so it needs but doesn't include it directly; it relies on the fact that includes it. But pcie-microchip-host.c *doesn't* need itself. Include directly to remove this implicit dependency so a

[PATCH v2 0/4] PCI: Remove unnecessary includes

2022-10-25 Thread Bjorn Helgaas
From: Bjorn Helgaas Many host controller drivers #include even though they don't need it. Remove the unnecessary #includes. v1: https://lore.kernel.org/all/20221019195452.37606-1-helg...@kernel.org/ Changes from v1 to v2: - Include explicitly in altera-msi and microchip, which don't

[PATCH v2 1/4] PCI: altera-msi: Include explicitly

2022-10-25 Thread Bjorn Helgaas
From: Bjorn Helgaas pcie-altera-msi.c uses irq_domain_add_linear() and related interfaces, so it needs but doesn't include it directly; it relies on the fact that includes it. But pcie-altera-msi.c *doesn't* need itself. Include directly to remove this implicit dependency so a future patch

[PATCH net-next] eth: fealnx: delete the driver for Myson MTD-800

2022-10-25 Thread Jakub Kicinski
The git history for this driver seems to be completely automated / tree wide changes. I can't find any boards or systems which would use this chip. Google search shows pictures of towel warmers and no networking products. Signed-off-by: Jakub Kicinski --- CC: tsbog...@alpha.franken.de CC:

Re: Linux 6.1-rc2

2022-10-25 Thread Guenter Roeck
On Tue, Oct 25, 2022 at 09:41:50AM -0700, Linus Torvalds wrote: > On Tue, Oct 25, 2022 at 9:24 AM Guenter Roeck wrote: > > > > Build results: > > total: 152 pass: 152 fail: 0 > > Qemu test results: > > total: 499 pass: 499 fail: 0 > > Woo-hoo! > > That was quick, for once. >

[linux-next:master] BUILD REGRESSION 89bf6e28373beef9577fa71f996a5f73a569617c

2022-10-25 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 89bf6e28373beef9577fa71f996a5f73a569617c Add linux-next specific files for 20221025 Error/Warning reports: https://lore.kernel.org/linux-mm/202210110857.9s0txvnn-...@intel.com https

Re: Linux 6.1-rc2

2022-10-25 Thread Linus Torvalds
On Tue, Oct 25, 2022 at 9:24 AM Guenter Roeck wrote: > > Build results: > total: 152 pass: 152 fail: 0 > Qemu test results: > total: 499 pass: 499 fail: 0 Woo-hoo! That was quick, for once. > Runtime warnings Oh. Well, close enough, and those fixes are presumably pending too.

Re: Linux 6.1-rc2

2022-10-25 Thread Guenter Roeck
On Sun, Oct 23, 2022 at 04:03:45PM -0700, Linus Torvalds wrote: > Hmm. Usually rc2 is a pretty quiet week, and it mostly started out > that way too, but then things took a turn for the strange. End result: > 6.1-rc2 ended up being unusually large. > > The main reason is fairly benign, though:

Re: [PATCH v3 1/2] mm, hwpoison: Try to recover from copy-on write faults

2022-10-25 Thread 堀口 直也
On Fri, Oct 21, 2022 at 01:01:19PM -0700, Tony Luck wrote: > If the kernel is copying a page as the result of a copy-on-write > fault and runs into an uncorrectable error, Linux will crash because > it does not have recovery code for this case where poison is consumed > by the kernel. > > It is