Re: [PATCH v2 5/8] staging:iio:ade7854: Replace many functions for one function

2018-03-18 Thread Jonathan Cameron
On Fri, 16 Mar 2018 19:49:40 -0300 Rodrigo Siqueira wrote: > This patch removes code duplications related to the write_reg_* > functions and centralizes them in a single function. Also, it eliminates > the legacy functions and replaces them by a unique signature

Re: [RFT][PATCH v5 0/7] sched/cpuidle: Idle loop rework

2018-03-18 Thread Rafael J. Wysocki
On Saturday, March 17, 2018 5:11:53 PM CET Doug Smythies wrote: > On 2018.03.17 Thomas Ilsche wrote: > > > Over the last week I tested v4+pollv2 and now v5+pollv3. With v5, I > > observe a particular idle behavior, that I have not seen before with > > v4. On a dual-socket Skylake system the idle

Re: [PATCH 4.15 000/128] 4.15.11-stable review

2018-03-18 Thread Greg Kroah-Hartman
On Sun, Mar 18, 2018 at 11:25:26AM +0100, Greg Kroah-Hartman wrote: > On Fri, Mar 16, 2018 at 04:22:21PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.15.11 release. > > There are 128 patches in this series, all will be posted as a response > > to this

Re: [PATCH 4.14 000/109] 4.14.28-stable review

2018-03-18 Thread Greg Kroah-Hartman
On Sun, Mar 18, 2018 at 11:24:54AM +0100, Greg Kroah-Hartman wrote: > On Fri, Mar 16, 2018 at 04:22:29PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.28 release. > > There are 109 patches in this series, all will be posted as a response > > to this

meter ABI: (was Re: [PATCH v2 1/3] staging:iio:meter: Replaces IIO_DEV_ATTR_CH_OFF by IIO_DEVICE_ATTR)

2018-03-18 Thread Jonathan Cameron
On Sat, 17 Mar 2018 23:11:45 -0700 John Syne wrote: > Hi Jonathan, Hi John and All, I'd love to get some additional input on this from anyone interested. There are a lot of weird and wonderful derived quantities in an energy meter and it seems we need to make some

Re: [PATCH] of: Respect CONFIG_CMDLINE{,_EXTENED,_FORCE) with no chosen node

2018-03-18 Thread Rob Herring
On Wed, Mar 14, 2018 at 09:31:05AM -0700, Palmer Dabbelt wrote: > Systems that boot without a chosen node in the device tree should still > respect the command lines that are built into the kernel. This patch > avoids bailing out of the command line argument parsing code when there > is no chosen

Re: [PATCH v6 11/25] of: base: Add of_get_cpu_state_node() to get idle states for a CPU node

2018-03-18 Thread Rob Herring
On Wed, Mar 14, 2018 at 05:58:21PM +0100, Ulf Hansson wrote: > The CPU's idle state nodes are currently parsed at the common cpuidle DT > library, but also when initializing back-end data for the arch specific CPU > operations, as in the PSCI driver case. > > To avoid open-coding, let's introduce

Re: [PATCH 1/4] dt-bindings: clock: meson: update documentation with hhi syscon

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 12:55:42PM +0100, Jerome Brunet wrote: > The HHI register region hosts more than just clocks and needs to > accessed drivers other than the clock controller, such as the display > driver. > > This register region should be managed by syscon. It is already the case > on

Re: [PATCH v2 2/2] iio: chemical: sgp30: Support Sensirion SGPxx sensors

2018-03-18 Thread Rob Herring
On Sat, Mar 10, 2018 at 11:07:30PM +0100, Andreas Brauchli wrote: > Support Sensirion SGP30 and SGPC3 multi-pixel I2C gas sensors > > Supported Features: > > * Indoor Air Quality (IAQ) concentrations for > - tVOC (in_concentration_voc_input) > - CO2eq (in_concentration_co2_input) - SGP30

Re: [PATCH] ARM: dts: sun8i-h3: Add Mali node

2018-03-18 Thread Rob Herring
On Tue, Mar 13, 2018 at 11:16:45AM +0100, Giulio Benetti wrote: > The H3 has an ARM Mali 400 GPU, so add binding to our DT. > > Signed-off-by: Giulio Benetti > --- > .../devicetree/bindings/gpu/arm,mali-utgard.txt| 1 + > arch/arm/boot/dts/sun8i-h3.dtsi

Re: [PATCH v4 1/3] dt-bindings: pinctrl: bcm2835-gpio: Add generic pinctrl support

2018-03-18 Thread Rob Herring
On Fri, Mar 09, 2018 at 01:13:58PM -0400, Matheus Castello wrote: > Added generic pin configuration and multiplexing support, > and shoud be preferred than brcm legacy one. > > Signed-off-by: Matheus Castello > --- > .../devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt

Re: [PATCH] of: unittest: Remove VLA stack usage

