bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/11] arm64: prepare and add verdin imx8m mini support
@ 2022-01-14 14:14 Marcel Ziswiler
  2022-01-14 14:15 ` [PATCH v2 06/11] arm64: defconfig: enable bpf/cgroup firewalling Marcel Ziswiler
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Ziswiler @ 2022-01-14 14:14 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Marek Vasut, Marcel Ziswiler, Alex Marginean, Alexander Stein,
	Alexei Starovoitov, Andrii Nakryiko, Arnd Bergmann,
	Bartosz Golaszewski, Biju Das, Bjorn Andersson, Catalin Marinas,
	Chester Lin, Christoph Niedermaier, Daniel Borkmann,
	Dong Aisheng, Enric Balletbo i Serra, Fabio Estevam,
	Frank Rowand, Geert Uytterhoeven, Jagan Teki, John Fastabend,
	KP Singh, Krzysztof Kozlowski, Krzysztof Kozlowski,
	Laurent Pinchart, Li Yang, Linus Walleij, Lucas Stach,
	Martin KaFai Lau, Matthias Schiffer, Michael Walle,
	NXP Linux Team, Oleksij Rempel, Oliver Stäbler,
	Olof Johansson, Pengutronix Kernel Team, Rob Herring,
	Russell King, Sascha Hauer, Shawn Guo, Song Liu, Tim Harvey,
	Vladimir Oltean, Will Deacon, Yonghong Song, bpf, devicetree,
	linux-gpio, linux-kernel, netdev

From: Marcel Ziswiler <marcel.ziswiler@toradex.com>


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 v2:
- Added Laurent's reviewed-by tag.
- Added Rob's ack.
- New patch following full defconfig analysis as requested by Krzysztof.
- 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/20210920144938.314588-6-marcel@ziswiler.com/
- 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
  <francesco.dolcini@toradex.com> 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 (11):
  arm64: dts: imx8mm: fix strange hex notation
  dt-bindings: gpio: fix gpio-hog example
  arm64: defconfig: enable taskstats configuration
  arm64: defconfig: enable pcieaer configuration
  arm64: defconfig: rebuild default configuration
  arm64: defconfig: enable bpf/cgroup firewalling
  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 +
 .../devicetree/bindings/gpio/gpio.txt         |    2 +-
 arch/arm64/boot/dts/freescale/Makefile        |    4 +
 .../arm64/boot/dts/freescale/imx8mm-pinfunc.h |    6 +-
 .../dts/freescale/imx8mm-verdin-dahlia.dtsi   |  143 ++
 .../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     |   95 ++
 .../boot/dts/freescale/imx8mm-verdin.dtsi     | 1267 +++++++++++++++++
 arch/arm64/configs/defconfig                  |  123 +-
 14 files changed, 1806 insertions(+), 69 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2 06/11] arm64: defconfig: enable bpf/cgroup firewalling
  2022-01-14 14:14 [PATCH v2 00/11] arm64: prepare and add verdin imx8m mini support Marcel Ziswiler
@ 2022-01-14 14:15 ` Marcel Ziswiler
  2022-01-15 16:47   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Ziswiler @ 2022-01-14 14:15 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Marek Vasut, Marcel Ziswiler, Song Liu, Alexei Starovoitov,
	Andrii Nakryiko, Arnd Bergmann, Biju Das, Bjorn Andersson,
	Catalin Marinas, Daniel Borkmann, Enric Balletbo i Serra,
	Geert Uytterhoeven, John Fastabend, KP Singh,
	Krzysztof Kozlowski, Martin KaFai Lau, Olof Johansson, Shawn Guo,
	Will Deacon, Yonghong Song, bpf, linux-kernel, netdev

From: Marcel Ziswiler <marcel.ziswiler@toradex.com>

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 <marcel.ziswiler@toradex.com>
Acked-by: Song Liu <songliubraving@fb.com>

---

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 bc39559c1658..872b38613c6c 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2 06/11] arm64: defconfig: enable bpf/cgroup firewalling
  2022-01-14 14:15 ` [PATCH v2 06/11] arm64: defconfig: enable bpf/cgroup firewalling Marcel Ziswiler
@ 2022-01-15 16:47   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-01-15 16:47 UTC (permalink / raw)
  To: Marcel Ziswiler, linux-arm-kernel
  Cc: Marek Vasut, Marcel Ziswiler, Song Liu, Alexei Starovoitov,
	Andrii Nakryiko, Arnd Bergmann, Biju Das, Bjorn Andersson,
	Catalin Marinas, Daniel Borkmann, Enric Balletbo i Serra,
	Geert Uytterhoeven, John Fastabend, KP Singh, Martin KaFai Lau,
	Olof Johansson, Shawn Guo, Will Deacon, Yonghong Song, bpf,
	linux-kernel, netdev

On 14/01/2022 15:15, Marcel Ziswiler wrote:
> From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> 
> 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 <marcel.ziswiler@toradex.com>
> Acked-by: Song Liu <songliubraving@fb.com>
> 
> ---
> 
> Changes in v2:
> - Add Song's acked-by tag.
> 
>  arch/arm64/configs/defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 

Make sense.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>


Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-15 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 14:14 [PATCH v2 00/11] arm64: prepare and add verdin imx8m mini support Marcel Ziswiler
2022-01-14 14:15 ` [PATCH v2 06/11] arm64: defconfig: enable bpf/cgroup firewalling Marcel Ziswiler
2022-01-15 16:47   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).