Add rtc support for rn5t618 mfd
Subsystems (2)
v2 cover Add rtc support for rn5t618 mfd
In the variant rc5t619 the mfd has a rtc. This patchset adds support for it. To do so it adds the missing register defines in rn5t618.h and general irq handling for that.
Probably the irq definitions are the same except missing rtc + charger but due to missing information about that I do not add them. There might be some oddity about the charger irq which should be researched when adding the charger subdevice.
The rtc driver itself is based on
https://github.com/kobolabs/Kobo-Reader/blob/master/hw/imx6sll-clara/kernel.tar.bz2
but heavily reworked.
It was tested on the Kobo Clara HD.
Changes in v2:
- no dead code in irq code
- various improvements and cleanups in rtc driver itself
Andreas Kemnade (5):
mfd: rn5t618: prepare for irq handling
mfd: rn5t618: add irq support
mfd: rn5t618: add rtc related registers
mfd: rn5t618: add more subdevices
rtc: rtc-rc5t619: add ricoh rc5t619 RTC driver
drivers/mfd/Kconfig | 1 +
drivers/mfd/Makefile | 2 +
drivers/mfd/{rn5t618.c => rn5t618-core.c} | 49 ++-
drivers/mfd/rn5t618-irq.c | 85 ++++
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-rc5t619.c | 488 ++++++++++++++++++++++
include/linux/mfd/rn5t618.h | 27 ++
8 files changed, 661 insertions(+), 2 deletions(-)
rename drivers/mfd/{rn5t618.c => rn5t618-core.c} (79%)
create mode 100644 drivers/mfd/rn5t618-irq.c
create mode 100644 drivers/rtc/rtc-rc5t619.cSignature · 1 line
2.20.1
PATCH v2 1/5 mfd: rn5t618: prepare for irq handling
rn5t618 currently lacks irq handling. To prepare implementation in a rn5t618-irq.c, move main file to rn5t618-core.c
---
drivers/mfd/Makefile | 2 ++
drivers/mfd/{rn5t618.c => rn5t618-core.c} | 0
2 files changed, 2 insertions(+)
rename drivers/mfd/{rn5t618.c => rn5t618-core.c} (100%)drivers/mfd/Makefile +2 -0
@@ -216,6 +216,8 @@ obj-$(CONFIG_MFD_PALMAS) += palmas.o obj-$(CONFIG_MFD_VIPERBOARD) += viperboard.o obj-$(CONFIG_MFD_RC5T583) += rc5t583.o rc5t583-irq.o obj-$(CONFIG_MFD_RK808) += rk808.o + +rn5t618-objs := rn5t618-core.o obj-$(CONFIG_MFD_RN5T618) += rn5t618.o obj-$(CONFIG_MFD_SEC_CORE) += sec-core.o sec-irq.o obj-$(CONFIG_MFD_SYSCON) += syscon.o
drivers/mfd/rn5t618-core.c renamed from drivers/mfd/rn5t618.c +0 -0
Signature · 1 line
2.20.1
kbuild test robot
build botRe: [PATCH v2 1/5] mfd: rn5t618: prepare for irq handling
Thank you for the patch! Perhaps something to improve:
Hi Andreas,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on ljones-mfd/for-mfd-next]
[also build test WARNING on v5.4-rc7 next-20191115]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Andreas-Kemnade/Add-rtc-support-for-rn5t618-mfd/20191102-142337 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next config: powerpc-randconfig-a001-20191115 (attached as .config) compiler: powerpc64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
All warnings (new ones prefixed by >>):
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/devtmpfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/sysfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/generic_ops.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/common.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/qos.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/runtime.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/wakeirq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/clock_ops.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/firmware_loader/main.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/firmware_loader/fallback.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/node.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/module.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regcache.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regcache-rbtree.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regcache-flat.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-debugfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-mmio.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-w1.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-i3c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/soc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/devcoredump.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/dummy-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/ics932s401.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/apds990x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/apds9802als.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/isl29003.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/ds1682.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/c2port/core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/eeprom/eeprom.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/eeprom/max6875.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/eeprom/eeprom_93cx6.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera-lpt.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera-jtag.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera-comp.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/sram.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/echo/echo.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/pvpanic.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/xilinx_sdfec.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/88pm800.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/88pm80x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/act8945a.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/sm501.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/bcm590xx.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/bd9571mwv.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/htc-i2cpld.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lp873x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lp87565.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/ti_am335x_tscadc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-otp.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-auxadc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm8994-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm8994-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm8994-regmap.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps6105x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps6507x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps65086.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps65217.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps65218.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps80031.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl4030-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl6030-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl4030-audio.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mc13xxx-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mc13xxx-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mfd-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/smsc-ece1099.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da903x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lp3943.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/ti-lmu.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da9063-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da9063-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da9063-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max14577.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max77693.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max77843.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8925-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8925-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8998.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8998-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-adc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-gpio.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/kempld-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wl1273-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/si476x-cmd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/si476x-prop.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/si476x-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/aat2870-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/atmel-flexcom.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/palmas.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rk808.o' being placed in section `.ctors.65435'.
>> powerpc64-linux-ld: warning: orphan section `.ctors.65435' from `drivers/mfd/rn5t618-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/syscon.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lm3533-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lm3533-ctrlbank.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/retu-mfd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/as3722.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/menf21bmc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rt5033.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/sky81452.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mt6397-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mt6397-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rohm-bd70528.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dax/super.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dax/bus.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-buf.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-fence.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-fence-array.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-fence-chain.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-resv.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/seqno-fence.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/sync_file.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/udmabuf.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/selftest.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/st-dma-fence.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-ioctls.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-io.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-iops.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-lib.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-probe.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-taskfile.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-pm.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-park.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-sysfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-devsets.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-io-std.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-eh.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-atapi.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-proc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-gd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-floppy.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-floppy_ioctl.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-floppy_proc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-tape.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-cs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide_platform.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/hosts.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_ioctl.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsicam.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_error.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_lib.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_lib_dma.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_scan.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_sysfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_devinfo.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_sysctl.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_trace.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_logging.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_pm.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_common.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/raid_class.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_transport_iscsi.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_transport_sas.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_init.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_phy.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_port.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_event.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_discover.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_expander.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_scsi_host.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_task.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/sd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/sd_dif.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/sg.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/ch.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/trace.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/multipath.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/lightnvm.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/fabrics.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/fc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/configfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/admin-cmd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/fabrics-cmd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/discovery.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/io-cmd-file.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/io-cmd-bdev.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/trace.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/fc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/fcloop.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdcore.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdsuper.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdconcat.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdpart.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdchar.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/parsers/ar7part.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/parsers/cmdlinepart.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/parsers/redboot.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtd_blkdevs.o' being placed in section `.ctors.65435'.
--
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/devtmpfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/sysfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/generic_ops.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/common.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/qos.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/runtime.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/wakeirq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/clock_ops.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/firmware_loader/main.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/firmware_loader/fallback.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/node.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/module.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regcache.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regcache-rbtree.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regcache-flat.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-debugfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-mmio.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-w1.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-i3c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/soc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/devcoredump.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/dummy-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/ics932s401.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/apds990x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/apds9802als.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/isl29003.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/ds1682.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/c2port/core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/eeprom/eeprom.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/eeprom/max6875.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/eeprom/eeprom_93cx6.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera-lpt.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera-jtag.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera-comp.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/sram.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/echo/echo.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/pvpanic.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/xilinx_sdfec.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/88pm800.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/88pm80x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/act8945a.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/sm501.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/bcm590xx.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/bd9571mwv.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/htc-i2cpld.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lp873x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lp87565.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/ti_am335x_tscadc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-otp.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-auxadc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm8994-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm8994-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm8994-regmap.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps6105x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps6507x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps65086.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps65217.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps65218.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps80031.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl4030-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl6030-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl4030-audio.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mc13xxx-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mc13xxx-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mfd-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/smsc-ece1099.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da903x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lp3943.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/ti-lmu.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da9063-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da9063-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da9063-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max14577.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max77693.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max77843.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8925-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8925-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8998.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8998-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-adc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-gpio.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/kempld-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wl1273-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/si476x-cmd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/si476x-prop.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/si476x-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/aat2870-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/atmel-flexcom.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/palmas.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rk808.o' being placed in section `.ctors.65435'.
>> powerpc64-linux-ld: warning: orphan section `.ctors.65435' from `drivers/mfd/rn5t618-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/syscon.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lm3533-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lm3533-ctrlbank.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/retu-mfd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/as3722.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/menf21bmc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rt5033.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/sky81452.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mt6397-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mt6397-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rohm-bd70528.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dax/super.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dax/bus.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-buf.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-fence.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-fence-array.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-fence-chain.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-resv.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/seqno-fence.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/sync_file.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/udmabuf.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/selftest.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/st-dma-fence.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-ioctls.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-io.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-iops.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-lib.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-probe.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-taskfile.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-pm.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-park.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-sysfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-devsets.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-io-std.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-eh.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-atapi.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-proc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-gd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-floppy.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-floppy_ioctl.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-floppy_proc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-tape.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-cs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide_platform.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/hosts.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_ioctl.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsicam.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_error.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_lib.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_lib_dma.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_scan.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_sysfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_devinfo.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_sysctl.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_trace.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_logging.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_pm.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_common.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/raid_class.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_transport_iscsi.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_transport_sas.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_init.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_phy.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_port.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_event.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_discover.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_expander.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_scsi_host.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_task.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/sd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/sd_dif.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/sg.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/ch.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/trace.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/multipath.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/lightnvm.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/fabrics.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/fc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/configfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/admin-cmd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/fabrics-cmd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/discovery.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/io-cmd-file.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/io-cmd-bdev.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/trace.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/fc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/fcloop.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdcore.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdsuper.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdconcat.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdpart.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdchar.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/parsers/ar7part.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/parsers/cmdlinepart.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/parsers/redboot.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtd_blkdevs.o' being placed in section `.ctors.65435'.
..
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
PATCH v2 2/5 mfd: rn5t618: add irq support
In reply to Andreas KemnadeThis adds support for irq handling in the rc5t619 which is required for properly implementing subdevices like rtc.
For now only definitions for the variant rc5t619 are included.
---
Changes in v2:
- no dead code, did some more testing and thinking for that
- remove extra empty lines
drivers/mfd/Kconfig | 1 + drivers/mfd/Makefile | 2 +- drivers/mfd/rn5t618-core.c | 35 ++++++++++++++- drivers/mfd/rn5t618-irq.c | 85 +++++++++++++++++++++++++++++++++++++ include/linux/mfd/rn5t618.h | 16 +++++++ 5 files changed, 137 insertions(+), 2 deletions(-) create mode 100644 drivers/mfd/rn5t618-irq.c
drivers/mfd/Kconfig +1 -0
@@ -1057,6 +1057,7 @@ config MFD_RN5T618 depends on OF select MFD_CORE select REGMAP_I2C + select REGMAP_IRQ help Say yes here to add support for the Ricoh RN5T567, RN5T618, RC5T619 PMIC.
drivers/mfd/Makefile +1 -1
@@ -217,7 +217,7 @@ obj-$(CONFIG_MFD_VIPERBOARD) += viperboard.o obj-$(CONFIG_MFD_RC5T583) += rc5t583.o rc5t583-irq.o obj-$(CONFIG_MFD_RK808) += rk808.o -rn5t618-objs := rn5t618-core.o +rn5t618-objs := rn5t618-core.o rn5t618-irq.o obj-$(CONFIG_MFD_RN5T618) += rn5t618.o obj-$(CONFIG_MFD_SEC_CORE) += sec-core.o sec-irq.o obj-$(CONFIG_MFD_SYSCON) += syscon.o
drivers/mfd/rn5t618-core.c +34 -1
@@ -8,6 +8,7 @@#include <linux/delay.h> #include <linux/i2c.h> +#include <linux/interrupt.h> #include <linux/mfd/core.h> #include <linux/mfd/rn5t618.h> #include <linux/module.h>
@@ -105,7 +106,8 @@ static int rn5t618_i2c_probe(struct i2c_client *i2c,i2c_set_clientdata (i2c, priv); priv->variant = (long )of_id->data; - + priv->chip_irq = i2c->irq; + priv->dev = &i2c->dev; priv->regmap =devm_regmap_init_i2c (i2c, &rn5t618_regmap_config);if (IS_ERR (priv->regmap)) { ret =PTR_ERR (priv->regmap);
@@ -137,6 +139,11 @@ static int rn5t618_i2c_probe(struct i2c_client *i2c,return ret; } +if (priv->chip_irq >0 ) { +if (rn5t618_irq_init (priv)) + priv->chip_irq =0 ; + } +return 0 ; }
@@ -154,15 +161,41 @@ static int rn5t618_i2c_remove(struct i2c_client *i2c)return 0 ; } +static int __maybe_unused rn5t618_i2c_suspend (struct device *dev) +{ +struct rn5t618 *priv =dev_get_drvdata (dev); + +if (priv->chip_irq) +disable_irq (priv->chip_irq); + +return 0 ; +} + +static int __maybe_unused rn5t618_i2c_resume (struct device *dev) +{ +struct rn5t618 *priv =dev_get_drvdata (dev); + +if (priv->chip_irq) +enable_irq (priv->chip_irq); + +return 0 ; +} + +static const struct i2c_device_id rn5t618_i2c_id[] = { { } };MODULE_DEVICE_TABLE (i2c, rn5t618_i2c_id); +static SIMPLE_DEV_PM_OPS(rn5t618_i2c_dev_pm_ops, + rn5t618_i2c_suspend, + rn5t618_i2c_resume); +static struct i2c_driver rn5t618_i2c_driver = { .driver = { .name ="rn5t618" , .of_match_table =of_match_ptr (rn5t618_of_match), + .pm = &rn5t618_i2c_dev_pm_ops, }, .probe = rn5t618_i2c_probe, .remove = rn5t618_i2c_remove,
drivers/mfd/rn5t618-irq.c new file +85 -0
85 lines not on this page · raw message
include/linux/mfd/rn5t618.h +16 -0
@@ -242,9 +242,25 @@ enum { RC5T619, }; +/* RN5T618 IRQ definitions */ +enum { +RN5T618_IRQ_SYS , +RN5T618_IRQ_DCDC , +RN5T618_IRQ_RTC , +RN5T618_IRQ_ADC , +RN5T618_IRQ_GPIO , +RN5T618_IRQ_CHG , +RN5T618_NR_IRQS , +}; +struct rn5t618 {struct regmap *regmap; +struct device *dev;long variant; + +int chip_irq; +struct regmap_irq_chip_data *irq_data; }; +extern int rn5t618_irq_init (struct rn5t618 *rn5t618);#endif /* __LINUX_MFD_RN5T618_H */
Signature · 1 line
2.20.1
Re: [PATCH v2 2/5] mfd: rn5t618: add irq support
Quoted 5 lines · On Thu, 31 Oct 2019 22:38:32 +0100 Andreas Kemnade <[email protected]> wrote:
This adds support for irq handling in the rc5t619 which is required for properly implementing subdevices like rtc.
For now only definitions for the variant rc5t619 are included.Signed-off-by Andreas Kemnade <[email protected]>
after having some more look at it, I think I should note the interrupts property in the bindings documentation since it gets used by using i2c->irq. Will probably send a v3 the next days.
Regards,
Andreas
kbuild test robot
build botRe: [PATCH v2 2/5] mfd: rn5t618: add irq support
In reply to Andreas KemnadeThank you for the patch! Perhaps something to improve:
Hi Andreas,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on ljones-mfd/for-mfd-next]
[also build test WARNING on v5.4-rc7 next-20191115]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Andreas-Kemnade/Add-rtc-support-for-rn5t618-mfd/20191102-142337 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next config: powerpc-randconfig-a001-20191115 (attached as .config) compiler: powerpc64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
All warnings (new ones prefixed by >>):
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/sysfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/generic_ops.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/common.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/qos.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/runtime.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/wakeirq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/clock_ops.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/firmware_loader/main.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/firmware_loader/fallback.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/node.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/module.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regcache.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regcache-rbtree.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regcache-flat.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-debugfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-mmio.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-w1.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-i3c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/soc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/devcoredump.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/dummy-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/ics932s401.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/apds990x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/apds9802als.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/isl29003.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/ds1682.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/c2port/core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/eeprom/eeprom.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/eeprom/max6875.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/eeprom/eeprom_93cx6.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera-lpt.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera-jtag.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera-comp.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/sram.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/echo/echo.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/pvpanic.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/xilinx_sdfec.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/88pm800.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/88pm80x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/act8945a.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/sm501.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/bcm590xx.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/bd9571mwv.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/htc-i2cpld.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lp873x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lp87565.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/ti_am335x_tscadc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-otp.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-auxadc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm8994-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm8994-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm8994-regmap.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps6105x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps6507x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps65086.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps65217.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps65218.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps80031.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl4030-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl6030-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl4030-audio.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mc13xxx-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mc13xxx-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mfd-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/smsc-ece1099.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da903x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lp3943.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/ti-lmu.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da9063-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da9063-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da9063-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max14577.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max77693.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max77843.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8925-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8925-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8998.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8998-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-adc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-gpio.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/kempld-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wl1273-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/si476x-cmd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/si476x-prop.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/si476x-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/aat2870-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/atmel-flexcom.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/palmas.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rk808.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rn5t618-core.o' being placed in section `.ctors.65435'.
>> powerpc64-linux-ld: warning: orphan section `.ctors.65435' from `drivers/mfd/rn5t618-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/syscon.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lm3533-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lm3533-ctrlbank.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/retu-mfd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/as3722.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/menf21bmc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rt5033.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/sky81452.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mt6397-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mt6397-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rohm-bd70528.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dax/super.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dax/bus.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-buf.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-fence.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-fence-array.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-fence-chain.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-resv.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/seqno-fence.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/sync_file.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/udmabuf.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/selftest.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/st-dma-fence.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-ioctls.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-io.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-iops.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-lib.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-probe.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-taskfile.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-pm.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-park.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-sysfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-devsets.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-io-std.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-eh.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-atapi.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-proc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-gd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-floppy.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-floppy_ioctl.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-floppy_proc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-tape.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-cs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide_platform.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/hosts.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_ioctl.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsicam.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_error.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_lib.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_lib_dma.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_scan.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_sysfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_devinfo.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_sysctl.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_trace.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_logging.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_pm.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_common.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/raid_class.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_transport_iscsi.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_transport_sas.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_init.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_phy.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_port.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_event.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_discover.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_expander.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_scsi_host.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_task.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/sd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/sd_dif.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/sg.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/ch.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/trace.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/multipath.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/lightnvm.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/fabrics.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/fc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/configfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/admin-cmd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/fabrics-cmd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/discovery.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/io-cmd-file.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/io-cmd-bdev.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/trace.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/fc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/fcloop.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdcore.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdsuper.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdconcat.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdpart.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdchar.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/parsers/ar7part.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/parsers/cmdlinepart.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/parsers/redboot.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtd_blkdevs.o' being placed in section `.ctors.65435'.
--
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/sysfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/generic_ops.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/common.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/qos.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/runtime.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/wakeirq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/power/clock_ops.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/firmware_loader/main.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/firmware_loader/fallback.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/node.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/module.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regcache.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regcache-rbtree.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regcache-flat.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-debugfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-mmio.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-w1.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/regmap/regmap-i3c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/soc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/base/devcoredump.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/dummy-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/ics932s401.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/apds990x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/apds9802als.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/isl29003.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/ds1682.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/c2port/core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/eeprom/eeprom.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/eeprom/max6875.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/eeprom/eeprom_93cx6.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera-lpt.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera-jtag.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera-comp.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/altera-stapl/altera.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/sram.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/echo/echo.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/pvpanic.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/misc/xilinx_sdfec.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/88pm800.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/88pm80x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/act8945a.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/sm501.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/bcm590xx.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/bd9571mwv.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/htc-i2cpld.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lp873x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lp87565.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/ti_am335x_tscadc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-otp.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-auxadc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm831x-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm8994-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm8994-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wm8994-regmap.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps6105x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps6507x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps65086.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps65217.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps65218.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/tps80031.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl4030-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl6030-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/twl4030-audio.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mc13xxx-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mc13xxx-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mfd-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/smsc-ece1099.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da903x.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lp3943.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/ti-lmu.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da9063-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da9063-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/da9063-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max14577.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max77693.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max77843.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8925-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8925-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8998.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/max8998-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-adc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/pcf50633-gpio.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/kempld-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/wl1273-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/si476x-cmd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/si476x-prop.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/si476x-i2c.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/aat2870-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/atmel-flexcom.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/palmas.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rk808.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rn5t618-core.o' being placed in section `.ctors.65435'.
>> powerpc64-linux-ld: warning: orphan section `.ctors.65435' from `drivers/mfd/rn5t618-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/syscon.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lm3533-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/lm3533-ctrlbank.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/retu-mfd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/as3722.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/menf21bmc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rt5033.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/sky81452.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mt6397-core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/mt6397-irq.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mfd/rohm-bd70528.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dax/super.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dax/bus.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-buf.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-fence.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-fence-array.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-fence-chain.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/dma-resv.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/seqno-fence.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/sync_file.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/udmabuf.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/selftest.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/dma-buf/st-dma-fence.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-ioctls.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-io.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-iops.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-lib.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-probe.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-taskfile.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-pm.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-park.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-sysfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-devsets.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-io-std.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-eh.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-atapi.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-proc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-gd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-floppy.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-floppy_ioctl.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-floppy_proc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-tape.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide-cs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/ide/ide_platform.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/hosts.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_ioctl.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsicam.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_error.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_lib.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_lib_dma.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_scan.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_sysfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_devinfo.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_sysctl.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_trace.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_logging.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_pm.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_common.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/raid_class.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_transport_iscsi.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/scsi_transport_sas.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_init.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_phy.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_port.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_event.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_discover.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_expander.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_scsi_host.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/libsas/sas_task.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/sd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/sd_dif.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/sg.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/scsi/ch.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/trace.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/multipath.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/lightnvm.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/fabrics.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/host/fc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/core.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/configfs.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/admin-cmd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/fabrics-cmd.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/discovery.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/io-cmd-file.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/io-cmd-bdev.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/trace.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/fc.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/nvme/target/fcloop.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdcore.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdsuper.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdconcat.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdpart.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtdchar.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/parsers/ar7part.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/parsers/cmdlinepart.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/parsers/redboot.o' being placed in section `.ctors.65435'.
powerpc64-linux-ld: warning: orphan section .ctors.65435' from drivers/mtd/mtd_blkdevs.o' being placed in section `.ctors.65435'.
..
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
Re: [PATCH v2 2/5] mfd: rn5t618: add irq support
In reply to Andreas KemnadeQuoted 90 lines · Andreas Kemnade
This adds support for irq handling in the rc5t619 which is required for properly implementing subdevices like rtc.
For now only definitions for the variant rc5t619 are included.Signed-off-by Andreas Kemnade <[email protected]>---
Changes in v2:
- no dead code, did some more testing and thinking for that
- remove extra empty linesdrivers/mfd/Kconfig | 1 + drivers/mfd/Makefile | 2 +- drivers/mfd/rn5t618-core.c | 35 ++++++++++++++- drivers/mfd/rn5t618-irq.c | 85 +++++++++++++++++++++++++++++++++++++ include/linux/mfd/rn5t618.h | 16 +++++++ 5 files changed, 137 insertions(+), 2 deletions(-) create mode 100644 drivers/mfd/rn5t618-irq.cdrivers/mfd/Kconfig +1
-0@@ -1057,6 +1057,7 @@ config MFD_RN5T618 depends on OF select MFD_CORE select REGMAP_I2C + select REGMAP_IRQ help Say yes here to add support for the Ricoh RN5T567, RN5T618, RC5T619 PMIC.drivers/mfd/Makefile +1
-1@@ -217,7 +217,7 @@ obj-$(CONFIG_MFD_VIPERBOARD) += viperboard.o obj-$(CONFIG_MFD_RC5T583) += rc5t583.o rc5t583-irq.o obj-$(CONFIG_MFD_RK808) += rk808.o -rn5t618-objs := rn5t618-core.o +rn5t618-objs := rn5t618-core.o rn5t618-irq.o obj-$(CONFIG_MFD_RN5T618) += rn5t618.o obj-$(CONFIG_MFD_SEC_CORE) += sec-core.o sec-irq.o obj-$(CONFIG_MFD_SYSCON) += syscon.odrivers/mfd/rn5t618-core.c +17
-1@@ -8,6 +8,7 @@#include <linux/delay.h> #include <linux/i2c.h> +#include <linux/interrupt.h> #include <linux/mfd/core.h> #include <linux/mfd/rn5t618.h> #include <linux/module.h> @@ -105,7 +106,8 @@ static int rn5t618_i2c_probe(struct i2c_client *i2c,i2c_set_clientdata (i2c, priv); priv->variant = (long )of_id->data; - + priv->chip_irq = i2c->irq; + priv->dev = &i2c->dev; priv->regmap =devm_regmap_init_i2c (i2c, &rn5t618_regmap_config);if (IS_ERR (priv->regmap)) { ret =PTR_ERR (priv->regmap);@@ -137,6 +139,11 @@ static int rn5t618_i2c_probe(struct i2c_client *i2c,return ret; } +if (priv->chip_irq >0 ) { +if (rn5t618_irq_init (priv)) + priv->chip_irq =0 ; + } +return 0 ; }@@ -154,15 +161,41 @@ static int rn5t618_i2c_remove(struct i2c_client *i2c)return 0 ; } +static int __maybe_unused rn5t618_i2c_suspend (struct device *dev) +{ +struct rn5t618 *priv =dev_get_drvdata (dev); + +if (priv->chip_irq) +disable_irq (priv->chip_irq); + +return 0 ; +}
drivers/mfd/rn5t618-core.c static int rn5t618_i2c_remove(struct i2c_client *i2c) · line 182
Quoted 10 lines
drivers/mfd/rn5t618-core.c +10
-0+ +static int __maybe_unused rn5t618_i2c_resume (struct device *dev) +{ +struct rn5t618 *priv =dev_get_drvdata (dev); + +if (priv->chip_irq) +enable_irq (priv->chip_irq); + +return 0 ; +}
For what it's worth, the boards I have (Archos 101 Oxygen and Pipo P9) with rc5t619 use GPIO for power button.
So IRQ would need to be enabled in suspend for this to work. Also, since you actually added alarm support, perhaps you want to wake-up from suspend using alarm as well?
Re: [PATCH v2 2/5] mfd: rn5t618: add irq support
On Wed, 20 Nov 2019 08:54:44 +0100
Pierre-Hugues Husson <[email protected]> wrote:
[...]
Quoted 18 lines
Quoted 18 lines
drivers/mfd/rn5t618-core.c +17
-0+static int __maybe_unused rn5t618_i2c_suspend (struct device *dev) +{ +struct rn5t618 *priv =dev_get_drvdata (dev); + +if (priv->chip_irq) +disable_irq (priv->chip_irq); + +return 0 ; +} + +static int __maybe_unused rn5t618_i2c_resume (struct device *dev) +{ +struct rn5t618 *priv =dev_get_drvdata (dev); + +if (priv->chip_irq) +enable_irq (priv->chip_irq); +
Quoted 9 lines
Review
Quoted 2 lines
(quoted diff) +2
-0+ return 0; +}For what it's worth, the boards I have (Archos 101 Oxygen and Pipo P9) with rc5t619 use GPIO for power button.
So IRQ would need to be enabled in suspend for this to work. Also, since you actually added alarm support, perhaps you want to wake-up from suspend using alarm as well?
Already tested that, that works, because device_init_wakeup() is used. disable_irq() is needed because we cannot do i2c that early after resume. Other mfd drivers do thas as well and waking up works.
Regards,
Andreas
PATCH v2 3/5 mfd: rn5t618: add rtc related registers
In reply to Andreas KemnadeDefines for some rtc related registers were missing, also they were not included in the volatile register list
--- drivers/mfd/rn5t618-core.c | 2 ++ include/linux/mfd/rn5t618.h | 11 +++++++++++ 2 files changed, 13 insertions(+)
drivers/mfd/rn5t618-core.c +2 -0
@@ -32,6 +32,8 @@ static bool rn5t618_volatile_reg(struct device *dev, unsigned int reg)case RN5T618_IR_GPF :case RN5T618_MON_IOIN :case RN5T618_INTMON : + case RN5T618_RTC_CTRL1 ... RN5T618_RTC_CTRL2: + case RN5T618_RTC_SECONDS ... RN5T618_RTC_YEAR:return true;default :return false;
include/linux/mfd/rn5t618.h +11 -0
@@ -139,6 +139,17 @@#define RN5T618_INTPOL 0x9c#define RN5T618_INTEN 0x9d#define RN5T618_INTMON 0x9e + +#define RN5T618_RTC_SECONDS 0xA0 +#define RN5T618_RTC_MDAY 0xA4 +#define RN5T618_RTC_MONTH 0xA5 +#define RN5T618_RTC_YEAR 0xA6 +#define RN5T618_RTC_ADJUST 0xA7 +#define RN5T618_RTC_ALARM_Y_SEC 0xA8 +#define RN5T618_RTC_DAL_MONTH 0xAC +#define RN5T618_RTC_CTRL1 0xAE +#define RN5T618_RTC_CTRL2 0xAF +#define RN5T618_PREVINDAC 0xb0#define RN5T618_BATDAC 0xb1#define RN5T618_CHGCTL1 0xb3
Signature · 1 line
2.20.1
PATCH v2 4/5 mfd: rn5t618: add more subdevices
In reply to Andreas KemnadeThe rc5t619 has a rtc which is missing in the
rn5t618. Add it as subdevice to prepare for their implementation
--- drivers/mfd/rn5t618-core.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
drivers/mfd/rn5t618-core.c +11 -1
@@ -21,6 +21,12 @@ static const struct mfd_cell rn5t618_cells[] = { { .name = "rn5t618-wdt" }, }; +static const struct mfd_cell rc5t619_cells[] = { + { .name ="rn5t618-regulator" }, + { .name ="rc5t619-rtc" }, + { .name ="rn5t618-wdt" }, +}; +static bool rn5t618_volatile_reg (struct device *dev,unsigned int reg) {switch (reg) {
@@ -117,7 +123,11 @@ static int rn5t618_i2c_probe(struct i2c_client *i2c,return ret; } - ret =devm_mfd_add_devices (&i2c->dev,-1 , rn5t618_cells, +if (priv->variant ==RC5T619 ) + ret =devm_mfd_add_devices (&i2c->dev,-1 , rc5t619_cells, +ARRAY_SIZE (rc5t619_cells),NULL ,0 ,NULL ); +else + ret =devm_mfd_add_devices (&i2c->dev,-1 , rn5t618_cells,ARRAY_SIZE (rn5t618_cells),NULL ,0 ,NULL );if (ret) {dev_err (&i2c->dev,"failed to add sub-devices: %d\n" , ret);
Signature · 1 line
2.20.1
PATCH v2 5/5 rtc: rtc-rc5t619: add ricoh rc5t619 RTC driver
In reply to Andreas KemnadeAdd an RTC driver for the RTC device on Ricoh MFD rc5t619, which is implemented as a variant of rn5t618.
rtc-range output:
Testing 2000-02-28 23:59:59.
OK
Testing 2038-01-19 03:14:07.
OK
Testing 2069-12-31 23:59:59.
OK
Testing 2099-12-31 23:59:59.
KO RTC_RD_TIME returned 22 (line 138)
Testing 2100-02-28 23:59:59.
KO RTC_SET_TIME returned 34 (line 122)
Testing 2106-02-07 06:28:15.
KO RTC_SET_TIME returned 34 (line 122)
Testing 2262-04-11 23:47:16.
KO RTC_SET_TIME returned 34 (line 122)
---
Changes in v2:
- correct subject line
- reset pon flag not at probe but later
- initialize things only on pon
- 12h handling
- ranges
- style cleanup
- less magic values
drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-rc5t619.c | 488 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 499 insertions(+) create mode 100644 drivers/rtc/rtc-rc5t619.c
drivers/rtc/Kconfig +10 -0
@@ -600,6 +600,16 @@ config RTC_DRV_RC5T583 This driver can also be built as a module. If so, the module will be called rtc-rc5t583. +config RTC_DRV_RC5T619 + tristate "RICOH RC5T619 RTC driver" + depends on MFD_RN5T618 + help + If you say yes here you get support for the RTC on the + RICOH RC5T619 chips. + + This driver can also be built as a module. If so, the module + will be called rtc-rc5t619. + config RTC_DRV_S35390A tristate "Seiko Instruments S-35390A" select BITREVERSE
drivers/rtc/Makefile +1 -0
@@ -137,6 +137,7 @@ obj-$(CONFIG_RTC_DRV_PXA) += rtc-pxa.o obj-$(CONFIG_RTC_DRV_R7301) += rtc-r7301.o obj-$(CONFIG_RTC_DRV_R9701) += rtc-r9701.o obj-$(CONFIG_RTC_DRV_RC5T583) += rtc-rc5t583.o +obj-$(CONFIG_RTC_DRV_RC5T619) += rtc-rc5t619.o obj-$(CONFIG_RTC_DRV_RK808) += rtc-rk808.o obj-$(CONFIG_RTC_DRV_RP5C01) += rtc-rp5c01.o obj-$(CONFIG_RTC_DRV_RS5C313) += rtc-rs5c313.o
drivers/rtc/rtc-rc5t619.c new file +488 -0
488 lines not on this page · raw message
Signature · 1 line
2.20.1
Alexandre Belloni
maintainerRe: [PATCH v2 5/5] rtc: rtc-rc5t619: add ricoh rc5t619 RTC driver
Hello,
checkpatch.pl --strict complains about multiple blank lines and alignment.
Quoted 16 lines · Andreas Kemnade
drivers/rtc/rtc-rc5t619.c new file +16
-0+static int rc5t619_rtc_probe (struct platform_device *pdev) +{ +struct device *dev = &pdev->dev; +struct rn5t618 *rn5t618 =dev_get_drvdata (pdev->dev.parent); +struct rc5t619_rtc *rtc; +uint8_t alarm_flag; +unsigned int ctrl2; +int err; + + rtc =devm_kzalloc (dev,sizeof (*rtc),GFP_KERNEL ); +if (IS_ERR (rtc)) { + err =PTR_ERR (rtc); +return -ENOMEM ; + } + + rtc->rn5t618 = rn5t618;
drivers/rtc/rtc-rc5t619.c line 395
Quoted 10 lines
drivers/rtc/rtc-rc5t619.c new file +10
-0+ +dev_set_drvdata (dev, rtc); + rtc->irq =-1 ; + +if (rn5t618->irq_data) + rtc->irq =regmap_irq_get_virq (rn5t618->irq_data, +RN5T618_IRQ_RTC ); + +if (rtc->irq <0 ) { +dev_err (dev,"no irq specified, wakeup is disabled\n" );
I don't think it is worth having an error message here, especially since you have a second one later.
Quoted 11 lines
drivers/rtc/rtc-rc5t619.c new file +11
-0+ rtc->irq =-1 ; + } + + err =regmap_read (rtc->rn5t618->regmap,RN5T618_RTC_CTRL2 , &ctrl2); +if (err <0 ) +return err; + +/* get interrupt flag */ + err =rc5t619_rtc_alarm_is_enabled (dev, &alarm_flag); +if (err) +return err;
drivers/rtc/rtc-rc5t619.c line 416
Quoted 10 lines
drivers/rtc/rtc-rc5t619.c new file +10
-0+ +/* disable rtc periodic function */ + err =rc5t619_rtc_periodic_disable (&pdev->dev); +if (err) +return err; + +/* disable interrupt */ + err =rc5t619_rtc_alarm_enable (&pdev->dev,0 ); +if (err) +return err;
Is it really useful to disable the alarm to reenable them later?
drivers/rtc/rtc-rc5t619.c line 426
Quoted 10 lines
drivers/rtc/rtc-rc5t619.c new file +10
-0+ +if (ctrl2 &CTRL2_PON ) { + alarm_flag =0 ; + err =rc5t619_rtc_alarm_flag_clr (&pdev->dev); +if (err) +return err; + } + + rtc->rtc =devm_rtc_allocate_device (&pdev->dev); +
Please remove this blank line.
Quoted 19 lines
drivers/rtc/rtc-rc5t619.c new file +19
-0+if (IS_ERR (rtc->rtc)) { + err =PTR_ERR (rtc->rtc); +dev_err (dev,"RTC device register: err %d\n" , err); +return err; + } + + rtc->rtc->ops = &rc5t619_rtc_ops; + rtc->rtc->range_min =RTC_TIMESTAMP_BEGIN_1900 ; + rtc->rtc->range_max =RTC_TIMESTAMP_END_2099 ; + +/* set interrupt and enable it */ +if (rtc->irq !=-1 ) { +device_init_wakeup (&pdev->dev,1 ); + + err =devm_request_threaded_irq (&pdev->dev, rtc->irq,NULL , + rc5t619_rtc_irq, +IRQF_ONESHOT , +"rtc-rc5t619" , + &pdev->dev);
drivers/rtc/rtc-rc5t619.c line 455
Quoted 10 lines
drivers/rtc/rtc-rc5t619.c new file +10
-0+if (err <0 ) { +dev_err (&pdev->dev,"request IRQ:%d fail\n" , rtc->irq); + rtc->irq =-1 ; + + err =rc5t619_rtc_alarm_enable (&pdev->dev,0 ); +if (err) +return err; + + }else { +/* enable wake */
I think you should move device_init_wakeup() here, unless your parse the wakeup-source property.
drivers/rtc/rtc-rc5t619.c line 468
Quoted 13 lines
drivers/rtc/rtc-rc5t619.c new file +13
-0+enable_irq_wake (rtc->irq); +/* enable alarm_d */ + err =rc5t619_rtc_alarm_enable (&pdev->dev, alarm_flag); +if (err) { +dev_err (&pdev->dev,"failed rtc setup\n" ); +return -EBUSY ; + } + } + }else { +/* system don't want to using alarm interrupt, so close it */ + err =rc5t619_rtc_alarm_enable (&pdev->dev,0 ); +if (err) { +dev_err (&pdev->dev,"disable rtc alarm error\n" );
I don't think this message is necessary.
drivers/rtc/rtc-rc5t619.c line 472
Quoted 4 lines
drivers/rtc/rtc-rc5t619.c new file +4
-0+return err; + } + +dev_err (&pdev->dev,"ricoh61x interrupt is disabled\n" );
Maybe dev_warn as the driver just continues on.
Quoted 4 lines
drivers/rtc/rtc-rc5t619.c new file +4
-0+ } + +return rtc_register_device (rtc->rtc); +}
Signature · 3 lines
Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Re: [PATCH v2 5/5] rtc: rtc-rc5t619: add ricoh rc5t619 RTC driver
Hi,
Quoted 4 lines · On Thu, 28 Nov 2019 11:57:51 +0100 Alexandre Belloni…
Hello,
checkpatch.pl --strict complains about multiple blank lines and alignment.
I have not used the strict flag there. But I think I can make --strict happy.
Quoted 22 lines · Andreas Kemnade
Quoted 21 lines
drivers/rtc/rtc-rc5t619.c new file +21
-0+static int rc5t619_rtc_probe (struct platform_device *pdev) +{ +struct device *dev = &pdev->dev; +struct rn5t618 *rn5t618 =dev_get_drvdata (pdev->dev.parent); +struct rc5t619_rtc *rtc; +uint8_t alarm_flag; +unsigned int ctrl2; +int err; + + rtc =devm_kzalloc (dev,sizeof (*rtc),GFP_KERNEL ); +if (IS_ERR (rtc)) { + err =PTR_ERR (rtc); +return -ENOMEM ; + } + + rtc->rn5t618 = rn5t618; + +dev_set_drvdata (dev, rtc); + rtc->irq =-1 ; + +if (rn5t618->irq_data)
Quoted 9 lines
drivers/rtc/rtc-rc5t619.c line 395
Quoted 5 lines
drivers/rtc/rtc-rc5t619.c new file +5
-0+ rtc->irq =regmap_irq_get_virq (rn5t618->irq_data, +RN5T618_IRQ_RTC ); + +if (rtc->irq <0 ) { +dev_err (dev,"no irq specified, wakeup is disabled\n" );I don't think it is worth having an error message here, especially since you have a second one later.
agreed.
Quoted 15 lines
Quoted 15 lines
drivers/rtc/rtc-rc5t619.c new file +15
-0+ rtc->irq =-1 ; + } + + err =regmap_read (rtc->rn5t618->regmap,RN5T618_RTC_CTRL2 , &ctrl2); +if (err <0 ) +return err; + +/* get interrupt flag */ + err =rc5t619_rtc_alarm_is_enabled (dev, &alarm_flag); +if (err) +return err; + +/* disable rtc periodic function */ + err =rc5t619_rtc_periodic_disable (&pdev->dev); +if (err)
Quoted 9 lines
drivers/rtc/rtc-rc5t619.c line 416
Quoted 6 lines
drivers/rtc/rtc-rc5t619.c new file +6
-0+return err; + +/* disable interrupt */ + err =rc5t619_rtc_alarm_enable (&pdev->dev,0 ); +if (err) +return err;Is it really useful to disable the alarm to reenable them later?
Well, yes, seems to be nonsense.
Am I right that I do not need to prevent alarm irqs between alloc() and register()?
Quoted 4 lines
Quoted 4 lines
drivers/rtc/rtc-rc5t619.c new file +4
-0+ +if (ctrl2 &CTRL2_PON ) { + alarm_flag =0 ; + err =rc5t619_rtc_alarm_flag_clr (&pdev->dev);
Quoted 9 lines
drivers/rtc/rtc-rc5t619.c line 426
Quoted 6 lines
drivers/rtc/rtc-rc5t619.c new file +6
-0+if (err) +return err; + } + + rtc->rtc =devm_rtc_allocate_device (&pdev->dev); +Please remove this blank line.
Ok.
Quoted 27 lines
Quoted 27 lines
drivers/rtc/rtc-rc5t619.c new file +15
-0+if (IS_ERR (rtc->rtc)) { + err =PTR_ERR (rtc->rtc); +dev_err (dev,"RTC device register: err %d\n" , err); +return err; + } + + rtc->rtc->ops = &rc5t619_rtc_ops; + rtc->rtc->range_min =RTC_TIMESTAMP_BEGIN_1900 ; + rtc->rtc->range_max =RTC_TIMESTAMP_END_2099 ; + +/* set interrupt and enable it */ +if (rtc->irq !=-1 ) { +device_init_wakeup (&pdev->dev,1 ); + + err = devm_request_threaded_irq(&pdev->dev,
rtc->irq, NULL,drivers/rtc/rtc-rc5t619.c new file +6
-0+ rc5t619_rtc_irq, +IRQF_ONESHOT , +"rtc-rc5t619" , + &pdev->dev); +if (err <0 ) { + dev_err(&pdev->dev, "request IRQ:%dfail\n",
rtc->irq);drivers/rtc/rtc-rc5t619.c new file +3
-0+ rtc->irq =-1 ; + + err = rc5t619_rtc_alarm_enable(&pdev->dev,0);
Quoted 9 lines
drivers/rtc/rtc-rc5t619.c line 455
Quoted 5 lines
drivers/rtc/rtc-rc5t619.c new file +5
-0+if (err) +return err; + + }else { +/* enable wake */ I think you should move
device_init_wakeup()here, unless your parse the wakeup-source property.
yes, makes sense.
Quoted 11 lines
Quoted 11 lines
drivers/rtc/rtc-rc5t619.c new file +3
-0+enable_irq_wake (rtc->irq); +/* enable alarm_d */ + err = rc5t619_rtc_alarm_enable(&pdev->dev,
alarm_flag);(quoted diff) +2
-0+ if (err) { + dev_err(&pdev->dev, "failed rtcsetup\n");
drivers/rtc/rtc-rc5t619.c new file +4
-0+return -EBUSY ; + } + } + }else {
Quoted 9 lines
Quoted 6 lines
(quoted diff) +1
-0+ /* system don't want to using alarm interrupt, soclose it */
drivers/rtc/rtc-rc5t619.c new file +3
-0+ err =rc5t619_rtc_alarm_enable (&pdev->dev,0 ); +if (err) { + dev_err(&pdev->dev, "disable rtc alarmerror\n");
I don't think this message is necessary.
yes, agreed, that would be just another symptom of an i2c problem.
Quoted 8 lines
Quoted 5 lines
drivers/rtc/rtc-rc5t619.c new file +4
-0+return err; + } + + dev_err(&pdev->dev, "ricoh61x interrupt isdisabled\n");
Maybe
dev_warnas the driver just continues on.
Ok.
Regards,
Andreas
Alexandre Belloni
maintainerRe: [PATCH v2 5/5] rtc: rtc-rc5t619: add ricoh rc5t619 RTC driver
Quoted 11 lines · Andreas Kemnade
Quoted 7 lines
drivers/rtc/rtc-rc5t619.c line 416
Quoted 4 lines
drivers/rtc/rtc-rc5t619.c new file +4
-0+/* disable interrupt */ + err =rc5t619_rtc_alarm_enable (&pdev->dev,0 ); +if (err) +return err;Is it really useful to disable the alarm to reenable them later?
Well, yes, seems to be nonsense.
Am I right that I do not need to prevent alarm irqs betweenalloc()andregister()?
That's fine, the core will be ready to handle alarms after alloc()
Signature · 3 lines
Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Re: [PATCH v2 5/5] rtc: rtc-rc5t619: add ricoh rc5t619 RTC driver
Quoted 8 lines · On Fri, 29 Nov 2019 09:55:00 +0100 Alexandre Belloni…
Quoted 7 lines · Andreas Kemnade
Quoted 7 lines
drivers/rtc/rtc-rc5t619.c line 416
Quoted 4 lines
drivers/rtc/rtc-rc5t619.c new file +4
-0+/* disable interrupt */ + err =rc5t619_rtc_alarm_enable (&pdev->dev,0 ); +if (err) +return err;Is it really useful to disable the alarm to reenable them later?
Quoted 7 lines
Quoted 4 lines
Well, yes, seems to be nonsense.
Am I right that I do not need to prevent alarm irqs betweenalloc()andregister()?That's fine, the core will be ready to handle alarms after
alloc()
ok, will clean that up and probably produce a -v3 this evening.
Regards,
Andreas