Skip to content

Commit 8ceeac3

Browse files
paliLorenzo Pieralisi
authored andcommitted
PCI: aardvark: Fix checking for PIO Non-posted Request
PIO_NON_POSTED_REQ for PIO_STAT register is incorrectly defined. Bit 10 in register PIO_STAT indicates the response is to a non-posted request. Link: https://lore.kernel.org/r/20210624213345.3617-2-pali@kernel.org Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Marek Behún <kabel@kernel.org> Cc: stable@vger.kernel.org
1 parent 6efb943 commit 8ceeac3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pci/controller/pci-aardvark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
#define PIO_COMPLETION_STATUS_UR 1
5858
#define PIO_COMPLETION_STATUS_CRS 2
5959
#define PIO_COMPLETION_STATUS_CA 4
60-
#define PIO_NON_POSTED_REQ BIT(0)
60+
#define PIO_NON_POSTED_REQ BIT(10)
6161
#define PIO_ADDR_LS (PIO_BASE_ADDR + 0x8)
6262
#define PIO_ADDR_MS (PIO_BASE_ADDR + 0xc)
6363
#define PIO_WR_DATA (PIO_BASE_ADDR + 0x10)

0 commit comments

Comments
 (0)