Re: [PATCH v5 3/5] bnx2x: Eliminate duplicate barriers on weakly-ordered archs

2018-03-24 Thread Sinan Kaya
On 3/24/2018 10:30 AM, Chopra, Manish wrote: >> -Original Message- >> From: Sinan Kaya [mailto:ok...@codeaurora.org] >> Sent: Friday, March 23, 2018 10:44 PM >> To: David Miller >> Cc: net...@vger.kernel.org; ti...@codeaurora.org; sulr...@codeaurora.org; >> linux-arm-...@vger.kernel.org; l

Re: [PATCH net-next 6/8] MIPS: mscc: Add switch to ocelot

2018-03-24 Thread Andrew Lunn
On Fri, Mar 23, 2018 at 03:11:23PM -0700, Florian Fainelli wrote: > On 03/23/2018 03:06 PM, Andrew Lunn wrote: > >>> That is the trade off of having a standalone MDIO bus driver. Maybe > >>> add a phandle to the internal MDIO bus? The switch driver could then > >>> follow the phandle, and direct c

Re: [PATCH v5 1/2] mfd: arizona: Update reset pin to use GPIOD

2018-03-24 Thread Linus Walleij
On Mon, Mar 12, 2018 at 4:52 PM, Charles Keepax wrote: > Now GPIOD has support for both pdata systems and for non-standard DT > bindings the Arizona reset GPIO can be converted to use it. Worth > noting gpiod_set_raw_value_cansleep is used to match the behaviour > of the old GPIOs. This is becaus

RE: [PATCH v5 3/5] bnx2x: Eliminate duplicate barriers on weakly-ordered archs

2018-03-24 Thread Chopra, Manish
> -Original Message- > From: Sinan Kaya [mailto:ok...@codeaurora.org] > Sent: Friday, March 23, 2018 10:44 PM > To: David Miller > Cc: net...@vger.kernel.org; ti...@codeaurora.org; sulr...@codeaurora.org; > linux-arm-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Elior, > Ariel

Re: [PATCH v3 1/2] x86, msr: allow rdmsr_safe_on_cpu() to schedule

2018-03-24 Thread Eric Dumazet
On 03/24/2018 01:09 AM, Ingo Molnar wrote: > > * Eric Dumazet wrote: > >> I noticed high latencies caused by a daemon periodically reading >> various MSR on all cpus. KASAN kernels would see ~10ms latencies >> simply reading one MSR. Even without KASAN, sending IPI to CPU >> in deep sleep stat

Re: [PATCH 4/4] Staging: iio: accel: adis16201: Move adis16201 driver out of staging

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 00:42:45 +0530 Himanshu Jha wrote: > Move adis16201 driver out of staging and merge into mainline > IIO subsystem. > > Signed-off-by: Himanshu Jha There are a few really minor points inline. However, non prevent this moving out of staging (and I'll fix one up anyway). App

Re: [bug, bisected] pfifo_fast causes packet reordering

2018-03-24 Thread John Fastabend
On 03/22/2018 03:16 AM, Jakob Unterwurzacher wrote: > On 21.03.18 21:52, John Fastabend wrote: >> Can you try this, >> >> diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h >> index d4907b5..1e596bd 100644 >> --- a/include/net/sch_generic.h >> +++ b/include/net/sch_generic.h >> @@ -

Re: [PATCHv4] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4

2018-03-24 Thread Tony Lindgren
* Dan Williams [180324 14:00]: > On Fri, 2018-03-23 at 21:13 +0100, Pavel Machek wrote: > > Does ofonod work for you? I could not get that one to work... > > Because it's looking for a Gobi modem but the MDM6600 isn't one and > doesn't expose that layout (and doesn't really need to anyway). I >

Re: [PATCH v2 0/3] mfd/abx500-core: Adjustments for eight function implementations

2018-03-24 Thread Linus Walleij
On Fri, Mar 9, 2018 at 5:00 PM, SF Markus Elfring wrote: > From: Markus Elfring > > Three update suggestions were taken into account > from static source code analysis. The series: Acked-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 3/4] Staging: iio: accel: adis16201: Fix 80 character line limit

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 00:42:44 +0530 Himanshu Jha wrote: > Split the line over 80 characters limit to fix checkpatch > warning. > > Signed-off-by: Himanshu Jha Applied, Thanks, Jonathan > --- > drivers/staging/iio/accel/adis16201.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >

Re: [PATCH 2/4] Staging: iio: accel: adis16201: Use GENMASK

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 00:42:43 +0530 Himanshu Jha wrote: > Use GENMASK to improve readability and remove the local variables used to > store intermediate data. > > Signed-off-by: Himanshu Jha Applied to the togreg branch of iio.git. Thanks, Jonathan > --- > drivers/staging/iio/accel/adis16201

Re: [PATCH 1/4] Staging: iio: accel: adis16201: Remove unused headers

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 00:42:42 +0530 Himanshu Jha wrote: > Remove few unused headers files since the adis core handles the buffer and > sysfs support. > > Signed-off-by: Himanshu Jha Applied to the togreg branch of iio.git and pushed out as testing. Thanks, Jonathan > --- > drivers/staging/ii

