NVIDIA Tegra changes for v5.20-rc1
Subsystems (2)
Hi ARM SoC maintainers,
here's a set of Tegra pull requests for v5.20-rc1.
One thing that I would very much have liked to include in this is the Multi-Gigabit Ethernet (MGBE) controller support for Tegra234. That's very important because it unlocks much broader coverage using our test farms and makes the devices generally a lot more useful. Unfortunately there were some unforeseen delays and I don't have a final Acked-by on the device tree bindings yet. I do expect that we'll finalize this in the next few days, though. If we do, would it be acceptable if I sent an update to two of these PRs (dt-bindings and arm64/dt) to enable this critical piece of functionality?
Thanks,
Thierry
[GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
Hi ARM SoC maintainers,
The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:
Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.20-soc
for you to fetch changes up to 4773d1c739e22101a92f89c0ae0983190ddbe112:
soc/tegra: fuse: Add missing of_node_put() (2022-07-08 17:27:26 +0200)
Thanks,
Thierry
----------------------------------------------------------------
soc/tegra: Changes for v5.20-rc1
The bulk of these changes is the new CBB driver which is used to provide (a lot of) information about SErrors when things go wrong, instead of the kernel just crashing or hanging.
In addition more SoC information is exposed to sysfs and various minor issues are fixed.
----------------------------------------------------------------
Bitan Biswas (1):
soc/tegra: fuse: Expose Tegra production status
Liang He (2):
soc/tegra: fuse: Add missing of_node_put() in tegra_init_fuse() soc/tegra: fuse: Add missing of_node_put()
Sumit Gupta (4):
soc/tegra: Set ERD bit to mask inband errors soc/tegra: cbb: Add CBB 1.0 driver for Tegra194 soc/tegra: cbb: Add driver for Tegra234 CBB 2.0 soc/tegra: cbb: Add support for Tegra241 (Grace)
YueHaibing (1):
soc/tegra: fuse: Add missing DMADEVICES dependency
drivers/soc/tegra/Kconfig | 11 +- drivers/soc/tegra/Makefile | 1 + drivers/soc/tegra/cbb/Makefile | 9 + drivers/soc/tegra/cbb/tegra-cbb.c | 190 +++ drivers/soc/tegra/cbb/tegra194-cbb.c | 2365 ++++++++++++++++++++++++++++++++ drivers/soc/tegra/cbb/tegra234-cbb.c | 1114 +++++++++++++++ drivers/soc/tegra/fuse/fuse-tegra.c | 16 + drivers/soc/tegra/fuse/tegra-apbmisc.c | 36 +- include/soc/tegra/fuse.h | 7 + include/soc/tegra/tegra-cbb.h | 47 + 10 files changed, 3791 insertions(+), 5 deletions(-) create mode 100644 drivers/soc/tegra/cbb/Makefile create mode 100644 drivers/soc/tegra/cbb/tegra-cbb.c create mode 100644 drivers/soc/tegra/cbb/tegra194-cbb.c create mode 100644 drivers/soc/tegra/cbb/tegra234-cbb.c create mode 100644 include/soc/tegra/tegra-cbb.h
Re: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
Quoted 1 line · Thierry Reding
git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.gittags/tegra-for-5.20-soc
...
Quoted 10 lines
----------------------------------------------------------------
soc/tegra: Changes for v5.20-rc1The bulk of these changes is the new CBB driver which is used to provide (a lot of) information about SErrors when things go wrong, instead of the kernel just crashing or hanging.
In addition more SoC information is exposed to sysfs and various minor issues are fixed.
Hi Thierry,
I fear I'm going to skip this for the current merge window. It looks like the CBB driver you add here would fit into the existing drivers/edac/ subsystem, or at the minimum should have been reviewed by the corresponding maintainers (added to Cc) to decide whether it goes there or not.
I had not previously seen this driver, but I'll let them have a look first.
For the other patches, I found two more problems:
Quoted 2 lines
Bitan Biswas (1):
soc/tegra: fuse: Expose Tegra production status
Please don't just add random attributes in the soc device infrastructure. This one has a completely generic name but a SoC specific meaning, and it lacks a description in Documentation/ABI.
Not sure what the right ABI is here, but this is something that needs to be discussed more broadly when you send a new version.
I see there are already some custom attributes in the same device, we should probably not have added those either, but I suppose we are stuck with those, so please add the missing documentation.
Quoted 2 lines
YueHaibing (1):
soc/tegra: fuse: Add missing DMADEVICES dependency
This one fixes the warning the wrong way: we don't 'select' random drivers from other subsystems, and selecting the entire subsystem makes it worse. Just drop the 'select' here and enable the drivers in the defconfig.
Arnd
Re: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
Quoted 16 lines · Arnd Bergmann
Quoted 1 line · Thierry Reding
git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.gittags/tegra-for-5.20-soc...
Quoted 10 lines
----------------------------------------------------------------
soc/tegra: Changes for v5.20-rc1The bulk of these changes is the new CBB driver which is used to provide (a lot of) information about SErrors when things go wrong, instead of the kernel just crashing or hanging.
In addition more SoC information is exposed to sysfs and various minor issues are fixed.
Hi Thierry,
Quoted 7 lines
I fear I'm going to skip this for the current merge window. It looks like the CBB driver you add here would fit into the existing
drivers/edac/subsystem, or at the minimum should have been reviewed by the corresponding maintainers (added to Cc) to decide whether it goes there or not.I had not previously seen this driver, but I'll let them have a look first.
EDAC looks like it's used primarily for memory controllers, which this is not. But then I also see explicit references to non-memory-controller references in the infrastructure, so perhaps this does fit in there. The CBB driver is primarily a means to provide additional information about runtime errors, so it's not directly a means of discovering the errors (they would be detected anyway and cause a crash) and I don't think we have a means of correcting any of these errors.
I'll ask Sumit to work with the EDAC maintainers on this.
Quoted 10 lines
For the other patches, I found two more problems:
Quoted 2 lines
Bitan Biswas (1):
soc/tegra: fuse: Expose Tegra production statusPlease don't just add random attributes in the soc device infrastructure. This one has a completely generic name but a SoC specific meaning, and it lacks a description in
Documentation/ABI.
Not sure what the right ABI is here, but this is something that needs to be discussed more broadly when you send a new version.
I wasn't aware that the SoC device infrastructure was restricted to only standardized attributes. Looks like there are a few other outliers that add custom attributes: UX500, ARM Integrator and RealView, and OMAP2.
Do we have some other place where this kind of thing can be exposed? Or do we just need to come up with some better way of namespacing these? Perhaps it would also be sufficient if all of these were better documented so that people know what to look for on their platform of interest.
Quoted 3 lines
I see there are already some custom attributes in the same device, we should probably not have added those either, but I suppose we are stuck with those, so please add the missing documentation.
Yeah, that's a good point. These should definitely be documented properly.
Quoted 8 lines
Quoted 3 lines
YueHaibing (1):
soc/tegra: fuse: Add missing DMADEVICES dependencyThis one fixes the warning the wrong way: we don't 'select' random drivers from other subsystems, and selecting the entire subsystem makes it worse. Just drop the 'select' here and enable the drivers in the defconfig.
This doesn't actually select the DMADEVICES property. It adds a dependency on DMADEVICES and if that is met it will select TEGRA20_APB_DMA.
Thierry
Re: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
Quoted 11 lines · Thierry Reding
Quoted 9 lines · Arnd Bergmann
On Fri, Jul 8, 2022 at 8:56 PM Thierry Reding <[email protected]> wrote:
I fear I'm going to skip this for the current merge window. It looks like the CBB driver you add here would fit into the existing
drivers/edac/subsystem, or at the minimum should have been reviewed by the corresponding maintainers (added to Cc) to decide whether it goes there or not.I had not previously seen this driver, but I'll let them have a look first.
Quoted 7 lines
EDAC looks like it's used primarily for memory controllers, which this is not. But then I also see explicit references to non-memory-controller references in the infrastructure, so perhaps this does fit in there. The CBB driver is primarily a means to provide additional information about runtime errors, so it's not directly a means of discovering the errors (they would be detected anyway and cause a crash) and I don't think we have a means of correcting any of these errors.
I think this is just a reflection of what other hardware can do:
most machines only detect memory errors, but the EDAC subsystem can work with any type in principle. There are also a lot of conditions elsewhere that can be detected but not corrected.
Quoted 1 line
I'll ask Sumit to work with the EDAC maintainers on this.
Thanks
Quoted 15 lines
Quoted 10 lines
For the other patches, I found two more problems:
Quoted 2 lines
Bitan Biswas (1):
soc/tegra: fuse: Expose Tegra production statusPlease don't just add random attributes in the soc device infrastructure. This one has a completely generic name but a SoC specific meaning, and it lacks a description in
Documentation/ABI.
Not sure what the right ABI is here, but this is something that needs to be discussed more broadly when you send a new version.I wasn't aware that the SoC device infrastructure was restricted to only standardized attributes. Looks like there are a few other outliers that add custom attributes: UX500, ARM Integrator and RealView, and OMAP2.
Quoted 5 lines
Do we have some other place where this kind of thing can be exposed? Or do we just need to come up with some better way of namespacing these? Perhaps it would also be sufficient if all of these were better documented so that people know what to look for on their platform of interest.
It's not a 100% strict rule, I've just tried to limit it as much as possible, and sometimes missed drivers doing it anyway. My main goal here is to make things consistent between SoC families, so if one piece of information is provided by a number of them, I'd rather have a standard attribute, or a common way of encoding this in the existing attributes than to have too many custom attributes with similar names.
Quoted 11 lines
Quoted 7 lines
Quoted 2 lines
YueHaibing (1):
soc/tegra: fuse: Add missing DMADEVICES dependencyThis one fixes the warning the wrong way: we don't 'select' random drivers from other subsystems, and selecting the entire subsystem makes it worse. Just drop the 'select' here and enable the drivers in the defconfig.
This doesn't actually select the DMADEVICES property. It adds a dependency on DMADEVICES and if that is met it will select
TEGRA20_APB_DMA.
My mistake. However, I still think it's wrong to select TEGRA20_APB_DMA here, unless there is a build-time dependency that prevents it from being compiled otherwise.
The dmaengine subsystem is meant to abstract the relation between the drivers using DMA and those providing the feature, the same way we abstract all the other subsystems. The fuse driver may only be used on machines that use TEGRA20_APB_DMA, but neither the driver code nor Kconfig should care about that.
Arnd
Jon Hunter
maintainerRe: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
On 13/07/2022 13:14, Arnd Bergmann wrote:
...
Quoted 21 lines
Quoted 15 lines
Quoted 10 lines
For the other patches, I found two more problems:
Quoted 2 lines
Bitan Biswas (1):
soc/tegra: fuse: Expose Tegra production statusPlease don't just add random attributes in the soc device infrastructure. This one has a completely generic name but a SoC specific meaning, and it lacks a description in
Documentation/ABI.
Not sure what the right ABI is here, but this is something that needs to be discussed more broadly when you send a new version.I wasn't aware that the SoC device infrastructure was restricted to only standardized attributes. Looks like there are a few other outliers that add custom attributes: UX500, ARM Integrator and RealView, and OMAP2.
Quoted 5 lines
Do we have some other place where this kind of thing can be exposed? Or do we just need to come up with some better way of namespacing these? Perhaps it would also be sufficient if all of these were better documented so that people know what to look for on their platform of interest.
Quoted 6 lines
It's not a 100% strict rule, I've just tried to limit it as much as possible, and sometimes missed drivers doing it anyway. My main goal here is to make things consistent between SoC families, so if one piece of information is provided by a number of them, I'd rather have a standard attribute, or a common way of encoding this in the existing attributes than to have too many custom attributes with similar names.
Makes sense. Any recommendations for this specific attribute? I could imagine other vendors may have engineering devices and production versions. This is slightly different from the silicon version.
Cheers
Jon
Signature · 1 line
nvpublic
Re: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
Quoted 30 lines · Jon Hunter
Quoted 21 lines · Arnd Bergmann
Quoted 15 lines
Quoted 10 lines
For the other patches, I found two more problems:
Quoted 2 lines
Bitan Biswas (1):
soc/tegra: fuse: Expose Tegra production statusPlease don't just add random attributes in the soc device infrastructure. This one has a completely generic name but a SoC specific meaning, and it lacks a description in
Documentation/ABI.
Not sure what the right ABI is here, but this is something that needs to be discussed more broadly when you send a new version.I wasn't aware that the SoC device infrastructure was restricted to only standardized attributes. Looks like there are a few other outliers that add custom attributes: UX500, ARM Integrator and RealView, and OMAP2.
Quoted 5 lines
Do we have some other place where this kind of thing can be exposed? Or do we just need to come up with some better way of namespacing these? Perhaps it would also be sufficient if all of these were better documented so that people know what to look for on their platform of interest.
Quoted 6 lines
It's not a 100% strict rule, I've just tried to limit it as much as possible, and sometimes missed drivers doing it anyway. My main goal here is to make things consistent between SoC families, so if one piece of information is provided by a number of them, I'd rather have a standard attribute, or a common way of encoding this in the existing attributes than to have too many custom attributes with similar names.
Quoted 3 lines
Makes sense. Any recommendations for this specific attribute? I could imagine other vendors may have engineering devices and production versions. This is slightly different from the silicon version.
Not sure, I haven't seen this one referenced elsewhere so far.
What is the actual information this encodes in your case? Is this fused down in a way that production devices lose access to certain features that could be security critical but are useful for development?
Arnd
Jon Hunter
maintainerRe: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
Quoted 35 lines · Arnd Bergmann
Quoted 30 lines · Jon Hunter
Quoted 21 lines · Arnd Bergmann
Quoted 15 lines
Quoted 10 lines
For the other patches, I found two more problems:
Quoted 2 lines
Bitan Biswas (1):
soc/tegra: fuse: Expose Tegra production statusPlease don't just add random attributes in the soc device infrastructure. This one has a completely generic name but a SoC specific meaning, and it lacks a description in
Documentation/ABI.
Not sure what the right ABI is here, but this is something that needs to be discussed more broadly when you send a new version.I wasn't aware that the SoC device infrastructure was restricted to only standardized attributes. Looks like there are a few other outliers that add custom attributes: UX500, ARM Integrator and RealView, and OMAP2.
Quoted 5 lines
Do we have some other place where this kind of thing can be exposed? Or do we just need to come up with some better way of namespacing these? Perhaps it would also be sufficient if all of these were better documented so that people know what to look for on their platform of interest.
Quoted 6 lines
It's not a 100% strict rule, I've just tried to limit it as much as possible, and sometimes missed drivers doing it anyway. My main goal here is to make things consistent between SoC families, so if one piece of information is provided by a number of them, I'd rather have a standard attribute, or a common way of encoding this in the existing attributes than to have too many custom attributes with similar names.
Quoted 3 lines
Makes sense. Any recommendations for this specific attribute? I could imagine other vendors may have engineering devices and production versions. This is slightly different from the silicon version.
Quoted 5 lines
Not sure, I haven't seen this one referenced elsewhere so far.
What is the actual information this encodes in your case? Is this fused down in a way that production devices lose access to certain features that could be security critical but are useful for development?
Yes I believe it is precisely that. Exact details I am not clear on, but I see a lot of references to this throughout our userspace and testing code.
Jon
Signature · 1 line
nvpublic
Re: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
In reply to Arnd BergmannQuoted 51 lines · Arnd Bergmann
Quoted 11 lines · Thierry Reding
Quoted 9 lines · Arnd Bergmann
On Fri, Jul 8, 2022 at 8:56 PM Thierry Reding <[email protected]> wrote:
I fear I'm going to skip this for the current merge window. It looks like the CBB driver you add here would fit into the existing
drivers/edac/subsystem, or at the minimum should have been reviewed by the corresponding maintainers (added to Cc) to decide whether it goes there or not.I had not previously seen this driver, but I'll let them have a look first.
Quoted 7 lines
EDAC looks like it's used primarily for memory controllers, which this is not. But then I also see explicit references to non-memory-controller references in the infrastructure, so perhaps this does fit in there. The CBB driver is primarily a means to provide additional information about runtime errors, so it's not directly a means of discovering the errors (they would be detected anyway and cause a crash) and I don't think we have a means of correcting any of these errors.
I think this is just a reflection of what other hardware can do:
most machines only detect memory errors, but the EDAC subsystem can work with any type in principle. There are also a lot of conditions elsewhere that can be detected but not corrected.Quoted 1 line
I'll ask Sumit to work with the EDAC maintainers on this.
Thanks
Quoted 15 lines
Quoted 10 lines
For the other patches, I found two more problems:
Quoted 2 lines
Bitan Biswas (1):
soc/tegra: fuse: Expose Tegra production statusPlease don't just add random attributes in the soc device infrastructure. This one has a completely generic name but a SoC specific meaning, and it lacks a description in
Documentation/ABI.
Not sure what the right ABI is here, but this is something that needs to be discussed more broadly when you send a new version.I wasn't aware that the SoC device infrastructure was restricted to only standardized attributes. Looks like there are a few other outliers that add custom attributes: UX500, ARM Integrator and RealView, and OMAP2.
Quoted 5 lines
Do we have some other place where this kind of thing can be exposed? Or do we just need to come up with some better way of namespacing these? Perhaps it would also be sufficient if all of these were better documented so that people know what to look for on their platform of interest.
Quoted 6 lines
It's not a 100% strict rule, I've just tried to limit it as much as possible, and sometimes missed drivers doing it anyway. My main goal here is to make things consistent between SoC families, so if one piece of information is provided by a number of them, I'd rather have a standard attribute, or a common way of encoding this in the existing attributes than to have too many custom attributes with similar names.
The major/minor attributes that we have on Tegra SoCs should be easy to standardize. It seems like those could be fairly common. The other one that we have is the "platform" one, which I suppose is not as easy to standardize. I don't recall the exact details, but I think we're mostly interested in whether or not the platform is simulation or silicon. The exact simulation value is not something that userspace scripts will look at, as far as I recall.
Jon, correct me if I'm wrong.
Perhaps this can be deprecated in favour of a more standardized property that can more easily be implemented on other SoCs.
The production mode is something that is read from a fuse and we expose those via the nvmem subsystem already. Currently nvmem exposes only a binary attribute in sysfs that userspace would need to parse and ideally we'd have something a little easier to work with, but perhaps nvmem can be enhanced to expose individual cells as separate attributes in some standard format. We also have some other values in the fuses that we want to make available to userspace (IDs and that sort of thing), so it's good that you noticed this now before we would've added even more.
Quoted 16 lines
Quoted 11 lines
Quoted 7 lines
Quoted 2 lines
YueHaibing (1):
soc/tegra: fuse: Add missing DMADEVICES dependencyThis one fixes the warning the wrong way: we don't 'select' random drivers from other subsystems, and selecting the entire subsystem makes it worse. Just drop the 'select' here and enable the drivers in the defconfig.
This doesn't actually select the DMADEVICES property. It adds a dependency on DMADEVICES and if that is met it will select
TEGRA20_APB_DMA.My mistake. However, I still think it's wrong to select
TEGRA20_APB_DMAhere, unless there is a build-time dependency that prevents it from being compiled otherwise.
Quoted 6 lines
The dmaengine subsystem is meant to abstract the relation between the drivers using DMA and those providing the feature, the same way we abstract all the other subsystems. The fuse driver may only be used on machines that use
TEGRA20_APB_DMA, but neither the driver code norKconfigshould care about that.
This dependency has existed for quite a while and my recollection is that we wanted to make this very explicit because the lack of the TEGRA20_APB_DMA driver makes the FUSE driver completely useless on Tegra20 and that in turn has a very negative impact on the rest of the system, so we deemed a default configuration change insufficient.
Perhaps a better way to solve this would be to make TEGRA20_APB_DMA default to "y" if ARCH_TEGRA_2x_SOC. And then perhaps make the FUSE driver depend on DMADEVICES. That still wouldn't ensure that we get SOC_TEGRA_FUSE enabled automatically all the time, but perhaps it'd document the dependency a bit more explicitly.
Thierry
Jon Hunter
maintainerRe: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
On 13/07/2022 21:22, Thierry Reding wrote:
...
Quoted 34 lines
Quoted 19 lines
Quoted 13 lines
Quoted 8 lines
Quoted 2 lines
Bitan Biswas (1):
soc/tegra: fuse: Expose Tegra production statusPlease don't just add random attributes in the soc device infrastructure. This one has a completely generic name but a SoC specific meaning, and it lacks a description in
Documentation/ABI.
Not sure what the right ABI is here, but this is something that needs to be discussed more broadly when you send a new version.I wasn't aware that the SoC device infrastructure was restricted to only standardized attributes. Looks like there are a few other outliers that add custom attributes: UX500, ARM Integrator and RealView, and OMAP2.
Quoted 5 lines
Do we have some other place where this kind of thing can be exposed? Or do we just need to come up with some better way of namespacing these? Perhaps it would also be sufficient if all of these were better documented so that people know what to look for on their platform of interest.
Quoted 6 lines
It's not a 100% strict rule, I've just tried to limit it as much as possible, and sometimes missed drivers doing it anyway. My main goal here is to make things consistent between SoC families, so if one piece of information is provided by a number of them, I'd rather have a standard attribute, or a common way of encoding this in the existing attributes than to have too many custom attributes with similar names.
The major/minor attributes that we have on Tegra SoCs should be easy to standardize. It seems like those could be fairly common. The other one that we have is the "platform" one, which I suppose is not as easy to standardize. I don't recall the exact details, but I think we're mostly interested in whether or not the platform is simulation or silicon. The exact simulation value is not something that userspace scripts will look at, as far as I recall.
Quoted 1 line
Jon, correct me if I'm wrong.
There are a few different simulation types and I am seen some userspace code convert the value and display the actual type. However, in reality I am not sure how much this is used, but yes at least identifying that this is silicon is used widely from what I have seen.
Jon
Signature · 1 line
nvpublic
Re: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
In reply to Thierry RedingQuoted 11 lines · Thierry Reding
Quoted 7 lines · Arnd Bergmann
It's not a 100% strict rule, I've just tried to limit it as much as possible, and sometimes missed drivers doing it anyway. My main goal here is to make things consistent between SoC families, so if one piece of information is provided by a number of them, I'd rather have a standard attribute, or a common way of encoding this in the existing attributes than to have too many custom attributes with similar names.
The major/minor attributes that we have on Tegra SoCs should be easy to standardize. It seems like those could be fairly common.
I think these can just be folded into one of the other attributes, probably either revision or soc_id dependending on what they actually refer to.
These properties are intentionally free-text fields that you can match using wildcards with the soc_device_match() function. If I read this part right, the information is already available in the soc_id field, so we don't even need to change anything here.
Quoted 6 lines
The other one
that we have is the "platform" one, which I suppose is not as easy to standardize. I don't recall the exact details, but I think we're mostly interested in whether or not the platform is simulation or silicon. The exact simulation value is not something that userspace scripts will look at, as far as I recall.
This also looks like it's part of the chip_id.
Quoted 29 lines
Quoted 16 lines
Quoted 11 lines
Quoted 7 lines
Quoted 2 lines
YueHaibing (1):
soc/tegra: fuse: Add missing DMADEVICES dependencyThis one fixes the warning the wrong way: we don't 'select' random drivers from other subsystems, and selecting the entire subsystem makes it worse. Just drop the 'select' here and enable the drivers in the defconfig.
This doesn't actually select the DMADEVICES property. It adds a dependency on DMADEVICES and if that is met it will select
TEGRA20_APB_DMA.My mistake. However, I still think it's wrong to select
TEGRA20_APB_DMAhere, unless there is a build-time dependency that prevents it from being compiled otherwise.Quoted 6 lines
The dmaengine subsystem is meant to abstract the relation between the drivers using DMA and those providing the feature, the same way we abstract all the other subsystems. The fuse driver may only be used on machines that use
TEGRA20_APB_DMA, but neither the driver code norKconfigshould care about that.This dependency has existed for quite a while and my recollection is that we wanted to make this very explicit because the lack of the
TEGRA20_APB_DMAdriver makes the FUSE driver completely useless on Tegra20 and that in turn has a very negative impact on the rest of the system, so we deemed a default configuration change insufficient.
Quoted 5 lines
Perhaps a better way to solve this would be to make
TEGRA20_APB_DMAdefault to "y" ifARCH_TEGRA_2x_SOC. And then perhaps make the FUSE driver depend on DMADEVICES. That still wouldn't ensure that we getSOC_TEGRA_FUSEenabled automatically all the time, but perhaps it'd document the dependency a bit more explicitly.
Ok, this sounds good to me.
Arnd
Borislav Petkov
maintainerRe: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
In reply to Arnd BergmannQuoted 4 lines · Arnd Bergmann
I think this is just a reflection of what other hardware can do:
most machines only detect memory errors, but the EDAC subsystem can work with any type in principle. There are also a lot of conditions elsewhere that can be detected but not corrected.
Just a couple of thoughts from looking at this:
So the EDAC thing reports *hardware* errors by using the RAS capabilities built into an IP block. So it started with memory controllers but it is getting extended to other blocks. AMD are looking at how to integrate GPU hw errors reporting into it, for example.
Looking at that CBB thing, it looks like it is supposed to report not so much hardware errors but operational errors. Some of the hw errors reported by RAS hw are also operation-related but not the majority.
Then, EDAC has this counters exposed in:
$ grep -r . /sys/devices/system/edac/ /sys/devices/system/edac/power/runtime_active_time:0 /sys/devices/system/edac/power/runtime_status:unsupported /sys/devices/system/edac/power/runtime_suspended_time:0 /sys/devices/system/edac/power/control:auto /sys/devices/system/edac/pci/edac_pci_log_pe:1 /sys/devices/system/edac/pci/pci0/pe_count:0 /sys/devices/system/edac/pci/pci0/npe_count:0 /sys/devices/system/edac/pci/pci_parity_count:0 /sys/devices/system/edac/pci/pci_nonparity_count:0 /sys/devices/system/edac/pci/edac_pci_log_npe:1 /sys/devices/system/edac/pci/edac_pci_panic_on_pe:0 /sys/devices/system/edac/pci/check_pci_errors:0 /sys/devices/system/edac/mc/power/runtime_active_time:0 /sys/devices/system/edac/mc/power/runtime_status:unsupported ...
with the respective hierarchy: memory controllers, PCI errors, etc.
So the main question is, does it make sense for you to fit this into the EDAC hierarchy and what would even be the advantage of making it part of EDAC?
HTH.
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquetteRe: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
Hi Arnd, Boris,
Thank you for your inputs.
Quoted 7 lines
Quoted 4 lines
I think this is just a reflection of what other hardware can do:
most machines only detect memory errors, but the EDAC subsystem can work with any type in principle. There are also a lot of conditions elsewhere that can be detected but not corrected.Just a couple of thoughts from looking at this:
Quoted 9 lines
So the EDAC thing reports *hardware* errors by using the RAS capabilities built into an IP block. So it started with memory controllers but it is getting extended to other blocks. AMD are looking at how to integrate GPU hw errors reporting into it, for example.
Looking at that CBB thing, it looks like it is supposed to report not so much hardware errors but operational errors. Some of the hw errors reported by RAS hw are also operation-related but not the majority.
CBB driver reports errors due to bad MMIO accesses within software.
The vast majority of the CBB errors tend to be programming errors in setting up address windows leading to decode errors.
Quoted 19 lines
Then, EDAC has this counters exposed in:
$ grep -r . /sys/devices/system/edac/ /sys/devices/system/edac/power/runtime_active_time:0 /sys/devices/system/edac/power/runtime_status:unsupported /sys/devices/system/edac/power/runtime_suspended_time:0 /sys/devices/system/edac/power/control:auto /sys/devices/system/edac/pci/edac_pci_log_pe:1 /sys/devices/system/edac/pci/pci0/pe_count:0 /sys/devices/system/edac/pci/pci0/npe_count:0 /sys/devices/system/edac/pci/pci_parity_count:0 /sys/devices/system/edac/pci/pci_nonparity_count:0 /sys/devices/system/edac/pci/edac_pci_log_npe:1 /sys/devices/system/edac/pci/edac_pci_panic_on_pe:0 /sys/devices/system/edac/pci/check_pci_errors:0 /sys/devices/system/edac/mc/power/runtime_active_time:0 /sys/devices/system/edac/mc/power/runtime_status:unsupported ...
Quoted 6 lines
with the respective hierarchy: memory controllers, PCI errors, etc.
So the main question is, does it make sense for you to fit this into the EDAC hierarchy and what would even be the advantage of making it part of EDAC?
I also think this doesn't seem to fit with the errors reported by EDAC which are mainly hardware errors as Boris explained. Please share your thoughts and if we can merge the patches as it is.
Quoted 7 lines
HTH.
--
Regards/Gruss,
Boris.
Re: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
Quoted 46 lines · Sumit Gupta
Hi Arnd, Boris,
Thank you for your inputs.
Quoted 7 lines
Quoted 4 lines
I think this is just a reflection of what other hardware can do:
most machines only detect memory errors, but the EDAC subsystem can work with any type in principle. There are also a lot of conditions elsewhere that can be detected but not corrected.Just a couple of thoughts from looking at this:
Quoted 9 lines
So the EDAC thing reports *hardware* errors by using the RAS capabilities built into an IP block. So it started with memory controllers but it is getting extended to other blocks. AMD are looking at how to integrate GPU hw errors reporting into it, for example.
Looking at that CBB thing, it looks like it is supposed to report not so much hardware errors but operational errors. Some of the hw errors reported by RAS hw are also operation-related but not the majority.
CBB driver reports errors due to bad MMIO accesses within software. The vast majority of the CBB errors tend to be programming errors in setting up address windows leading to decode errors.
Quoted 21 lines
Then, EDAC has this counters exposed in:
$ grep -r . /sys/devices/system/edac/ /sys/devices/system/edac/power/runtime_active_time:0 /sys/devices/system/edac/power/runtime_status:unsupported /sys/devices/system/edac/power/runtime_suspended_time:0 /sys/devices/system/edac/power/control:auto /sys/devices/system/edac/pci/edac_pci_log_pe:1 /sys/devices/system/edac/pci/pci0/pe_count:0 /sys/devices/system/edac/pci/pci0/npe_count:0 /sys/devices/system/edac/pci/pci_parity_count:0 /sys/devices/system/edac/pci/pci_nonparity_count:0 /sys/devices/system/edac/pci/edac_pci_log_npe:1 /sys/devices/system/edac/pci/edac_pci_panic_on_pe:0 /sys/devices/system/edac/pci/check_pci_errors:0 /sys/devices/system/edac/mc/power/runtime_active_time:0 /sys/devices/system/edac/mc/power/runtime_status:unsupported ...with the respective hierarchy: memory controllers, PCI errors, etc.
Quoted 8 lines
Quoted 4 lines
So the main question is, does it make sense for you to fit this into the EDAC hierarchy and what would even be the advantage of making it part of EDAC?
I also think this doesn't seem to fit with the errors reported by EDAC which are mainly hardware errors as Boris explained.
Please share your thoughts and if we can merge the patches as it is.
Arnd,
any more thoughts on this? Looks like there is no consensus on where this should go. If it's okay for this to go in via ARM SoC after all, I could prepare another pull request including only the CBB changes along with some of the reference count fixes. I could possibly also rework the DMADEVICES dependency patch as discussed, or we could defer it if it's too risky at this point.
Thierry
Re: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
Quoted 56 lines · Sumit Gupta
Quoted 44 lines
Hi Arnd, Boris,
Thank you for your inputs.
Quoted 6 lines
Quoted 4 lines
I think this is just a reflection of what other hardware can do:
most machines only detect memory errors, but the EDAC subsystem can work with any type in principle. There are also a lot of conditions elsewhere that can be detected but not corrected.Just a couple of thoughts from looking at this:
Quoted 9 lines
So the EDAC thing reports*hardware* errors by using the RAS capabilities built into an IP block. So it started with memory controllers but it is getting extended to other blocks. AMD are looking at how to integrate GPU hw errors reporting into it, for example.
Looking at that CBB thing, it looks like it is supposed to report not so much hardware errors but operational errors. Some of the hw errors reported by RAS hw are also operation-related but not the majority.
CBB driver reports errors due to bad MMIO accesses within software. The vast majority of the CBB errors tend to be programming errors in setting up address windows leading to decode errors.
Quoted 21 lines
Then, EDAC has this counters exposed in:
$ grep -r ./sys/devices/system/edac/ /sys/devices/system/edac/power/runtime_active_time:0 /sys/devices/system/edac/power/runtime_status:unsupported /sys/devices/system/edac/power/runtime_suspended_time:0 /sys/devices/system/edac/power/control:auto /sys/devices/system/edac/pci/edac_pci_log_pe:1 /sys/devices/system/edac/pci/pci0/pe_count:0 /sys/devices/system/edac/pci/pci0/npe_count:0 /sys/devices/system/edac/pci/pci_parity_count:0 /sys/devices/system/edac/pci/pci_nonparity_count:0 /sys/devices/system/edac/pci/edac_pci_log_npe:1 /sys/devices/system/edac/pci/edac_pci_panic_on_pe:0 /sys/devices/system/edac/pci/check_pci_errors:0 /sys/devices/system/edac/mc/power/runtime_active_time:0 /sys/devices/system/edac/mc/power/runtime_status:unsupported ...with the respective hierarchy: memory controllers, PCI errors, etc.
Quoted 7 lines
Quoted 4 lines
So the main question is, does it make sense for you to fit this into the EDAC hierarchy and what would even be the advantage of making it part of EDAC?
I also think this doesn't seem to fit with the errors reported by EDAC which are mainly hardware errors as Boris explained.
Please share your thoughts and if we can merge the patches as it is.Arnd,
Quoted 8 lines
any more thoughts on this? Looks like there is no consensus on where this should go. If it's okay for this to go in via ARM SoC after all, I could prepare another pull request including only the CBB changes along with some of the reference count fixes. I could possibly also rework the DMADEVICES dependency patch as discussed, or we could defer it if it's too risky at this point.
Thierry
Hi Arnd, Thierry,
Gentle ping.
If we are OK with the reasoning then can we please queue the patch series for '6.1'.
Thank you,
Sumit
Re: [GIT PULL 1/7] soc/tegra: Changes for v5.20-rc1
In reply to Borislav PetkovQuoted 36 lines · Borislav Petkov
Quoted 4 lines · Arnd Bergmann
I think this is just a reflection of what other hardware can do:
most machines only detect memory errors, but the EDAC subsystem can work with any type in principle. There are also a lot of conditions elsewhere that can be detected but not corrected.Just a couple of thoughts from looking at this:
So the EDAC thing reports *hardware* errors by using the RAS capabilities built into an IP block. So it started with memory controllers but it is getting extended to other blocks. AMD are looking at how to integrate GPU hw errors reporting into it, for example.
Looking at that CBB thing, it looks like it is supposed to report not so much hardware errors but operational errors. Some of the hw errors reported by RAS hw are also operation-related but not the majority.
Then, EDAC has this counters exposed in:
$ grep -r . /sys/devices/system/edac/ /sys/devices/system/edac/power/runtime_active_time:0 /sys/devices/system/edac/power/runtime_status:unsupported /sys/devices/system/edac/power/runtime_suspended_time:0 /sys/devices/system/edac/power/control:auto /sys/devices/system/edac/pci/edac_pci_log_pe:1 /sys/devices/system/edac/pci/pci0/pe_count:0 /sys/devices/system/edac/pci/pci0/npe_count:0 /sys/devices/system/edac/pci/pci_parity_count:0 /sys/devices/system/edac/pci/pci_nonparity_count:0 /sys/devices/system/edac/pci/edac_pci_log_npe:1 /sys/devices/system/edac/pci/edac_pci_panic_on_pe:0 /sys/devices/system/edac/pci/check_pci_errors:0 /sys/devices/system/edac/mc/power/runtime_active_time:0 /sys/devices/system/edac/mc/power/runtime_status:unsupported ...
Quoted 5 lines
with the respective hierarchy: memory controllers, PCI errors, etc.
So the main question is, does it make sense for you to fit this into the EDAC hierarchy and what would even be the advantage of making it part of EDAC?
Closing the loop on this: we've decided to keep this in drivers/soc for now, with the option of re-evaluating when we encounter similar functionality on other hardware.
I'm also going to hijack the thread because something else came up recently that fits the audience here and it's up the same alley: on Tegra234 a mechanism, called FSI (Functional Safety Island), exists to report failures to an external MCU that's monitoring the system.
Special hardware exists in the SoC that can send these errors to the MCU via different transports, and the idea is to report software- detected failures from kernel drivers such as I2C or PCI via this mechanism, so appropriate action can be taken. So essentially we're looking at adding some new API, preferably something generic, to these bus drivers along with "provider" drivers that get notified of these reports so that they can be forwarded to the FSI (and then the MCU).
This again doesn't seem to be a great fit for EDAC as it is today, but I can also not find anything better looking around the kernel. So I'm wondering if this is something that others have encountered and might have solved already and I just haven't found it, or if this is something that would be worth creating a new subsystem for. Or perhaps this could be integrated into EDAC somehow? I'm a bit reluctant to add yet another custom infrastructure for this, given that it's functionality that likely exists in other SoCs as well.
Any thoughts on this?
Thierry
[GIT PULL 2/7] firmware: tegra: Changes for v5.20-rc1
In reply to Thierry RedingHi ARM SoC maintainers,
The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:
Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.20-firmware
for you to fetch changes up to afcdb8e55c91c6ff0700ab272fd0f74e899ab884:
firmware: tegra: Fix error check return value of debugfs_create_file() (2022-07-08 17:56:03 +0200)
Thanks,
Thierry
----------------------------------------------------------------
firmware: tegra: Changes for v5.20-rc1
Contains a fix that avoids unaligned accesses to IPC memory, which in turn helps in suppressing speculative reads from out-of-bounds memory.
Another patch performs some minor cleanup around debugfs API usage.
----------------------------------------------------------------
Lv Ruyi (1):
firmware: tegra: Fix error check return value of debugfs_create_file()
Timo Alho (1):
firmware: tegra: bpmp: Do only aligned access to IPC memory area
drivers/firmware/tegra/bpmp-debugfs.c | 10 +++++----- drivers/firmware/tegra/bpmp.c | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-)
[GIT PULL 3/7] dt-bindings: Changes for v5.20-rc1
In reply to Thierry RedingHi ARM SoC maintainers,
The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:
Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.20-dt-bindings
for you to fetch changes up to 015a166368d72e3bd22368aa9fc793db953ec9c4:
dt-bindings: tegra-ccplex-cluster: Remove status from required properties (2022-07-08 16:50:30 +0200)
Thanks,
Thierry
----------------------------------------------------------------
dt-bindings: Changes for v5.20-rc1
These changes add clock, reset, memory client and power domain definitions for various devices found on Tegra234 along with a few device tree bindings for new hardware.
----------------------------------------------------------------
Akhil R (1):
dt-bindings: Add headers for Tegra234 GPCDMA
Kartik (1):
dt-bindings: timer: Add Tegra186 & Tegra234 Timer
Mikko Perttunen (1):
dt-bindings: Add headers for Host1x and VIC on Tegra234
Sumit Gupta (3):
dt-bindings: arm: tegra: Add NVIDIA Tegra194 CBB 1.0 binding
dt-bindings: arm: tegra: Add NVIDIA Tegra194 AXI2APB binding
dt-bindings: arm: tegra: Add NVIDIA Tegra234 CBB 2.0 binding
Thierry Reding (4):
dt-bindings: power: Add Tegra234 MGBE power domains
dt-bindings: Add Tegra234 MGBE clocks and resets
dt-bindings: memory: Add Tegra234 MGBE memory clients
dt-bindings: tegra-ccplex-cluster: Remove status from required properties
.../arm/tegra/nvidia,tegra-ccplex-cluster.yaml | 1 - .../arm/tegra/nvidia,tegra194-axi2apb.yaml | 40 ++++++++ .../bindings/arm/tegra/nvidia,tegra194-cbb.yaml | 97 ++++++++++++++++++ .../bindings/arm/tegra/nvidia,tegra234-cbb.yaml | 74 ++++++++++++++ .../bindings/timer/nvidia,tegra186-timer.yaml | 109 +++++++++++++++++++++ include/dt-bindings/clock/tegra234-clock.h | 105 ++++++++++++++++++++ include/dt-bindings/memory/tegra234-mc.h | 26 +++++ include/dt-bindings/power/tegra234-powergate.h | 2 + include/dt-bindings/reset/tegra234-reset.h | 10 ++ 9 files changed, 463 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra194-axi2apb.yaml create mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra194-cbb.yaml create mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra234-cbb.yaml create mode 100644 Documentation/devicetree/bindings/timer/nvidia,tegra186-timer.yaml
[GIT PULL 4/7] memory: tegra: Changes for v5.20-rc1
In reply to Thierry RedingHi ARM SoC maintainers,
The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:
Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.20-memory
for you to fetch changes up to 5060237b0ee1b1c70fcd9a8048664905b74ba6a4:
memory: tegra: Add MGBE memory clients for Tegra234 (2022-07-08 10:29:40 +0200)
Thanks,
Thierry
----------------------------------------------------------------
memory: tegra: Changes for v5.20-rc1
Add memory client definitions for the Multi-Gigabit Ethernet (MGBE) controllers found on Tegra234.
----------------------------------------------------------------
Akhil R (1):
dt-bindings: Add headers for Tegra234 GPCDMA
Sumit Gupta (3):
dt-bindings: arm: tegra: Add NVIDIA Tegra194 CBB 1.0 binding
dt-bindings: arm: tegra: Add NVIDIA Tegra194 AXI2APB binding
dt-bindings: arm: tegra: Add NVIDIA Tegra234 CBB 2.0 binding
Thierry Reding (5):
dt-bindings: power: Add Tegra234 MGBE power domains
dt-bindings: Add Tegra234 MGBE clocks and resets
dt-bindings: memory: Add Tegra234 MGBE memory clients Merge branch 'for-5.20/dt-bindings' into for-5.20/memory
memory: tegra: Add MGBE memory clients for Tegra234
.../arm/tegra/nvidia,tegra194-axi2apb.yaml | 40 ++++++++ .../bindings/arm/tegra/nvidia,tegra194-cbb.yaml | 97 ++++++++++++++++++++ .../bindings/arm/tegra/nvidia,tegra234-cbb.yaml | 74 +++++++++++++++ drivers/memory/tegra/tegra234.c | 80 ++++++++++++++++ include/dt-bindings/clock/tegra234-clock.h | 101 +++++++++++++++++++++ include/dt-bindings/memory/tegra234-mc.h | 21 +++++ include/dt-bindings/power/tegra234-powergate.h | 1 + include/dt-bindings/reset/tegra234-reset.h | 9 ++ 8 files changed, 423 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra194-axi2apb.yaml create mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra194-cbb.yaml create mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra234-cbb.yaml
[GIT PULL 5/7] ARM: tegra: Device tree changes for v5.20-rc1
In reply to Thierry RedingHi ARM SoC maintainers,
The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:
Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.20-arm-dt
for you to fetch changes up to 799270e9b8be0846d418ed6c3f61408aef8059a1:
ARM: tegra: Align gpio-keys node names with dtschema (2022-06-24 18:15:53 +0200)
Thanks,
Thierry
----------------------------------------------------------------
ARM: tegra: Device tree changes for v5.20-rc1
Two minor fixes to help reduce the noise from the DT validation tooling.
----------------------------------------------------------------
Krzysztof Kozlowski (2):
ARM: tegra: Adjust whitespace around '='
ARM: tegra: Align gpio-keys node names with dtschema
arch/arm/boot/dts/tegra114-asus-tf701t.dts | 8 ++++---- arch/arm/boot/dts/tegra114-dalmore.dts | 8 ++++---- arch/arm/boot/dts/tegra114-roth.dts | 6 +++--- arch/arm/boot/dts/tegra114-tn7.dts | 6 +++--- arch/arm/boot/dts/tegra124-apalis-eval.dts | 2 +- arch/arm/boot/dts/tegra124-apalis-v1.2-eval.dts | 2 +- arch/arm/boot/dts/tegra124-jetson-tk1.dts | 2 +- arch/arm/boot/dts/tegra124-nyan.dtsi | 4 ++-- arch/arm/boot/dts/tegra124-venice2.dts | 2 +- arch/arm/boot/dts/tegra20-acer-a500-picasso.dts | 10 +++++----- arch/arm/boot/dts/tegra20-asus-tf101.dts | 10 +++++----- arch/arm/boot/dts/tegra20-colibri-eval-v3.dts | 2 +- arch/arm/boot/dts/tegra20-colibri-iris.dts | 2 +- arch/arm/boot/dts/tegra20-harmony.dts | 2 +- arch/arm/boot/dts/tegra20-paz00.dts | 2 +- arch/arm/boot/dts/tegra20-seaboard.dts | 4 ++-- arch/arm/boot/dts/tegra20-trimslice.dts | 2 +- arch/arm/boot/dts/tegra20-ventana.dts | 2 +- arch/arm/boot/dts/tegra30-apalis-eval.dts | 2 +- arch/arm/boot/dts/tegra30-apalis-v1.1-eval.dts | 2 +- arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi | 14 +++++++------- arch/arm/boot/dts/tegra30-asus-nexus7-tilapia.dtsi | 2 +- arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi | 10 +++++----- arch/arm/boot/dts/tegra30-cardhu.dtsi | 6 +++--- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 2 +- arch/arm/boot/dts/tegra30-colibri.dtsi | 6 +++--- arch/arm/boot/dts/tegra30-ouya.dts | 2 +- arch/arm/boot/dts/tegra30-pegatron-chagall.dts | 10 +++++----- 28 files changed, 66 insertions(+), 66 deletions(-)
[GIT PULL 6/7] arm64: tegra: Device tree changes for v5.20-rc1
In reply to Thierry RedingHi ARM SoC maintainers,
The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:
Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.20-arm64-dt
for you to fetch changes up to b415bb7c976f1d595ed752001c0938f702645dab:
arm64: tegra: Fix SDMMC1 CD on P2888 (2022-07-08 18:00:13 +0200)
Thanks,
Thierry
----------------------------------------------------------------
arm64: tegra: Device tree changes for v5.20-rc1
This adds and enables various hardware on Tegra234 (host1x, VIC, GPCDMA) as well as the Control BackBone related device tree nodes on Tegra194 and Tegra234.
Native timers are enabled on Tegra186, Tegra194 and Tegra234, which allow keeping track of SoC-wide timestamps as well as hardware watchdog functionality.
The audio subsystem is enhanced with the Output Processing Engine (OPE) on Tegra210 and later.
Finally there are a handful of minor cleanups and fixes.
----------------------------------------------------------------
Akhil R (3):
dt-bindings: Add headers for Tegra234 GPCDMA
arm64: tegra: Add Tegra234 GPCDMA device tree node
arm64: tegra: Update compatible for Tegra234 GPCDMA
Kartik (3):
dt-bindings: timer: Add Tegra186 & Tegra234 Timer
arm64: tegra: Enable native timers on Tegra186
arm64: tegra: Enable native timers on Tegra234
Krzysztof Kozlowski (2):
arm64: tegra: Adjust whitespace around '='
arm64: tegra: Align gpio-keys node names with dtschema
Mikko Perttunen (4):
dt-bindings: Add headers for Host1x and VIC on Tegra234
arm64: tegra: Mark BPMP channels as no-memory-wc
arm64: tegra: Add Host1x context stream IDs on Tegra186+
arm64: tegra: Add Host1x and VIC on Tegra234
Sameer Pujar (2):
arm64: tegra: Add OPE device on Tegra210 and later
arm64: tegra: Enable OPE on various platforms
Sumit Gupta (5):
dt-bindings: arm: tegra: Add NVIDIA Tegra194 CBB 1.0 binding
dt-bindings: arm: tegra: Add NVIDIA Tegra194 AXI2APB binding
dt-bindings: arm: tegra: Add NVIDIA Tegra234 CBB 2.0 binding
arm64: tegra: Add node for CBB 1.0 on Tegra194
arm64: tegra: Add node for CBB 2.0 on Tegra234
Tamás Szűcs (1):
arm64: tegra: Fix SDMMC1 CD on P2888
Thierry Reding (6):
dt-bindings: power: Add Tegra234 MGBE power domains
dt-bindings: Add Tegra234 MGBE clocks and resets
dt-bindings: memory: Add Tegra234 MGBE memory clients
dt-bindings: tegra-ccplex-cluster: Remove status from required properties Merge branch 'for-5.20/dt-bindings' into for-5.20/arm64/dt
arm64: tegra: Enable native timers on Tegra194
.../arm/tegra/nvidia,tegra-ccplex-cluster.yaml | 1 - .../arm/tegra/nvidia,tegra194-axi2apb.yaml | 40 +++++ .../bindings/arm/tegra/nvidia,tegra194-cbb.yaml | 97 +++++++++++ .../bindings/arm/tegra/nvidia,tegra234-cbb.yaml | 74 +++++++++ .../bindings/timer/nvidia,tegra186-timer.yaml | 109 +++++++++++++ arch/arm64/boot/dts/nvidia/tegra132-norrin.dts | 4 +- arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 49 +++++- .../dts/nvidia/tegra186-p3509-0000+p3636-0001.dts | 6 +- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 37 ++++- arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 2 +- arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts | 47 +++++- .../arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi | 47 +++++- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 113 ++++++++++++- arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 84 ++++++++++ arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 6 +- arch/arm64/boot/dts/nvidia/tegra210-p2894.dtsi | 2 +- arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts | 88 +++++++++- arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 10 +- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 42 ++++- .../dts/nvidia/tegra234-p3737-0000+p3701-0000.dts | 49 +++++- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 177 +++++++++++++++++++++ include/dt-bindings/clock/tegra234-clock.h | 105 ++++++++++++ include/dt-bindings/memory/tegra234-mc.h | 26 +++ include/dt-bindings/power/tegra234-powergate.h | 2 + include/dt-bindings/reset/tegra234-reset.h | 10 ++ 25 files changed, 1196 insertions(+), 31 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra194-axi2apb.yaml create mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra194-cbb.yaml create mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra234-cbb.yaml create mode 100644 Documentation/devicetree/bindings/timer/nvidia,tegra186-timer.yaml
[GIT PULL 7/7] arm64: tegra: Default configuration updates for v5.20-rc1
In reply to Thierry RedingHi ARM SoC maintainers,
The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:
Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.20-arm64-defconfig
for you to fetch changes up to 28b4dcc8f0108e2c430b63b0325c61ae97d6dc79:
arm64: defconfig: Build Tegra OPE module (2022-06-08 15:39:04 +0200)
Thanks,
Thierry
----------------------------------------------------------------
arm64: tegra: Default configuration updates for v5.20-rc1
Updates the arm64 default configuration to enable the OPE driver as a module.
----------------------------------------------------------------
Sameer Pujar (1):
arm64: defconfig: Build Tegra OPE module
arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)
This series was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:
Hello:
This series was applied to soc/soc.git (for-next)
by Arnd Bergmann <[email protected]>:
Quoted 14 lines · On Fri, 8 Jul 2022 20:56:01 +0200 you wrote:
Hi ARM SoC maintainers,
here's a set of Tegra pull requests for v5.20-rc1.
One thing that I would very much have liked to include in this is the Multi-Gigabit Ethernet (MGBE) controller support for Tegra234. That's very important because it unlocks much broader coverage using our test farms and makes the devices generally a lot more useful. Unfortunately there were some unforeseen delays and I don't have a final Acked-by on the device tree bindings yet. I do expect that we'll finalize this in the next few days, though. If we do, would it be acceptable if I sent an update to two of these PRs (dt-bindings and arm64/dt) to enable this critical piece of functionality?
Quoted 1 line
[...]
Here is the summary with links:
- [GIT,PULL,1/7] soc/tegra: Changes for v5.20-rc1 (no matching commit)
- [GIT,PULL,2/7] firmware: tegra: Changes for v5.20-rc1 (no matching commit)
- [GIT,PULL,3/7] dt-bindings: Changes for v5.20-rc1
https://git.kernel.org/soc/soc/c/a41bf1aabd46 - [GIT,PULL,4/7] memory: tegra: Changes for v5.20-rc1 (no matching commit) - [GIT,PULL,5/7] ARM: tegra: Device tree changes for v5.20-rc1 https://git.kernel.org/soc/soc/c/ed1646fe0232 - [GIT,PULL,6/7] arm64: tegra: Device tree changes for v5.20-rc1 https://git.kernel.org/soc/soc/c/c784744b0405
- [GIT,PULL,7/7] arm64: tegra: Default configuration updates for v5.20-rc1 (no matching commit)
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
This series was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:
Hello:
This series was applied to soc/soc.git (for-next)
by Arnd Bergmann <[email protected]>:
Quoted 14 lines · On Fri, 8 Jul 2022 20:56:01 +0200 you wrote:
Hi ARM SoC maintainers,
here's a set of Tegra pull requests for v5.20-rc1.
One thing that I would very much have liked to include in this is the Multi-Gigabit Ethernet (MGBE) controller support for Tegra234. That's very important because it unlocks much broader coverage using our test farms and makes the devices generally a lot more useful. Unfortunately there were some unforeseen delays and I don't have a final Acked-by on the device tree bindings yet. I do expect that we'll finalize this in the next few days, though. If we do, would it be acceptable if I sent an update to two of these PRs (dt-bindings and arm64/dt) to enable this critical piece of functionality?
Quoted 1 line
[...]
Here is the summary with links:
- [GIT,PULL,1/7] soc/tegra: Changes for v5.20-rc1 (no matching commit)
- [GIT,PULL,2/7] firmware: tegra: Changes for v5.20-rc1
https://git.kernel.org/soc/soc/c/933edcde4383 - [GIT,PULL,3/7] dt-bindings: Changes for v5.20-rc1 (no matching commit) - [GIT,PULL,4/7] memory: tegra: Changes for v5.20-rc1 https://git.kernel.org/soc/soc/c/f10c00ae8628 - [GIT,PULL,5/7] ARM: tegra: Device tree changes for v5.20-rc1 (no matching commit) - [GIT,PULL,6/7] arm64: tegra: Device tree changes for v5.20-rc1 (no matching commit) - [GIT,PULL,7/7] arm64: tegra: Default configuration updates for v5.20-rc1 https://git.kernel.org/soc/soc/c/8c1541b161a6
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html