2022-02-09 14:02:19

by Marcel Ziswiler

[permalink] [raw]
Subject: [PATCH v5 00/12] arm64: prepare and add verdin imx8m mini support

From: Marcel Ziswiler <[email protected]>


Fix strange hex notation and gpio-hog example, rebuild default
configuration, enable various relevant configuration options mainly to
be built as modules, add toradex,verdin-imx8mm et al. to dt-bindings and
finally, add initial support for Verdin iMX8M Mini.

Changes in v5:
- Add Rob's ack.
- Remove invalid wifi-host property.
- Remove rpmsg_reserved from the NXP vendor BSP not applicable upstream.
- Remove 2nd cs-gpio only going to an N/A component.
- Remove spi-num-chipselects as it is implicit by cs-gpios.
- Remove vbus-wakeup-supply not being a valid property.
- Fix picophy,dc-vol-level-adjust and picophy,pre-emp-curr-control which
upstream are rather called samsung,picophy-dc-vol-level-adjust resp.
samsung,picophy-pre-emp-curr-control.
Thanks, Fabio for reviewing and pointing those out!

Changes in v4:
- Re-base on top of Shawn's for-next branch.
- Fix gpio-line-names taking V1.1 re-design into account.
- Fix wrong SODIMM pin number.
- Drop 2nd SPI CAN instance being N/A in all SKUs.

Changes in v3:
- Add Krzysztof's reviewed-by tag.
- New separate patch only for re-ordering as suggested by Krzysztof.
- Not dropping CONFIG_SECCOMP=y, CONFIG_SLIMBUS=m, CONFIG_INTERCONNECT=y
and CONFIG_CONFIGFS_FS=y as requested by Krzysztof.
- New patch enabling imx8m pcie phy driver in arm64 defconfig.
- Rebase on top of shawnguo's for-next.
- Drop [PATCH v2 02/11] ("dt-bindings: gpio: fix gpio-hog example") as
it already got applied by Bart.
- Remove the 'pm-ignore-notify' property analogous to commit aafac22d6b23
("arm64: dts: imx8mm/n: Remove the 'pm-ignore-notify' property").
- Now with PCIe support finally having landed in -next enable it as well.
- Add Krzysztof's acked-by tag.

Changes in v2:
- Add Laurent's reviewed-by tag.
- New patch following full defconfig analysis as requested by Krzysztof.
- Done full defconfig analysis as requested by Krzysztof.
- Add Song's acked-by tag.
- A similar change got accepted for imx_v6_v7_defconfig. Further
discussion may be found in [1].
[1] https://lore.kernel.org/lkml/[email protected]/
- Explain why enabling it may be a good idea as requested by Krzysztof.
- Explain why enabling these may make sense and squash them relevant
changes as requested by Krzysztof.
- Add Rob's acked-by tag.
- Fix Colibri vs. Verdin copy/paste mistake. Thanks to Francesco Dolcini
<[email protected]> for pointing that out to me.
- Remove bootargs which will be filled in by the bootloader as requested
by Krzysztof.
- Remove the previously #ifdefed-out spi-nor as requested by Krzysztof.
- Fix capitalisation in cover-letter.

Marcel Ziswiler (12):
arm64: dts: imx8mm: fix strange hex notation
arm64: defconfig: enable taskstats configuration
arm64: defconfig: enable pcieaer configuration
arm64: defconfig: re-order default configuration
arm64: defconfig: rebuild default configuration
arm64: defconfig: enable bpf/cgroup firewalling
arm64: defconfig: enable imx8m pcie phy driver
arm64: defconfig: build imx-sdma as a module
arm64: defconfig: build r8169 as a module
arm64: defconfig: enable verdin-imx8mm relevant drivers as modules
dt-bindings: arm: fsl: add toradex,verdin-imx8mm et al.
arm64: dts: freescale: add initial support for verdin imx8m mini

.../devicetree/bindings/arm/fsl.yaml | 21 +
arch/arm64/boot/dts/freescale/Makefile | 4 +
.../arm64/boot/dts/freescale/imx8mm-pinfunc.h | 6 +-
.../dts/freescale/imx8mm-verdin-dahlia.dtsi | 150 ++
.../boot/dts/freescale/imx8mm-verdin-dev.dtsi | 67 +
.../imx8mm-verdin-nonwifi-dahlia.dts | 18 +
.../freescale/imx8mm-verdin-nonwifi-dev.dts | 18 +
.../dts/freescale/imx8mm-verdin-nonwifi.dtsi | 75 +
.../freescale/imx8mm-verdin-wifi-dahlia.dts | 18 +
.../dts/freescale/imx8mm-verdin-wifi-dev.dts | 18 +
.../dts/freescale/imx8mm-verdin-wifi.dtsi | 94 ++
.../boot/dts/freescale/imx8mm-verdin.dtsi | 1264 +++++++++++++++++
arch/arm64/configs/defconfig | 126 +-
13 files changed, 1811 insertions(+), 68 deletions(-)
create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi
create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi
create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dahlia.dts
create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dev.dts
create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi.dtsi
create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dahlia.dts
create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dev.dts
create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi.dtsi
create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi

--
2.33.1



2022-02-09 14:02:20

by Marcel Ziswiler

[permalink] [raw]
Subject: [PATCH v5 06/12] arm64: defconfig: enable bpf/cgroup firewalling

From: Marcel Ziswiler <[email protected]>

This avoids the following systemd warning:

[ 2.618538] systemd[1]: system-getty.slice: unit configures an IP
firewall, but the local system does not support BPF/cgroup firewalling.
[ 2.630916] systemd[1]: (This warning is only shown for the first
unit using IP firewalling.)

Signed-off-by: Marcel Ziswiler <[email protected]>
Acked-by: Song Liu <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>

---

(no changes since v3)

Changes in v3:
- Add Krzysztof's reviewed-by tag.

Changes in v2:
- Add Song's acked-by tag.

arch/arm64/configs/defconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 530ad076b5cb..444fec9ec73a 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -3,6 +3,7 @@ CONFIG_POSIX_MQUEUE=y
CONFIG_AUDIT=y
CONFIG_NO_HZ_IDLE=y
CONFIG_HIGH_RES_TIMERS=y
+CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT=y
CONFIG_PREEMPT=y
CONFIG_IRQ_TIME_ACCOUNTING=y
@@ -22,6 +23,7 @@ CONFIG_CPUSETS=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_PERF=y
+CONFIG_CGROUP_BPF=y
CONFIG_USER_NS=y
CONFIG_SCHED_AUTOGROUP=y
CONFIG_BLK_DEV_INITRD=y
--
2.33.1