Skip to content

Set PCIe QOS chicken bits for 2712D0 - #5955

Merged
pelwell merged 1 commit into
raspberrypi:rpi-6.6.yfrom
njhollinghurst:pcie-qos-chicken
Feb 14, 2024
Merged

pelwell merged 1 commit into
raspberrypi:rpi-6.6.yfrom
njhollinghurst:pcie-qos-chicken

Conversation

@njhollinghurst

@njhollinghurst njhollinghurst commented Feb 13, 2024 •

Copy link
Copy Markdown
Contributor

Fairly conservative small change which just sets the three top bits, which should make D0 behave the same as C1.

Still using high QOS values with almost no spread, and ignoring QOS forwarding which seems still to be broken (while it no longer always gives a QOS of zero, it doesn't prevent glitches when real-time and non-real-time traffic share the link and any traffic has QOS below the ARM cores'; regardless of AXI burst clobbering).

Not currently setting the "emergency QOS OR" field of either chip revision: I'm hoping it won't be necessary.

This is a draft PR pending extended testing; it also needs testing on 2712C1 to verify my assertion that these bits are harmlessly ignored (if not, we'll have to do different things for the different revisions).

Set some flags present (and recommended) in 2712D0, but missing
(and harmless) in 2712C1. In particular, EN_QOS_UPDATE_TIMING_FIX
must be set to avoid spurious QOS=0 when the queue changes from
empty to non-empty, to make D0 match the existing C1 behaviour.

Not enabling "QOS forwarding", which still seems not to help.

Signed-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
@njhollinghurst
njhollinghurst requested a review from P33M February 13, 2024 18:02
@njhollinghurst
njhollinghurst marked this pull request as ready for review February 14, 2024 16:34
@njhollinghurst

Copy link
Copy Markdown
Contributor Author

OK it's had an overnight soak test on 2712D0 and a briefer test on 2712C1 and seems OK.
It's also been confirmed that these chicken bits have no effect on C1. There are no QOS-ORing bits on C1 that would affect PCIe2.

@pelwell
pelwell merged commit 2ccc332 into raspberrypi:rpi-6.6.y Feb 14, 2024
@njhollinghurst
njhollinghurst deleted the pcie-qos-chicken branch February 18, 2024 11:41
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Feb 19, 2024
kernel: vc4/hvs: Fix lbm size calculation for yuv
See: raspberrypi/linux#5963

kernel: Set PCIe QOS chicken bits for 2712D0
See: raspberrypi/linux#5955

kernel: Add support for VEML6075 and HTS221 in i2c-sensor overlay
See: raspberrypi/linux#5965

kernel: Adding Support for interlude audio Hats
See: raspberrypi/linux#5949

kernel: brcmfmac: Add sae_ext WPA3 support
See: raspberrypi/linux#5945

kernel: arm: dt: bcm2712: Reduce DDC frequency to 97.5kHz from 200kHz
See: raspberrypi/linux#5954

kernel: ARM: dts: Add CM5 DTS support
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Feb 19, 2024
kernel: vc4/hvs: Fix lbm size calculation for yuv
See: raspberrypi/linux#5963

kernel: Set PCIe QOS chicken bits for 2712D0
See: raspberrypi/linux#5955

kernel: Add support for VEML6075 and HTS221 in i2c-sensor overlay
See: raspberrypi/linux#5965

kernel: Adding Support for interlude audio Hats
See: raspberrypi/linux#5949

kernel: brcmfmac: Add sae_ext WPA3 support
See: raspberrypi/linux#5945

kernel: arm: dt: bcm2712: Reduce DDC frequency to 97.5kHz from 200kHz
See: raspberrypi/linux#5954

kernel: ARM: dts: Add CM5 DTS support
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.

2 participants