2018-03-18 Thread Rob Herring
On Mon, Mar 12, 2018 at 03:27:23PM +1100, Tobin C. Harding wrote: > The kernel would like to have all stack VLA usage removed[1]. This is a > test function so the execution speed is not critical. We can allocate > memory for this buffer instead of using a VLA. If kmalloc() fails just > return.

Re: [PATCH 2/3] of: overlay: Fix forgotten reference to of_overlay_apply()

2018-03-18 Thread Rob Herring
On Fri, Mar 09, 2018 at 11:44:47AM +0100, Geert Uytterhoeven wrote: > While technically the ovcs_id is still returned by of_overlay_apply(), > this is an internal function. All public callers of of_overlay_remove() > pass an ovcs_id returned by the public function of_overlay_fdt_apply(). > >

Re: [PATCH] mfd: dt-bindings: Add PMIC reset property

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 11:58:50AM +0100, Daniel Schultz wrote: > Add documentation about a new rk808 devicetree property, which can > enable resets by the PMIC. The subject needs to be more specific that this is for Rockchip PMIC. > > Signed-off-by: Daniel Schultz > --- >

Re: [PATCH 3/3] of: overlay: Remove unused of_overlay_remove_all()

2018-03-18 Thread Rob Herring
On Fri, Mar 09, 2018 at 11:44:48AM +0100, Geert Uytterhoeven wrote: > of_overlay_remove_all(), and its predecessor of_overlay_destroy_all(), > were never used. Maybe, but I think we should leave it. It's not that much and we'll just end up with open coded versions. > > Signed-off-by: Geert

Re: [PATCH v3 3/6] dt-bindings: soc: Add a binding for the Broadcom VCHIQ services. (v3)

2018-03-18 Thread Rob Herring
On Fri, Mar 09, 2018 at 10:44:14AM -0800, Eric Anholt wrote: > The VCHIQ communication channel can be provided by BCM283x and Capri > SoCs, to communicate with the VPU-side OS services. > > Signed-off-by: Eric Anholt > --- > > v2: VCHI->VCHIQ, dropped firmware property, added

[PATCH 2/7] Add TTBR operator for kasan_init

2018-03-18 Thread Abbott Liu
The purpose of this patch is to provide set_ttbr0/get_ttbr0 to kasan_init function. The definitions of cp15 registers should be in arch/arm/include/asm/cp15.h rather than arch/arm/include/asm/kvm_hyp.h, so move them. Cc: Andrey Ryabinin Reviewed-by: Marc Zyngier

[PATCH 6/7] Initialize the mapping of KASan shadow memory

2018-03-18 Thread Abbott Liu
From: Andrey Ryabinin This patch initializes KASan shadow region's page table and memory. There are two stage for KASan initializing: 1. At early boot stage the whole shadow region is mapped to just one physical page (kasan_zero_page). It's finished by the function

Re: Linux 4.16-rc1: regression bisected, Debian kernel package tool make-kpkg stalls indefinitely during kernel build due to commit "kconfig: remove check_stdin()"

2018-03-18 Thread Sander Eikelenboom
On 13/02/18 14:07, Ulf Magnusson wrote: > On Tue, Feb 13, 2018 at 1:35 PM, Ulf Magnusson wrote: >> On Tue, Feb 13, 2018 at 12:33:24PM +0100, Ulf Magnusson wrote: >>> On Tue, Feb 13, 2018 at 11:00:49AM +0100, Sander Eikelenboom wrote: On 13/02/18 05:09, Masahiro Yamada

Re: [PATCHv2 4/5] arm64: dts: allwinner: a64: Add pwm device

2018-03-18 Thread André Przywara
On 18/03/18 12:52, Rob Herring wrote: > On Thu, Mar 15, 2018 at 04:25:09PM +, Harald Geyer wrote: >> This device is compatible with A13, so no new driver is needed. >> A new compatible string is reserved in the binding documentation, to be >> used together with the proper fall back. Tested on

Re: [PATCH] net: dsa: drop some VLAs in switch.c

2018-03-18 Thread Salvatore Mesoraca
2018-03-14 13:48 GMT+01:00 Salvatore Mesoraca : > 2018-03-14 12:24 GMT+01:00 David Laight : >> Isn't using DECLARE_BITMAP() completely OTT when the maximum size is less >> than the number of bits in a word? > > It allocates ceiling(size/8) "unsigned

[PATCH 2/3] sound: usb: line6: Replace mdelay with msleep in line6_write_data

2018-03-18 Thread Jia-Ju Bai
line6_write_data() is never called in atomic context. The call chains ending up at line6_write_data() are: [1] line6_write_data() <- toneport_setup() <- toneport_init() <- line6_probe() [2] line6_write_data() <- toneport_setup() <- toneport_reset_resume() line6_probe() is called in

[PATCH 3/3] sound: usb: line6: Replace GFP_ATOMIC with GFP_KERNEL in line6_alloc_sysex_buffer

2018-03-18 Thread Jia-Ju Bai
line6_alloc_sysex_buffer() is never called in atomic context. The call chain ending up at line6_alloc_sysex_buffer() are: [1] line6_alloc_sysex_buffer() <- pod_alloc_sysex_buffer() <- pod_set_system_param_int() <- snd_pod_control_monitor_put() snd_pod_control_monitor_put() is only set as

[PATCH 1/3] sound: usb: line6: Replace mdelay with msleep in line6_read_data

2018-03-18 Thread Jia-Ju Bai
line6_read_data() is never called in atomic context. The call chains ending up at line6_read_data() are: [1] line6_read_data() <- line6_read_serial_number() -> pod_startup4() [2] line6_read_data() <- line6_read_serial_number() <- podhd_startup_workqueue() [3] line6_read_data() <-

Re: [PATCH] Staging: xgifb: XGI_main_26.c: Fixed over 80 column characters

2018-03-18 Thread Pratik Jain
Thanks for the advice. I will work on it.

Re: [PATCH] iio/adc/ad7291: Improve unlocking of a mutex in ad7291_read_raw()

2018-03-18 Thread Jonathan Cameron
On Tue, 13 Mar 2018 20:16:27 +0100 SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 13 Mar 2018 20:08:40 +0100 > > * Add a jump target so that a call of the function "mutex_unlock" is stored > only once in this

Re: [PATCH 4.4 00/63] 4.4.122-stable review

2018-03-18 Thread Greg Kroah-Hartman
On Sat, Mar 17, 2018 at 03:51:14PM +0530, Naresh Kamboju wrote: > On 17 March 2018 at 15:41, Naresh Kamboju wrote: > > On 16 March 2018 at 20:52, Greg Kroah-Hartman > > wrote: > >> This is the start of the stable review cycle for the 4.4.122

[GIT pull] EFI fix for 4.16

2018-03-18 Thread Thomas Gleixner
Linus, please pull the latest efi-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-urgent-for-linus A single fix to prevent partially initialized pointers in mixed mode (64bit kernel on 32bit UEFI). Thanks, tglx --> Ard

Re: [PATCH 6/9] sunxi-cedrus: Add device tree binding document

2018-03-18 Thread Rob Herring
On Fri, Mar 09, 2018 at 11:14:42AM +0100, Paul Kocialkowski wrote: > From: Florent Revest "device tree binding document" can all be summarized with the subject prefix "dt-bindings: media: ". Also, email should be updated to @bootlin.com? > > Device Tree

Re: [PATCH RESEND 2/2] clk: stm32: Add DSI clock for STM32F469 Board

2018-03-18 Thread Rob Herring
On Fri, Mar 09, 2018 at 07:57:31AM +0100, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > This patch adds DSI clock for STM32F469 board > > Signed-off-by: Gabriel Fernandez > --- > drivers/clk/clk-stm32f4.c | 11

Re: [PATCH v2 3/3] dt-bindings: phy-mtk-tphy: add properties for U2 slew rate calibrate

2018-03-18 Thread Rob Herring
On Mon, Mar 12, 2018 at 01:25:40PM +0800, Chunfeng Yun wrote: > Add two properties of ref_clk and coefficient used by U2 slew rate > calibrate which may vary on different SoCs > > Signed-off-by: Chunfeng Yun > --- >

Re: [PATCH v2 1/2] dt-bindings: mailbox: add STMicroelectronics STM32 IPCC binding

2018-03-18 Thread Rob Herring
On Mon, Mar 12, 2018 at 11:58:26AM +0100, Fabien Dessenne wrote: > Add a binding for the STMicroelectronics STM32 IPCC block exposing a > mailbox mechanism between two processors. > > Signed-off-by: Fabien Dessenne > Signed-off-by: Ludovic Barre >

Re: [PATCH v2 3/5] dt-bindings: clock: add clocks for MT2712

2018-03-18 Thread Rob Herring
On Mon, Mar 12, 2018 at 03:03:40PM +0800, Weiyi Lu wrote: > add new clocks according to ECO design change > > Signed-off-by: Weiyi Lu > --- > include/dt-bindings/clock/mt2712-clk.h | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) Reviewed-by: Rob

Re: [PATCH] drivers: gpio: pca953x: add compatibility for pcal6524 and pcal9555a

2018-03-18 Thread Rob Herring
On Sat, Mar 10, 2018 at 12:00:01PM +0100, H. Nikolaus Schaller wrote: > The Pyra-Handheld originally used the tca6424 but recently we have > replaced it by the pin and package compatible pcal6524. So let's > add this to the bindings and the driver. > > And while we are at it, the pcal9555a does

Re: [PATCH 1/3] of: Documentation: Fix forgotten reference to of_overlay_apply()

2018-03-18 Thread Rob Herring
On Fri, Mar 09, 2018 at 11:44:46AM +0100, Geert Uytterhoeven wrote: > Fixes: 93a6039000b5acab ("of: Documentation: of_overlay_apply() replaced by > of_overlay_fdt_apply()") > Signed-off-by: Geert Uytterhoeven > --- > Documentation/devicetree/overlay-notes.txt | 4 ++-- >

Re: [PATCH 2/2] usb: dwc3: add clock and resets

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 08:39:58PM +0900, Masahiro Yamada wrote: > dwc3-of-simple.c only handles arbitrary number of clocks and resets. > They are both generic enough to be put into the dwc3 core. For simple > cases, a nested node structure like follows: > > dwc3-glue { > compatible

Re: [PATCH 2/8] drm/sun4i: Add DT binding for Detail Enhancement Unit in Allwinner A80 SoC

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 07:41:30PM +0800, Chen-Yu Tsai wrote: > The display pipeline on the A80 SoC has what is called the Detail > Enhancement Unit, or DEU for short, block in between the display > frontend and backend. This unit can sharpen images in both luma > and chroma channels. It seems to

Re: [PATCH v2] clk: Add driver for the si544 clock generator chip

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 12:50:08PM +0100, Mike Looijmans wrote: > This patch adds the driver and devicetree documentation for the > Silicon Labs SI544 clock generator chip. This is an I2C controlled > oscillator capable of generating clock signals ranging from 200kHz > to 1500MHz. > >

Re: [PATCH v3 2/2] ASoC: Add bindings for PCM1789

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 05:18:25PM +0100, Mylène Josserand wrote: > Add a device-tree binding for Texas Instrument's PCM1789 codec. > For the moment, only I2C bus is supported but SPI could be added > in future. > > Signed-off-by: Mylène Josserand > --- >

Re: [PATCH] of: unittest: fix an error code in of_unittest_apply_overlay()

2018-03-18 Thread Rob Herring
On Wed, Mar 14, 2018 at 11:08:28PM +0300, Dan Carpenter wrote: > We accidentally return zero on failure instead of a negative error code. > > Fixes: 39a751a4cb7e ("of: change overlay apply input data from unflattened to > FDT") > Signed-off-by: Dan Carpenter Applied.

Re: [PATCH 4/8] drm/sun4i: Add compatible strings for the A80 display pipeline

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 07:41:32PM +0800, Chen-Yu Tsai wrote: > This patch adds compatible strings for the remaining documented > components of the Allwinner A80 display pipeline. > > Signed-off-by: Chen-Yu Tsai > --- >

Re: [PATCH v11 1/2] clk: npcm750: Add binding for Nuvoton NPCM7XX clock\n

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 03:45:17PM +0200, Tali Perry wrote: > * Nuvoton NPCM7XX Clock Controller Trailing '\n' on the subject. > > Nuvoton Poleg BMC NPCM7XX contains an integrated clock controller, which > generates and supplies clocks to all modules within the BMC. > > 10 ==> 11 > update

Re: [PATCHv2 2/5] arm64: dts: allwinner: a64: Add watchdog

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 04:25:07PM +, Harald Geyer wrote: > Add a watchdog node for the A64, automatically enabled on all boards. > Since the device is compatible with an existing driver, we only reserve > a new compatible string to be used together with the fall back. > Tested on Olimex

Re: [PATCH 1/3] dt-bindings: Add vendor prefix for Bticino

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 10:37:08PM +0530, Jagan Teki wrote: > Added 'bticino' vendor prefix for Bticino International. > > Signed-off-by: Jagan Teki > Signed-off-by: Simone CIANNI > Signed-off-by: Raffaele RECALCATI

[PATCH v2 0/7] KASan for arm

2018-03-18 Thread Abbott Liu
Changelog: v2 - v1 - Fixed some compiling error which happens on changing kernel compression mode to lzma/xz/lzo/lz4. ---Reported by: Florian Fainelli , Russell King - ARM Linux - Fixed a compiling error cause by some older arm

[PATCH 4/7] Replace memory function for kasan

2018-03-18 Thread Abbott Liu
From: Andrey Ryabinin Functions like memset/memmove/memcpy do a lot of memory accesses. If bad pointer passed to one of these function it is important to catch this. Compiler's instrumentation cannot do this since these functions are written in assembly. KASan replaces

[PATCH 3/7] Disable instrumentation for some code

2018-03-18 Thread Abbott Liu
From: Andrey Ryabinin Disable instrumentation for arch/arm/boot/compressed/* and arch/arm/vdso/* because those code won't linkd with kernel image. Disable kasan check in the function unwind_pop_register because it doesn't matter that kasan checks failed when

[PATCH 7/7] Enable KASan for arm

2018-03-18 Thread Abbott Liu
From: Andrey Ryabinin This patch enable kernel address sanitizer for arm. Cc: Andrey Ryabinin Tested-by: Florian Fainelli Signed-off-by: Abbott Liu --- arch/arm/Kconfig | 1 + 1 file changed, 1

[PATCH 5/7] Define the virtual space of KASan's shadow region

2018-03-18 Thread Abbott Liu
Define KASAN_SHADOW_OFFSET,KASAN_SHADOW_START and KASAN_SHADOW_END for arm kernel address sanitizer. ++ 0x || || || ++ CONFIG_PAGE_OFFSET ||\ || |-> module virtual address space area. ||/ ++ MODULE_VADDR =

Re: [PATCH v2 1/2] sysfs: symlink: export sysfs_create_link_nowarn()

2018-03-18 Thread Greg Kroah-Hartman
On Fri, Mar 16, 2018 at 05:08:34PM -0500, Grygorii Strashko wrote: > The sysfs_create_link_nowarn() is going to be used in phylib framework in > subsequent patch which can be built as module. Hence, export > sysfs_create_link_nowarn() to avoid build errors. > > Cc: Florian Fainelli

[PATCH 1/7] 2 1-byte checks more safer for memory_is_poisoned_16

2018-03-18 Thread Abbott Liu
Because in some architecture(eg. arm) instruction set, non-aligned access support is not very well, so 2 1-byte checks is more safer than 1 2-byte check. The impact on performance is small because 16-byte accesses are not too common. Cc: Andrey Ryabinin Reviewed-by:

Re: [PATCH v16 06/13] task_isolation: userspace hard isolation from kernel

2018-03-18 Thread Yury Norov
Hi Chris, On Fri, Nov 03, 2017 at 01:04:45PM -0400, Chris Metcalf wrote: > The existing nohz_full mode is designed as a "soft" isolation mode > that makes tradeoffs to minimize userspace interruptions while > still attempting to avoid overheads in the kernel entry/exit path, > to provide 100%

Re: [patch -mm 4/6] mm, memcg: evaluate root and leaf memcgs fairly on oom

2018-03-18 Thread kbuild test robot
/0day-ci/linux/commits/David-Rientjes/rewrite-cgroup-aware-oom-killer-for-general-use/20180318-222124 config: i386-randconfig-x013-201811 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors

Re: [PATCH v4 1/3] dt-bindings: pinctrl: bcm2835-gpio: Add generic pinctrl support

2018-03-18 Thread Matheus Castello
Hi Rob, sorry I used allwinner,sunxi-pinctrl.txt from Maxime Ripard as a base, I used the same words, I thought it would be correct. I will modify this to: The BCM2835 pin configuration and multiplexing supports the generic bindings. For details on each properties, you can refer to

[PATCH] ASoC: samsung: Mark unused Odroid compatibles as deprecated

2018-03-18 Thread Krzysztof Kozlowski
Compatible for XU4 audio is not being used. Instead the board uses the same compatible as XU3. The devices are now just compatible so they should use the same value. Mark hardkernel,odroid-xu4-audio as being deprecated so in future could be removed to limit useless compatibles. Additionally

Re: [RFT][PATCH v5 0/7] sched/cpuidle: Idle loop rework

2018-03-18 Thread Rafael J. Wysocki
On Sun, Mar 18, 2018 at 12:00 PM, Rafael J. Wysocki wrote: > On Saturday, March 17, 2018 5:11:53 PM CET Doug Smythies wrote: >> On 2018.03.17 Thomas Ilsche wrote: >> >> > Over the last week I tested v4+pollv2 and now v5+pollv3. With v5, I >> > observe a particular idle

Re: [PATCH v2 2/8] staging:iio:ade7854: Fix the wrong number of bits to read

2018-03-18 Thread Jonathan Cameron
On Fri, 16 Mar 2018 19:48:51 -0300 Rodrigo Siqueira wrote: > The function ade7854_i2c_read_reg_32() have to invoke the > i2c_master_recv() for read 32 bits values, however, the counter is set > to 3 which means 24 bits. This patch fixes the wrong size of 24 bits,

Re: [PATCH] iio/gyro/bmg160_core: Improve unlocking of a mutex in five functions

2018-03-18 Thread Greg Kroah-Hartman
On Sat, Mar 17, 2018 at 07:54:22PM +, Jonathan Cameron wrote: > On Wed, 14 Mar 2018 16:15:32 +0100 > SF Markus Elfring wrote: > > > From: Markus Elfring > > Date: Wed, 14 Mar 2018 16:06:49 +0100 > > > > * Add jump targets so

Re: [PATCH v2 8/8] staging:iio:ade7854: Remove read_reg_* duplications

2018-03-18 Thread Jonathan Cameron
On Fri, 16 Mar 2018 19:50:29 -0300 Rodrigo Siqueira wrote: > The original code had a read function per data size; after updates, all > read functions tasks were centralized in a single function, but the old > signature was kept to maintain the module working

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-18 Thread Greg Kroah-Hartman
On Sat, Mar 17, 2018 at 08:02:57PM +0530, Vinod Koul wrote: > On Fri, Mar 16, 2018 at 01:46:40PM -0500, Dan Rue wrote: > > On Fri, Mar 16, 2018 at 04:23:33PM +0100, Greg Kroah-Hartman wrote: > > > 4.14-stable review patch. If anyone has any objections, please let me > > > know. > > > > > >

Re: [PATCH] iio/adc/nau7802: Improve unlocking of a mutex in nau7802_read_raw()

2018-03-18 Thread Jonathan Cameron
On Tue, 13 Mar 2018 20:56:25 +0100 SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 13 Mar 2018 20:52:26 +0100 > > * Add a jump target so that a call of the function "mutex_unlock" is stored > only once in this

linux-next on x60: network manager often complains "network is disabled" after resume

2018-03-18 Thread Pavel Machek
Hi! With recent linux-next, after resume networkmanager often claims that "network is disabled". Sometimes suspend/resume clears that. Any ideas? Does it work for you? Pavel -- (english)

[GIT pull] x86 fix for 4.16

2018-03-18 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus A single fix for vmalloc_fault() which uses p*d_huge() unconditionally whether CONFIG_HUGETLBFS is set or not. In case of CONFIG_HUGETLBFS=n this

Good day friend!!!

2018-03-18 Thread Wesley
Am Wes from United States but currently in Syria for peace keeping mission. I am currently looking for friendship that will lead to relationship in which I feel loved again. I want to get to know you better, if I may be so bold. I consider myself an easy-going man.. Please

Re: [PATCH] Staging: xgifb: XGI_main_26.c: Fixed multi-line dereference warning

2018-03-18 Thread Pratik Jain
IGNORE THIS THREAD

Re: Linux 3.18.100

2018-03-18 Thread Greg KH
diff --git a/Makefile b/Makefile index a94a5e5d84ca..6544b6ed9d46 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 99 +SUBLEVEL = 100 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/mips/kernel/smp-bmips.c b/arch/mips/kernel/smp-bmips.c index

Linux 4.4.122

2018-03-18 Thread Greg KH
I'm announcing the release of the 4.4.122 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 4.9.88

2018-03-18 Thread Greg KH
I'm announcing the release of the 4.9.88 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.122

2018-03-18 Thread Greg KH
diff --git a/Makefile b/Makefile index 0e22e4eb85cc..3eb21d269b42 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 121 +SUBLEVEL = 122 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi

Linux 3.18.100

2018-03-18 Thread Greg KH
I'm announcing the release of the 3.18.100 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Re: [PATCH] pcie: qcom: Add support to enable pcie refclk

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 02:41:33PM +, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > This patch adds support to enable 100MHz pcie refclk, > On some boards like DB600c this clock is not enabled by default. > > Signed-off-by: Srinivas

Re: [PATCH v5 4/9] dt-bindings: gpio: Add gpio nodes for Actions S900 SoC

2018-03-18 Thread Rob Herring
On Fri, Mar 09, 2018 at 10:43:40AM +0530, Manivannan Sadhasivam wrote: > Add gpio nodes for Actions Semi S900 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > .../devicetree/bindings/gpio/actions,owl-gpio.txt | 90 > ++ > 1 file

Re: [PATCHv2 4/5] arm64: dts: allwinner: a64: Add pwm device

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 04:25:09PM +, Harald Geyer wrote: > This device is compatible with A13, so no new driver is needed. > A new compatible string is reserved in the binding documentation, to be > used together with the proper fall back. Tested on Teres-I. > > Signed-off-by: Harald Geyer

Re: [PATCH 1/2] dt-bindings: analogix-dp: Add backlight-pwm-passthru

2018-03-18 Thread Rob Herring
On Fri, Mar 16, 2018 at 02:56:09PM +0530, Archit Taneja wrote: > > > On Friday 16 March 2018 08:26 AM, Alexandru M Stan wrote: > > Documentation for the optional backlight-pwm-passthru property. > > Tells the EDP panel to folow the input pwm frequency instead > > s/folow/follow > > It would be

Re: [PATCH 1/8] drm/sun4i: Add compatible strings for A80 TCONs

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 07:41:29PM +0800, Chen-Yu Tsai wrote: > The A80 has 2 or 3 TCONs. The documentation and vendor kernel are very > vague about the third TCON, to the point that it might not exist. > > In the documentation, the first TCON is missing channel 1, and the > second is missing

Re: [PATCH 2/7] soc: qcom: rpmpd: Add a powerdomain driver to model corners

2018-03-18 Thread Rob Herring
On Fri, Mar 16, 2018 at 09:38:19AM +0530, Rajendra Nayak wrote: > The powerdomains for corners just pass the performance state set by the > consumers to the RPM (Remote Power manager) which then takes care > of setting the appropriate voltage on the corresponding rails to > meet the performance

Re: [PATCH 5/6] dt-bindings: phy-qcom-usb2: Update bindings for sdm845

2018-03-18 Thread Rob Herring
On Fri, Mar 16, 2018 at 03:14:58PM +0530, Manu Gautam wrote: > Update compatible strings for USB2 PHYs on sdm845. > There are two QUSB2 PHYs present on sdm845. Few PHY registers > programming is different for these PHYs related to electrical > parameters, otherwise both are same. Register

Re: [PATCH v4 6/9] dt-bindings: add device tree binding for Allwinner H6 main CCU

2018-03-18 Thread Rob Herring
On Fri, Mar 16, 2018 at 10:02:12PM +0800, Icenowy Zheng wrote: > The Allwinner H6 main CCU uses the internal oscillator of the SoC, which > is different with old SoCs' main CCU. > > Add device tree binding for the Allwinner H6 main CCU. > > Signed-off-by: Icenowy Zheng > --- >

Re: [PATCH 3/6] dt-bindings: phy-qcom-qmp: Update bindings for sdm845

2018-03-18 Thread Rob Herring
On Fri, Mar 16, 2018 at 03:14:56PM +0530, Manu Gautam wrote: > Update compatible strings for USB3 PHYs on SDM845. > One is QMPv3 DisplayPort-USB combo PHY and other one > is USB UNI PHY which is single lane USB3 PHY without > DP capability. > > Signed-off-by: Manu Gautam

Re: [PATCH 1/2] ARM: dts: pfuze3000: update sw1a/vldo4 voltage range

2018-03-18 Thread Fabio Estevam
On Sat, Mar 17, 2018 at 11:23 PM, Anson Huang wrote: > I thought the max value here means the capability of regulator itself, like > the internal No it is not. Please check Documentation/devicetree/bindings/regulator/regulator.txt: "- regulator-max-microvolt: largest

Re: [PATCH 1/7] 2 1-byte checks more safer for memory_is_poisoned_16

2018-03-18 Thread Russell King - ARM Linux
On Sun, Mar 18, 2018 at 08:53:36PM +0800, Abbott Liu wrote: > Because in some architecture(eg. arm) instruction set, non-aligned > access support is not very well, so 2 1-byte checks is more > safer than 1 2-byte check. The impact on performance is small > because 16-byte accesses are not too

Re: [PATCH 1/4] gpio: Remove VLA from gpiolib

2018-03-18 Thread Lukas Wunner
On Sat, Mar 17, 2018 at 09:25:09AM +0100, Lukas Wunner wrote: > On Mon, Mar 12, 2018 at 04:00:36PM +0100, Rasmus Villemoes wrote: > > On 2018-03-10 01:10, Laura Abbott wrote: > > > @@ -2887,14 +2909,30 @@ void gpiod_set_array_value_complex(bool raw, bool > > > can_sleep, > > > > > > while (i

RE: [RFT][PATCH v5 0/7] sched/cpuidle: Idle loop rework

2018-03-18 Thread Doug Smythies
On 2018.03.18 04:01 Rafael J. Wysocki wrote: > Below is a drop-in v6 replacement for patch [4/7]. > > With this new patch applied instead of the [4/7] the behavior should be much > more in line with the v4 behavior, so please try it if you can and let me know > if that really is the case on your

Re: [PATCH v1 0/2] PCI: Sparc 64-bit resource fixups

2018-03-18 Thread David Miller
From: Bjorn Helgaas Date: Tue, 20 Feb 2018 17:39:35 -0600 > Both these patches are on my pci/sparc branch and appeared in the > Feb 19 linux-next tree. > > Any testing and feedback (especially on the second patch, which should > change /proc/iomem) would be great. > >

[RFC PATCH 2/6] fs: provide a generic compat_sys_truncate64() implementation

2018-03-18 Thread Dominik Brodowski
The compat_sys_truncate64() implementations in mips, powerpc, s390, sparc and x86 only differed based on whether the u64 parameter needed padding and on its endianness. Oh, and some defined the parameters as "unsigned long" which expanded to u64, though it only expected u32 in these parameters.

Re: [PATCH v12 1/9] iomap: Fix sparse endian check warnings

2018-03-18 Thread Luc Van Oostenryck
On Fri, Mar 16, 2018 at 09:48:44AM -0600, Logan Gunthorpe wrote: > Warnings of the form: > > lib/iomap.c:84:9: warning: cast to restricted __be16 > > Are found when running sparse checker with: > > make C=2 CF=-D__CHECK_ENDIAN__ > > This patch casts them with __force to suppress the warnings.

[RFC PATCH 3/6] fs: provide generic compat_sys_p{read,write}64() implementations

2018-03-18 Thread Dominik Brodowski
The compat_sys_{read,write}64() implementations in mips, powerpc, s390, sparc and x86 only differed based on whether the u64 parameter needed padding and on their endianness. Oh, and some defined the parameters as u64 or "unsigned long" which expanded to u64, though it only expected u32 in these

[RFC PATCH 4/6] mm: provide generic compat_sys_readahead() implementation

2018-03-18 Thread Dominik Brodowski
The compat_sys_readahead() implementations in mips, powerpc, s390, sparc and x86 only differed based on whether the u64 parameter needed padding and on their endianness. Oh, and some defined the parameters as u64 or "unsigned long" which expanded to u64, though it only expected u32 in these

Re: [PATCH v2 3/8] staging:iio:ade7854: Rework I2C write function

2018-03-18 Thread Jonathan Cameron
On Fri, 16 Mar 2018 19:49:08 -0300 Rodrigo Siqueira wrote: > The write operation using I2C has many code duplications and four > different interfaces per data size. This patch introduces a single > function that centralizes the main tasks. > > The central function

Re: [PATCH v2 4/8] staging:iio:ade7854: Rework SPI write function

2018-03-18 Thread Jonathan Cameron
On Fri, 16 Mar 2018 19:49:24 -0300 Rodrigo Siqueira wrote: > The write operation using SPI has a many code duplications (similar to > I2C) and four different interfaces per data size. This patch introduces > a single function that centralizes the main task related

Re: [PATCH v2] Staging: iio: adis16209: Move adis16209 driver out of staging

2018-03-18 Thread Jonathan Cameron
On Sun, 18 Mar 2018 15:18:44 +0530 Shreeya Patel wrote: > On 10 March 2018 21:27:31 GMT+05:30, Jonathan Cameron > > Hi Jonathan > > >On Sat, 10 Mar 2018 15:50:23 +0530 > >Shreeya Patel wrote: > > > >> Move the

[GIT pull] irq fixes for 4.16

2018-03-18 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus Three fixes for irq chip drivers: - Make sure the allocations in the GIC-V3 ITS driver are large enough to accomodate the interrupt space

[GIT pull] x86/pti updates for 4.16

2018-03-18 Thread Thomas Gleixner
Linus, please pull the latest x86-pti-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus Another set of melted spectrum updates: - Iron out the last late microcode loading issues by actually checking whether new microcode is present

[PATCH] Staging: xgifb: XGI_main_26.c: Fixed over 80 column characters

2018-03-18 Thread Pratik Jain
Fixed coding style issues detected by checkpatch.pl Signed-off-by: Pratik Jain --- drivers/staging/xgifb/XGI_main_26.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c

Re: Unknown symbols in module (iio)

2018-03-18 Thread Srishti Sharma
On Sun, Mar 18, 2018 at 4:34 PM, Jonathan Cameron wrote: > On Sat, 17 Mar 2018 13:42:24 -0700 > Randy Dunlap wrote: > >> [adding linux-iio mailing list] >> >> Hi, >> >> It's always a good idea to include the kernel version in a problem report.

Re: [PATCH v2 1/4] dt-bindings: mfd: bd9571mwv: Document DDR Backup Mode properties

2018-03-18 Thread Rob Herring
On Wed, Mar 14, 2018 at 12:08:39PM +0100, Geert Uytterhoeven wrote: > Document the new optional properties related to DDR Backup Mode and > toggle/momentary power switches. > > Signed-off-by: Geert Uytterhoeven > --- > v2: > - Improve property description, > - Add

Re: [PATCH v4 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 02:46:45PM +0100, Sebastian Reichel wrote: > Hi Thierry, > > On Thu, Mar 15, 2018 at 12:07:44PM +0100, Thierry Escande wrote: > > > > BT_DISABLE_N is the name of this pin in the datasheet of the QCA chip, > > > > not on the board, so this name is the same regardless of

Re: [PATCH v1 1/2] dt-bindings: usb: Update documentation for Qualcomm DWC3 driver

2018-03-18 Thread Rob Herring
On Tue, Mar 13, 2018 at 04:06:00PM +0530, Manu Gautam wrote: > Existing documentation has lot of incorrect information as it > was originally added for a driver that no longer exists. > > Signed-off-by: Manu Gautam > --- > .../devicetree/bindings/usb/qcom,dwc3.txt

Re: [PATCH v2 1/2] dt-bindings: reset: add STM32MP1 resets

2018-03-18 Thread Rob Herring
On Wed, Mar 14, 2018 at 05:30:00PM +0100, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > This patch adds the reset binding entry for STM32MP1 > > Signed-off-by: Gabriel Fernandez > --- >

Re: [PATCH v1 1/8] dt-bindings: stm32-dma: introduce DMA features bitfield

2018-03-18 Thread Rob Herring
On Tue, Mar 13, 2018 at 05:42:00PM +0100, Pierre-Yves MORDRET wrote: > This bitfield intends to address features to be activated within the > driver. Initially the mask was only meant for FIFO Threshold management. > Backward compatibility is preserved but the meaning of this field has been >

  1   2   3   4   5   6   7   8   9   >