Thread (4 messages) flat view 4 messages, 3 authors, 2021-04-19

Re: [PATCH v2] powerpc/eeh: Fix EEH handling for hugepages in ioremap space.

From: Michael Ellerman <hidden>
Date: 2021-04-19 04:04:37
Also in: stable

On Mon, 12 Apr 2021 13:22:50 +0530, Mahesh Salgaonkar wrote:
During the EEH MMIO error checking, the current implementation fails to map
the (virtual) MMIO address back to the pci device on radix with hugepage
mappings for I/O. This results into failure to dispatch EEH event with no
recovery even when EEH capability has been enabled on the device.

eeh_check_failure(token)		# token = virtual MMIO address
  addr = eeh_token_to_phys(token);
  edev = eeh_addr_cache_get_dev(addr);
  if (!edev)
	return 0;
  eeh_dev_check_failure(edev);	<= Dispatch the EEH event

[...]
Applied to powerpc/next.

[1/1] powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
      https://git.kernel.org/powerpc/c/5ae5bc12d0728db60a0aa9b62160ffc038875f1a

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help