perf: Add Arm Network-on-Chip PMU driver
Robin Murphy
maintainercover perf: Add Arm Network-on-Chip PMU driver
Hi all,
Somewhat later than hoped (sorry!), now that it's finally had the chance for enough testing to flush out all the silly bugs, here's the NI-700 driver I've had kicking around in various forms for the last 18 months. I squashed in NI-710AE support since that appeared in the meantime and the differences are minimal, however I have not felt compelled to go back and genericise all the original NI-700 references. I don't think I'm giving too much away to say that there will be further new product support to add in future, so I will be back with more soon enough.
Note that the driver patch depends on the the cpumask_any_and_but() addition queued in arm64/for-next/perf.
Thanks,
Robin.
Robin Murphy (3):
dt-bindings/perf: Add Arm NI-700 PMU
perf: Add driver for Arm NI-700 interconnect PMU
MAINTAINERS: List Arm interconnect PMUs as supported
.../devicetree/bindings/perf/arm,ni.yaml | 30 + MAINTAINERS | 10 + drivers/perf/Kconfig | 7 + drivers/perf/Makefile | 1 + drivers/perf/arm-ni.c | 767 ++++++++++++++++++ 5 files changed, 815 insertions(+) create mode 100644 Documentation/devicetree/bindings/perf/arm,ni.yaml create mode 100644 drivers/perf/arm-ni.c
Signature · 1 line
2.39.2.101.g768bb238c484.dirty
Robin Murphy
maintainerPATCH 1/3 dt-bindings/perf: Add Arm NI-700 PMU
Add an initial binding for the Arm NI-700 interconnect PMU. As with the Arm CMN family, there are already future NI products on the roadmap, so the overall binding is named generically just in case any non-discoverable incompatibility between generations crops up.
--- .../devicetree/bindings/perf/arm,ni.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/perf/arm,ni.yaml
Documentation/devicetree/bindings/perf/arm,ni.yaml new file +30 -0
@@ -0,0 +1,30 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/arm,ni.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Arm NI (Network-on-Chip Interconnect) Performance Monitors + +maintainers: + - Robin Murphy <[email protected]> + +properties: + compatible: + const: arm,ni-700 + + reg: + items: + - description: Complete configuration register space + + interrupts: + minItems: 1 + maxItems: 32 + description: Overflow interrupts, one per clock domain, in order of domain ID + +required: + - compatible + - reg + - interrupts + +additionalProperties: false
Signature · 1 line
2.39.2.101.g768bb238c484.dirty
Robin Murphy
maintainerRe: [PATCH 1/3] dt-bindings/perf: Add Arm NI-700 PMU
Oh fiddle, I forgot the DT list, apologies!
Quoted 47 lines · Robin Murphy
Add an initial binding for the Arm NI-700 interconnect PMU. As with the Arm CMN family, there are already future NI products on the roadmap, so the overall binding is named generically just in case any non-discoverable incompatibility between generations crops up.
Signed-off-by Robin Murphy <[email protected]>--- .../devicetree/bindings/perf/arm,ni.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+)create mode 100644
Documentation/devicetree/bindings/perf/arm,ni.yamlDocumentation/devicetree/bindings/perf/arm,ni.yaml new file +30
-0@@ -0,0 +1,30 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/arm,ni.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Arm NI (Network-on-Chip Interconnect) Performance Monitors + +maintainers: + - Robin Murphy <[email protected]> + +properties: + compatible: + const: arm,ni-700 + + reg: + items: + - description: Complete configuration register space + + interrupts: + minItems: 1 + maxItems: 32 + description: Overflow interrupts, one per clock domain, in order of domain ID + +required: + - compatible + - reg + - interrupts + +additionalProperties: false
Robin Murphy
maintainerPATCH 2/3 perf: Add driver for Arm NI-700 interconnect PMU
In reply to Robin MurphyThe Arm NI-700 Network-on-Chip Interconnect has a relatively straightforward design with a hierarchy of voltage, power, and clock domains, where each clock domain then contains a number of interface units and a PMU which can monitor events thereon. As such, it begets a relatively straightforward driver to interface those PMUs with perf.
Even more so than with arm-cmn, users will require detailed knowledge of the wider system topology in order to meaningfully analyse anything, since the interconnect itself cannot know what lies beyond the boundary of each inscrutably-numbered interface. Given that, for now they are also expected to refer to the NI-700 documentation for the relevant event IDs to provide as well. An identifier is implemented so we can come back and add jevents if anyone really wants to.
--- drivers/perf/Kconfig | 7 + drivers/perf/Makefile | 1 + drivers/perf/arm-ni.c | 767 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 775 insertions(+) create mode 100644 drivers/perf/arm-ni.c
drivers/perf/Kconfig +7 -0
@@ -48,6 +48,13 @@ config ARM_CMN Support for PMU events monitoring on the Arm CMN-600 Coherent Mesh Network interconnect. +config ARM_NI + tristate "Arm NI-700 PMU support" + depends on ARM64 || COMPILE_TEST + help + Support for PMU events monitoring on the Arm NI-700 Network-on-Chip + interconnect and family. + config ARM_PMU depends on ARM || ARM64 bool "ARM PMU framework"
drivers/perf/Makefile +1 -0
@@ -3,6 +3,7 @@ obj-$(CONFIG_ARM_CCI_PMU) += arm-cci.o obj-$(CONFIG_ARM_CCN) += arm-ccn.o obj-$(CONFIG_ARM_CMN) += arm-cmn.o obj-$(CONFIG_ARM_DSU_PMU) += arm_dsu_pmu.o +obj-$(CONFIG_ARM_NI) += arm-ni.o obj-$(CONFIG_ARM_PMU) += arm_pmu.o arm_pmu_platform.o obj-$(CONFIG_ARM_PMU_ACPI) += arm_pmu_acpi.o obj-$(CONFIG_ARM_PMUV3) += arm_pmuv3.o
drivers/perf/arm-ni.c new file +767 -0
767 lines not on this page · raw message
Signature · 1 line
2.39.2.101.g768bb238c484.dirty
Will Deacon
maintainerRe: [PATCH 2/3] perf: Add driver for Arm NI-700 interconnect PMU
Quoted 14 lines · Robin Murphy
The Arm NI-700 Network-on-Chip Interconnect has a relatively straightforward design with a hierarchy of voltage, power, and clock domains, where each clock domain then contains a number of interface units and a PMU which can monitor events thereon. As such, it begets a relatively straightforward driver to interface those PMUs with perf.
Even more so than with arm-cmn, users will require detailed knowledge of the wider system topology in order to meaningfully analyse anything, since the interconnect itself cannot know what lies beyond the boundary of each inscrutably-numbered interface. Given that, for now they are also expected to refer to the NI-700 documentation for the relevant event IDs to provide as well. An identifier is implemented so we can come back and add jevents if anyone really wants to.
Quoted 7 lines
Signed-off-by Robin Murphy <[email protected]>--- drivers/perf/Kconfig | 7 + drivers/perf/Makefile | 1 + drivers/perf/arm-ni.c | 767 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 775 insertions(+) create mode 100644 drivers/perf/arm-ni.c
Please can you add some documentation?
drivers/perf/arm-ni.c line 122
Quoted 8 lines
drivers/perf/arm-ni.c new file +8
-0+struct arm_ni { +struct device *dev; +void __iomem *base; +enum ni_part part; +int id; +int num_cds; +struct arm_ni_cd cds[]; +};
Can you use that fancy new __counted_by thing here?
Quoted 19 lines
drivers/perf/arm-ni.c new file +19
-0+ +#define cd_to_ni (cd) container_of((cd), struct arm_ni, cds[(cd)->id]) +#define pmu_to_cd (p) container_of((p), struct arm_ni_cd, pmu) + +#define cd_for_each_unit (cd, u) \ + for (struct arm_ni_unit *u = cd->units; u < cd->units + cd->num_units; u++) + +static int arm_ni_hp_state; + +struct arm_ni_event_attr { +struct device_attribute attr; +enum ni_node_type type; +}; + +#define NI_EVENT_ATTR (_name, _type) \ + (&((struct arm_ni_event_attr[]) {{ \ + .attr = __ATTR(_name, 0444, arm_ni_event_show, NULL), \ + .type = _type, \ + }})[0].attr.attr)
drivers/perf/arm-ni.c line 151
Quoted 10 lines
drivers/perf/arm-ni.c new file +10
-0+ +static ssize_t arm_ni_event_show (struct device *dev, +struct device_attribute *attr,char *buf) +{ +struct arm_ni_event_attr *eattr =container_of (attr,typeof (*eattr), attr); + +if (eattr->type ==NI_PMU ) +return sysfs_emit (buf,"type=0x%x\n" , eattr->type); + +return sysfs_emit (buf,"type=0x%x,eventid=?,nodeid=?\n" , eattr->type);
I'm struggling to see what this is doing. Please can you explain it a bit? For example, does the perf tool parse those "=?" entries, and why is it useful to print out only the NI_PMU value for the other events?
Quoted 28 lines
drivers/perf/arm-ni.c new file +28
-0+} + +static umode_t arm_ni_event_attr_is_visible (struct kobject *kobj, +struct attribute *attr,int unused) +{ +struct device *dev =kobj_to_dev (kobj); +struct arm_ni_cd *cd =pmu_to_cd (dev_get_drvdata (dev)); +struct arm_ni_event_attr *eattr; + + eattr =container_of (attr,typeof (*eattr), attr.attr); + +cd_for_each_unit (cd, unit) { +if (unit->type == eattr->type && unit->ns) +return attr->mode; + } + +return 0 ; +} + +static struct attribute *arm_ni_event_attrs[] = { +NI_EVENT_ATTR (asni,NI_ASNI ), +NI_EVENT_ATTR (amni,NI_AMNI ), +NI_EVENT_ATTR (cycles,NI_PMU ), +NI_EVENT_ATTR (hsni,NI_HSNI ), +NI_EVENT_ATTR (hmni,NI_HMNI ), +NI_EVENT_ATTR (pmni,NI_PMNI ), +NULL +};
[...]
drivers/perf/arm-ni.c line 278
Quoted 8 lines
drivers/perf/arm-ni.c new file +8
-0+static bool arm_ni_validate_event (struct perf_event *this, +struct perf_event *that,int *count) +{ +if (is_software_event (this)) +return true; +if (this->pmu != that->pmu) +return false; +return --count[NI_EVENT_TYPE (this) ==NI_PMU ] >=0 ;
This is pretty horrible to read :/
I don't know the details of this PMU, so is the count array saying that you can have NI_NUM_COUNTERS events with the NI_PMU type, but only one event of any other type?
Quoted 47 lines
drivers/perf/arm-ni.c new file +47
-0+} + +static int arm_ni_validate_group (struct perf_event *event) +{ +struct perf_event *sibling, *leader; +int count[2 ] = {NI_NUM_COUNTERS ,1 }; + +arm_ni_validate_event (event, event, count); + + leader = event->group_leader; +if (leader != event && !arm_ni_validate_event (leader, event, count)) +return -EINVAL ; + +for_each_sibling_event (sibling, leader) { +if (!arm_ni_validate_event (sibling, event, count)) +return -EINVAL ; + } +return 0 ; +} + +static int arm_ni_event_init (struct perf_event *event) +{ +struct arm_ni_cd *cd =pmu_to_cd (event->pmu); + +if (event->attr.type != event->pmu->type) +return -ENOENT ; + +if (is_sampling_event (event)) +return -EINVAL ; + + event->cpu = cd->cpu; +if (NI_EVENT_TYPE (event) ==NI_PMU ) +return arm_ni_validate_group (event); + +cd_for_each_unit (cd, unit) { +if (unit->type ==NI_EVENT_TYPE (event) && + unit->id ==NI_EVENT_NODEID (event) && unit->ns) { + event->hw.config_base = (unsigned long )unit; +return arm_ni_validate_group (event); + } + } +return -EINVAL ; +} + +static u64 arm_ni_read_ccnt (struct arm_ni_cd *cd) +{ +u64 l, u_old, u_new;
drivers/perf/arm-ni.c line 335
Quoted 10 lines
drivers/perf/arm-ni.c new file +10
-0+ + u_new =readl_relaxed (cd->pmu_base +NI_PMCCNTR_U ); +do { + u_old = u_new; + l =readl_relaxed (cd->pmu_base +NI_PMCCNTR_L ); + u_new =readl_relaxed (cd->pmu_base +NI_PMCCNTR_U ); + }while (u_new != u_old); + +return (u_new <<32 ) | l; +}
oh man, they really don't have 64-bit registers on this thing? If we have to loop like this, can we add a timeout just in case the hardware goes wonky? It's like mixing together the worst parts of iopoll.h and io-64-nonatomic-lo-hi.h.
There are a few other PMU drivers that look like they could share that code if you added it as a generic helper.
Will
Robin Murphy
maintainerRe: [PATCH 2/3] perf: Add driver for Arm NI-700 interconnect PMU
Quoted 23 lines · Will Deacon
Quoted 14 lines · Robin Murphy
The Arm NI-700 Network-on-Chip Interconnect has a relatively straightforward design with a hierarchy of voltage, power, and clock domains, where each clock domain then contains a number of interface units and a PMU which can monitor events thereon. As such, it begets a relatively straightforward driver to interface those PMUs with perf.
Even more so than with arm-cmn, users will require detailed knowledge of the wider system topology in order to meaningfully analyse anything, since the interconnect itself cannot know what lies beyond the boundary of each inscrutably-numbered interface. Given that, for now they are also expected to refer to the NI-700 documentation for the relevant event IDs to provide as well. An identifier is implemented so we can come back and add jevents if anyone really wants to.
Quoted 7 lines
Signed-off-by Robin Murphy <[email protected]>--- drivers/perf/Kconfig | 7 + drivers/perf/Makefile | 1 + drivers/perf/arm-ni.c | 767 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 775 insertions(+)create mode 100644
drivers/perf/arm-ni.c
Quoted 1 line
Please can you add some documentation?
Heh, I thought I'd try my luck, but your question below helps convince me that some basic usage information probably is warranted.
Quoted 10 lines
drivers/perf/arm-ni.c line 122
Quoted 8 lines
drivers/perf/arm-ni.c new file +8
-0+struct arm_ni { +struct device *dev; +void __iomem *base; +enum ni_part part; +int id; +int num_cds; +struct arm_ni_cd cds[]; +};Can you use that fancy new
__counted_bything here?
Sure, that's new to me but I'll take a look.
Quoted 25 lines
Quoted 25 lines
drivers/perf/arm-ni.c new file +25
-0+ +#define cd_to_ni (cd) container_of((cd), struct arm_ni, cds[(cd)->id]) +#define pmu_to_cd (p) container_of((p), struct arm_ni_cd, pmu) + +#define cd_for_each_unit (cd, u) \ + for (struct arm_ni_unit *u = cd->units; u < cd->units + cd->num_units; u++) + +static int arm_ni_hp_state; + +struct arm_ni_event_attr { +struct device_attribute attr; +enum ni_node_type type; +}; + +#define NI_EVENT_ATTR (_name, _type) \ + (&((struct arm_ni_event_attr[]) {{ \ + .attr = __ATTR(_name, 0444, arm_ni_event_show, NULL), \ + .type = _type, \ + }})[0].attr.attr) + +static ssize_t arm_ni_event_show (struct device *dev, +struct device_attribute *attr,char *buf) +{ +struct arm_ni_event_attr *eattr =container_of (attr,typeof (*eattr), attr); +
Quoted 8 lines
drivers/perf/arm-ni.c line 151
Quoted 4 lines
drivers/perf/arm-ni.c new file +4
-0+if (eattr->type ==NI_PMU ) +return sysfs_emit (buf,"type=0x%x\n" , eattr->type); + +return sysfs_emit (buf,"type=0x%x,eventid=?,nodeid=?\n" , eattr->type);I'm struggling to see what this is doing. Please can you explain it a bit? For example, does the perf tool parse those "=?" entries, and why is it useful to print out only the
NI_PMUvalue for the other events?
Yes, "=?" means that the alias requires that parameter to be explicitly specified - see the "Parameterized Events" section in the perf-list docs.
The way this is working is a bit like CMN, where each node type has its own set of possible events, however I'm keen to avoid going down the same route of having to maintain an ever-growing list of hundreds of aliases in the driver, so the aim is to just expose these "incomplete" aliases to indicate which node types are present in a given PMU's domain, and then maybe have detailed jevents built upon those if anyone really wants. Unlike CMN there is no potential for aggregation in hardware, so for any given type, we have to know both which event to count and which node (of that type) to count it on. The cycles event is the slight exception - as for CMN, it's encoded as an event belonging to the PMU node type to keep things straightforward, but since there is only ever one PMU node and it has no notion of actual event IDs, no further disambiguation is needed and the ID parameters are unused.
Quoted 42 lines
Quoted 28 lines
drivers/perf/arm-ni.c new file +28
-0+} + +static umode_t arm_ni_event_attr_is_visible (struct kobject *kobj, +struct attribute *attr,int unused) +{ +struct device *dev =kobj_to_dev (kobj); +struct arm_ni_cd *cd =pmu_to_cd (dev_get_drvdata (dev)); +struct arm_ni_event_attr *eattr; + + eattr =container_of (attr,typeof (*eattr), attr.attr); + +cd_for_each_unit (cd, unit) { +if (unit->type == eattr->type && unit->ns) +return attr->mode; + } + +return 0 ; +} + +static struct attribute *arm_ni_event_attrs[] = { +NI_EVENT_ATTR (asni,NI_ASNI ), +NI_EVENT_ATTR (amni,NI_AMNI ), +NI_EVENT_ATTR (cycles,NI_PMU ), +NI_EVENT_ATTR (hsni,NI_HSNI ), +NI_EVENT_ATTR (hmni,NI_HMNI ), +NI_EVENT_ATTR (pmni,NI_PMNI ), +NULL +};[...]
drivers/perf/arm-ni.c line 278
Quoted 8 lines
drivers/perf/arm-ni.c new file +8
-0+static bool arm_ni_validate_event (struct perf_event *this, +struct perf_event *that,int *count) +{ +if (is_software_event (this)) +return true; +if (this->pmu != that->pmu) +return false; +return --count[NI_EVENT_TYPE (this) ==NI_PMU ] >=0 ;This is pretty horrible to read :/
Quoted 3 lines
I don't know the details of this PMU, so is the count array saying that you can have
NI_NUM_COUNTERSevents with theNI_PMUtype, but only one event of any other type?
You found the brown M&M :)
Yes, this was largely a reaction to how horrible CMN event validation is, wherein I got carried away seeing how small and gratuitously clever I could make it here, and then decided to be cheeky and leave it like that. However that was already long enough ago that I too am inclined to start thinking that verbose and boring maybe isn't all that bad...
Quoted 54 lines
Quoted 54 lines
drivers/perf/arm-ni.c new file +54
-0+} + +static int arm_ni_validate_group (struct perf_event *event) +{ +struct perf_event *sibling, *leader; +int count[2 ] = {NI_NUM_COUNTERS ,1 }; + +arm_ni_validate_event (event, event, count); + + leader = event->group_leader; +if (leader != event && !arm_ni_validate_event (leader, event, count)) +return -EINVAL ; + +for_each_sibling_event (sibling, leader) { +if (!arm_ni_validate_event (sibling, event, count)) +return -EINVAL ; + } +return 0 ; +} + +static int arm_ni_event_init (struct perf_event *event) +{ +struct arm_ni_cd *cd =pmu_to_cd (event->pmu); + +if (event->attr.type != event->pmu->type) +return -ENOENT ; + +if (is_sampling_event (event)) +return -EINVAL ; + + event->cpu = cd->cpu; +if (NI_EVENT_TYPE (event) ==NI_PMU ) +return arm_ni_validate_group (event); + +cd_for_each_unit (cd, unit) { +if (unit->type ==NI_EVENT_TYPE (event) && + unit->id ==NI_EVENT_NODEID (event) && unit->ns) { + event->hw.config_base = (unsigned long )unit; +return arm_ni_validate_group (event); + } + } +return -EINVAL ; +} + +static u64 arm_ni_read_ccnt (struct arm_ni_cd *cd) +{ +u64 l, u_old, u_new; + + u_new =readl_relaxed (cd->pmu_base +NI_PMCCNTR_U ); +do { + u_old = u_new; + l =readl_relaxed (cd->pmu_base +NI_PMCCNTR_L ); + u_new =readl_relaxed (cd->pmu_base +NI_PMCCNTR_U ); + }while (u_new != u_old);
Quoted 8 lines
drivers/perf/arm-ni.c line 335
Quoted 3 lines
drivers/perf/arm-ni.c new file +3
-0+ +return (u_new <<32 ) | l; +}oh man, they really don't have 64-bit registers on this thing? If we have to loop like this, can we add a timeout just in case the hardware goes wonky? It's like mixing together the worst parts of
iopoll.handio-64-nonatomic-lo-hi.h.
Yup, it's an APB interface, so even if there is a bridge upstream that can split 64-bit accesses the right way, they still wouldn't be atomic. I can certainly bound the loop here, since this should realistically never need to retry more than once.
Quoted 2 lines
There are a few other PMU drivers that look like they could share that code if you added it as a generic helper.
I'll add that to the list for my occasional side-project of trying to factor out a whole system PMU helper library...
Cheers,
Robin.
Robin Murphy
maintainerPATCH 3/3 MAINTAINERS: List Arm interconnect PMUs as supported
In reply to Robin MurphyWhatever I may or may not have hoped for, looking after these drivers seems to have firmly stuck as one of the responsibilities of the job Arm pays me for, and I would still like to be aware of any other patches, so make it official.
--- MAINTAINERS | 10 ++++++++++ 1 file changed, 10 insertions(+)
MAINTAINERS +10 -0
@@ -1668,6 +1668,16 @@ F: drivers/mtd/maps/physmap-versatile.* F: drivers/power/reset/arm-versatile-reboot.c F: drivers/soc/versatile/ +ARM INTERCONNECT PMU DRIVERS +M: Robin Murphy <[email protected]> +S: Supported +F: Documentation/admin-guide/perf/arm-cmn.rst +F: Documentation/devicetree/bindings/perf/arm,cmn.yaml +F: Documentation/devicetree/bindings/perf/arm,ni.yaml +F: drivers/perf/arm-cmn.c +F: drivers/perf/arm-ni.c +F: tools/perf/pmu-events/arch/arm64/arm/cmn/ + ARM KOMEDA DRM-KMS DRIVER M: Liviu Dudau <[email protected]> S: Supported
Signature · 1 line
2.39.2.101.g768bb238c484.dirty
Re: [PATCH 3/3] MAINTAINERS: List Arm interconnect PMUs as supported
Quoted 4 lines · Robin Murphy
Whatever I may or may not have hoped for, looking after these drivers seems to have firmly stuck as one of the responsibilities of the job Arm pays me for, and I would still like to be aware of any other patches, so make it official.
Thanks! I completely forgot to suggest this after I realized get_maintainer script didn't return your name for arm-cmn patches.
Cheers, Ilkka
Quoted 33 lines
CC Ilkka Koskinen <[email protected]>CC Jing Zhang <[email protected]>Signed-off-by Robin Murphy <[email protected]>---
MAINTAINERS| 10 ++++++++++1 file changed, 10 insertions(+)MAINTAINERS +0
-0@@ -1668,6 +1668,16 @@ F: drivers/mtd/maps/physmap-versatile.*F:
drivers/power/reset/arm-versatile-reboot.c
F:drivers/soc/versatile/MAINTAINERS +10
-0+ARM INTERCONNECT PMU DRIVERS +M: Robin Murphy <[email protected]> +S: Supported +F: Documentation/admin-guide/perf/arm-cmn.rst +F: Documentation/devicetree/bindings/perf/arm,cmn.yaml +F: Documentation/devicetree/bindings/perf/arm,ni.yaml +F: drivers/perf/arm-cmn.c +F: drivers/perf/arm-ni.c +F: tools/perf/pmu-events/arch/arm64/arm/cmn/ +ARM KOMEDA DRM-KMS DRIVER
M: Liviu Dudau <[email protected]>
S: SupportedSignature · 1 line
2.39.2.101.g768bb238c484.dirty
Will Deacon
maintainerHi Robin,
Quoted 10 lines · Robin Murphy
Somewhat later than hoped (sorry!), now that it's finally had the chance for enough testing to flush out all the silly bugs, here's the NI-700 driver I've had kicking around in various forms for the last 18 months. I squashed in NI-710AE support since that appeared in the meantime and the differences are minimal, however I have not felt compelled to go back and genericise all the original NI-700 references. I don't think I'm giving too much away to say that there will be further new product support to add in future, so I will be back with more soon enough.
Quoted 2 lines
Note that the driver patch depends on the the
cpumask_any_and_but()addition queued in arm64/for-next/perf.
I left some minor comments on the driver code, but I think this probably needs a respin anyway as the binding is still pending an Ack from the DT folks.
Will