Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPU disabled used PCIe BAR #248

Merged
merged 2 commits into from
Dec 6, 2021
Merged

Conversation

msiddare
Copy link
Contributor

@msiddare msiddare commented Nov 19, 2021

For Cisco ASIC only BAR0 is valid. Not disabling other BAR's
was resulting in pci_enable_device function failure in P0
Pacific ASIC's. Further debugging and consultion with Hardware
team, issue seems to be related to only P0 version of ASIC and
workaround suggested is to disable unused PCI BAR.

This is same pull request reviewed ealier,
#225

Cisco experimented removing this patch, but identified that
there are boards in the field with Pacific ASIC.

This patch is needed for these ASIC's to work, hence re-submitting.

NPU is commonly used name for the packet forwarding ASIC's.

Signed-off-by: Madhava Reddy Siddareddygari msiddare@cisco.com

For Cisco ASIC only BAR0 is valid. Not disabling other BAR's
was resulting in pci_enable_device function failure in P0
Pacific ASIC's. Further debugging and consultion with Hardware
team, issue seems to be related to only P0 version of ASIC and
workaround suggested is to disable unused PCI BAR.

This is same pull request reviewed ealier,
sonic-net#225

Cisco experimented removing this patch, but identified that
there are boards in the field with Pacific ASIC.

This patch is need for these ASIC's to work, hence re-submitting.

Signed-off-by: Madhava Reddy Siddareddygari <msiddare@cisco.com>
@sachinv-msft
Copy link

@saiarcot895 fyi

Copy link
Contributor

@paulmenzel paulmenzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this patch was dropped when moving from Linux 4.19 to 5.10? If so, please add that to the merge/pull request and commit message description.

Also, please add somewhere, what NPU means.

Some minor nit:

This patch is need for these ASIC's to work, hence re-submitting.

is needed

Signed-off-by: Madhava Reddy Siddareddygari <msiddare@cisco.com>
@saiarcot895 saiarcot895 merged commit 7a89098 into sonic-net:master Dec 6, 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.

4 participants