Re: [PATCH] trace: instrument security and console initcall

2018-03-24 Thread kbuild test robot
/linux/commits/Abderrahmane-Benbachir/trace-instrument-security-and-console-initcall/20180324-215004 config: i386-tinyconfig (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 (new ones

Re: [PATCH for-4.16 2/3] drivers: change struct device_driver::coredump() return type to void

2018-03-24 Thread Arend van Spriel
+ Marcel On Sat, Mar 24, 2018 at 10:04 AM, Greg Kroah-Hartman wrote: > On Sat, Mar 24, 2018 at 09:50:05AM +0100, Arend van Spriel wrote: >> On Fri, Mar 23, 2018 at 5:55 PM, Greg Kroah-Hartman >> wrote: >> > On Thu, Mar 15, 2018 at 10:55:24AM +0100, Arend van Spriel wrote: >> >> Upon submitting a

Re: [PATCH 2/3] dt-bindings: iio: wrapper: add io-channel-unit-converter

2018-03-24 Thread Jonathan Cameron
On Sat, 24 Mar 2018 13:53:19 + Jonathan Cameron wrote: > On Mon, 19 Mar 2018 18:02:45 +0100 > Peter Rosin wrote: > > > Allow linear scaling and modification of the type of an io-channel. > > > > When an ADC channel measures the midpoint of a voltage divider, the > > interesting voltage is

Re: [PATCH 3/3] iio: wrapper: unit-converter: new driver

2018-03-24 Thread Jonathan Cameron
On Mon, 19 Mar 2018 18:02:46 +0100 Peter Rosin wrote: > If an ADC channel measures the midpoint of a voltage divider, the > interesting voltage is often the voltage over the full resistance. > E.g. if the full voltage it too big for the ADC to handle. > Likewise, if an ADC channel measures the vo

Re: [PATCHv4] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4

2018-03-24 Thread Dan Williams
On Fri, 2018-03-23 at 21:13 +0100, Pavel Machek wrote: > On Fri 2018-03-23 12:35:21, Sebastian Reichel wrote: > > Hi, > > > > On Fri, Mar 23, 2018 at 11:54:55AM +0100, Pavel Machek wrote: > > > Hi! > > > > > > > > > Do you have the related dts patches picked from next? > > > > > > > > > > > > fd

Re: [PATCH 2/3] dt-bindings: iio: wrapper: add io-channel-unit-converter

2018-03-24 Thread Jonathan Cameron
On Mon, 19 Mar 2018 18:02:45 +0100 Peter Rosin wrote: > Allow linear scaling and modification of the type of an io-channel. > > When an ADC channel measures the midpoint of a voltage divider, the > interesting voltage is often the voltage over the full resistance > of the divider. Likewise, meas

**Herzlichen Glückwunsch**

2018-03-24 Thread Euro Millions
Herzlichen Glückwunsch, Sie haben 650.000 Euro in den monatlichen Gewinnspielen von Euro Millions/Google Promo am 10. März 2018 gewonnen. Kontaktieren Sie unseren Schadenregulierungsbeauftragten mit den folgenden Informationen Vollständiger Name Heimatadresse Geschlecht Alter Telefon Mr.Pianes

Re: [PATCH 0/3] iio: add unit converter

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 14:59:41 +0100 Peter Rosin wrote: > On 2018-03-23 14:14, Jonathan Cameron wrote: > > On Mon, 19 Mar 2018 18:02:43 +0100 > > Peter Rosin wrote: > > > >> Hi! > >> > >> This moves the iio-mux driver to a new category, since I think > >> it will be the single driver in that ca

Re: [PATCH 11/11] staging: iio: tsl2x7x: add copyright

2018-03-24 Thread Jonathan Cameron
On Wed, 21 Mar 2018 06:29:12 -0400 Brian Masney wrote: > Add Brian Masney's copyright and to the list of module authors for all > of the staging cleanups. This patch also update's Jon Brenner's current > work email address since AMS now owns TAOS. > > Signed-off-by: Brian Masney Applied to the

Re: [PATCH 10/11] staging: iio: tsl2x7x: put local variables in reverse Christmas tree order

2018-03-24 Thread Jonathan Cameron
On Wed, 21 Mar 2018 06:29:11 -0400 Brian Masney wrote: > This patch ensures that all of the local variable declarations are in > reverse Christmas tree order where possible to increase code > readability. > > Signed-off-by: Brian Masney Applied. As ever it's a minor improvement but I suppose wo

Re: [PATCH 09/11] staging: iio: tsl2x7x: remove ch0 and ch1 variables from tsl2x7x_get_lux()

2018-03-24 Thread Jonathan Cameron
On Wed, 21 Mar 2018 06:29:10 -0400 Brian Masney wrote: > Remove the ch0 and ch1 variables from tsl2x7x_get_lux() and > write those values directly into the chip->als_cur_info.als_ch0 > and chip->als_cur_info.als_ch01 variables. > > Signed-off-by: Brian Masney Hmm. A marginal improvement in read

Re: [PATCH 08/11] staging: iio: tsl2x7x: remove unused variables from tsl2x7x_get_lux()

2018-03-24 Thread Jonathan Cameron
On Wed, 21 Mar 2018 06:29:09 -0400 Brian Masney wrote: > tsl2x7x_get_lux() has a ch0lux and ch1lux variables that are not used > so this patch removes them. > > Signed-off-by: Brian Masney Had to argue with this one ;) Applied, Thanks, Jonathan > --- > drivers/staging/iio/light/tsl2x7x.c |

Re: [PATCH 07/11] staging: iio: tsl2x7x: split out als and prox persistence settings

2018-03-24 Thread Jonathan Cameron
On Wed, 21 Mar 2018 06:29:08 -0400 Brian Masney wrote: > The struct tsl2x7x_settings contained a persistence member that > contained both the ALS and proximity persistence fields. This patch > splits this out into two separate fields so that the bitmasks in > several parts of the code are no long

Re: [PATCH 06/11] staging: iio: tsl2x7x: make logging consistent and correct newlines

2018-03-24 Thread Jonathan Cameron
On Wed, 21 Mar 2018 06:29:07 -0400 Brian Masney wrote: > This patch updates all of the logging commands so that they are > consistent with the other messages, includes __func__ in the message, > and all of the messages include newlines. This patch also removes some > debug log messages. > > Sign

Re: [PATCH 05/11] staging: iio: tsl2x7x: split out als and prox interrupt settings

2018-03-24 Thread Jonathan Cameron
On Wed, 21 Mar 2018 06:29:06 -0400 Brian Masney wrote: > The struct tsl2x7x_settings contained an interrupts_en member that was > a bitmask for which interrupts are enabled. This required having > bitmasks in several parts of the code. This patch splits this field > out into two booleans to remov

Re: [PATCH 04/11] staging: iio: tsl2x7x: simplify tsl2x7x_prox_cal()

2018-03-24 Thread Jonathan Cameron
On Wed, 21 Mar 2018 06:29:05 -0400 Brian Masney wrote: > tsl2x7x_prox_cal() would set the interrupt flag, and reset the device to > start doing the calibration routine. However, this did not actually > affect the readings since they are polled. This patch drops the interrupt > code. > > This pat

Re: [PATCH 03/11] staging: iio: tsl2x7x: no need to clear interrupt flag when getting lux

2018-03-24 Thread Jonathan Cameron
On Wed, 21 Mar 2018 06:29:04 -0400 Brian Masney wrote: > tsl2x7x_get_lux() does not need to clear the interrupt flag when > querying the ALS. The interrupt flag is cleared in > tsl2x7x_event_handler(). This patches removes the unnecessary code. > > Signed-off-by: Brian Masney Applied. Thanks,

[PATCH v6 10/11] clk: actions: Add pll clock support

2018-03-24 Thread Manivannan Sadhasivam
Add support for Actions Semi PLL clock. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Makefile | 1 + drivers/clk/actions/owl-pll.c | 194 ++ drivers/clk/actions/owl-pll.h | 92 3 files changed, 287 insertions(+) cr

[PATCH v6 11/11] clk: actions: Add S900 SoC clock support

2018-03-24 Thread Manivannan Sadhasivam
Add Actions Semi S900 SoC clock support. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Kconfig| 10 + drivers/clk/actions/Makefile | 3 + drivers/clk/actions/owl-s900.c | 725 + 3 files changed, 738 insertions(+) create mode 100644

[PATCH v6 04/11] clk: actions: Add gate clock support

2018-03-24 Thread Manivannan Sadhasivam
Add support for Actions Semi gate clock together with helper functions to be used in composite clock. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Makefile | 1 + drivers/clk/actions/owl-gate.c | 77 ++ drivers/clk/actions/owl-gate.h | 7

[PATCH v6 08/11] clk: actions: Add fixed factor clock support

2018-03-24 Thread Manivannan Sadhasivam
Add support for Actions Semi fixed factor clock reusing the clk ops from common clock driver. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/owl-fixed-factor.h | 28 1 file changed, 28 insertions(+) create mode 100644 drivers/clk/actions/owl-fixed-fact

[PATCH v6 09/11] clk: actions: Add composite clock support

2018-03-24 Thread Manivannan Sadhasivam
Add support for Actions Semi composite clock. This clock consists of gate, mux, divider, factor and fixed factor clocks. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Makefile| 1 + drivers/clk/actions/owl-composite.c | 199 drivers/c

[PATCH v6 07/11] clk: actions: Add factor clock support

2018-03-24 Thread Manivannan Sadhasivam
Add support for Actions Semi factor clock together with helper functions to be used in composite clock. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Makefile | 1 + drivers/clk/actions/owl-factor.c | 222 +++ drivers/clk/actions/owl-facto

Re: [PATCH 1/2] resource: add walk_system_ram_res_rev()

2018-03-24 Thread Baoquan He
On 03/23/18 at 01:06pm, Andrew Morton wrote: > On Fri, 23 Mar 2018 11:10:13 +0800 Baoquan He wrote: > > > On 03/22/18 at 07:06pm, Andrew Morton wrote: > > > On Fri, 23 Mar 2018 08:58:45 +0800 Baoquan He wrote: > > > > > > > > erk, this is pretty nasty. Isn't there a better way :( > > > > > >

[PATCH v6 06/11] clk: actions: Add divider clock support

2018-03-24 Thread Manivannan Sadhasivam
Add support for Actions Semi divider clock together with helper functions to be used in composite clock. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Makefile | 1 + drivers/clk/actions/owl-divider.c | 94 +++ drivers/clk/actions/owl-divi

[PATCH v6 05/11] clk: actions: Add mux clock support

2018-03-24 Thread Manivannan Sadhasivam
Add support for Actions Semi mux clock together with helper functions to be used in composite clock. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/actions/Makefile | 1 + drivers/clk/actions/owl-mux.c | 60 ++ drivers/clk/actions/owl-mux.h | 61 ++

Re: [PATCH 02/11] staging: iio: tsl2x7x: correct interrupt handler trigger

2018-03-24 Thread Jonathan Cameron
On Wed, 21 Mar 2018 06:29:03 -0400 Brian Masney wrote: > tsl2x7x_event_handler() was not called as expected when the device was > asserting a hardware interrupt. This patch changes the interrupt line > trigger from rising to falling. I guess the original test board used for driver development mus

[PATCH v6 02/11] arm64: dts: actions: Source CMU clock for UART5

2018-03-24 Thread Manivannan Sadhasivam
Remove fixed clock and source CMU (Clock Management Unit) clock for UART5 driver in Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/act

[PATCH v6 03/11] clk: actions: Add common clock driver support

2018-03-24 Thread Manivannan Sadhasivam
Add support for Actions Semi common clock driver with generic structures and interface functions. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/actions/Kconfig | 4 ++ drivers/clk/actions/Makefile

[PATCH v6 01/11] arm64: dts: actions: Add S900 clock management unit nodes

2018-03-24 Thread Manivannan Sadhasivam
Add Actions Semi S900 Clock Management Unit (CMU) nodes Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index 11

[PATCH v6 00/11] Add clock driver for Actions S900 SoC

2018-03-24 Thread Manivannan Sadhasivam
This patchset adds clock support for Actions Semi OWL series S900 SoC with relevant clock bindings and device tree info. Driver has been validated on Bubblegum-96 board. Thanks, Mani Changes in V6: (https://lkml.org/lkml/2018/3/17/43) * Fixed warnings generated by Kbuild bot * Reused generic fi

Re: [PATCH 01/11] staging: iio: tsl2x7x: remove unnecessary code

2018-03-24 Thread Jonathan Cameron
On Wed, 21 Mar 2018 06:29:02 -0400 Brian Masney wrote: > As a follow up to the work in commit a0722d05a195 ("staging: iio: > tsl2x7x: convert mutex_trylock() to mutex_lock()"), this patch removes > the unnecessary calls to tsl2x7x_get_prox() and tsl2x7x_get_lux() in > tsl2x7x_event_handler(). Pre

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

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 11:27:27 -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 without problems. This > patch removes

Re: [PATCH v3 7/8] staging:iio:ade7854: Rework SPI read function

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 11:27:12 -0300 Rodrigo Siqueira wrote: > Rework read SPI function to reduce the code duplication and centralizes > all the task in a single function. > > Signed-off-by: Rodrigo Siqueira Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to

Re: [PATCH v3 6/8] staging:iio:ade7854: Rework I2C read function

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 11:26:57 -0300 Rodrigo Siqueira wrote: > The read operation for the I2C function has many duplications that can > be generalized into a single function. This patch reworks the read > operation for I2C to centralizes all similar code in a single function. > > It is possible to

Re: [PATCH v3 5/8] staging:iio:ade7854: Remove write_reg_* duplications

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 11:26:41 -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 that is > used by SPI and I2C. >

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

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 11:26:25 -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 to SPI. > > Signed-off-by: Rodr

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

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 11:26:06 -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 inserted by this patch can easi

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

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 11:25:48 -0300 John Syne wrote: > Fixes: correctly handle the data size in the read operation for I2C > > 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

Re: [PATCH v2] crypto: ctr - avoid VLA use

2018-03-24 Thread Salvatore Mesoraca
2018-03-23 16:36 GMT+01:00 Herbert Xu : > On Thu, Mar 15, 2018 at 12:18:58PM +0100, Salvatore Mesoraca wrote: >> >> +#define MAX_BLOCKSIZE 16 >> + >> +#ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS >> +#define MAX_ALIGNMASK 15 >> +#else >> +#define MAX_ALIGNMASK 0 >> +#endif >> + > > Hmm, this won't

Re: [PATCH] mm, slab: eagerly delete inactive offlined SLABs

2018-03-24 Thread Vladimir Davydov
Hello Shakeel, The patch makes sense to me, but I have a concern about synchronization of cache destruction vs concurrent kmem_cache_free. Please, see my comments inline. On Wed, Mar 21, 2018 at 03:43:01PM -0700, Shakeel Butt wrote: > With kmem cgroup support, high memcgs churn can leave behind a

Re: [PATCH v2 0/7] KASan for arm

2018-03-24 Thread Liuwenliang (Abbott Liu)
On 03/20/2018 2:30 AM, Abbott Liu wrote: >BTW, it looks like you have some section mismatches: > >WARNING: vmlinux.o(.meminit.text+0x40): Section mismatch in reference >from the function kasan_pte_populate() to the function >.init.text:kasan_alloc_block.constprop.5() >The function __meminit kasan_p

Re: [PATCH v2 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-24 Thread Shea Levy
Hi Palmer, Zong, Palmer Dabbelt writes: > On Thu, 15 Mar 2018 01:50:40 PDT (-0700), z...@andestech.com wrote: >> These patches resolve the some issues of loadable module. >> - symbol out of ranges >> - unknown relocation types >> >> The reference of external variable and function symbols >>

RE: [RFC PATCH net-next] tipc: tipc_disc_addr_trial_msg() can be static

2018-03-24 Thread Jon Maloy
Acked-by: Jon Maloy jon.ma...@ericsson.com Thanks, Fengguang > -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev- > ow...@vger.kernel.org] On Behalf Of kbuild test robot > Sent: Friday, March 23, 2018 15:48 > To: Jon Maloy > Cc: kbuild-...@01.org; net...@vger.kernel.

Re: Problem with commit 31e77c93e432 "sched/fair: Update blocked load when newly idle"

2018-03-24 Thread Heiner Kallweit
Am 24.03.2018 um 07:46 schrieb Vincent Guittot: > Hi Heiner, > > Le Friday 23 Mar 2018 à 22:28:09 (+0100), Heiner Kallweit a écrit : >> Recently I started to get the following problems with linux-next: >> >> - When working via Putty/SSH on the system the console frequently freezes >> for few sec

Re: [PATCH net-next 1/2] fs/crashdd: add API to collect hardware dump in second kernel

2018-03-24 Thread kbuild test robot
Hi Rahul, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Rahul-Lakkireddy/fs-crashdd-add-API-to-collect-hardware-dump-in-second-kernel/20180324-193856 config: i386-randconfig-n0-201811 (attached as

Re: [PATCH v3 1/8] staging:iio:ade7854: Fix error handling on read/write

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 11:22:10 -0300 John Syne wrote: > Fixes: correctly handle errors on the read and write operation for I2C Please look at the Submitting patches documentation. This is not what a fixes tag is about! I'll fix it up this time but please look at it. > > The original code does no

Re: [PATCH v2] i2c: i2c-stm32f7: fix no check on returned setup

2018-03-24 Thread Wolfram Sang
On Wed, Mar 21, 2018 at 05:48:40PM +0100, Pierre-Yves MORDRET wrote: > Before assigning returned setup structure check if not null > > Fixes: 463a9215f3ca7600b5ff ("i2c: stm32f7: fix setup structure") > Signed-off-by: Pierre-Yves MORDRET Applied to for-current, thanks! signature.asc Descripti

Re: [PATCH v2 0/4] i2c: pca-platform: additional improvements

2018-03-24 Thread Wolfram Sang
On Fri, Mar 23, 2018 at 03:39:47AM +, Chris Packham wrote: > On 07/12/17 23:42, Wolfram Sang wrote: > > On Sun, Oct 29, 2017 at 06:29:18PM +0100, Wolfram Sang wrote: > >> On Wed, Jul 05, 2017 at 10:13:54PM +1200, Chris Packham wrote: > >>> This series addresses some of the points identified by

Re: [PATCH net-next 1/2] fs/crashdd: add API to collect hardware dump in second kernel

2018-03-24 Thread kbuild test robot
Hi Rahul, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Rahul-Lakkireddy/fs-crashdd-add-API-to-collect-hardware-dump-in-second-kernel/20180324-193856 config: i386-randconfig-s0-201811 (attached as

pull-request: wireless-drivers-next 2018-03-24

2018-03-24 Thread Kalle Valo
Hi Dave, here's the first pull request to net-next for 4.17. What's special here is the addition of a new bluetooth driver, but that's been acked by Marcel. Also we add a new include file to include/net because of that. Please let me know if you have any problems. Kalle The following changes si

[PATCH v2 5/5] mm: page_alloc: reduce unnecessary binary search in early_pfn_valid()

2018-03-24 Thread Jia He
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") optimized the loop in memmap_init_zone(). But there is still some room for improvement. E.g. in early_pfn_valid(), if pfn and pfn+1 are in the same memblock region, we can record the last returned memblock regi

[PATCH v2 4/5] arm64: introduce pfn_valid_region()

2018-03-24 Thread Jia He
This is the preparation for further optimizing in early_pfn_valid on arm64. Signed-off-by: Jia He --- arch/arm64/include/asm/page.h | 3 ++- arch/arm64/mm/init.c | 25 - 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/arch/arm64/include/asm/page.

[PATCH v2 2/5] mm: page_alloc: reduce unnecessary binary search in memblock_next_valid_pfn()

2018-03-24 Thread Jia He
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") optimized the loop in memmap_init_zone(). But there is still some room for improvement. E.g. if pfn and pfn+1 are in the same memblock region, we can simply pfn++ instead of doing the binary search in memblock_

[PATCH v2 0/5] optimize memblock_next_valid_pfn() and early_pfn_valid()

2018-03-24 Thread Jia He
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") tried to optimize the loop in memmap_init_zone(). But there is still some room for improvement. Patch 1 remain the memblock_next_valid_pfn when CONFIG_HAVE_ARCH_PFN_VALID is enabled Patch 2 optimizes t

[PATCH v2 3/5] mm/memblock: introduce memblock_search_pfn_regions()

2018-03-24 Thread Jia He
This api is the preparation for further optimizing early_pfn_valid Signed-off-by: Jia He --- include/linux/memblock.h | 2 ++ mm/memblock.c| 9 + 2 files changed, 11 insertions(+) diff --git a/include/linux/memblock.h b/include/linux/memblock.h index a8fb2ab..104bca6 100644

[PATCH v2 1/5] mm: page_alloc: remain memblock_next_valid_pfn() when CONFIG_HAVE_ARCH_PFN_VALID is enable

2018-03-24 Thread Jia He
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") optimized the loop in memmap_init_zone(). But it causes possible panic bug. So Daniel Vacek reverted it later. But memblock_next_valid_pfn is valid when CONFIG_HAVE_ARCH_PFN_VALID is enabled. And as verified b

Re: [PATCH v2 00/13] Major code reorganization to make all i2c transfers working

2018-03-24 Thread Wolfram Sang
On Mon, Mar 12, 2018 at 06:44:49PM +0530, Abhishek Sahu wrote: > * v2: > > 1. Address review comments in v1 > 2. Changed the license to SPDX > 3. Changed commit messages for some of the patch having more detail > 4. Removed event-based completion and changed transfer completion >detection logi

Re: [PATCH v2 01/13] i2c: qup: fix copyrights and update to SPDX identifier

2018-03-24 Thread Wolfram Sang
> Qualcomm does not uses its own copyright for open source and uses > LF copyright only. Didn't know that. Strange, but ok. > Following is the downstream version available in CAF > for the same i2c-qup.c file in which the LF copyright has > already extended. > > https://source.codeaurora.o

Re: [PATCH v3 1/1] can: ucan: add driver for Theobroma Systems UCAN devices

2018-03-24 Thread kbuild test robot
://github.com/0day-ci/linux/commits/Jakob-Unterwurzacher/can-ucan-add-driver-for-Theobroma-Systems-UCAN-devices/20180324-164143 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by

Re: [PATCH 3/7] Disable instrumentation for some code

2018-03-24 Thread Liuwenliang (Abbott Liu)
On 19/03/2018 16:38, Marc Zyngier wrote: >You need to extend this at least to arch/arm/kvm/hyp/Makefile, as the >KASAN shadow region won't be mapped in HYP. See commit a6cdf1c08cbfe for >more details (all the arm64 comments in this patch apply to 32bit as well). Thanks for your review. I will disab

Re: [PATCH] drm/msm/dsi: use correct enum in dsi_get_cmd_fmt

2018-03-24 Thread Archit Taneja
On Tuesday 20 March 2018 02:56 AM, Stefan Agner wrote: The function dsi_get_cmd_fmt returns enum dsi_cmd_dst_format, use the correct enum value also for MIPI_DSI_FMT_RGB666/_PACKED. This has been discovered using clang: drivers/gpu/drm/msm/dsi/dsi_host.c:743:35: warning: implicit conversion

[PATCH v2 3/4] tty/nozomi: improve code readability and style

2018-03-24 Thread Joey Pabalinas
Improve code clarity by renaming identifiers and reorganizing function control flow. Signed-off-by: Joey Pabalinas 1 file changed, 92 insertions(+), 91 deletions(-) 1 file changed, 76 insertions(+), 90 deletions(-) diff --git a/drivers/tty/nozomi.c b/drivers/tty/nozomi.c index 0fcb4db721d2a4

[PATCH v2 0/4] tty/nozomi: general module cleanup

2018-03-24 Thread Joey Pabalinas
Sorry, totally screwed up git send-email CC's there; resending the patchset. The nozomi module code has a fair amount of sections which could use a bit of improvement; both style and clarity could be improved while maintaining equivalent semantics. Cleanup messy portions of the module code while

[PATCH v2 2/4] tty/nozomi: fix inconsistent indentation

2018-03-24 Thread Joey Pabalinas
Correct misaligned indentation and remove extraneous spaces. Signed-off-by: Joey Pabalinas 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/drivers/tty/nozomi.c b/drivers/tty/nozomi.c index f26bf1d1e9ee0e74eb..0fcb4db721d2a42f08 100644 --- a/drivers/tty/nozomi.c +++ b/drivers/tty

[PATCH v2 1/4] tty/nozomi: cleanup DUMP() macro

2018-03-24 Thread Joey Pabalinas
Replace snprint() with strscpy() and use max_t() instead of the conditional operator. Signed-off-by: Joey Pabalinas 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/tty/nozomi.c b/drivers/tty/nozomi.c index b57b35066ebea94639..f26bf1d1e9ee0e74eb 100644 --- a/drivers/tty/n

[PATCH v2 4/4] tty/nozomi: refactor conditional statements

2018-03-24 Thread Joey Pabalinas
Reduce unnecessarily deep nesting of blocks and simplify control flow (e.g. "if/else" constructs changed to "if/return" and single case "switch" statements changed to "if" conditionals where possible). Signed-off-by: Joey Pabalinas 1 file changed, 52 insertions(+), 50 deletions(-) diff --git a

Re: [PATCH v2] cpuidle: poll_state: Add time limit to poll_idle()

2018-03-24 Thread Rafael J. Wysocki
On Friday, March 23, 2018 10:30:03 PM CET Doug Smythies wrote: > On 2018.03.23 02:08 Rafael J. Wysocki wrote: > > On Fri, Mar 23, 2018 at 9:57 AM, Rafael J. Wysocki > > wrote: > >> On Fri, Mar 23, 2018 at 4:19 AM, Doug Smythies wrote: > >>> On 2018.03.22 12:12 Doug Smythies wrote: > > ...[snip]

[PATCH] mtd: devices: check mtd_device_register() return code

2018-03-24 Thread Arushi Singhal
stfsm_probe() misses error handling of mtd_device_register(). Signed-off-by: Arushi Singhal --- drivers/mtd/devices/st_spi_fsm.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices/st_spi_fsm.c index 7bc29d7..4a99a6a 1

Re: [PATCH 00/11] Use global pages with PTI

2018-03-24 Thread Ingo Molnar
* Dave Hansen wrote: > This is time doing a modestly-sized kernel compile on a 4-core Skylake > desktop. > > User Time Kernel Time Clock Elapsed > Baseline ( 0 GLB PTEs) 803.79 67.77 237.30 > w/series (28 GLB PTEs) 807.70 (+0.7%) 68.07 (+0

pull-request: wireless-drivers 2018-03-24

2018-03-24 Thread Kalle Valo
Hi Dave, This is a pull request to the net tree for 4.16. I'm not planning to send anything more in this cycle for 4.16, unless something really major comes up. Please let me know if you have any problems. Kalle The following changes since commit 87de1201ddaa39d4f3fafa9f35ac143e582517e6: Mer

Re: [PATCH] arm64: avoid race condition issue in dump_backtrace

2018-03-24 Thread kbuild test robot
/linux/commits/Ji-Zhang/arm64-avoid-race-condition-issue-in-dump_backtrace/20180324-165040 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget

[RFC PATCH] crypto: brcm - explicitly cast cipher to hash type

2018-03-24 Thread Stefan Agner
In the AES cases enum spu_cipher_type and enum hash_type have the same values, so the assignment is fine. Explicitly cast the enum type conversion. This fixes two warnings when building with clang: drivers/crypto/bcm/cipher.c:821:34: warning: implicit conversion from enumeration type 'enum

[PATCH net-next v2 1/2] fs/crashdd: add API to collect hardware dump in second kernel

2018-03-24 Thread Rahul Lakkireddy
Add a new module crashdd that exports the /sys/kernel/crashdd/ directory in second kernel, containing collected hardware/firmware dumps. The sequence of actions done by device drivers to append their device specific hardware/firmware logs to /sys/kernel/crashdd/ directory are as follows: 1. Durin

[PATCH net-next v2 2/2] cxgb4: collect hardware dump in second kernel

2018-03-24 Thread Rahul Lakkireddy
Register callback to collect hardware/firmware dumps in second kernel before hardware/firmware is initialized. The dumps for each device will be available under /sys/kernel/crashdd/cxgb4/ directory in second kernel. Signed-off-by: Rahul Lakkireddy Signed-off-by: Ganesh Goudar --- v2: - No Chang

Re: [PATCH v3 2/2] media: ov2680: Add Omnivision OV2680 sensor driver

2018-03-24 Thread Sakari Ailus
Hi Rui, I wanted to go through the code the last time and I'd have a few review comments below... On Tue, Mar 13, 2018 at 11:33:11AM +, Rui Miguel Silva wrote: ... > +static int ov2680_gain_set(struct ov2680_dev *sensor, bool auto_gain) > +{ > + struct ov2680_ctrls *ctrls = &sensor->ctrls

[PATCH net-next v2 0/2] kernel: add support to collect hardware logs in crash recovery kernel

2018-03-24 Thread Rahul Lakkireddy
On production servers running variety of workloads over time, kernel panic can happen sporadically after days or even months. It is important to collect as much debug logs as possible to root cause and fix the problem, that may not be easy to reproduce. Snapshot of underlying hardware/firmware stat

Re: [PATCH v3 1/2] x86, msr: allow rdmsr_safe_on_cpu() to schedule

2018-03-24 Thread Thomas Gleixner
On Sat, 24 Mar 2018, Ingo Molnar wrote: > * Eric Dumazet wrote: > > > I noticed high latencies caused by a daemon periodically reading > > various MSR on all cpus. KASAN kernels would see ~10ms latencies > > simply reading one MSR. Even without KASAN, sending IPI to CPU > > in deep sleep state or

Re: [PATCH v2] KVM: arm/arm64 : add lpi info in vgic-debug

2018-03-24 Thread kbuild test robot
/Peng-Hao/KVM-arm-arm64-add-lpi-info-in-vgic-debug/20180324-151050 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https

[PATCH] mtd: nand: do not initialise statics to 0 or NULL

2018-03-24 Thread Arushi Singhal
This patch fixes the checkpatch.pl error to ams-delta.c. ERROR: do not initialise statics to 0 or NULL Signed-off-by: Arushi Singhal --- drivers/mtd/nand/ams-delta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/ams-delta.c b/drivers/mtd/nand/ams-delta.c in

Re: [PATCH v3] KVM: arm/arm64 : add lpi info in vgic-debug

2018-03-24 Thread Marc Zyngier
On Sat, 24 Mar 2018 02:08:54 +, peng hao wrote: > > [1 ] > [1.1 ] > >On 24/03/18 00:42, Peng Hao wrote: > >> Add lpi debug info to vgic-stat. > >> The printed info like this: > >> SPI 287 0 0100 0 160 -1 > >> LPI 8192 2 00010000

Re: [PATCH 3.18 00/47] 3.18.102-stable review

2018-03-24 Thread Greg Kroah-Hartman
On Sat, Mar 24, 2018 at 03:10:06PM +0530, Harsh Shandilya wrote: > > > On 23 March 2018 3:24:51 PM IST, Greg Kroah-Hartman > wrote: > >This is the start of the stable review cycle for the 3.18.102 release. > >There are 47 patches in this series, all will be posted as a response > >to this one.

Re: [B.A.T.M.A.N.] [PATCH][next] batman-adv: don't pass a NULL hard_iface to batadv_hardif_put

2018-03-24 Thread Sven Eckelmann
On Freitag, 23. März 2018 23:53:50 CET Colin King wrote: > From: Colin Ian King > > In the case where hard_iface is NULL, the error path may pass a null > pointer to batadv_hardif_put causing a null pointer dereference error. > Avoid this by only calling the function if hard_iface not null. > >

Re: [PATCH 3.18 00/47] 3.18.102-stable review

2018-03-24 Thread Harsh Shandilya
On 23 March 2018 3:24:51 PM IST, Greg Kroah-Hartman wrote: >This is the start of the stable review cycle for the 3.18.102 release. >There are 47 patches in this series, all will be posted as a response >to this one. If anyone has any issues with these being applied, please >let me know. > >Res

Re: [RFC PATCH] cpufreq: Calling init() of cpufreq_driver when policy inactive cpu online

2018-03-24 Thread Yang, Shunyong
Hi, Kumar, On Wed, 2018-03-21 at 22:35 -0700, Yang, Shunyong wrote: > Hi, Kumar > > On Thu, 2018-03-22 at 11:30 +0800, Viresh Kumar wrote: > > > > On 21-03-18, 18:21, Shunyong Yang wrote: > > > > > > > > > When multiple cpus are related in one cpufreq policy, the first > > > online cpu > > > w

Re: [PATCH v2 1/2] dma-mapping: move dma configuration to bus infrastructure

2018-03-24 Thread kbuild test robot
Hi Nipun, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Nipun-Gu

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

2018-03-24 Thread SF Markus Elfring
>> The mutex was (and is still only) locked within case branches, isn't it? >> > You are correct, this does however reflect the issue with the resulting > lack of balance here. Do you find changes for the other function implementations easier to integrate? Regards, Markus

Re: [PATCH] xfs: always free inline data before resetting inode fork during ifree

2018-03-24 Thread Greg Kroah-Hartman
On Fri, Mar 23, 2018 at 06:23:02PM +, Luis R. Rodriguez wrote: > On Fri, Mar 23, 2018 at 10:26:20AM -0700, Darrick J. Wong wrote: > > On Fri, Mar 23, 2018 at 05:08:13PM +, Luis R. Rodriguez wrote: > > > On Thu, Mar 22, 2018 at 08:41:45PM -0700, Darrick J. Wong wrote: > > > > On Fri, Mar 23,

<    1   2   3   4   >