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

pcie-brcmstb-bounce64.c: use of dev_err() for informative messages #3266

Closed
maxnet opened this issue Oct 3, 2019 · 2 comments · Fixed by #3268
Closed

pcie-brcmstb-bounce64.c: use of dev_err() for informative messages #3266

maxnet opened this issue Oct 3, 2019 · 2 comments · Fixed by #3268

Comments

@maxnet
Copy link
Contributor

maxnet commented Oct 3, 2019

https://github.com/raspberrypi/linux/blob/rpi-4.19.y/drivers/pci/controller/pcie-brcmstb-bounce64.c#L527

I am getting an informative "dmabounce: initialised" message on my screen despite having "quiet" as kernel cmdline parameter.
Unless that is an actual error requiring attention, can we have dev_info() instead?

@pelwell
Copy link
Contributor

pelwell commented Oct 4, 2019

PR away!

maxnet added a commit to maxnet/linux-1 that referenced this issue Oct 5, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes raspberrypi#3266
@maxnet
Copy link
Contributor Author

maxnet commented Oct 5, 2019

PR away!

Not sure against which of the many branches you like your PRs.
But I currently only use 4.19, so will only submit one for that.

pelwell pushed a commit that referenced this issue Oct 5, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
pelwell pushed a commit that referenced this issue Oct 9, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
pelwell pushed a commit that referenced this issue Oct 9, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Oct 11, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Oct 11, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Oct 21, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
pelwell pushed a commit that referenced this issue Oct 29, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
pelwell pushed a commit that referenced this issue Oct 30, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Nov 1, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Nov 11, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Nov 11, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Nov 18, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Nov 18, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Nov 18, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Nov 22, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Nov 26, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Nov 26, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Nov 29, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Nov 29, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Dec 9, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Dec 9, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Dec 13, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Dec 13, 2019
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Jan 3, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Jan 6, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Jan 30, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Feb 6, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Feb 6, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Feb 20, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Feb 20, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Feb 25, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Feb 25, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
pelwell pushed a commit that referenced this issue Feb 25, 2020
Ported pcie-brcmstb bounce buffer implementation to ARM64.
This enables full 4G RAM usage on Raspberry Pi in 64-bit mode.

Signed-off-by: Yaroslav Rosomakho <[email protected]>

pcie-brcmstb: Correct SoC name

The Pi 4 SoC is called BCM2711, not BCM2838.

Fixes: "bcm2835-dma: Add proper 40-bit DMA support"
Fixes: "Ported pcie-brcmstb bounce buffer implementation to ARM64."

Signed-off-by: Phil Elwell <[email protected]>

pcie-brcmstb-bounce64.c: dev_err() -> dev_info() for info messages

"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266

pcie-brcmstb: Remove brcm_to_*, add pcie_to_dma40

The DMA framework performs the necessary address conversions for the
common cases based on the dma-ranges DT property. brcm_to_pci and
brcm_to_cpu were probably designed for non-DT use cases, something
which isn't an issue for 2711. This second level of mapping causes
breakage with a non-identity PCIe<->system address mapping, so remove
it completely.

The non-identity mapping also broke the DMA40 support, so add back a
simple translation from PCIe to sys addresses.

arm64 builds also require a wider coherent_dma_mask, otherwise the
bounce buffer allocation is rejected.

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Mar 6, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Mar 10, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Mar 23, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Mar 23, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Mar 27, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Mar 27, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Apr 1, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Apr 1, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Apr 7, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Apr 16, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Apr 16, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Apr 27, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue May 4, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue May 11, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue May 20, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue May 20, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Jun 3, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Jun 10, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Jun 17, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Jun 26, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Jul 1, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
popcornmix pushed a commit that referenced this issue Jul 13, 2020
"dmabounce: initialised" is not an error, so do not log it as such.
Prevents screen polution on OS with "quiet" as kernel parameter.

Closes #3266
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 a pull request may close this issue.

2 participants