20 Jan, 2021

1 commit


04 Jan, 2021

1 commit

  • This is the 5.10.4 stable release

    * tag 'v5.10.4': (717 commits)
    Linux 5.10.4
    x86/CPU/AMD: Save AMD NodeId as cpu_die_id
    drm/edid: fix objtool warning in drm_cvt_modes()
    ...

    Signed-off-by: Jason Liu

    Conflicts:
    drivers/gpu/drm/imx/dcss/dcss-plane.c
    drivers/media/i2c/ov5640.c

    Jason Liu
     

30 Dec, 2020

1 commit

  • [ Upstream commit 9d5522199505c761575c8ea31dcfd9a2a8d73614 ]

    irqchip shared with multiple gpiochips, leads to recursive call of
    gpiochip_irq_mask/gpiochip_irq_unmask which was assigned to
    rqchip->irq_mask/irqchip->irq_unmask, these happens becouse of
    only irqchip->irq_enable == gpiochip_irq_enable is checked.

    Let's add an additional check to make sure shared irqchip is detected
    even if irqchip->irq_enable wasn't defined.

    Fixes: a8173820f441 ("gpio: gpiolib: Allow GPIO IRQs to lazy disable")
    Signed-off-by: Nikita Shubin
    Link: https://lore.kernel.org/r/20201210070514.13238-1-nikita.shubin@maquefel.me
    Signed-off-by: Linus Walleij
    Signed-off-by: Sasha Levin

    Nikita Shubin
     

14 Dec, 2020

16 commits

  • gpio-vf610 is also used on i.MX platforms, so remove the dependency
    of SOC_VF610 in case VF610 is not compiled.

    Reviewed-by: Peter Chen
    Signed-off-by: Dong Aisheng

    Dong Aisheng
     
  • Add runtime pm support to automatically enable the ipg clock and power
    domain if present.

    To save power, suggest all sub-devices of the gpiochip/irq domain should
    dynamically manage gpio/irq resources like:
    gpio:
    gpiod_request()
    ... //set gpio direction
    gpiod_free()
    irq:
    devm_request_irq() //=> module active
    devm_free_irq() //=>module is non-active or runtime idle

    Since the driver support irqchip and gpiochip, any irq/gpio resource
    requested by other modules the gpio controller clock and power domain
    should be enabled. And the irqchip's parent's clock and power also should
    be enabled if irq resoruce requested.

    Signed-off-by: Fugang Duan
    Tested-by: Guoniu.Zhou
    Reviewed-by: Frank Li
    [Arul: Fix merge conflicts]
    Signed-off-by: Arulpandiyan Vadivel

    Fugang Duan
     
  • Remove redundant definition of IMX_SC_IRQ_GROUP_WAKE which is already
    defined in include/linux/firmware/imx/sci.h to fix below coverity issue:

    CID 11172090 (#1 of 2): Parse warning (PW.BAD_MACRO_REDEF)
    1. bad_macro_redef: incompatible redefinition of macro
    "IMX_SC_IRQ_GROUP_WAKE" (declared at line 20 of
    "./include/linux/firmware/imx/sci.h")

    Signed-off-by: Anson Huang
    Reviewed-by: Jacky Bai

    Anson Huang
     
  • Register gpio chip after rpmsg channel ready, otherwise consumer
    might use gpio before rpmsg channel ready, and cause issue.

    Late register the gpio chip could let consumer use defer probe
    correclty.

    Reported-by: Elven Wang
    Reviewed-by: Fugang Duan
    Signed-off-by: Peng Fan

    Peng Fan
     
  • The shutdown function needed to make interrupt handler to be NULL
    when kexec execute.

    Signed-off-by: Song Hui

    Song Hui
     
  • 67b06ba0 ("PM: QoS: Drop PM_QOS_CPU_DMA_LATENCY and rename related functions")
    changed the pm_qos_*() APIs. Updated the IMX usage of them to the new
    APIs.

    Signed-off-by: Li Yang
    Signed-off-by: Dong Aisheng

    Li Yang
     
  • The imx SC api strongly assumes that messages are composed out of
    4-bytes words but some of our message structs have sizeof "6" and "7".

    This produces many oopses with CONFIG_KASAN=y:

    BUG: KASAN: stack-out-of-bounds in imx_mu_send_data+0x108/0x1f0

    It shouldn't cause an issues in normal use because these structs are
    always allocated on the stack.

    Reported-by: Iuliana Prodan
    Signed-off-by: Leonard Crestez
    Reviewed-by: Jason Liu
    Reviewed-by: Aisheng Dong

    Leonard Crestez
     
  • Use platform_get_irq_optional() to avoid error message for the
    optional irq.

    Fixes: 7723f4c5ecdb ("driver core: platform: Add an error message to platform_get_irq*()")
    Signed-off-by: Fugang Duan

    Fugang Duan
     
  • If device node don't specify the vcc regulator that means the
    regulator maybe always on, so it don't need to do regcache sync
    after system resume back.

    The patch doesn't change other code logical.

    Signed-off-by: Fugang Duan

    Fugang Duan
     
  • The pca953x type of devices, e.g. max7310, may have a reset which needs
    to be handled to get the device start working. Add a device_reset()
    call for that, and defer the probe if the reset controller for that is
    not ready yet.

    The patch merge below two commits:
    1a5c743f463f("MLK-11293: gpio: pca953x: add device_reset() call")
    7500d014297a("MLK-13773 gpio: pca953x: correct device_reset() return
    value check on kernel 4.1")

    Signed-off-by: Shawn Guo
    Signed-off-by: Fugang Duan

    Fugang Duan
     
  • This patch enables gpio pin's pad wakeup function which
    is supported by SCFW, with pad wakeup enabled, GPIO's
    power is no need to be enabled after suspend, hence
    save a sub-system's power.

    To enable pad wakeup, dtb needs to provide pad wakeup
    number for each gpio port, and each pin has to provide
    , they should be inside each gpio node,

    To enable pad wakeup, dtb needs to provide pad wakeup
    number for each gpio port, and each pin has to provide
    , they should be inside each gpio node,
    this is for calling SCFW APIs to enable/disable pad wakeup,
    example of adding GPIO4_22 pad wakeup in dtb:

    &lsio_gpio4 {
    /* total pad wakeup number in gpio4 */
    pad-wakeup-num = ;
    /* SC_P_USDHC1_CD_B, SC_PAD_WAKEUP_LOW_LVL, LINE 22 */
    pad-wakeup = ;
    };

    Pad wakeup will be enabled after GPIO port suspend, and
    once any pad wakes up system, gpio driver will get the
    wakeup line and handles the event during noirq resume
    phase.

    Signed-off-by: Anson Huang

    Anson Huang
     
  • For some platform such as imx7D SDB, one pin of 74x164 to
    control all peripheral power supply(PERI_3V_EN).
    The pin should keep in high voltage level when 74x164 loading,
    otherwise the module depend on PERI_3V3 will lose power.
    So add new property registers-default into 74x164 driver.

    Signed-off-by: Sandor Yu
    Signed-off-by: Fugang Duan
    (cherry picked from commit: 61fe7af7e47dd8bf6acc91ceabd9e660d28de28a)
    Signed-off-by: Arulpandiyan Vadivel

    Sandor Yu
     
  • Add gpio interrupt chip support that only support wakeup feature
    by M4 core.

    Signed-off-by: Fugang Duan

    Fugang Duan
     
  • Add rpmsg virtual gpio driver support.
    i.MX7ULP GPIO PTA and PTB resource are managed by M4 core, setup one
    simple protocol with M4 core based on RPMSG virtual IO to let A core
    access such GPIOs that is what the driver do.

    Signed-off-by: Fugang Duan

    Fugang Duan
     
  • Add output IOs defalut voltage set in device tree by add property like:
    out-default = /bits/ 16 ;

    Reviewed-by: Haibo Chen
    Signed-off-by: Fugang Duan
    [ Aisheng: move dt binding changes to gpio-pca95xx.yaml.
    Need further fine tune the property schema ]
    Signed-off-by: Dong Aisheng

    Fugang Duan
     
  • Add device reset for max732x driver.

    Signed-off-by: Fugang Duan
    Acked-by: Gao Pan
    Signed-off-by: Arulpandiyan Vadivel

    Fugang Duan
     

09 Dec, 2020

1 commit

  • EIC controller have unfixed numbers of banks on different Spreadtrum SoCs,
    and each bank has its own base address, the loop of getting there base
    address in driver should break if the resource gotten via
    platform_get_resource() is NULL already. The later ones would be all NULL
    even if the loop continues.

    Fixes: 25518e024e3a ("gpio: Add Spreadtrum EIC driver support")
    Signed-off-by: Chunyan Zhang
    Link: https://lore.kernel.org/r/20201209055106.840100-1-zhang.lyra@gmail.com
    Signed-off-by: Linus Walleij

    Chunyan Zhang
     

02 Dec, 2020

5 commits

  • When mvebu_pwm_probe() fails IRQ domain is not released. Move pwm probe
    before IRQ domain allocation. Add pwm cleanup code to the failure path.

    Fixes: 757642f9a584 ("gpio: mvebu: Add limited PWM support")
    Reported-by: Andrew Lunn
    Signed-off-by: Baruch Siach
    Signed-off-by: Bartosz Golaszewski

    Baruch Siach
     
  • pm_runtime_get_sync will increment pm usage counter even it
    failed. Forgetting to putting operation will result in a
    reference leak here.

    A new function pm_runtime_resume_and_get is introduced in
    [0] to keep usage counter balanced. So We fix the reference
    leak by replacing it with new funtion.

    [0] dd8088d5a896 ("PM: runtime: Add pm_runtime_resume_and_get to deal with usage counter")

    Fixes: c2df3de0d07e ("gpio: zynq: properly support runtime PM for GPIO used as interrupts")
    Reported-by: Hulk Robot
    Signed-off-by: Qinglang Miao
    Signed-off-by: Bartosz Golaszewski

    Qinglang Miao
     
  • A similar check was added in gpiochip_generic_request, but not in free.
    This has caused an imbalance count of request vs. free calls to the
    pinctrl driver. This patch is targeted to fix that issue.

    Fixes: 2ab73c6d8323 ("gpio: Support GPIO controllers without pin-ranges")
    Signed-off-by: Edmond Chung
    Signed-off-by: Andrew Chant
    Signed-off-by: Will McVicker
    Signed-off-by: Bartosz Golaszewski

    Edmond Chung
     
  • Following Calltrace is found when running echo freeze > /sys/power/state.

    [ 272.755506] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000010
    [ 272.755585] Call trace:
    [ 272.755587] dwapb_gpio_suspend+0x18/0x318
    [ 272.755588] pm_generic_suspend+0x2c/0x48
    [ 272.755595] acpi_subsys_suspend+0x60/0x70
    [ 272.755599] dpm_run_callback.isra.18+0x40/0xe0
    [ 272.755601] __device_suspend+0xf4/0x360

    The reason is platform_set_drvdata() is deleted, and dwapb_gpio_suspend()
    get *gpio by dev_get_drvdata().

    Fixes: feeaefd378ca ("gpio: dwapb: Use resource managed GPIO-chip add data method")
    Signed-off-by: Luo Jiaxing
    Acked-by: Serge Semin
    Reviewed-by: Andy Shevchenko
    Signed-off-by: Bartosz Golaszewski

    Luo Jiaxing
     
  • pm_runtime_enable will increase power disable depth. Thus a
    pairing decrement is needed on the error handling path to keep
    it balanced.

    Fixes:27a49ed17e224(gpio: arizona: Add support for GPIOs that)
    Reported-by: Hulk Robot
    Signed-off-by: Zheng Liang
    Signed-off-by: Bartosz Golaszewski

    Zheng Liang
     

11 Nov, 2020

1 commit

  • Fix the check on the number of IRQs to allow up to the maximum (32)
    instead of only the maximum minus one.

    Fixes: 96868dce644d ("gpio/sifive: Add GPIO driver for SiFive SoCs")
    Cc: stable@vger.kernel.org
    Signed-off-by: Damien Le Moal
    Link: https://lore.kernel.org/r/20201107081420.60325-10-damien.lemoal@wdc.com
    Signed-off-by: Linus Walleij

    Damien Le Moal
     

10 Nov, 2020

1 commit


06 Nov, 2020

3 commits

  • This enables the PEX8311 internal PCI wire interrupt and the PEX8311
    local interrupt input so the local interrupts are forwarded to the PCI.

    Fixes: 585562046628 ("gpio: Add GPIO support for the ACCES PCIe-IDIO-24 family")
    Cc: stable@vger.kernel.org
    Signed-off-by: Arnaud de Turckheim
    Reviewed-by: William Breathitt Gray
    Signed-off-by: Bartosz Golaszewski

    Arnaud de Turckheim
     
  • This fixes the COS Enable Register value for enabling/disabling the
    corresponding IRQs bank.

    Fixes: 585562046628 ("gpio: Add GPIO support for the ACCES PCIe-IDIO-24 family")
    Cc: stable@vger.kernel.org
    Signed-off-by: Arnaud de Turckheim
    Reviewed-by: William Breathitt Gray
    Signed-off-by: Bartosz Golaszewski

    Arnaud de Turckheim
     
  • Fix the bitwise operation to remove only the corresponding bit from the
    mask.

    Fixes: 585562046628 ("gpio: Add GPIO support for the ACCES PCIe-IDIO-24 family")
    Cc: stable@vger.kernel.org
    Signed-off-by: Arnaud de Turckheim
    Reviewed-by: William Breathitt Gray
    Signed-off-by: Bartosz Golaszewski

    Arnaud de Turckheim
     

05 Nov, 2020

1 commit

  • In gpiochip_setup_dev() the call to gpiolib_cdev_register() indirectly
    calls device_add(). This is still required for the sysfs even when
    CONFIG_GPIO_CDEV is not selected in the build.

    Replace the stubbed functions in gpiolib-cdev.h with macros in gpiolib.c
    that perform the required device_add() and device_del() when
    CONFIG_GPIO_CDEV is not selected.

    Fixes: d143493c01b7 (gpiolib: make cdev a build option)
    Reported-by: Nicolas Schichan
    Signed-off-by: Kent Gibson
    Tested-by: Nicolas Schichan
    Signed-off-by: Bartosz Golaszewski

    Kent Gibson
     

28 Oct, 2020

1 commit

  • This reverts commit 579ced8fdb00b8e94304a83e3cc419f6f8eab08e.

    Turns out I was overly optimistic about cpu_pm blocking idle being a
    solution for handling edge interrupts. While it helps in preventing
    entering idle states that potentially lose context, we can still get
    an edge interrupt triggering while entering idle. So we need to also
    add back the workaround for seeing if there are any pending edge
    interrupts when waking up.

    Signed-off-by: Tony Lindgren
    Cc: Aaro Koskinen
    Cc: Grygorii Strashko
    Cc: Keerthy
    Cc: Ladislav Michl
    Cc: Peter Ujfalusi
    Cc: Russell King
    Cc: Tero Kristo
    Link: https://lore.kernel.org/r/20201028060556.56038-1-tony@atomide.com
    Signed-off-by: Linus Walleij

    Tony Lindgren
     

26 Oct, 2020

2 commits

  • GPIO_T is mapped to the most significant byte of input/output mask, and
    the byte in "output" mask should be 0 because GPIO_T is input only. All
    the other bits need to be 1 because GPIO_Q/R/S support both input and
    output modes.

    Fixes: ab4a85534c3e ("gpio: aspeed: Add in ast2600 details to Aspeed driver")
    Signed-off-by: Billy Tsai
    Reviewed-by: Tao Ren
    Reviewed-by: Joel Stanley
    Reviewed-by: Andrew Jeffery
    Signed-off-by: Bartosz Golaszewski

    Billy Tsai
     
  • Commit 0ea683931adb ("gpio: dwapb: Convert driver to using the
    GPIO-lib-based IRQ-chip") missed the case in dwapb_irq_set_wake().

    Without this fix, probing the dwapb gpio driver will hit a error:
    "address between user and kernel address ranges" on a Ampere armv8a
    server and cause a panic.

    Fixes: 0ea683931adb ("gpio: dwapb: Convert driver to using the GPIO-lib-based IRQ-chip")
    Signed-off-by: Jia He
    Reviewed-by: Andy Shevchenko
    Acked-by: Serge Semin
    Signed-off-by: Bartosz Golaszewski

    Jia He
     

15 Oct, 2020

1 commit

  • Pull MFD updates from Lee Jones:
    "New Drivers:
    - Add support for initialising shared (between children) Regmaps
    - Add support for Kontron SL28CPLD
    - Add support for ENE KB3930 Embedded Controller
    - Add support for Intel FPGA PAC MAX 10 BMC

    New Device Support:
    - Add support for Power to Ricoh RN5T618
    - Add support for UART to Intel Lakefield
    - Add support for LP87524_Q1 to Texas Instruments LP87565

    New Functionality:
    - Device Tree; ene-kb3930, sl28cpld, syscon, lp87565, lp87524-q1
    - Use new helper dev_err_probe(); madera-core, stmfx, wcd934x
    - Use new GPIOD API; dm355evm_msp
    - Add wake-up capability; sprd-sc27xx-spi
    - Add ACPI support; kempld-core

    Fix-ups:
    - Trivial (spelling/whitespace); Kconfig, ab8500
    - Fix for unused variables; khadas-mcu, kempld-core
    - Remove unused header file(s); mt6360-core
    - Use correct IRQ flags in docs; act8945a, gateworks-gsc, rohm,bd70528-pmic
    - Add COMPILE_TEST support; asic3, tmio_core
    - Add dependency on I2C; SL28CPLD

    Bug Fixes:
    - Fix memory leak(s); sm501
    - Do not free regmap_config's 'name' until exit; syscon"

    * tag 'mfd-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (34 commits)
    mfd: kempld-core: Fix unused variable 'kempld_acpi_table' when !ACPI
    mfd: sl28cpld: Depend on I2C
    mfd: asic3: Build if COMPILE_TEST=y
    dt-bindings: mfd: Correct interrupt flags in examples
    mfd: Add ACPI support to Kontron PLD driver
    mfd: intel-m10-bmc: Add Intel MAX 10 BMC chip support for Intel FPGA PAC
    mfd: lp87565: Add LP87524-Q1 variant
    dt-bindings: mfd: Add LP87524-Q1
    dt-bindings: mfd: lp87565: Convert to yaml
    mfd: mt6360: Remove unused include
    mfd: sm501: Fix leaks in probe()
    mfd: syscon: Don't free allocated name for regmap_config
    dt-bindings: mfd: syscon: Document Exynos3 and Exynos5433 compatibles
    dt-bindings: mfd: syscon: Merge Samsung Exynos Sysreg bindings
    dt-bindings: mfd: ab8500: Remove weird Unicode characters
    mfd: sprd: Add wakeup capability for PMIC IRQ
    mfd: intel-lpss: Add device IDs for UART ports for Lakefield
    mfd: dm355evm_msp: Convert LEDs to GPIO descriptor table
    mfd: wcd934x: Simplify with dev_err_probe()
    mfd: stmfx: Simplify with dev_err_probe()
    ...

    Linus Torvalds
     

14 Oct, 2020

1 commit

  • Pull GPIO updates from Linus Walleij:
    "This time very little driver changes but lots of core changes.

    We have some interesting cooperative work for ARM and Intel alike,
    making the GPIO subsystem more and more suitable for industrial
    systems and the like, in addition to the in-kernel users.

    We touch driver core (device properties) and lib/* by adding one
    simple string array free function, these are authored by Andy
    Shevchenko who is a well known and recognized core helpers maintainers
    so this should be fine.

    We also see some Android GKI-related modularization in the MXC
    drivers.

    Core changes:

    - The big core change is the updated (v2) userspace character device
    API.

    This corrects badly designed 64-bit alignment around the line
    events. We also add the debounce request feature. This echoes the
    often quotes passage from Frederick Brooks "The mythical man-month"
    to always throw one away, which we have seen before in things such
    as V4L2. So we put in a new one and deprecate and obsolete the old
    one.

    - All example tools in tools/gpio/* are migrated to the new API to
    set a good example. The libgpiod userspace library has been
    augmented to use this new API pretty much from day 1.

    - Some misc API hardening by using strn* function calls has been
    added as well.

    - Use the simpler IDA interface for GPIO chip instance enumeration.

    - Add device core function for counting string arrays in device
    properties.

    - Provide a generic library function kfree_strarray() that can be
    used throughout the kernel.

    Driver enhancements:

    - The DesignWare dwapb-gpio driver has been enhanced and now uses the
    IRQ handling in the gpiolib core.

    - The mockup and aggregator drivers have seen some substantial code
    clean-up and now use more of the core kernel inftrastructure.

    - Misc cleanups using dev_err_probe().

    - The MXC drivers (Freescale/NXP) can now be built modularized, which
    makes modularized GKI Android kernels happy"

    * tag 'gpio-v5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (73 commits)
    gpiolib: Update header block in gpiolib-cdev.h
    gpiolib: cdev: switch from kstrdup() to kstrndup()
    docs: gpio: add a new document to its index.rst
    gpio: pca953x: Add support for the NXP PCAL9554B/C
    tools: gpio: add debounce support to gpio-event-mon
    tools: gpio: add multi-line monitoring to gpio-event-mon
    tools: gpio: port gpio-event-mon to v2 uAPI
    tools: gpio: port gpio-hammer to v2 uAPI
    tools: gpio: rename nlines to num_lines
    tools: gpio: port gpio-watch to v2 uAPI
    tools: gpio: port lsgpio to v2 uAPI
    gpio: uapi: document uAPI v1 as deprecated
    gpiolib: cdev: support setting debounce
    gpiolib: cdev: support GPIO_V2_LINE_SET_VALUES_IOCTL
    gpiolib: cdev: support GPIO_V2_LINE_SET_CONFIG_IOCTL
    gpiolib: cdev: support edge detection for uAPI v2
    gpiolib: cdev: support GPIO_V2_GET_LINEINFO_IOCTL and GPIO_V2_GET_LINEINFO_WATCH_IOCTL
    gpiolib: cdev: support GPIO_V2_GET_LINE_IOCTL and GPIO_V2_LINE_GET_VALUES_IOCTL
    gpiolib: add build option for CDEV v1 ABI
    gpiolib: make cdev a build option
    ...

    Linus Torvalds
     

13 Oct, 2020

1 commit

  • Pull irq updates from Thomas Gleixner:
    "Updates for the interrupt subsystem:

    Core:
    - Allow trimming of interrupt hierarchy to support odd hardware
    setups where only a subset of the interrupts requires the full
    hierarchy.

    - Allow the retrigger mechanism to follow a hierarchy to simplify
    driver code.

    - Provide a mechanism to force enable wakeup interrrupts on suspend.

    - More infrastructure to handle IPIs in the core code

    Architectures:
    - Convert ARM/ARM64 IPI handling to utilize the interrupt core code.

    Drivers:
    - The usual pile of new interrupt chips (MStar, Actions Owl, TI
    PRUSS, Designware ICTL)

    - ARM(64) IPI related conversions

    - Wakeup support for Qualcom PDC

    - Prevent hierarchy corruption in the NVIDIA Tegra driver

    - The usual small fixes, improvements and cleanups all over the
    place"

    * tag 'irq-core-2020-10-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (59 commits)
    dt-bindings: interrupt-controller: Add MStar interrupt controller
    irqchip/irq-mst: Add MStar interrupt controller support
    soc/tegra: pmc: Don't create fake interrupt hierarchy levels
    soc/tegra: pmc: Allow optional irq parent callbacks
    gpio: tegra186: Allow optional irq parent callbacks
    genirq/irqdomain: Allow partial trimming of irq_data hierarchy
    irqchip/qcom-pdc: Reset PDC interrupts during init
    irqchip/qcom-pdc: Set IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag
    pinctrl: qcom: Set IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag
    genirq/PM: Introduce IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag
    pinctrl: qcom: Use return value from irq_set_wake() call
    pinctrl: qcom: Set IRQCHIP_SET_TYPE_MASKED and IRQCHIP_MASK_ON_SUSPEND flags
    ARM: Handle no IPI being registered in show_ipi_list()
    MAINTAINERS: Add entries for Actions Semi Owl SIRQ controller
    irqchip: Add Actions Semi Owl SIRQ controller
    dt-bindings: interrupt-controller: Add Actions SIRQ controller binding
    dt-bindings: dw-apb-ictl: Update binding to describe use as primary interrupt controller
    irqchip/dw-apb-ictl: Add primary interrupt controller support
    irqchip/dw-apb-ictl: Refactor priot to introducing hierarchical irq domains
    genirq: Add stub for set_handle_irq() when !GENERIC_IRQ_MULTI_HANDLER
    ...

    Linus Torvalds
     

10 Oct, 2020

1 commit


09 Oct, 2020

2 commits

  • The dev_t is defined in types.h while struct gpio_device forward declaration
    is missed. Take into account above and update header block in gpiolib-cdev.h.

    Signed-off-by: Andy Shevchenko
    Link: https://lore.kernel.org/r/20201005095622.73616-1-andriy.shevchenko@linux.intel.com
    Signed-off-by: Linus Walleij

    Andy Shevchenko
     
  • Use kstrndup() to copy line labels from the userspace provided char
    array, rather than ensuring the char array contains a null terminator
    and using kstrdup().

    Note that the length provided to kstrndup() still assumes that the char
    array does contain a null terminator, so the maximum string length is one
    less than the array. This is consistent with the previous behaviour.

    Suggested-by: Andy Shevchenko
    Signed-off-by: Kent Gibson
    Link: https://lore.kernel.org/r/20201005070246.20927-1-warthog618@gmail.com
    Signed-off-by: Linus Walleij

    Kent Gibson