Skip to content

Conversation

@cjams
Copy link
Contributor

@cjams cjams commented Nov 18, 2021

Set ecsm to 1 in pci_cfg_set_addr to ensure that configuration
cycles are generated.

Add a global pci_cfg_lock spinlock in pci_cfg.c and corresponding
spin_lock/spin_unlock sections in pci_{read,write}* to ensure that
access to the config address and data IO ports are synchronized.

Signed-off-by: Connor Davis [email protected]

Preliminary work towards Issue #179

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Set ecsm to 1 in pci_cfg_set_addr to ensure that configuration
cycles are generated.

Add a global pci_cfg_lock spinlock in pci_cfg.c and corresponding
spin_lock/spin_unlock sections in pci_{read,write}* to ensure that
access to the config address and data IO ports are synchronized.

Signed-off-by: Connor Davis <[email protected]>
@cjams cjams requested a review from a team as a code owner November 18, 2021 16:46
@dkgupta-amzn dkgupta-amzn merged commit 1c347d9 into KernelTestFramework:mainline Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants