All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: Tree for May 18
@ 2021-05-18  9:27 Stephen Rothwell
  2021-05-18 16:32 ` linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c) Randy Dunlap
  2021-05-18 17:02 ` linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o) Randy Dunlap
  0 siblings, 2 replies; 13+ messages in thread
From: Stephen Rothwell @ 2021-05-18  9:27 UTC (permalink / raw)
  To: Linux Next Mailing List; +Cc: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 32802 bytes --]

Hi all,

Changes since 20210514:

Removed trees:	iomem-mmap-vs-gup	at maintainer's request

The net-next tree lost its build failure.

Non-merge commits (relative to Linus' tree): 3068
 3189 files changed, 168985 insertions(+), 47207 deletions(-)

----------------------------------------------------------------------------

I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use "git pull"
to do so as that will try to merge the new linux-next release with the
old one.  You should use "git fetch" and checkout or reset to the new
master.

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log
files in the Next directory.  Between each merge, the tree was built
with a ppc64_defconfig for powerpc, an allmodconfig for x86_64, a
multi_v7_defconfig for arm and a native build of tools/perf. After
the final fixups (if any), I do an x86_64 modules_install followed by
builds for x86_64 allnoconfig, powerpc allnoconfig (32 and 64 bit),
ppc44x_defconfig, allyesconfig and pseries_le_defconfig and i386, sparc
and sparc64 defconfig and htmldocs. And finally, a simple boot test
of the powerpc pseries_le_defconfig kernel in qemu (with and without
kvm enabled).

Below is a summary of the state of the merge.

I am currently merging 331 trees (counting Linus' and 89 trees of bug
fix patches pending for the current merge release).

Stats about the size of the tree over time can be seen at
http://neuling.org/linux-next-size.html .

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.

-- 
Cheers,
Stephen Rothwell

$ git checkout master
$ git reset --hard stable
Merging origin/master (8ac91e6c6033 Merge tag 'for-5.13-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux)
Merging fixes/fixes (c06a2ba62fc4 Merge tag 'docs-5.13-3' of git://git.lwn.net/linux)
Merging kbuild-current/fixes (c93db682cfb2 kbuild: dummy-tools: adjust to stricter stackprotector check)
Merging arc-current/for-curr (d07f6ca923ea Linux 5.13-rc2)
Merging arm-current/fixes (d2f7eca60b29 ARM: 9071/1: uprobes: Don't hook on thumb instructions)
Merging arm64-fixes/for-next/fixes (588a513d3425 arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache())
Merging arm-soc-fixes/arm/fixes (b433d090ac63 MAINTAINERS: ARM/Amlogic SoCs: add Neil as primary maintainer)
Merging drivers-memory-fixes/fixes (6efb943b8616 Linux 5.13-rc1)
Merging m68k-current/for-linus (34e5269bf987 m68k: sun3x: Remove unneeded semicolon)
Merging powerpc-fixes/fixes (c6ac667b0799 powerpc/64e/interrupt: Fix nvgprs being clobbered)
Merging s390-fixes/fixes (6efb943b8616 Linux 5.13-rc1)
Merging sparc/master (05a59d79793d Merge git://git.kernel.org:/pub/scm/linux/kernel/git/netdev/net)
Merging fscrypt-current/for-stable (d19d8d345eec fscrypt: fix inline encryption not used on new files)
Merging net/master (3c814519743a MAINTAINERS: net: remove stale website link)
Merging bpf/master (d0c0fe10ce6d bpf: Avoid using ARRAY_SIZE on an uninitialized pointer)
Merging ipsec/master (b515d2637276 xfrm: xfrm_state_mtu should return at least 1280 for ipv6)
Merging netfilter/master (04c26faa51d1 tipc: wait and exit until all work queues are done)
Merging ipvs/master (414ed7fe863a Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf)
Merging wireless-drivers/master (2c2bdd2372af mt76: validate rx A-MSDU subframes)
Merging mac80211/master (b81ac7841d51 net: cdc_eem: fix URL to CDC EEM 1.0 spec)
Merging rdma-fixes/for-rc (67f29896fdc8 RDMA/rxe: Clear all QP fields if creation failed)
Merging sound-current/for-linus (c1f0616124c4 ALSA: intel8x0: Don't update period unless prepared)
Merging sound-asoc-fixes/for-linus (9069df486b2d Merge remote-tracking branch 'asoc/for-5.13' into asoc-linus)
Merging regmap-fixes/for-linus (6efb943b8616 Linux 5.13-rc1)
Merging regulator-fixes/for-linus (0617eecaa19d Merge remote-tracking branch 'regulator/for-5.13' into regulator-linus)
Merging spi-fixes/for-linus (8c59b8074e92 Merge remote-tracking branch 'spi/for-5.13' into spi-linus)
Merging pci-current/for-linus (2ee4c8a26876 MAINTAINERS: Add Krzysztof as PCI host/endpoint controllers reviewer)
Merging driver-core.current/driver-core-linus (d07f6ca923ea Linux 5.13-rc2)
Merging tty.current/tty-linus (3c35d2a960c0 serial: 8250_dw: Add device HID for new AMD UART controller)
Merging usb.current/usb-linus (d07f6ca923ea Linux 5.13-rc2)
Merging usb-gadget-fixes/fixes (e49d033bddf5 Linux 5.12-rc6)
Merging usb-serial-fixes/usb-linus (f8e8c1b2f782 USB: serial: pl2303: add device id for ADLINK ND-6530 GC)
Merging usb-chipidea-fixes/for-usb-fixes (9e3927f6373d usb: chipidea: udc: assign interrupt number to USB gadget structure)
Merging phy/fixes (7c2fc79250ca phy: usb: Fix misuse of IS_ENABLED)
Merging staging.current/staging-linus (d07f6ca923ea Linux 5.13-rc2)
Merging iio-fixes/fixes-togreg (703190407039 iio: dac: ad5770r: Put fwnode in error case during ->probe())
Merging char-misc.current/char-misc-linus (2962484dfef8 misc: eeprom: at24: check suspend status before disable regulator)
Merging soundwire-fixes/fixes (da096fbccd52 soundwire: qcom: fix handling of qcom,ports-block-pack-mode)
Merging thunderbolt-fixes/fixes (d07f6ca923ea Linux 5.13-rc2)
Merging input-current/for-linus (05665cef4b74 Input: xpad - add support for Amazon Game Controller)
Merging crypto-current/master (e3a606f2c544 fsverity: relax build time dependency on CRYPTO_SHA256)
Merging ide/master (6800cd8cbc6e ide-acpi: use %*ph to print small buffer)
Merging vfio-fixes/for-linus (cc35518d29bc docs: vfio: fix typo)
Merging kselftest-fixes/fixes (a38fd8748464 Linux 5.12-rc2)
Merging modules-fixes/modules-linus (055f23b74b20 module: check for exit sections in layout_sections() instead of module_init_section())
Merging dmaengine-fixes/fixes (538ea65a9fd1 dmaengine: xilinx: dpdma: initialize registers before request_irq)
Merging backlight-fixes/for-backlight-fixes (a38fd8748464 Linux 5.12-rc2)
Merging mtd-fixes/mtd/fixes (562b4e91d3b2 mtd: parsers: ofpart: fix parsing subpartitions)
Merging mfd-fixes/for-mfd-fixes (a61f4661fba4 mfd: intel_quark_i2c_gpio: Revert "Constify static struct resources")
Merging v4l-dvb-fixes/fixes (6efb943b8616 Linux 5.13-rc1)
Merging reset-fixes/reset/fixes (b460e0a9e240 reset: intel: add unspecified HAS_IOMEM dependency)
Merging mips-fixes/mips-fixes (6efb943b8616 Linux 5.13-rc1)
Merging at91-fixes/at91-fixes (2c69c8a1736e ARM: dts: at91: sam9x60: fix mux-mask to match product's datasheet)
Merging omap-fixes/fixes (fc85dc42a384 ARM: OMAP2+: Fix uninitialized sr_inst)
Merging kvm-fixes/master (a4345a7cecfb Merge tag 'kvmarm-fixes-5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD)
Merging kvms390-fixes/master (735931f9a51a MAINTAINERS: add uv.c also to KVM/s390)
Merging hwmon-fixes/hwmon (2a29db088c7a hwmon: (pmbus/isl68137) remove READ_TEMPERATURE_3 for RAA228228)
Merging nvdimm-fixes/libnvdimm-fixes (de80d5781136 Merge branch 'for-5.13/dax' into libnvdimm-fixes)
Merging cxl-fixes/fixes (fae8817ae804 cxl/mem: Fix memory device capacity probing)
Merging btrfs-fixes/next-fixes (4a5ea88748d5 Merge branch 'misc-5.13' into next-fixes)
Merging vfs-fixes/fixes (173e84953eaa fs: fix reporting supported extra file attributes for statx())
Merging dma-mapping-fixes/for-linus (18a3c5f7abfd Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost)
Merging i3c-fixes/i3c/fixes (fe07bfda2fb9 Linux 5.12-rc1)
Merging drivers-x86-fixes/fixes (a3790a8a94fc platform/x86: intel-hid: Fix spurious wakeups caused by tablet-mode events during suspend)
Merging samsung-krzk-fixes/fixes (6efb943b8616 Linux 5.13-rc1)
Merging pinctrl-samsung-fixes/fixes (6efb943b8616 Linux 5.13-rc1)
Merging devicetree-fixes/dt/linus (0bd50826a40e leds: Fix reference file name of documentation)
Merging scsi-fixes/fixes (d1acd81bd6eb scsi: pm80xx: Fix drives missing during rmmod/insmod loop)
Merging drm-fixes/drm-fixes (d07f6ca923ea Linux 5.13-rc2)
Merging amdgpu-fixes/drm-fixes (2c409ba81be2 drm/radeon: fix si_enable_smc_cac() failed issue)
Merging drm-intel-fixes/for-linux-next-fixes (d07f6ca923ea Linux 5.13-rc2)
Merging mmc-fixes/fixes (a1149a6c06ee mmc: sdhci-pci-gli: increase 1.8V regulator wait)
Merging rtc-fixes/rtc-fixes (bd33335aa93d rtc: cmos: Disable irq around direct invocation of cmos_interrupt())
Merging gnss-fixes/gnss-linus (a38fd8748464 Linux 5.12-rc2)
Merging hyperv-fixes/hyperv-fixes (6efb943b8616 Linux 5.13-rc1)
Merging soc-fsl-fixes/fix (2663b3388551 soc: fsl: dpio: Get the cpumask through cpumask_of(cpu))
Merging risc-v-fixes/fixes (18a3c5f7abfd Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost)
Merging pidfd-fixes/fixes (03ba0fe4d09f file: simplify logic in __close_range())
Merging fpga-fixes/fixes (2e8496f31d0b firmware: stratix10-svc: reset COMMAND_RECONFIG_FLAG_PARTIAL to 0)
Merging spdx/spdx-linus (6efb943b8616 Linux 5.13-rc1)
Merging gpio-brgl-fixes/gpio/for-current (bdbe871ef0ca gpio: tegra186: Don't set parent IRQ affinity)
Merging gpio-intel-fixes/fixes (6efb943b8616 Linux 5.13-rc1)
Merging pinctrl-intel-fixes/fixes (6efb943b8616 Linux 5.13-rc1)
Merging erofs-fixes/fixes (0852b6ca941e erofs: fix 1 lcluster-sized pcluster for big pcluster)
Merging integrity-fixes/fixes (843385694721 evm: Fix a small race in init_desc())
Merging kunit-fixes/kunit-fixes (7fd53f41f771 kunit: tool: Disable PAGE_POISONING under --alltests)
Merging ubifs-fixes/fixes (78c7d49f55d8 ubifs: journal: Make sure to not dirty twice for auth nodes)
Merging memblock-fixes/fixes (17cbe03872be mm/memblock: Fix typo in comment of memblock_phys_alloc_try_nid())
Merging cel-fixes/for-rc (9f4ad9e425a1 Linux 5.12)
Merging drm-misc-fixes/for-linux-next-fixes (c55b44c9386f Merge drm/drm-fixes into drm-misc-fixes)
Merging kspp-gustavo/for-next/kspp (36f9ff9e03de lib: Fix fall-through warnings for Clang)
Merging kbuild/for-next (7bcdcd71f432 Makefile: extend 32B aligned debug option to 64B aligned)
Merging compiler-attributes/compiler-attributes (ca0760e7d79e Compiler Attributes: Add continue in comment)
Merging dma-mapping/for-next (a7f3d3d3600c dma-mapping: add unlikely hint to error path in dma_mapping_error)
Merging asm-generic/master (d74ebb76967f Merge branch 'asm-generic-unaligned' into asm-generic)
Merging arc/for-next (def9d2780727 Linux 5.5-rc7)
Merging arm/for-next (d3506d256d94 Merge branch 'misc' into for-next)
Merging arm64/for-next/core (c76fba33467b arm64: kernel: Update the stale comment)
Merging arm-perf/for-next/perf (2c2e21e78a94 arm64: perf: Remove redundant initialization in perf_event.c)
Merging arm-soc/for-next (b433d090ac63 MAINTAINERS: ARM/Amlogic SoCs: add Neil as primary maintainer)
Merging actions/for-next (444d018d8d38 ARM: dts: owl-s500-roseapplepi: Add ATC2603C PMIC)
Merging amlogic/for-next (09dc799bceb5 Merge branch 'v5.13/fixes' into tmp/aml-rebuild)
Merging aspeed/for-next (61fbc42084f4 Merge branches 'wpcm450-for-v5.13', 'dt-for-v5.13' and 'lpc-for-v5.13' into for-next)
Merging at91/at91-next (969bbb49f36c Merge branch 'at91-dt' into at91-next)
Merging drivers-memory/for-next (76e5624f3f93 memory: pl353: Fix error return code in pl353_smc_probe())
Merging imx-mxs/for-next (b1d96e9c8a6e Merge branch 'imx/defconfig' into for-next)
Merging keystone/next (9d2e21ed98a2 Merge branch 'for_5.12/drivers-soc' into next)
Merging mediatek/for-next (fd450fd2a4fb Merge branch 'v5.13-next/soc' into for-next)
Merging mvebu/for-next (79e93f9dc81a Merge branch 'mvebu/dt64' into mvebu/for-next)
Merging omap/for-next (44e97f6fb29b Merge branch 'fixes' into for-next)
Merging qcom/for-next (0109038cffef Merge branches 'arm64-defconfig-for-5.13', 'arm64-for-5.13', 'defconfig-for-5.13', 'drivers-for-5.13' and 'dts-for-5.13' into for-next)
Merging raspberrypi/for-next (fbdcf1d20126 ARM: dts: bcm2711: Add the CEC interrupt controller)
CONFLICT (content): Merge conflict in arch/arm/boot/dts/bcm2711.dtsi
Merging renesas/next (943db114cf99 Merge branch 'renesas-arm-defconfig-for-v5.14' into renesas-next)
Merging reset/reset/next (e207457f9045 reset: brcmstb: Add missing MODULE_DEVICE_TABLE)
Merging rockchip/for-next (b8bc266bd4b5 Merge branch 'v5.14-clk/next' into for-next)
Merging samsung-krzk/for-next (6fed39b8b597 Merge branch 'next/dt64' into for-next)
Merging scmi/for-linux-next (79053496a28d Merge tag 'scmi-fixes-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into for-linux-next)
Merging stm32/stm32-next (6ed9269265e1 ARM: dts: stm32: Add PTP clock to Ethernet controller)
Merging sunxi/sunxi/for-next (401c54f3951e Merge branches 'sunxi/core-for-5.14' and 'sunxi/dt-for-5.14' into sunxi/for-next)
Merging tegra/for-next (93b9ea9ca307 Merge branch for-5.13/arm64/dt into for-next)
Merging ti-k3/ti-k3-next (1e3d655fe7b4 Merge branch 'ti-k3-config-next' into ti-k3-next)
Merging ti-k3-new/ti-k3-next (cab12badfc99 arm64: dts: ti: k3*: Introduce reg definition for interrupt routers)
Merging xilinx/for-next (6efb943b8616 Linux 5.13-rc1)
Merging clk/clk-next (6efb943b8616 Linux 5.13-rc1)
Merging clk-imx/for-next (4539b53dd2d3 clk: imx8qm: add clock valid resource checking)
Merging clk-renesas/renesas-clk (6bd913f54f2f clk: renesas: r9a06g032: Switch to .determine_rate())
Merging clk-samsung/for-next (a38fd8748464 Linux 5.12-rc2)
Merging csky/linux-next (280af034a71d csky: Kconfig: Remove unused selects)
Merging h8300/h8300-next (6e5e55227c95 Merge tag 'v5.11' into h8300-next)
Merging m68k/for-next (eeff86b6d18c m68k: dma: Remove unnecessary include of asm/cacheflush.h)
Merging m68knommu/for-next (d07f6ca923ea Linux 5.13-rc2)
Merging microblaze/next (6efb943b8616 Linux 5.13-rc1)
Merging mips/mips-next (33ae8f801ad8 hugetlb: clear huge pte during flush function on mips platform)
Merging nds32/next (40e0dd851e7b nds32: Fix bogus reference to <asm/procinfo.h>)
Merging nios2/for-next (7f7bc20bc41a nios2: Don't use _end for calculating min_low_pfn)
Merging openrisc/for-next (8b549c18ae81 openrisc: Define memory barrier mb)
Merging parisc-hd/for-next (9f4ad9e425a1 Linux 5.12)
Merging powerpc/next (6efb943b8616 Linux 5.13-rc1)
Merging soc-fsl/next (242b0b398ccd soc: fsl: enable acpi support in RCPM driver)
Merging risc-v/for-next (beaf5ae15a13 riscv: remove unused handle_exception symbol)
Merging s390/for-next (6efb943b8616 Linux 5.13-rc1)
Merging sh/for-next (2882b7626f49 sh: kernel: traps: remove unused variable)
Merging sparc-next/master (dd0d718152e4 Merge tag 'spi-fix-v5.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi)
Merging uml/linux-next (ed102bf2afed um: Fix W=1 missing-include-dirs warnings)
Merging xtensa/xtensa-for-next (6a8eb99e130f xtensa: ISS: add GDBIO implementation to semihosting interface)
Merging pidfd/for-next (2ca4dcc4909d fs/mount_setattr: tighten permission checks)
Merging fscrypt/master (a14d0b676491 fscrypt: allow deleting files with unsupported encryption policy)
Merging fscache/fscache-next (3003bbd0697b afs: Use the netfs_write_begin() helper)
Merging afs/afs-next (7af08140979a Revert "gcov: clang: fix clang-11+ build")
Merging btrfs/for-next (9e6dd507c69e Merge branch 'fixes-for-master' into for-next-20210514)
Merging ceph/master (f8234d7b1fb3 libceph: kill ceph_none_authorizer::reply_buf)
Merging cifs/for-next (93a47dd87611 Defer close only when lease is enabled.)
Merging cifsd/cifsd-for-next (e080fa802128 Merge pull request #47 from namjaejeon/cifsd-for-next)
Merging configfs/for-next (14fbbc829772 configfs: fix a use-after-free in __configfs_open_file)
Merging ecryptfs/next (682a8e2b41ef Merge tag 'ecryptfs-5.13-rc1-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs)
Merging erofs/dev (8e6c8fa9f2e9 erofs: enable big pcluster feature)
Merging exfat/dev (b741596468b0 Merge tag 'riscv-for-linus-5.13-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux)
Merging ext3/for_next (a5882ee966b1 Pull disabling of quotactl_path syscall. Merge branch 'for_next_testing' into for_next)
Merging ext4/dev (6c0912739699 ext4: wipe ext4_dir_entry2 upon file deletion)
Merging f2fs/dev (bd3c9cdb21a2 Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux)
Merging fsverity/fsverity (07c99001312c fs-verity: support reading signature with ioctl)
Merging fuse/for-next (3c9c14338c12 cuse: simplify refcount)
Merging jfs/jfs-next (b462cecfa323 fs: Fix typo issue)
Merging nfs/linux-next (d07f6ca923ea Linux 5.13-rc2)
Merging nfs-anna/linux-next (4f8be1f53bf6 nfs: we don't support removing system.nfs4_acl)
Merging nfsd/nfsd-next (c3213d260a23 SUNRPC: Fix oops in the rpc_xdr_buf event class)
Merging cel/for-next (b9f83ffaa0c0 SUNRPC: Fix null pointer dereference in svc_rqst_free())
Merging orangefs/for-next (211f9f2e0503 orangefs: leave files in the page cache for a few micro seconds at least)
Merging overlayfs/overlayfs-next (5e717c6fa41f ovl: add debug print to ovl_do_getxattr())
Merging ubifs/next (9a29f7f020e0 ubi: Remove unnecessary struct declaration)
Merging v9fs/9p-next (cba7dcd8878e 9p/trans_virtio: Remove sysfs file on probe failure)
Merging xfs/for-next (8e9800f9f2b8 xfs: don't allow log writes if the data device is readonly)
Merging zonefs/for-next (6980d29ce4da zonefs: fix to update .i_wr_refcnt correctly in zonefs_open_zone())
Merging iomap/iomap-for-next (6e552494fb90 iomap: remove unused private field from ioend)
Merging djw-vfs/vfs-for-next (9b8523423b23 vfs: move __sb_{start,end}_write* to fs.h)
Merging file-locks/locks-next (cbe6fc4e0142 fs/locks: remove useless assignment in fcntl_getlk)
Merging vfs/for-next (e8727aec724e Merge branch 'work.misc' into for-next)
Merging printk/for-next (1939459252ba Merge branch 'for-5.14-vsprintf-pts' into for-next)
Merging pci/next (6efb943b8616 Linux 5.13-rc1)
Merging pstore/for-next/pstore (9d843e8fafc7 pstore: Add mem_type property DT parsing support)
Merging hid/for-next (5b95bf4cc297 Merge branch 'for-5.13/upstream-fixes' into for-next)
Merging i2c/i2c/for-next (f9743e4d0a62 Merge branch 'i2c/for-5.13' into i2c/for-next)
Merging i3c/i3c/next (0d95f41ebde4 Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register")
Merging dmi/dmi-for-next (3cb4d29a2633 MAINTAINERS: The DMI/SMBIOS tree has moved)
Merging hwmon-staging/hwmon-next (bd22ed5bb515 hwmon: (adm1275) enable adm1272 temperature reporting)
Merging jc_docs/docs-next (35f1fceaa288 Documentation: scheduler: fixed 2 typos in sched-nice-design.rst)
Merging v4l-dvb/master (73edc4da4063 media: staging: media: atomisp: pci: Format comments according to coding-style in file atomisp_cmd.h)
Merging v4l-dvb-next/master (27d9c18bb9aa media: staging: media: atomisp: remove unnecessary pr_info calls)
Merging pm/linux-next (3da05329d571 Merge branch 'acpi-dptf' into linux-next)
Merging cpufreq-arm/cpufreq/arm/linux-next (dbbd49bade05 cpufreq: armada-37xx: Fix module unloading)
Merging cpupower/cpupower (a38fd8748464 Linux 5.12-rc2)
Merging devfreq/devfreq-next (6efb943b8616 Linux 5.13-rc1)
Merging opp/opp/linux-next (a8bb0e872bfb memory: samsung: exynos5422-dmc: Convert to use resource-managed OPP API)
Merging thermal/thermal/linux-next (c310e546164d thermal/drivers/mtk_thermal: Remove redundant initializations of several variables)
Merging dlm/next (2fd8db2dd05d fs: dlm: fix missing unlock on error in accept_from_sock())
Merging swiotlb/linux-next (dfc06b389a4f swiotlb: don't override user specified size in swiotlb_adjust_size)
Merging rdma/for-next (6efb943b8616 Linux 5.13-rc1)
Merging net-next/master (06b38e233ce4 drivers/net: Remove leading spaces in Kconfig)
Applying: usb: class: cdc-wdm: fix for kill_urbs() removal
Merging bpf-next/for-next (f18ba26da88a libbpf: Add selftests for TC-BPF management API)
Merging ipsec-next/master (ea89c862f01e net: mana: Use struct_size() in kzalloc())
Merging mlx5-next/mlx5-next (63f9c44bca5e net/mlx5: Add MEMIC operations related bits)
Merging netfilter-next/master (16145dbde18a Merge branch 'func-names-comment')
Merging ipvs-next/master (ea89c862f01e net: mana: Use struct_size() in kzalloc())
Merging wireless-drivers-next/master (6efb943b8616 Linux 5.13-rc1)
Merging bluetooth/master (8bf7111b4bda Bluetooth: Shutdown controller after workqueues are flushed or cancelled)
Merging mac80211-next/master (77091933e453 net: mdio: ipq8064: enlarge sleep after read/write operation)
Merging gfs2/for-next (a673e827f904 gfs2: Fix mmap + page fault deadlock)
Merging mtd/mtd/next (cc9d663a00a0 drivers: mtd: sm_ftl: Fix alignment of block comment)
Merging nand/nand/next (fd0d8d85f723 mtd: nand: bbt: Fix corner case in bad block table handling)
Merging spi-nor/spi-nor/next (46094049a49b Revert "mtd: spi-nor: macronix: Add support for mx25l51245g")
Merging crypto/master (b01360384009 crypto: ux500 - Fix error return code in hash_hw_final())
Merging drm/drm-next (6efb943b8616 Linux 5.13-rc1)
Merging drm-misc/for-linux-next (644adc3d0ff0 drm: Mark IRQ_BUSID ioctl as legacy)
Merging amdgpu/drm-next (2117d5f92019 drm/radeon: Add HD-audio component notifier support (v2))
CONFLICT (content): Merge conflict in drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
Merging drm-intel/for-linux-next (d22fe808f9a3 Merge drm/drm-next into drm-intel-next)
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/display/intel_dp.c
Merging drm-tegra/drm/tegra/for-next (c79184a9c029 drm/tegra: Fix shift overflow in tegra_shared_plane_atomic_update)
Merging drm-msm/msm-next (f2f46b878777 drm/msm/dp: initialize audio_comp when audio starts)
Merging imx-drm/imx-drm/next (fc1e985b67f9 drm/imx: ipuv3-plane: add color encoding and range properties)
Merging etnaviv/etnaviv/next (4bfdd2aa67fb drm/etnaviv: rework linear window offset calculation)
Merging regmap/for-next (ea030ca68819 regmap-i2c: Set regmap max raw r/w from quirks)
Merging sound/for-next (bac59054544e ALSA: gus: Replace unsafe strcpy() with strscpy())
Merging sound-asoc/for-next (657a3d308df2 Merge remote-tracking branch 'asoc/for-5.14' into asoc-next)
Merging modules/modules-next (02b2fb455b2e kernel/module: Use BUG_ON instead of if condition followed by BUG)
Merging input/next (d12b64b9764e MAINTAINERS: repair reference in HYCON HY46XX TOUCHSCREEN SUPPORT)
Merging block/for-next (8fab01c91a8d Merge branch 'for-5.14/libata' into for-next)
Merging device-mapper/for-next (bc8f3d4647a9 dm integrity: fix sparse warnings)
Merging pcmcia/pcmcia-next (e9d503fef7da pcmcia: rsrc_nonstatic: Fix call-back function as reference formatting)
Merging mmc/next (3fb6180b0b97 mmc: core: Add support for cache ctrl for SD cards)
Merging mfd/for-mfd-next (f9386c91574f mfd: intel-m10-bmc: Add support for MAX10 BMC Secure Updates)
Merging backlight/for-backlight-next (04758386757c backlight: journada720: Fix Wmisleading-indentation warning)
Merging battery/for-next (2aac79d14d76 power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE)
Merging regulator/for-next (1d8154780f58 Merge remote-tracking branch 'regulator/for-5.14' into regulator-next)
Merging security/next-testing (047843bdb316 Merge branch 'landlock_lsm_v34' into next-testing)
Merging apparmor/apparmor-next (d108370c644b apparmor: fix error check)
Merging integrity/next-integrity (781a57394899 ima: ensure IMA_APPRAISE_MODSIG has necessary dependencies)
Merging keys/keys-next (e377c31f788f integrity: Load mokx variables into the blacklist keyring)
CONFLICT (content): Merge conflict in certs/system_keyring.c
Merging safesetid/safesetid-next (1ca86ac1ec8d LSM: SafeSetID: Fix code specification by scripts/checkpatch.pl)
Merging selinux/next (869cbeef18e5 lsm_audit,selinux: pass IB device name by reference)
Merging smack/next (49ec114a6e62 smackfs: restrict bytes count in smk_set_cipso())
Merging tomoyo/master (6efb943b8616 Linux 5.13-rc1)
Merging tpmdd/next (1df83992d977 tpm: fix error return code in tpm2_get_cc_attrs_tbl())
Merging watchdog/master (bf05bf16c76b Linux 5.12-rc8)
Merging iommu/next (2d471b20c55e iommu: Streamline registration interface)
Merging audit/next (254c8b96c4af audit: add blank line after variable declarations)
Merging devicetree/for-next (d1dd216738f5 dt-bindings: timer: renesas,tpu: Convert to json-schema)
Merging mailbox/mailbox-for-next (2335f556b3af dt-bindings: mailbox: qcom-ipcc: Add compatible for SC7280)
Merging spi/for-next (f8900b0628a0 Merge remote-tracking branch 'spi/for-5.14' into spi-next)
Merging tip/auto-latest (4976a50e118e Merge branch 'locking/core')
Merging clockevents/timers/drivers/next (8120891105ba dt-bindings: timer: nuvoton,npcm7xx: Add wpcm450-timer)
Merging edac/edac-for-next (0a37f32ba527 EDAC/ti: Add missing MODULE_DEVICE_TABLE)
Merging irqchip/irq/irqchip-next (fbb80d5ad400 irqchip: Remove redundant error printing)
Merging ftrace/for-next (eb01f5353bda tracing: Handle %.*s in trace_check_vprintf())
Merging rcu/rcu/next (a66e1307dbb7 tools/memory-model: Heuristics using data_race() must handle all values)
Merging kvm/next (a4345a7cecfb Merge tag 'kvmarm-fixes-5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD)
Merging kvm-arm/next (9a8aae605b80 Merge branch 'kvm-arm64/kill_oprofile_dependency' into kvmarm-master/next)
Merging kvm-ppc/kvm-ppc-next (72476aaa4691 KVM: PPC: Book3S HV: Fix host radix SLB optimisation with hash guests)
Merging kvms390/next (44bada282190 KVM: s390: fix guarded storage control register handling)
Merging xen-tip/linux-next (97729b653de5 xen/swiotlb: check if the swiotlb has already been initialized)
Merging percpu/for-next (7b92d0f97d9b Merge branch 'for-5.14' into for-next)
Merging workqueues/for-next (89e28ce60cb6 workqueue/watchdog: Make unbound workqueues aware of touch_softlockup_watchdog() 84;0;0c84;0;0c There are two workqueue-specific watchdog timestamps:)
Merging drivers-x86/for-next (e7882cd7aebe platform/x86: gigabyte-wmi: add support for B550M AORUS PRO-P)
Merging chrome-platform/for-next (6efb943b8616 Linux 5.13-rc1)
Merging hsi/for-next (6efb943b8616 Linux 5.13-rc1)
Merging leds/for-next (ee522bcf026e leds: tlc591xx: fix return value check in tlc591xx_probe())
Merging ipmi/for-next (2253042d86f5 ipmi/watchdog: Stop watchdog timer when the current action is 'none')
Merging driver-core/driver-core-next (0e9e37d042b1 Merge 5.13-rc2 into driver-core-next)
Merging usb/usb-next (9fbf82c76414 Merge 5.13-rc2 into usb-next)
Merging usb-gadget/next (e49d033bddf5 Linux 5.12-rc6)
Merging usb-serial/usb-next (6efb943b8616 Linux 5.13-rc1)
Merging usb-chipidea-next/for-usb-next (4ae08bc23e1b usb: cdnsp: Useless condition has been removed)
Merging tty/tty-next (7912146abf67 tty: hvc_iucv: Drop unnecessary NULL check after container_of)
Merging char-misc/char-misc-next (3ce3e45cc333 misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge)
Merging extcon/extcon-next (6efb943b8616 Linux 5.13-rc1)
Merging phy-next/next (490dbd2380c7 phy: phy-core-mipi-dphy.c: Correct reference version)
Merging soundwire/next (037219925e7a soundwire: dmi-quirks: remove duplicate initialization)
Merging thunderbolt/next (d07f6ca923ea Linux 5.13-rc2)
Merging vfio/next (adaeb718d46f vfio/gvt: fix DRM_I915_GVT dependency on VFIO_MDEV)
Merging staging/staging-next (d8218b0de51f Merge 5.13-rc2 into staging-next)
Merging iio/togreg (7c6d33e7b4aa iio: hid: trigger: Balance runtime pm + use pm_runtime_resume_and_get())
Merging mux/for-next (3516bd729358 Merge tag 's390-5.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux)
Merging icc/icc-next (1fd86e280d8b interconnect: qcom: Add missing MODULE_DEVICE_TABLE)
Merging dmaengine/next (6f64aa5746d2 dt-bindings: dma: convert arm-pl08x to yaml)
Merging cgroup/for-next (f4f809f66b75 cgroup: inline cgroup_task_freeze())
Merging scsi/for-next (19d4902b12f6 Merge branch 'fixes' into for-next)
Merging scsi-mkp/for-next (05f7f1b9ee82 scsi: 3w-9xxx: Fix endianness issues in command packets)
Merging vhost/linux-next (7ff6e99e021c virtio_net: disable cb aggressively)
Merging rpmsg/for-next (dc0e14fa833b Merge branches 'hwspinlock-next', 'rpmsg-next' and 'rproc-next' into for-next)
Merging gpio/for-next (7ac554888233 MAINTAINERS: Remove reference to non-existing file)
Merging gpio-brgl/gpio/for-next (6453b9532b5f gpio: xilinx: No need to disable IRQs in the handler)
Merging gpio-intel/for-next (6efb943b8616 Linux 5.13-rc1)
Merging pinctrl/for-next (835109266494 Merge branch 'devel' into for-next)
Merging pinctrl-intel/for-next (6efb943b8616 Linux 5.13-rc1)
Merging pinctrl-renesas/renesas-pinctrl (904ec4bebc1d pinctrl: renesas: r8a779{51,6,65}: Reduce non-functional differences)
Merging pinctrl-samsung/for-next (6efb943b8616 Linux 5.13-rc1)
Merging pwm/for-next (a6efb35019d0 pwm: Reword docs about pwm_apply_state())
Merging userns/for-next (ef566ba2d7d9 signal: Remove the last few si_perf references)
Merging ktest/for-next (170f4869e662 ktest.pl: Fix the logic for truncating the size of the log file for email)
Merging kselftest/next (e75074781f17 selftests/resctrl: Change a few printed messages)
Merging livepatching/for-next (c150bbbb1731 Merge branch 'for-5.13/signal' into for-next)
Merging coresight/next (1efbcec2ef8c coresight: cti: Reduce scope for the variable “cs_fwnode” in cti_plat_create_connection())
Merging rtc/rtc-next (4d0185e67806 rtc: sysfs: check features instead of ops)
Merging nvdimm/libnvdimm-for-next (30c10d32152d Merge branch 'for-5.12/cxl' into libnvdimm-for-next)
Merging at24/at24/for-next (6efb943b8616 Linux 5.13-rc1)
Merging ntb/ntb-next (5c8fe583cce5 Linux 5.11-rc1)
Merging seccomp/for-next/seccomp (a3fc712c5b37 seccomp: Fix "cacheable" typo in comments)
Merging kspp/for-next/kspp (f4648c741299 Merge branch 'for-next/overflow' into for-next/kspp)
Merging cisco/for-next (9e98c678c2d6 Linux 5.1-rc1)
Merging gnss/gnss-next (994adcbd3714 gnss: drop stray semicolons)
Merging fsi/next (4a851d714ead fsi: aspeed: Support CFAM reset GPIO)
Merging slimbus/for-next (0320ed0a8236 drivers: slimbus: Fix word resposible -> responsible in slimbus.h)
CONFLICT (content): Merge conflict in drivers/nvmem/Makefile
CONFLICT (content): Merge conflict in drivers/nvmem/Kconfig
Merging nvmem/for-next (d1a5f4ca656b nvmem: qfprom: minor nit fixes)
Merging xarray/main (2c7e57a02708 idr test suite: Improve reporting from idr_find_test_1)
Merging hyperv/hyperv-next (32c0ff83550e hv_utils: Fix passing zero to 'PTR_ERR' warning)
Merging auxdisplay/auxdisplay (aecd79c09c2f auxdisplay: Add I2C gpio expander example)
Merging kgdb/kgdb/for-next (83fa2d13d628 kdb: Refactor env variables get/set code)
Merging hmm/hmm (fe07bfda2fb9 Linux 5.12-rc1)
Merging fpga/for-next (ded39fc4a5b4 docs: driver-api: fpga: avoid using UTF-8 chars)
Merging kunit/test (a38fd8748464 Linux 5.12-rc2)
Merging cfi/cfi/next (f3907773d602 mtd: cfi_cmdset_0002: remove redundant assignment to variable timeo)
Merging kunit-next/kunit (de2fcb3e6201 Documentation: kunit: add tips for using current->kunit_test)
Merging trivial/for-next (9ff9b0d392ea Merge tag 'net-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next)
Merging mhi/mhi-next (a503d1628c9c bus: mhi: fix typo in comments for struct mhi_channel_config)
Merging memblock/for-next (097d43d85704 mm: memblock: remove return value of memblock_free_all())
Merging init/init-user-pointers (38b082236e77 initramfs: use vfs_utimes in do_copy)
Merging counters/counters (e71ba9452f0b Linux 5.11-rc2)
Merging rust/rust-next (fef0214731cc rust: allow printing in the kernel crate)
CONFLICT (content): Merge conflict in kernel/printk/printk.c
CONFLICT (content): Merge conflict in include/uapi/linux/android/binder.h
CONFLICT (content): Merge conflict in Makefile
Merging cxl/next (e49d033bddf5 Linux 5.12-rc6)
Merging tpmdd-jejb/tpmdd-for-next (69977d1aeeca Merge branch 'tpmdd-fixes' into tpmdd-for-next)
Merging akpm-current/current (e4d489899106 ipc: use kmalloc for msg_queue and shmid_kernel)
$ git checkout -b akpm remotes/origin/akpm/master
$ git rebase --onto master remotes/origin/akpm/master-base
Merging akpm/master (33d938e7711a kdump: use vmlinux_build_id to simplify)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c)
  2021-05-18  9:27 linux-next: Tree for May 18 Stephen Rothwell
@ 2021-05-18 16:32 ` Randy Dunlap
  2021-05-18 16:43   ` Vladimir Oltean
  2021-05-18 17:02 ` linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o) Randy Dunlap
  1 sibling, 1 reply; 13+ messages in thread
From: Randy Dunlap @ 2021-05-18 16:32 UTC (permalink / raw)
  To: Stephen Rothwell, Linux Next Mailing List
  Cc: Linux Kernel Mailing List, netdev, John Crispin, Ansuel Smith,
	Andrew Lunn, Vivien Didelot, Florian Fainelli, Vladimir Oltean

[-- Attachment #1: Type: text/plain, Size: 646 bytes --]

On 5/18/21 2:27 AM, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20210514:
> 

on x86_64:
# CONFIG_OF is not set

../drivers/net/dsa/qca8k.c: In function ‘qca8k_mdio_register’:
../drivers/net/dsa/qca8k.c:797:9: error: implicit declaration of function ‘devm_of_mdiobus_register’; did you mean ‘devm_mdiobus_register’? [-Werror=implicit-function-declaration]
  return devm_of_mdiobus_register(priv->dev, bus, mdio);


Should there be a stub for this function in <linux/of_mdio.h>?
or the driver could add a dependency on OF_MDIO.

Full randconfig file is attached.

-- 
~Randy
Reported-by: Randy Dunlap <rdunlap@infradead.org>


[-- Attachment #2: config-r9381.gz --]
[-- Type: application/gzip, Size: 34074 bytes --]

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

* Re: linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c)
  2021-05-18 16:32 ` linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c) Randy Dunlap
@ 2021-05-18 16:43   ` Vladimir Oltean
  2021-05-18 16:57     ` Randy Dunlap
  2021-05-18 17:33     ` Andrew Lunn
  0 siblings, 2 replies; 13+ messages in thread
From: Vladimir Oltean @ 2021-05-18 16:43 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Stephen Rothwell, Linux Next Mailing List,
	Linux Kernel Mailing List, netdev, John Crispin, Ansuel Smith,
	Andrew Lunn, Vivien Didelot, Florian Fainelli

Hi Randy,

On Tue, May 18, 2021 at 09:32:49AM -0700, Randy Dunlap wrote:
> On 5/18/21 2:27 AM, Stephen Rothwell wrote:
> > Hi all,
> > 
> > Changes since 20210514:
> > 
> 
> on x86_64:
> # CONFIG_OF is not set
> 
> ../drivers/net/dsa/qca8k.c: In function ‘qca8k_mdio_register’:
> ../drivers/net/dsa/qca8k.c:797:9: error: implicit declaration of function ‘devm_of_mdiobus_register’; did you mean ‘devm_mdiobus_register’? [-Werror=implicit-function-declaration]
>   return devm_of_mdiobus_register(priv->dev, bus, mdio);
> 
> 
> Should there be a stub for this function in <linux/of_mdio.h>?
> or the driver could add a dependency on OF_MDIO.
> 
> Full randconfig file is attached.
> 
> -- 
> ~Randy
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> 

Would something like this work?

-----------------------------[ cut here ]-----------------------------
From 36c0b3f04ebfa51e52bd1bc2dc447d12d1c6e119 Mon Sep 17 00:00:00 2001
From: Vladimir Oltean <olteanv@gmail.com>
Date: Tue, 18 May 2021 19:39:18 +0300
Subject: [PATCH] net: mdio: provide shim implementation of
 devm_of_mdiobus_register

Similar to the way in which of_mdiobus_register() has a fallback to the
non-DT based mdiobus_register() when CONFIG_OF is not set, we can create
a shim for the device-managed devm_of_mdiobus_register() which calls
devm_mdiobus_register() and discards the struct device_node *.

In particular, this solves a build issue with the qca8k DSA driver which
uses devm_of_mdiobus_register and can be compiled without CONFIG_OF.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
---
 include/linux/of_mdio.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/linux/of_mdio.h b/include/linux/of_mdio.h
index 2b05e7f7c238..da633d34ab86 100644
--- a/include/linux/of_mdio.h
+++ b/include/linux/of_mdio.h
@@ -72,6 +72,13 @@ static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *
 	return mdiobus_register(mdio);
 }
 
+static inline int devm_of_mdiobus_register(struct device *dev,
+					   struct mii_bus *mdio,
+					   struct device_node *np)
+{
+	return devm_mdiobus_register(dev, mdio);
+}
+
 static inline struct mdio_device *of_mdio_find_device(struct device_node *np)
 {
 	return NULL;
-----------------------------[ cut here ]-----------------------------

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

* Re: linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c)
  2021-05-18 16:43   ` Vladimir Oltean
@ 2021-05-18 16:57     ` Randy Dunlap
  2021-05-18 17:02       ` Vladimir Oltean
  2021-05-18 17:33     ` Andrew Lunn
  1 sibling, 1 reply; 13+ messages in thread
From: Randy Dunlap @ 2021-05-18 16:57 UTC (permalink / raw)
  To: Vladimir Oltean
  Cc: Stephen Rothwell, Linux Next Mailing List,
	Linux Kernel Mailing List, netdev, John Crispin, Ansuel Smith,
	Andrew Lunn, Vivien Didelot, Florian Fainelli

On 5/18/21 9:43 AM, Vladimir Oltean wrote:
> Hi Randy,
> 
> Would something like this work?
> 
> -----------------------------[ cut here ]-----------------------------
> From 36c0b3f04ebfa51e52bd1bc2dc447d12d1c6e119 Mon Sep 17 00:00:00 2001
> From: Vladimir Oltean <olteanv@gmail.com>
> Date: Tue, 18 May 2021 19:39:18 +0300
> Subject: [PATCH] net: mdio: provide shim implementation of
>  devm_of_mdiobus_register
> 
> Similar to the way in which of_mdiobus_register() has a fallback to the
> non-DT based mdiobus_register() when CONFIG_OF is not set, we can create
> a shim for the device-managed devm_of_mdiobus_register() which calls
> devm_mdiobus_register() and discards the struct device_node *.
> 
> In particular, this solves a build issue with the qca8k DSA driver which
> uses devm_of_mdiobus_register and can be compiled without CONFIG_OF.
> 
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
> ---
>  include/linux/of_mdio.h | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/include/linux/of_mdio.h b/include/linux/of_mdio.h
> index 2b05e7f7c238..da633d34ab86 100644
> --- a/include/linux/of_mdio.h
> +++ b/include/linux/of_mdio.h
> @@ -72,6 +72,13 @@ static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *
>  	return mdiobus_register(mdio);
>  }
>  
> +static inline int devm_of_mdiobus_register(struct device *dev,
> +					   struct mii_bus *mdio,
> +					   struct device_node *np)
> +{
> +	return devm_mdiobus_register(dev, mdio);
> +}
> +
>  static inline struct mdio_device *of_mdio_find_device(struct device_node *np)
>  {
>  	return NULL;
> -----------------------------[ cut here ]-----------------------------
> 

Yes, that's all good. Thanks.

Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested

-- 
~Randy


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

* Re: linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o)
  2021-05-18  9:27 linux-next: Tree for May 18 Stephen Rothwell
  2021-05-18 16:32 ` linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c) Randy Dunlap
@ 2021-05-18 17:02 ` Randy Dunlap
  2021-05-25 17:30   ` Randy Dunlap
  1 sibling, 1 reply; 13+ messages in thread
From: Randy Dunlap @ 2021-05-18 17:02 UTC (permalink / raw)
  To: Stephen Rothwell, Linux Next Mailing List
  Cc: Linux Kernel Mailing List, netdev, bpf, Alexei Starovoitov,
	Daniel Borkmann, Andrii Nakryiko

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

On 5/18/21 2:27 AM, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20210514:
> 

on i386:
# CONFIG_NET is not set

ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto':
bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto'
ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto'


Full randconfig file is attached.

-- 
~Randy
Reported-by: Randy Dunlap <rdunlap@infradead.org>


[-- Attachment #2: config-r9369.gz --]
[-- Type: application/gzip, Size: 34789 bytes --]

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

* Re: linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c)
  2021-05-18 16:57     ` Randy Dunlap
@ 2021-05-18 17:02       ` Vladimir Oltean
  0 siblings, 0 replies; 13+ messages in thread
From: Vladimir Oltean @ 2021-05-18 17:02 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Stephen Rothwell, Linux Next Mailing List,
	Linux Kernel Mailing List, netdev, John Crispin, Ansuel Smith,
	Andrew Lunn, Vivien Didelot, Florian Fainelli

On Tue, May 18, 2021 at 09:57:13AM -0700, Randy Dunlap wrote:
> On 5/18/21 9:43 AM, Vladimir Oltean wrote:
> > Hi Randy,
> > 
> > Would something like this work?
> > 
> > -----------------------------[ cut here ]-----------------------------
> > From 36c0b3f04ebfa51e52bd1bc2dc447d12d1c6e119 Mon Sep 17 00:00:00 2001
> > From: Vladimir Oltean <olteanv@gmail.com>
> > Date: Tue, 18 May 2021 19:39:18 +0300
> > Subject: [PATCH] net: mdio: provide shim implementation of
> >  devm_of_mdiobus_register
> > 
> > Similar to the way in which of_mdiobus_register() has a fallback to the
> > non-DT based mdiobus_register() when CONFIG_OF is not set, we can create
> > a shim for the device-managed devm_of_mdiobus_register() which calls
> > devm_mdiobus_register() and discards the struct device_node *.
> > 
> > In particular, this solves a build issue with the qca8k DSA driver which
> > uses devm_of_mdiobus_register and can be compiled without CONFIG_OF.
> > 
> > Reported-by: Randy Dunlap <rdunlap@infradead.org>
> > Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
> > ---
> >  include/linux/of_mdio.h | 7 +++++++
> >  1 file changed, 7 insertions(+)
> > 
> > diff --git a/include/linux/of_mdio.h b/include/linux/of_mdio.h
> > index 2b05e7f7c238..da633d34ab86 100644
> > --- a/include/linux/of_mdio.h
> > +++ b/include/linux/of_mdio.h
> > @@ -72,6 +72,13 @@ static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *
> >  	return mdiobus_register(mdio);
> >  }
> >  
> > +static inline int devm_of_mdiobus_register(struct device *dev,
> > +					   struct mii_bus *mdio,
> > +					   struct device_node *np)
> > +{
> > +	return devm_mdiobus_register(dev, mdio);
> > +}
> > +
> >  static inline struct mdio_device *of_mdio_find_device(struct device_node *np)
> >  {
> >  	return NULL;
> > -----------------------------[ cut here ]-----------------------------
> > 
> 
> Yes, that's all good. Thanks.
> 
> Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested

Thanks. Waiting for a little bit longer for somebody a little more
authoritative on the MDIO/PHY topic, will submit formally afterwards.

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

* Re: linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c)
  2021-05-18 16:43   ` Vladimir Oltean
  2021-05-18 16:57     ` Randy Dunlap
@ 2021-05-18 17:33     ` Andrew Lunn
  2021-05-18 18:53       ` John Crispin
  1 sibling, 1 reply; 13+ messages in thread
From: Andrew Lunn @ 2021-05-18 17:33 UTC (permalink / raw)
  To: Vladimir Oltean
  Cc: Randy Dunlap, Stephen Rothwell, Linux Next Mailing List,
	Linux Kernel Mailing List, netdev, John Crispin, Ansuel Smith,
	Vivien Didelot, Florian Fainelli

> Would something like this work?
> 
> -----------------------------[ cut here ]-----------------------------
> >From 36c0b3f04ebfa51e52bd1bc2dc447d12d1c6e119 Mon Sep 17 00:00:00 2001
> From: Vladimir Oltean <olteanv@gmail.com>
> Date: Tue, 18 May 2021 19:39:18 +0300
> Subject: [PATCH] net: mdio: provide shim implementation of
>  devm_of_mdiobus_register
> 
> Similar to the way in which of_mdiobus_register() has a fallback to the
> non-DT based mdiobus_register() when CONFIG_OF is not set, we can create
> a shim for the device-managed devm_of_mdiobus_register() which calls
> devm_mdiobus_register() and discards the struct device_node *.
> 
> In particular, this solves a build issue with the qca8k DSA driver which
> uses devm_of_mdiobus_register and can be compiled without CONFIG_OF.
> 
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Signed-off-by: Vladimir Oltean <olteanv@gmail.com>

This should be O.K.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

Thanks
    Andrew

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

* Re: linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c)
  2021-05-18 17:33     ` Andrew Lunn
@ 2021-05-18 18:53       ` John Crispin
  0 siblings, 0 replies; 13+ messages in thread
From: John Crispin @ 2021-05-18 18:53 UTC (permalink / raw)
  To: Andrew Lunn, Vladimir Oltean
  Cc: Randy Dunlap, Stephen Rothwell, Linux Next Mailing List,
	Linux Kernel Mailing List, netdev, Ansuel Smith, Vivien Didelot,
	Florian Fainelli


On 18.05.21 19:33, Andrew Lunn wrote:
>> Would something like this work?
>>
>> -----------------------------[ cut here ]-----------------------------
>> >From 36c0b3f04ebfa51e52bd1bc2dc447d12d1c6e119 Mon Sep 17 00:00:00 2001
>> From: Vladimir Oltean <olteanv@gmail.com>
>> Date: Tue, 18 May 2021 19:39:18 +0300
>> Subject: [PATCH] net: mdio: provide shim implementation of
>>   devm_of_mdiobus_register
>>
>> Similar to the way in which of_mdiobus_register() has a fallback to the
>> non-DT based mdiobus_register() when CONFIG_OF is not set, we can create
>> a shim for the device-managed devm_of_mdiobus_register() which calls
>> devm_mdiobus_register() and discards the struct device_node *.
>>
>> In particular, this solves a build issue with the qca8k DSA driver which
>> uses devm_of_mdiobus_register and can be compiled without CONFIG_OF.
>>
>> Reported-by: Randy Dunlap <rdunlap@infradead.org>
>> Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
> This should be O.K.
>
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
>
> Thanks
>      Andrew

Just did a x86 build with the patch applied and it completed ...

Acked-by: John Crispin <john@phrozen.org>


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

* Re: linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o)
  2021-05-18 17:02 ` linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o) Randy Dunlap
@ 2021-05-25 17:30   ` Randy Dunlap
  2021-05-25 18:26     ` Daniel Borkmann
  0 siblings, 1 reply; 13+ messages in thread
From: Randy Dunlap @ 2021-05-25 17:30 UTC (permalink / raw)
  To: Stephen Rothwell, Linux Next Mailing List
  Cc: Linux Kernel Mailing List, netdev, bpf, Alexei Starovoitov,
	Daniel Borkmann, Andrii Nakryiko

On 5/18/21 10:02 AM, Randy Dunlap wrote:
> On 5/18/21 2:27 AM, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20210514:
>>
> 
> on i386:
> # CONFIG_NET is not set
> 
> ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto':
> bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto'
> ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto'
> 
> 
> Full randconfig file is attached.
> 

Hi,
I am still seeing this build error in linux-next-20210525.

-- 
~Randy
Reported-by: Randy Dunlap <rdunlap@infradead.org>


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

* Re: linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o)
  2021-05-25 17:30   ` Randy Dunlap
@ 2021-05-25 18:26     ` Daniel Borkmann
  2021-05-25 18:31       ` Daniel Borkmann
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel Borkmann @ 2021-05-25 18:26 UTC (permalink / raw)
  To: Randy Dunlap, Stephen Rothwell, Linux Next Mailing List
  Cc: Linux Kernel Mailing List, netdev, bpf, Alexei Starovoitov,
	Andrii Nakryiko

On 5/25/21 7:30 PM, Randy Dunlap wrote:
> On 5/18/21 10:02 AM, Randy Dunlap wrote:
>> On 5/18/21 2:27 AM, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> Changes since 20210514:
>>>
>>
>> on i386:
>> # CONFIG_NET is not set
>>
>> ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto':
>> bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto'
>> ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto'
>>
>>
>> Full randconfig file is attached.
>>
> 
> Hi,
> I am still seeing this build error in linux-next-20210525.

Will take a look and get back.

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

* Re: linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o)
  2021-05-25 18:26     ` Daniel Borkmann
@ 2021-05-25 18:31       ` Daniel Borkmann
  2021-05-25 19:01         ` Randy Dunlap
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel Borkmann @ 2021-05-25 18:31 UTC (permalink / raw)
  To: Randy Dunlap, Stephen Rothwell, Linux Next Mailing List
  Cc: Linux Kernel Mailing List, netdev, bpf, Alexei Starovoitov,
	Andrii Nakryiko

Hi Randy,

On 5/25/21 8:26 PM, Daniel Borkmann wrote:
> On 5/25/21 7:30 PM, Randy Dunlap wrote:
>> On 5/18/21 10:02 AM, Randy Dunlap wrote:
>>> On 5/18/21 2:27 AM, Stephen Rothwell wrote:
>>>> Hi all,
>>>>
>>>> Changes since 20210514:
>>>>
>>>
>>> on i386:
>>> # CONFIG_NET is not set
>>>
>>> ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto':
>>> bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto'
>>> ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto'
>>>
>>>
>>> Full randconfig file is attached.
>>>
>>
>> Hi,
>> I am still seeing this build error in linux-next-20210525.
> 
> Will take a look and get back.

This should resolve it:

diff --git a/kernel/bpf/bpf_lsm.c b/kernel/bpf/bpf_lsm.c
index 5efb2b24012c..da471bf01b97 100644
--- a/kernel/bpf/bpf_lsm.c
+++ b/kernel/bpf/bpf_lsm.c
@@ -107,10 +107,12 @@ bpf_lsm_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)
  		return &bpf_inode_storage_get_proto;
  	case BPF_FUNC_inode_storage_delete:
  		return &bpf_inode_storage_delete_proto;
+#ifdef CONFIG_NET
  	case BPF_FUNC_sk_storage_get:
  		return &bpf_sk_storage_get_proto;
  	case BPF_FUNC_sk_storage_delete:
  		return &bpf_sk_storage_delete_proto;
+#endif /* CONFIG_NET */
  	case BPF_FUNC_spin_lock:
  		return &bpf_spin_lock_proto;
  	case BPF_FUNC_spin_unlock:

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

* Re: linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o)
  2021-05-25 18:31       ` Daniel Borkmann
@ 2021-05-25 19:01         ` Randy Dunlap
  2021-05-25 19:15           ` Daniel Borkmann
  0 siblings, 1 reply; 13+ messages in thread
From: Randy Dunlap @ 2021-05-25 19:01 UTC (permalink / raw)
  To: Daniel Borkmann, Stephen Rothwell, Linux Next Mailing List
  Cc: Linux Kernel Mailing List, netdev, bpf, Alexei Starovoitov,
	Andrii Nakryiko

On 5/25/21 11:31 AM, Daniel Borkmann wrote:
> Hi Randy,
> 
> On 5/25/21 8:26 PM, Daniel Borkmann wrote:
>> On 5/25/21 7:30 PM, Randy Dunlap wrote:
>>> On 5/18/21 10:02 AM, Randy Dunlap wrote:
>>>> On 5/18/21 2:27 AM, Stephen Rothwell wrote:
>>>>> Hi all,
>>>>>
>>>>> Changes since 20210514:
>>>>>
>>>>
>>>> on i386:
>>>> # CONFIG_NET is not set
>>>>
>>>> ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto':
>>>> bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto'
>>>> ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto'
>>>>
>>>>
>>>> Full randconfig file is attached.
>>>>
>>>
>>> Hi,
>>> I am still seeing this build error in linux-next-20210525.
>>
>> Will take a look and get back.
> 
> This should resolve it:

Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested


Thanks.

> 
> diff --git a/kernel/bpf/bpf_lsm.c b/kernel/bpf/bpf_lsm.c
> index 5efb2b24012c..da471bf01b97 100644
> --- a/kernel/bpf/bpf_lsm.c
> +++ b/kernel/bpf/bpf_lsm.c
> @@ -107,10 +107,12 @@ bpf_lsm_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)
>         return &bpf_inode_storage_get_proto;
>     case BPF_FUNC_inode_storage_delete:
>         return &bpf_inode_storage_delete_proto;
> +#ifdef CONFIG_NET
>     case BPF_FUNC_sk_storage_get:
>         return &bpf_sk_storage_get_proto;
>     case BPF_FUNC_sk_storage_delete:
>         return &bpf_sk_storage_delete_proto;
> +#endif /* CONFIG_NET */
>     case BPF_FUNC_spin_lock:
>         return &bpf_spin_lock_proto;
>     case BPF_FUNC_spin_unlock:


-- 
~Randy


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

* Re: linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o)
  2021-05-25 19:01         ` Randy Dunlap
@ 2021-05-25 19:15           ` Daniel Borkmann
  0 siblings, 0 replies; 13+ messages in thread
From: Daniel Borkmann @ 2021-05-25 19:15 UTC (permalink / raw)
  To: Randy Dunlap, Stephen Rothwell, Linux Next Mailing List
  Cc: Linux Kernel Mailing List, netdev, bpf, Alexei Starovoitov,
	Andrii Nakryiko

On 5/25/21 9:01 PM, Randy Dunlap wrote:
> On 5/25/21 11:31 AM, Daniel Borkmann wrote:
>> On 5/25/21 8:26 PM, Daniel Borkmann wrote:
>>> On 5/25/21 7:30 PM, Randy Dunlap wrote:
>>>> On 5/18/21 10:02 AM, Randy Dunlap wrote:
>>>>> On 5/18/21 2:27 AM, Stephen Rothwell wrote:
>>>>>> Hi all,
>>>>>>
>>>>>> Changes since 20210514:
>>>>>
>>>>> on i386:
>>>>> # CONFIG_NET is not set
>>>>>
>>>>> ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto':
>>>>> bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto'
>>>>> ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto'
>>>>>
>>>>> Full randconfig file is attached.
>>>>
>>>> Hi,
>>>> I am still seeing this build error in linux-next-20210525.
>>>
>>> Will take a look and get back.
>>
>> This should resolve it:
> 
> Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested

Thanks Randy, fix pushed here [0].

   [0] https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=3c9e8fec3c5a7833d891ac8e58fd9f6c2df0be91

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

end of thread, other threads:[~2021-05-25 19:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18  9:27 linux-next: Tree for May 18 Stephen Rothwell
2021-05-18 16:32 ` linux-next: Tree for May 18 (drivers/net/dsa/qca8k.c) Randy Dunlap
2021-05-18 16:43   ` Vladimir Oltean
2021-05-18 16:57     ` Randy Dunlap
2021-05-18 17:02       ` Vladimir Oltean
2021-05-18 17:33     ` Andrew Lunn
2021-05-18 18:53       ` John Crispin
2021-05-18 17:02 ` linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o) Randy Dunlap
2021-05-25 17:30   ` Randy Dunlap
2021-05-25 18:26     ` Daniel Borkmann
2021-05-25 18:31       ` Daniel Borkmann
2021-05-25 19:01         ` Randy Dunlap
2021-05-25 19:15           ` Daniel Borkmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.