bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/9] ARM: prepare and add colibri imx6ull 1gb (emmc) support
@ 2021-09-20 14:49 Marcel Ziswiler
  2021-09-20 14:49 ` [PATCH v4 6/9] ARM: imx_v6_v7_defconfig: enable bpf syscall and cgroup bpf Marcel Ziswiler
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Ziswiler @ 2021-09-20 14:49 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Marcel Ziswiler, Alexei Starovoitov, Andreas Kemnade,
	Andrii Nakryiko, Arnd Bergmann, Daniel Borkmann, Daniel Vetter,
	Fabio Estevam, Frank Rowand, John Fastabend, KP Singh, Kees Cook,
	Krzysztof Kozlowski, Li Yang, Marek Vasut, Martin KaFai Lau,
	NXP Linux Team, Oleksij Rempel, Olof Johansson, Otavio Salvador,
	Pascal Zimmermann, Pengutronix Kernel Team, Rob Herring,
	Russell King, Sascha Hauer, Shawn Guo, Song Liu,
	Stefan Riedmueller, Tim Harvey, Yonghong Song, bpf, devicetree,
	linux-kernel, netdev, soc

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


Clean-up imx_v6_v7_defconfig and then add support for the new Colibri
iMX6ULL 1GB (eMMC) which builds on the success of the existing Colibri
iMX6ULL SKUs using raw NAND but replaces this with more RAM (1 GB) and
an eMMC (4 GB).

Changes in v4:
- Fix dt_binding_check line too long warnings as pointed out by Rob.

Changes in v3:
- Add Fabio's reviewed-by. Thanks!
- Added fixes tag as pointed out by Stefan and Fabio. Thanks!
- Add Rob's ack. Thanks!

Changes in v2:
- New patch cleaning-up dt-bindings documentation.
- Fix indentation.
- Use latest agreed upon SPDX-License-Identifier GPL-2.0+ OR MIT.
- Drop AG in our copyright statement as recommended by our legal.
- New patch documenting dt-bindings.

Marcel Ziswiler (8):
  ARM: imx_v6_v7_defconfig: enable mtd physmap
  ARM: imx_v6_v7_defconfig: enable fb
  ARM: imx_v6_v7_defconfig: change snd soc tlv320aic3x to i2c variant
  ARM: imx_v6_v7_defconfig: rebuild default configuration
  ARM: imx_v6_v7_defconfig: build imx sdma driver as module
  ARM: imx_v6_v7_defconfig: enable bpf syscall and cgroup bpf
  dt-bindings: arm: fsl: clean-up all toradex boards/modules
  dt-bindings: arm: fsl: add toradex,colibri-imx6ull-emmc

Max Krummenacher (1):
  ARM: dts: colibri-imx6ull-emmc: add device tree

 .../devicetree/bindings/arm/fsl.yaml          |  87 ++++----
 arch/arm/boot/dts/Makefile                    |   1 +
 .../boot/dts/imx6ull-colibri-emmc-eval-v3.dts |  17 ++
 .../dts/imx6ull-colibri-emmc-nonwifi.dtsi     | 185 ++++++++++++++++++
 arch/arm/boot/dts/imx6ull-colibri.dtsi        |  32 ++-
 arch/arm/configs/imx_v6_v7_defconfig          |  46 ++---
 6 files changed, 299 insertions(+), 69 deletions(-)
 create mode 100644 arch/arm/boot/dts/imx6ull-colibri-emmc-eval-v3.dts
 create mode 100644 arch/arm/boot/dts/imx6ull-colibri-emmc-nonwifi.dtsi

-- 
2.26.2


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

* [PATCH v4 6/9] ARM: imx_v6_v7_defconfig: enable bpf syscall and cgroup bpf
  2021-09-20 14:49 [PATCH v4 0/9] ARM: prepare and add colibri imx6ull 1gb (emmc) support Marcel Ziswiler
@ 2021-09-20 14:49 ` Marcel Ziswiler
  2021-10-05  3:24   ` Shawn Guo
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Ziswiler @ 2021-09-20 14:49 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Marcel Ziswiler, Fabio Estevam, Alexei Starovoitov,
	Andreas Kemnade, Andrii Nakryiko, Daniel Borkmann,
	John Fastabend, KP Singh, Martin KaFai Lau, NXP Linux Team,
	Otavio Salvador, Pascal Zimmermann, Pengutronix Kernel Team,
	Russell King, Sascha Hauer, Shawn Guo, Song Liu, Yonghong Song,
	bpf, linux-kernel, netdev

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

Enable CONFIG_BPF_SYSCALL and CONFIG_CGROUP_BPF to allow for systemd
interoperability. This avoids the following failure on boot:

[   10.615914] systemd[1]: system-getty.slice: unit configures an IP
 firewall, but the local system does not support BPF/cgroup firewalling.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>

---

(no changes since v3)

Changes in v3:
- Add Fabio's reviewed-by. Thanks!

 arch/arm/configs/imx_v6_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index c0008b7faf2ce..3e58c76763563 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -2,11 +2,13 @@ CONFIG_KERNEL_LZO=y
 CONFIG_SYSVIPC=y
 CONFIG_NO_HZ=y
 CONFIG_HIGH_RES_TIMERS=y
+CONFIG_BPF_SYSCALL=y
 CONFIG_PREEMPT_VOLUNTARY=y
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 CONFIG_LOG_BUF_SHIFT=18
 CONFIG_CGROUPS=y
+CONFIG_CGROUP_BPF=y
 CONFIG_RELAY=y
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_EXPERT=y
-- 
2.26.2


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

* Re: [PATCH v4 6/9] ARM: imx_v6_v7_defconfig: enable bpf syscall and cgroup bpf
  2021-09-20 14:49 ` [PATCH v4 6/9] ARM: imx_v6_v7_defconfig: enable bpf syscall and cgroup bpf Marcel Ziswiler
@ 2021-10-05  3:24   ` Shawn Guo
  0 siblings, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2021-10-05  3:24 UTC (permalink / raw)
  To: Marcel Ziswiler
  Cc: linux-arm-kernel, Marcel Ziswiler, Fabio Estevam,
	Alexei Starovoitov, Andreas Kemnade, Andrii Nakryiko,
	Daniel Borkmann, John Fastabend, KP Singh, Martin KaFai Lau,
	NXP Linux Team, Otavio Salvador, Pascal Zimmermann,
	Pengutronix Kernel Team, Russell King, Sascha Hauer, Song Liu,
	Yonghong Song, bpf, linux-kernel, netdev

On Mon, Sep 20, 2021 at 04:49:35PM +0200, Marcel Ziswiler wrote:
> From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> 
> Enable CONFIG_BPF_SYSCALL and CONFIG_CGROUP_BPF to allow for systemd
> interoperability. This avoids the following failure on boot:
> 
> [   10.615914] systemd[1]: system-getty.slice: unit configures an IP
>  firewall, but the local system does not support BPF/cgroup firewalling.
> 
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>

Applied, thanks!

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

end of thread, other threads:[~2021-10-05  3:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-20 14:49 [PATCH v4 0/9] ARM: prepare and add colibri imx6ull 1gb (emmc) support Marcel Ziswiler
2021-09-20 14:49 ` [PATCH v4 6/9] ARM: imx_v6_v7_defconfig: enable bpf syscall and cgroup bpf Marcel Ziswiler
2021-10-05  3:24   ` Shawn Guo

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).