Skip to content

NPU disabled used PCIe BAR#248

Merged
saiarcot895 merged 2 commits intosonic-net:masterfrom
msiddare:cisco/npu
Dec 6, 2021
Merged

NPU disabled used PCIe BAR#248
saiarcot895 merged 2 commits intosonic-net:masterfrom
msiddare:cisco/npu

Conversation

@msiddare
Copy link
Copy Markdown
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
Copy Markdown

@saiarcot895 fyi

Copy link
Copy Markdown
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>
@msiddare msiddare requested a review from saiarcot895 December 3, 2021 19:48
@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