Hi Rafael,
This is based of my opp-v2 series and so is sent as reply to that one.
Bartlomiej had few patches that he wanted to get into 4.3. I have picked
two of those and dropped one (the one that adds another field to
platform data). The dropped one is replaced with two patches from me.
There are minor modifications done in first two patches, based on the
review comments I gave to him earlier.
Completely Untested.
@Bartlomiej: Can you please give them some testing ?
Bartlomiej Zolnierkiewicz (2):
opp: add dev_pm_opp_is_turbo() helper
cpufreq: Update boost flag while initializing freq table from OPPs
Viresh Kumar (2):
cpufreq: Allow drivers to enable boost support after registering
driver
cpufreq: dt: Add support for turbo/boost mode
drivers/base/power/opp.c | 30 ++++++++++++++++++++
drivers/cpufreq/cpufreq-dt.c | 8 ++++++
drivers/cpufreq/cpufreq.c | 66 ++++++++++++++++++++++++++++++-------------
drivers/cpufreq/cpufreq_opp.c | 4 +++
drivers/cpufreq/freq_table.c | 15 ++++++++++
include/linux/cpufreq.h | 12 ++++++++
include/linux/pm_opp.h | 7 +++++
7 files changed, 122 insertions(+), 20 deletions(-)
--
2.4.0
Tree/Branch: next-20150728
Git describe: next-20150728
Commit: 5aa6180315 Add linux-next specific files for 20150728
Build Time: 80 min 9 sec
Passed: 8 / 9 ( 88.89 %)
Failed: 1 / 9 ( 11.11 %)
Errors: 9
Warnings: 41
Section Mismatches: 1
Failed defconfigs:
arm-allmodconfig
Errors:
arm-allmodconfig
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_begin') [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_flush') [-Werror]
../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration]
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
2 warnings 0 mismatches : arm64-allnoconfig
110 warnings 3 mismatches : arm64-allmodconfig
2 warnings 0 mismatches : arm-multi_v5_defconfig
4 warnings 0 mismatches : arm-multi_v7_defconfig
14 warnings 0 mismatches : arm-allmodconfig
1 warnings 0 mismatches : arm-allnoconfig
2 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 9
15 ../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
15 ../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
15 ../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
15 ../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
1 ../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: initialization from incompatible pointer type [-Werror]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_flush') [-Werror]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: initialization from incompatible pointer type [-Werror]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_begin') [-Werror]
Warnings Summary: 41
17 ../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
17 ../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
14 ../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
14 ../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
11 <stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
10 ../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
10 ../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
4 ../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
4 ../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
3 warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
1 ../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../net/bluetooth/mgmt.c:6636:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../net/bluetooth/mgmt.c:6636:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../kernel/sched/rt.c:68:13: warning: 'push_irq_work_func' declared 'static' but never defined [-Wunused-function]
1 ../ipc/kdbus/connection.c:2049:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../include/uapi/linux/byteorder/big_endian.h:32:26: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../include/linux/bitops.h:6:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/usb/renesas_usbhs/common.c:496:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/scsi/advansys.c:7806:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:766:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:675:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/pci/host/pcie-xilinx.c:235:3: warning: passing argument 1 of 'sys_to_pcie' makes pointer from integer without a cast [enabled by default]
1 ../drivers/ntb/ntb_transport.c:778:3: warning: right shift count >= width of type [enabled by default]
1 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 ../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
1 ../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
1 ../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/infiniband/core/uverbs_cmd.c:1466:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/gpu/drm/virtio/virtgpu_fence.c:64:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat]
1 ../drivers/gpu/drm/virtio/virtgpu_debugfs.c:39:6: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat]
1 ../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/block/nvme-core.c:1888:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/block/nvme-core.c:1846:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
1 ../drivers/atm/iphase.h:127:0: warning: "isprint" redefined
1 ../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatch Summary: 1
3 WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../kernel/sched/rt.c:68:13: warning: 'push_irq_work_func' declared 'static' but never defined [-Wunused-function]
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 110 warnings, 3 section mismatches
Warnings:
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../drivers/atm/iphase.h:127:0: warning: "isprint" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:675:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:766:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../include/uapi/linux/byteorder/big_endian.h:32:26: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../include/linux/bitops.h:6:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/usb/renesas_usbhs/common.c:496:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
Section Mismatches:
WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../net/bluetooth/mgmt.c:6636:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../net/bluetooth/mgmt.c:6636:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 65 errors, 14 warnings, 0 section mismatches
Errors:
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_begin') [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_flush') [-Werror]
../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration]
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../ipc/kdbus/connection.c:2049:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/block/nvme-core.c:1846:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/block/nvme-core.c:1888:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/gpu/drm/virtio/virtgpu_fence.c:64:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat]
../drivers/gpu/drm/virtio/virtgpu_debugfs.c:39:6: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat]
../drivers/infiniband/core/uverbs_cmd.c:1466:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/ntb/ntb_transport.c:778:3: warning: right shift count >= width of type [enabled by default]
../drivers/pci/host/pcie-xilinx.c:235:3: warning: passing argument 1 of 'sys_to_pcie' makes pointer from integer without a cast [enabled by default]
../drivers/scsi/advansys.c:7806:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-allnoconfig
x86_64-defconfig
Hi Rafael,
This is mostly reviewed and its been out on the lists for around one and
half month. We can get it pushed for 4.3 now. Resending the series
because of minor updates in few patches, which were also sent as replies
to earlier version.
I have tested this on dual-core exynos board with the driver inbuilt as
well as a module. Tried multiple insertion/removals of the module. Have
tested cpufreq-dt driver with both old and new bindings.
----------x-----------------x-------------
This adds code to support operating-points-v2 bindings. Not everything
is supported yet, but most of the basic stuff is.
Pushed here as well for reference:
ssh://git@git.linaro.org/people/viresh.kumar/linux.git opp/v2
V1->V2:
- 1/11 is a new patch which moves the bindings file into opp specific
folder.
- 'opp-suspend' binding got updated and is part of individual OPPs now,
instead of a phandle present in the opp table.
- Some more minor reformatting as suggested by Bartlomiej and Stephen,
they were already posted as reply to earlier patches in V1.
Viresh Kumar (11):
opp: Create a directory for opp bindings
opp: Relocate few routines
OPP: Create _remove_device_opp() for freeing dev_opp
OPP: Allocate dev_opp from _add_device_opp()
OPP: Break _opp_add_dynamic() into smaller functions
opp: Add support to parse "operating-points-v2" bindings
OPP: Add clock-latency-ns support
opp: Add OPP sharing information to OPP library
OPP: Add support for opp-suspend
opp: Add helpers for initializing CPU OPPs
cpufreq-dt: Add support for operating-points-v2 bindings
.../devicetree/bindings/power/{ => opp}/opp.txt | 0
drivers/base/power/opp.c | 1072 +++++++++++++++-----
drivers/cpufreq/cpufreq-dt.c | 56 +-
include/linux/pm_opp.h | 29 +
4 files changed, 905 insertions(+), 252 deletions(-)
rename Documentation/devicetree/bindings/power/{ => opp}/opp.txt (100%)
--
2.4.0
This is the sequel to the first episode that started here:
http://article.gmane.org/gmane.linux.ports.arm.kernel/401353
Now that most of the first set has been merged upstream, here's the last
set to complete the cleanup. This mainly includes the removal of the
backward compatibility support plus some cosmetic changes.
The hisi04 backend, though, is instead converted to raw SMP operations
as it currently doesn't benefit from MCPM at all and doesn't fit well
with the new backend structure.
This series can also be obtained from the following Git repository:
http://git.linaro.org/people/nicolas.pitre/linux.git mcpm
The diffstat shows more code removal again:
arch/arm/common/mcpm_entry.c | 281 +++++++++++++----------------
arch/arm/include/asm/mcpm.h | 73 +++-----
arch/arm/mach-exynos/suspend.c | 8 +-
arch/arm/mach-hisi/platmcpm.c | 127 +++++--------
drivers/cpuidle/cpuidle-big_little.c | 8 +-
5 files changed, 198 insertions(+), 299 deletions(-)