(*ABS*+0xbb29b267): multiple definition of `__crc___gcov_merge_add'

2017-10-14 Thread kbuild test robot
Hi Thomas, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e7a36a6ec9cf1b60273e48ee980b8920f333bd4d commit: d3488649dcd23b7a6e63895274ec69f80e92d4ed um: Fix CONFIG_GCOV for modules. date: 4 weeks ago config: um-al

RE: [PATCH net-next 0/2] Add mqprio hardware offload support in hns3 driver

2017-10-14 Thread Yuval Mintz
> Hi, Yuval > > On 2017/10/13 4:21, Yuval Mintz wrote: > >> This patchset adds a new hardware offload type in mqprio before adding > >> mqprio hardware offload support in hns3 driver. > > > > I think one of the biggest issues in tying this to DCB configuration is the > > non-immediate [and possibl

Hello dear

2017-10-14 Thread Jack
Good day dear, i hope this mail meets you well? my name is Jack, from the U.S. I know this may seem inappropriate so i ask for your forgiveness but i wish to get to know you better, if I may be so bold. I consider myself an easy-going man, adventurous, honest and fun loving person but I am curre

Re: Stack protector kernel build error

2017-10-14 Thread Kees Cook
On Sat, Oct 14, 2017 at 3:48 PM, Kees Cook wrote: > On Sat, Oct 14, 2017 at 3:45 PM, Kees Cook wrote: >> On Sat, Oct 14, 2017 at 12:53 PM, Robert Jarzmik >> wrote: >>> Hi Kees, >>> >>> Today my linux-next build broke for the pxa architecture. >>> My specific setup is : >>> - ARCH=arm make pxa_

[PATCH] Makefile: Another fix for stackprotector _AUTO mode

2017-10-14 Thread Kees Cook
If the compiler didn't support a build mode, the second empty test would still trip. This moves it to an "else" test for the non-AUTO modes. Reported-by: Robert Jarzmik Signed-off-by: Kees Cook --- Robert, can you test this fix? --- Makefile | 7 --- 1 file changed, 4 insertions(+), 3 delet

Re: [PATCH] arm64: KVM: set right LR register value for 32 bit guest when inject abort

2017-10-14 Thread gengdongjiu
Hi Marc, On 2017/10/13 23:12, Marc Zyngier wrote: > On 13/10/17 15:29, gengdongjiu wrote: >> Hi Marc, >> Thank you very much for your time to review it. >> >>> On 12/10/17 17:44, Dongjiu Geng wrote: When a exception is trapped to EL2, hardware uses ELR_ELx to hold the current fault

Re: [PATCH v5 03/10] kexec_file: factor out arch_kexec_kernel_*() from x86, powerpc

2017-10-14 Thread kbuild test robot
Hi AKASHI, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.14-rc4 next-20171013] [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/AKASHI-Takahiro/arm64-kexec-add-kexec_

Re: [PATCH v2 4/4] KVM: LAPIC: Don't silently accept bad vectors

2017-10-14 Thread Wanpeng Li
2017-10-14 4:31 GMT+08:00 Radim Krčmář : > 2017-10-13 19:36+0200, Radim Krčmář: >> 2017-10-13 09:17+0800, Wanpeng Li: >> > 2017-10-04 22:44 GMT+08:00 Radim Krčmář : >> > > 2017-10-04 22:16+0800, Wanpeng Li: >> > >> 2017-10-04 20:01 GMT+08:00 Radim Krčmář : >> > >> > 2017-10-04 15:56+0800, Wanpeng L

[PATCH 2/2] KVM: VMX: Fix VPID capability detection

2017-10-14 Thread Wanpeng Li
From: Wanpeng Li According to the Intel SDM, volume 3, section 28.3.2: Creating and Using Cached Translation Information, "The following items describe the creation of mappings while EPT is not in use": - Linear mappings may be created. They are derived from the paging structures referenced

[PATCH 1/2] KVM: VMX: Don't advertise EPT switching if EPT itself is not exposed

2017-10-14 Thread Wanpeng Li
From: Wanpeng Li EPT switching is advertised unconditionally since it is emulated, however, it can be treated as an extended feature for EPT, it should be not advertised if EPT itself is not exposed. This patch fixes it. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- arc

Re: [PATCH] KVM: LAPIC: Level-sensitive interrupts are not support for LINT1

2017-10-14 Thread Wanpeng Li
2017-10-14 4:43 GMT+08:00 Radim Krčmář : > 2017-10-12 21:27-0700, Wanpeng Li: >> From: Wanpeng Li >> >> SDM 10.5.1 mentioned: >> Software should always set the trigger mode in the LVT LINT1 register to 0 >> (edge >> sensitive). Level-sensitive interrupts are not supported from LINT1. >> >> I ca

Re: [PATCH net-next,0/3] Add init of send table and var renames

2017-10-14 Thread David Miller
From: Haiyang Zhang Date: Fri, 13 Oct 2017 12:28:02 -0700 > From: Haiyang Zhang > > Add initialization of send indirection table. Otherwise it may contain > old info of previous device with different number of channels. > > Also, did some variable renaming for easier reading. Series applied,

Re: [PATCH][net-next] cxgb4: fix missing break in switch and indent return statements

2017-10-14 Thread David Miller
From: Colin King Date: Fri, 13 Oct 2017 17:29:00 +0100 > From: Colin Ian King > > The break statement for the Macronix case is missing and will > fall through to the Winbond case and re-assign the size setting. > Fix this by adding the missing break statement. Also correctly > indent the retur

Re: [PATCH net-next v3 0/5] net: dsa: remove .set_addr

2017-10-14 Thread David Miller
From: Vivien Didelot Date: Fri, 13 Oct 2017 14:18:04 -0400 > An Ethernet switch may support having a MAC address, which can be used > as the switch's source address in transmitted full-duplex Pause frames. > > If a DSA switch supports the related .set_addr operation, the DSA core > sets the mast

Re: [PATCH] atm: fore200e: mark expected switch fall-throughs

2017-10-14 Thread David Miller
From: "Gustavo A. R. Silva" Date: Thu, 12 Oct 2017 16:11:32 -0500 > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva Applied to net-next

Re: [PATCH] fix typo in skbuff.c

2017-10-14 Thread David Miller
From: Wenhua Shi Date: Sat, 14 Oct 2017 18:51:36 +0200 > --- > net/core/skbuff.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks.

[rcu:rcu/next 30/45] include/linux/compiler.h:343:2: error: implicit declaration of function 'smp_read_barrier_depends'

2017-10-14 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next head: ea788e7da4886dff9782ad61d4c5e6ebadfa8260 commit: c3a030152f67ef977129c11e5b37a8e6071d4b6f [30/45] locking/barriers: Kill lockless_dereference config: sparc-alldefconfig (attached as .config) compiler: s

Re: [PATCH] nullb: make config_item_type const

2017-10-14 Thread kbuild test robot
Hi Bhumika, [auto build test WARNING on linus/master] [also build test WARNING on v4.14-rc4 next-20171013] [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/Bhumika-Goyal/nullb-make-config_item_typ

Re: [PATCH V10 0/8] blk-mq-sched: improve sequential I/O performance

2017-10-14 Thread Ming Lei
On Sat, Oct 14, 2017 at 09:39:21AM -0600, Jens Axboe wrote: > On 10/14/2017 03:22 AM, Ming Lei wrote: > > Hi Jens, > > > > In Red Hat internal storage test wrt. blk-mq scheduler, we found that I/O > > performance is much bad with mq-deadline, especially about sequential I/O > > on some multi-queue

Re: [PATCH V10 0/8] blk-mq-sched: improve sequential I/O performance

2017-10-14 Thread Ming Lei
On Sat, Oct 14, 2017 at 07:38:29PM +0200, Oleksandr Natalenko wrote: > Hi. > > By any chance, could this be backported to 4.14? I'm confused with "SCSI: > allow to pass null rq to scsi_prep_state_check()" since it uses refactored > flags. > > === > if (req && !(req->rq_flags & RQF_PREEMPT)) > =

Re: [PATCH] Add -target to clang switch while cross compiling.

2017-10-14 Thread Daniel Borkmann
On 10/13/2017 09:24 PM, Abhijit Ayarekar wrote: Update to llvm excludes assembly instructions. llvm git revision is below commit 65fad7c26569 ("bpf: add inline-asm support") This change will be part of llvm release 6.0 __ASM_SYSREG_H define is not required for native compile. -target switch i

Re: Stack protector kernel build error

2017-10-14 Thread Kees Cook
On Sat, Oct 14, 2017 at 3:45 PM, Kees Cook wrote: > On Sat, Oct 14, 2017 at 12:53 PM, Robert Jarzmik > wrote: >> Hi Kees, >> >> Today my linux-next build broke for the pxa architecture. >> My specific setup is : >> - ARCH=arm make pxa_defconfig; ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- >> mak

Re: Stack protector kernel build error

2017-10-14 Thread Kees Cook
On Sat, Oct 14, 2017 at 12:53 PM, Robert Jarzmik wrote: > Hi Kees, > > Today my linux-next build broke for the pxa architecture. > My specific setup is : > - ARCH=arm make pxa_defconfig; ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make > - my compiler is: > rj@belgarion:~/mio_linux/kernel$

Re: [OpenWrt-Devel] [PATCH v3 0/6] staging: Introduce DPAA2 Ethernet Switch driver

2017-10-14 Thread Florian Fainelli
On October 14, 2017 2:59:22 PM PDT, Linus Walleij wrote: >On Sat, Oct 14, 2017 at 8:52 PM, Florian Fainelli > wrote: > >> The most deployed switch device drivers have been converted to DSA >> already: b53, qca8k (ar83xx in OpenWrt/LEDE) and mtk7530 are all in >> tree, and now we are getting new s

Re: [OpenWrt-Devel] [PATCH v3 0/6] staging: Introduce DPAA2 Ethernet Switch driver

2017-10-14 Thread Linus Walleij
On Sat, Oct 14, 2017 at 8:52 PM, Florian Fainelli wrote: > The most deployed switch device drivers have been converted to DSA > already: b53, qca8k (ar83xx in OpenWrt/LEDE) and mtk7530 are all in > tree, and now we are getting new submissions from Michrochip to support > their pretty large KSZ se

[PATCH v3 RESEND] cpufreq: pxa: convert to clock API

2017-10-14 Thread Robert Jarzmik
As the clock settings have been introduced into the clock pxa drivers, which are now available to change the CPU clock by themselves, remove the clock handling from this driver, and rely on pxa clock drivers. Signed-off-by: Robert Jarzmik Acked-by: Viresh Kumar --- This is a resend of a formerly

Re: [PATCH] parisc: parport_gsc: constify parisc_device_id

2017-10-14 Thread Sudip Mukherjee
On Sat, Aug 19, 2017 at 10:38:41PM +0530, Arvind Yadav wrote: > parisc_device_id are not supposed to change at runtime. All functions > working with parisc_device_id provided by work > with > const parisc_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > --- >

[PATCH] drm/tinydrm: Replace list_for_each with list_for_each_entry

2017-10-14 Thread Harsha Sharma
Replace use of list_for_each with list_for_each_entry to simplify the code and remove variables that are used only in list_for_each. Done with following coccinelle patch: @r@ identifier fn,i,f,p; expression e; iterator name list_for_each, list_for_each_entry; type T; @@ fn(...) { ++ T *i; <+...

Re: [PATCH for linux-next] mm/page-writeback.c: make changes of dirty_writeback_centisecs take effect immediately

2017-10-14 Thread Jens Axboe
On 10/14/2017 11:59 AM, Damian Tometzki wrote: > On Sat, 14. Oct 16:38, Yafang Shao wrote: >> This patch is the followup of the prvious patch: >> [writeback: schedule periodic writeback with sysctl]. >> >> There's another issue to fix. >> For example, >> - When the tunable was set to one hour and i

Re: [PATCH 2/2] kbuild: redefine __FILE__ as relative path from $(srctree) if possible

2017-10-14 Thread kbuild test robot
Hi Masahiro, [auto build test WARNING on mmarek/for-next] [also build test WARNING on next-20171013] [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/Masahiro-Yamada/kbuild-use-relative-path-from-

Re: [PATCH v1 RFC 7/7] Modify tag_ksz.c so that tail tag code can be used by other KSZ switch drivers

2017-10-14 Thread Andrew Lunn
On Fri, Oct 06, 2017 at 01:33:05PM -0700, tristram...@microchip.com wrote: > From: Tristram Ha > > Modify tag_ksz.c so that tail tag code can be used by other KSZ switch > drivers. There is multiple things going on in this patch. Please split the special_mult_addr change into a separate patch, w

[PATCH] ASoC: wm97xx: fix compilation corner case

2017-10-14 Thread Robert Jarzmik
When the old AC97 is not used, CONFIG_SND_SOC_AC97_BUS is not defined. As a consequence, in the error path, snd_soc_free_ac97_codec() is not defined and triggers a compilation error. Fix it for wm9705 and wm9712, as wm9713 is correctly written. Signed-off-by: Robert Jarzmik --- sound/soc/codecs

[PATCH] drm/omap: Replace list_for_each with list_for_each_entry

2017-10-14 Thread Harsha Sharma
Replace use of list_for_each with list_for_each_entry to simplify the code and remove variables that are used only in list_for_each. Done with following coccinelle patch: @r@ identifier fn,i,f,p; expression e; iterator name list_for_each, list_for_each_entry; type T; @@ fn(...) { ++ T *i; <+...

Re: [PATCH v1 RFC 6/7] Add MIB counter reading support

2017-10-14 Thread Andrew Lunn
> +static void ksz9477_phy_setup(struct ksz_device *dev, int port, > + struct phy_device *phy) > +{ > + if (port < dev->phy_port_cnt) { > + /* SUPPORTED_Asym_Pause and SUPPORTED_Pause can be removed to > + * disable flow control when rate limit

Stack protector kernel build error

2017-10-14 Thread Robert Jarzmik
Hi Kees, Today my linux-next build broke for the pxa architecture. My specific setup is : - ARCH=arm make pxa_defconfig; ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make - my compiler is: rj@belgarion:~/mio_linux/kernel$ arm-linux-gnueabi-gcc --version arm-linux-gnueabi-gcc (Debian

Re: [PATCH v1 RFC 5/7] Break KSZ9477 DSA driver into two files

2017-10-14 Thread Andrew Lunn
> diff --git a/drivers/net/dsa/microchip/ksz9477.c > b/drivers/net/dsa/microchip/ksz9477.c > new file mode 100644 > index 000..214d380 > --- /dev/null > +++ b/drivers/net/dsa/microchip/ksz9477.c > @@ -0,0 +1,1328 @@ > +/* > + * Microchip KSZ9477 switch driver main logic > + * > + * Copyright (

Re: Documentation: add Kernel Driver Statement to the kernel

2017-10-14 Thread gre...@linuxfoundation.org
On Sat, Oct 14, 2017 at 08:09:59PM +0200, Wolfram Sang wrote: > > > Not that sphinx doesn't have it's own issues, but you have to admit it > > is much better now than it used to be, right? > > That goes without saying, but we still added plain textfiles to > Documentation/ since 2008, so I was wo

Re: [PATCH v1 RFC 4/7] Rename ksz_spi.c to ksz9477_spi.c

2017-10-14 Thread Andrew Lunn
On Fri, Oct 06, 2017 at 01:33:02PM -0700, tristram...@microchip.com wrote: > From: Tristram Ha > > Rename ksz_spi.c to ksz9477_spi.c and update Kconfig in preparation to add > more KSZ switch drivers. > > Signed-off-by: Tristram Ha Reviewed-by: Andrew Lunn Andrew

Re: [PATCH v1 RFC 3/7] Rename some functions with ksz9477 prefix

2017-10-14 Thread Andrew Lunn
On Fri, Oct 06, 2017 at 01:33:01PM -0700, tristram...@microchip.com wrote: > From: Tristram Ha > > Rename some functions with ksz9477 prefix to separate chip specific code > from common code. > > Signed-off-by: Tristram Ha Reviewed-by: Andrew Lunn Andrew

Re: [PATCH v1 RFC 2/7] Clean up code according to patch check suggestions

2017-10-14 Thread Andrew Lunn
On Fri, Oct 06, 2017 at 01:33:00PM -0700, tristram...@microchip.com wrote: > From: Tristram Ha > > Clean up code according to patch check suggestions. > > Signed-off-by: Tristram Ha Reviewed-by: Andrew Lunn Andrew

Re: [PATCH v1 RFC 1/7] Replace license with GPL

2017-10-14 Thread Andrew Lunn
On Mon, Oct 09, 2017 at 09:18:16AM +, David Laight wrote: > From: tristram...@microchip.com > > Sent: 06 October 2017 21:33 > > Replace license with GPL. > > Don't you need permission from all the people who have updated > the files in order to make this change? Hi David Interesting question

Re: [PATCH v4 3/4] platform/chrome: Add cros_ec_accel_legacy driver

2017-10-14 Thread Jonathan Cameron
On Thu, 12 Oct 2017 19:33:23 +0200 Thierry Escande wrote: > From: Gwendal Grignou > > Add driver to support older EC firmware that only support deprecated > ec command. Rely on ACPI memory map register to access sensor > information. > Present same interface as the regular cros_ec sensor stack:

Re: [PATCH v5 11/16] perf report: properly handle branch count in match_chain

2017-10-14 Thread Milian Wolff
On Freitag, 13. Oktober 2017 16:08:34 CEST Arnaldo Carvalho de Melo wrote: > Em Fri, Oct 13, 2017 at 10:39:03AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Oct 09, 2017 at 10:33:05PM +0200, Milian Wolff escreveu: > > > Some of the code paths I introduced before returned too early > > > wi

Re: [PATCH] netconsole: make config_item_type const

2017-10-14 Thread kbuild test robot
Hi Bhumika, [auto build test WARNING on net-next/master] [also build test WARNING on v4.14-rc4 next-20171013] [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/Bhumika-Goyal/netconsole-make-config_

Re: [PATCH 1/1] arm64: dts: rockchip: default serial for Firefly-RK3399

2017-10-14 Thread Heiko Stuebner
Am Samstag, 30. September 2017, 06:06:40 CEST schrieb Heinrich Schuchardt: > The Firefly-RK3399 uses serial2 with 1,500,000 baud by default > for communication in U-Boot and in the vendor provided distros. > > So let us set the same default in the Linux kernel. > > Signed-off-by: Heinrich Schucha

Re: [PATCH] arm64: dts: rockchip: enable touchpad button for rk3399-gru-kevin

2017-10-14 Thread Heiko Stuebner
Am Montag, 9. Oktober 2017, 20:40:28 CEST schrieb Emil Renner Berthing: > Adding the linux,gpio-keymap entry also has > the side-effect of making the driver register > the touchpad as a touchpad rather than another > touchscreen. > > The index for BTN_LEFT was found by trial and error. > > Signed

Re: [PATCH] ARM: dts: rockchip: Enable thermal on rk3288-vyasa board

2017-10-14 Thread Heiko Stuebner
Am Freitag, 13. Oktober 2017, 23:03:32 CEST schrieb Jagan Teki: > From: Michael Trimarchi > > Enable thermal on rk3288-vyasa board, TSHUT is high active. > > Signed-off-by: Michael Trimarchi > Signed-off-by: Jagan Teki applied for 4.15 Thanks Heiko

[PATCH] net/rose: Delete an error message for a failed memory allocation in rose_proto_init()

2017-10-14 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 14 Oct 2017 20:57:28 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- net/rose/af_rose.c | 1 - 1 file changed, 1 deletion(-) diff --git a/

Re: [PATCH] iio: adc: at91-sama5d2_adc: fix probe error on missing trigger property

2017-10-14 Thread Jonathan Cameron
On Wed, 11 Oct 2017 14:21:14 +0300 Eugen Hristev wrote: > This fix allows platforms to probe correctly even if the > trigger edge property is missing. The hardware trigger > will no longer be registered in the sybsystem > Preserves backwards compatibility with the support that > was in the driver

Re: [OpenWrt-Devel] [PATCH v3 0/6] staging: Introduce DPAA2 Ethernet Switch driver

2017-10-14 Thread Florian Fainelli
Hi, On 10/14/2017 04:09 AM, Linus Walleij wrote: > Top posting and resending since net...@vger.kernel.org > is the right mail address for this. Mea culpa. > > Linus Walleij > > On Sat, Oct 14, 2017 at 11:35 AM, Linus Walleij > wrote: >> On Thu, Oct 5, 2017 at 11:16 AM, Razvan Stefanescu >> wro

[PATCH v5] drm/i915: Replace *_reference/unreference() or *_ref/unref with _get/put()

2017-10-14 Thread Harsha Sharma
Replace instances of drm_framebuffer_reference/unreference() with *_get/put() suffixes and drm_dev_unref with *_put() suffix because get/put is shorter and consistent with the kernel use of *_get/put suffixes. Done with following coccinelle semantic patch @@ expression ex; @@ ( -drm_framebuffer_u

Re: [2/3] iio: adc: ina2xx: Adhere to documented ABI, use Ohm instead of uOhm

2017-10-14 Thread Stefan Bruens
On Montag, 9. Oktober 2017 11:29:43 CEST Maciej Purski wrote: > On 10/01/2017 09:48 PM, Stefan Brüns wrote: > > According to the ABI documentation, the shunt resistor value should be > > specificied in Ohm. As this is also used/documented for the MAX9611, > > use the same for the INA2xx driver. > >

Re: [PATCH] iio: sw_device: make the function argument as const

2017-10-14 Thread Jonathan Cameron
On Wed, 11 Oct 2017 16:05:47 +0200 Bhumika Goyal wrote: > This is a follow-up patch for: > https://patchwork.kernel.org/patch/649/ > > Make the argument of the function iio_swd_group_init_type_name const as > it is only passed to the function config_group_init_type_name having the > argument

Re: [PATCH] ARM: head-common.S: Clear lr before jumping to start_kernel()

2017-10-14 Thread Russell King - ARM Linux
On Sat, Oct 14, 2017 at 11:49:25AM -0400, Nicolas Pitre wrote: > On Sat, 14 Oct 2017, Russell King - ARM Linux wrote: > > On Sat, Oct 14, 2017 at 03:14:05PM +0100, Russell King - ARM Linux wrote: > > > On Thu, Oct 12, 2017 at 11:25:50AM -0400, Nicolas Pitre wrote: > > > > It should go into your dev

Re: [PATCH] iio: make config_item_type const

2017-10-14 Thread Jonathan Cameron
On Thu, 12 Oct 2017 17:05:55 +0200 Bhumika Goyal wrote: > On Thu, Oct 12, 2017 at 11:41 AM, Bhumika Goyal wrote: > > This is a followup patch for: > > https://lkml.org/lkml/2017/10/11/375 One quick suggestion - don't use lkml as an archive - it's frequently down from at least some places (is fo

Re: Documentation: add Kernel Driver Statement to the kernel

2017-10-14 Thread Wolfram Sang
> Not that sphinx doesn't have it's own issues, but you have to admit it > is much better now than it used to be, right? That goes without saying, but we still added plain textfiles to Documentation/ since 2008, so I was wondering... signature.asc Description: PGP signature

Re: [PATCH for linux-next] mm/page-writeback.c: make changes of dirty_writeback_centisecs take effect immediately

2017-10-14 Thread Damian Tometzki
On Sat, 14. Oct 16:38, Yafang Shao wrote: > This patch is the followup of the prvious patch: > [writeback: schedule periodic writeback with sysctl]. > > There's another issue to fix. > For example, > - When the tunable was set to one hour and is reset to one second, the > new setting will not ta

[PATCH RFC tip/core/rcu 1/2] sched: Stop resched_cpu() from sending IPIs to offline CPUs

2017-10-14 Thread Paul E. McKenney
The rcutorture test suite occasionally provokes a splat due to invoking resched_cpu() on an offline CPU: WARNING: CPU: 2 PID: 8 at /home/paulmck/public_git/linux-rcu/arch/x86/kernel/smp.c:128 native_smp_send_reschedule+0x37/0x40 Modules linked in: CPU: 2 PID: 8 Comm: rcu_preempt Not tainted 4.14

[PATCH RFC tip/core/rcu 2/2] sched: Stop switched_to_rt() from sending IPIs to offline CPUs

2017-10-14 Thread Paul E. McKenney
The rcutorture test suite occasionally provokes a splat due to invoking rt_mutex_lock() which needs to boost the priority of a task currently sitting on a runqueue that belongs to an offline CPU: WARNING: CPU: 0 PID: 12 at /home/paulmck/public_git/linux-rcu/arch/x86/kernel/smp.c:128 native_smp_s

[PATCH RFC tip/core/rcu 0/2] Avoid sending IPIs to offline CPUs

2017-10-14 Thread Paul E. McKenney
Hello! This RFC series contains a couple of small patches that avoid splats due to resched_cpu() and rt_mutex_setprio() sending IPIs to offline CPUs. They make the obvious (and thus perhaps inappropriate) changes to avoid this. Nevertheless, they do seem effective in rcutorture testing. The patch

Re: [PATCH V10 0/8] blk-mq-sched: improve sequential I/O performance

2017-10-14 Thread Oleksandr Natalenko
Hi. By any chance, could this be backported to 4.14? I'm confused with "SCSI: allow to pass null rq to scsi_prep_state_check()" since it uses refactored flags. === if (req && !(req->rq_flags & RQF_PREEMPT)) === Is it safe to revert to REQ_PREEMPT here, or rq_flags should also be replaced with

[PATCH] netrom: Delete an error message for a failed memory allocation in nr_proto_init()

2017-10-14 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 14 Oct 2017 18:48:18 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- net/netrom/af_netrom.c | 4 +--- 1 file changed, 1 insertion(+), 3 del

Re: [PATCHv2, RFC] x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

2017-10-14 Thread Brian Gerst
On Fri, Oct 13, 2017 at 8:23 AM, Kirill A. Shutemov wrote: > This patch addresses shortcoming in current boot process on machines > that supports 5-level paging. > > If bootloader enables 64-bit mode with 4-level paging, we need to > switch over to 5-level paging. The switching requires disabling

Re: [PATCH] x86/mm: Rip out the TLB benchmarking knob

2017-10-14 Thread Andy Lutomirski
On Sat, Oct 14, 2017 at 5:34 AM, Borislav Petkov wrote: > On Sat, Oct 14, 2017 at 03:49:12AM -0700, tip-bot for Andy Lutomirski wrote: >> Commit-ID: b956575bed91ecfb136a8300742ecbbf451471ab >> Gitweb: >> https://git.kernel.org/tip/b956575bed91ecfb136a8300742ecbbf451471ab >> Author: Andy

Re: [tip:x86/urgent] x86/mm: Flush more aggressively in lazy TLB mode

2017-10-14 Thread Andy Lutomirski
On Sat, Oct 14, 2017 at 9:34 AM, Andy Lutomirski wrote: > On Sat, Oct 14, 2017 at 3:49 AM, tip-bot for Andy Lutomirski > wrote: >> Commit-ID: b956575bed91ecfb136a8300742ecbbf451471ab >> Gitweb: >> https://git.kernel.org/tip/b956575bed91ecfb136a8300742ecbbf451471ab >> Author: Andy Lutomi

[PATCH 1/3] x86/mm/64: Remove the last VM_BUG_ON from the TLB code

2017-10-14 Thread Andy Lutomirski
Let's avoid hard-to-diagnose crashes in the future. Signed-off-by: Andy Lutomirski --- arch/x86/mm/tlb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/mm/tlb.c b/arch/x86/mm/tlb.c index 658bf0090565..7db23f9f804e 100644 --- a/arch/x86/mm/tlb.c +++ b/arch/x86/mm

[PATCH 2/3] x86/mm: Tidy up "x86/mm: Flush more aggressively in lazy TLB mode"

2017-10-14 Thread Andy Lutomirski
Due to timezones, commit b956575bed91 ("x86/mm: Flush more aggressively in lazy TLB mode") is an outdated patch that didn't address Borislav's comments. Tidy it up: - The name "tlb_use_lazy_mode" was highly confusing. Change it to "tlb_defer_switch_to_init_mm", which describes what it acutal

[PATCH 3/3] x86/mm: Remove debug/x86/tlb_defer_switch_to_init_mm

2017-10-14 Thread Andy Lutomirski
Borislav thinks that we don't need this knob in a released kernel. Get rid of it. Fixes: b956575bed91 ("x86/mm: Flush more aggressively in lazy TLB mode") Signed-off-by: Andy Lutomirski --- arch/x86/include/asm/tlbflush.h | 20 -- arch/x86/mm/tlb.c | 58

[PATCH 0/3] Fixes on top of the TLB fix in x86/urgent

2017-10-14 Thread Andy Lutomirski
I redid the TLB fix to resolve Boris' comments, and then Ingo applied the old version :-/ Here are my fixes respun on top of the version in -tip. If they pass muster (they're quite straightforward), can one of you get them to Linus? (If you disagree with Boris, then skip patch 3.) Andy Lutomirs

[PATCH] fix typo in skbuff.c

2017-10-14 Thread Wenhua Shi
--- net/core/skbuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 16982de6..e62476be 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -1896,7 +1896,7 @@ void *__pskb_pull_tail(struct sk_buff *skb, int delta) }

Re: [RFC PATCH 3/3] mm/map_contig: Add mmap(MAP_CONTIG) support

2017-10-14 Thread Michal Hocko
On Fri 13-10-17 10:56:13, Cristopher Lameter wrote: > On Fri, 13 Oct 2017, Michal Hocko wrote: > > > > There is a generic posix interface that could we used for a variety of > > > specific hardware dependent use cases. > > > > Yes you wrote that already and my counter argument was that this generi

Re: [tip:x86/urgent] x86/mm: Flush more aggressively in lazy TLB mode

2017-10-14 Thread Andy Lutomirski
On Sat, Oct 14, 2017 at 3:49 AM, tip-bot for Andy Lutomirski wrote: > Commit-ID: b956575bed91ecfb136a8300742ecbbf451471ab > Gitweb: > https://git.kernel.org/tip/b956575bed91ecfb136a8300742ecbbf451471ab > Author: Andy Lutomirski > AuthorDate: Mon, 9 Oct 2017 09:50:49 -0700 > Committer:

Re: [RFC][PATCH] x86, syscalls: use SYSCALL_DEFINE() macros for sys_modify_ldt()

2017-10-14 Thread Andy Lutomirski
On Fri, Oct 13, 2017 at 11:25 PM, Brian Gerst wrote: > On Sat, Oct 14, 2017 at 12:42 AM, Andy Lutomirski wrote: >> On Fri, Oct 13, 2017 at 4:49 PM, Brian Gerst wrote: >>> On Fri, Oct 13, 2017 at 5:03 PM, Andy Lutomirski wrote: On Fri, Oct 13, 2017 at 1:39 PM, Dave Hansen wrote: >

Re: Documentation: add Kernel Driver Statement to the kernel

2017-10-14 Thread gre...@linuxfoundation.org
On Sat, Oct 14, 2017 at 06:14:13PM +0200, Wolfram Sang wrote: > On Fri, Oct 06, 2017 at 11:10:38AM +0200, gre...@linuxfoundation.org wrote: > > Way back in 2008 we didn't have "robust" in-kernel documentation system, > > so the idea of putting something like the kernel driver statement in the > > k

[PATCH] net/ncsi: Delete an error message for a failed memory allocation in ncsi_rsp_handler_gc()

2017-10-14 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 14 Oct 2017 18:03:11 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- net/ncsi/ncsi-rsp.c | 5 + 1 file changed, 1 insertion(+), 4 delet

[GIT PULL] x86 fixes

2017-10-14 Thread Ingo Molnar
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 # HEAD: 1f161f67a272cc4f29f27934dd3f74cb657eb5c4 x86/microcode: Do the family check first A landry list of fixes: - fix reboot breakage on s

Re: Documentation: add Kernel Driver Statement to the kernel

2017-10-14 Thread Wolfram Sang
On Fri, Oct 06, 2017 at 11:10:38AM +0200, gre...@linuxfoundation.org wrote: > Way back in 2008 we didn't have "robust" in-kernel documentation system, > so the idea of putting something like the kernel driver statement in the > kernel tree wasn't even imagined. But now that has changed, so add the

[GIT PULL] scheduler fixes

2017-10-14 Thread Ingo Molnar
Linus, Please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus # HEAD: 024c9d2faebdad3fb43fe49ad68e91a36190f1e2 sched/core: Ensure load_balance() respects the active_mask Three fixes that address an SM

[GIT PULL] RAS fixes

2017-10-14 Thread Ingo Molnar
Linus, Please pull the latest ras-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git ras-urgent-for-linus # HEAD: 262e681183ddcdb24d64a2f993e41a226adcec29 x86/mce: Hide mca_cfg A boot parameter fix, plus a header export fix. Thanks, Ingo

[REGRESSION]: x86/idt: Move early IDT setup out of 32-bit asm

2017-10-14 Thread tedheadster
Thomas, I bisected a bug to commit 87e81786b13b267c4355e0d23e33c7e4c08fa63f. On first generation i486 processors it immediately resets the system after the "Booting the kernel" message. - Matthew Whitehead

[GIT PULL] perf fixes

2017-10-14 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: 47a74bdcbfeff543f706dc0e385eebbb5d655ed2 Merge tag 'perf-urgent-for-mingo-4.14-20171010' of git://git.kernel.org/pub/scm/linux/kerne

[GIT PULL] locking fixes

2017-10-14 Thread Ingo Molnar
Linus, Please pull the latest locking-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus # HEAD: b483cf3bc249d7af706390efa63d6671e80d1c09 locking/lockdep: Disable cross-release features for now Two lockdep fixes for bugs in

[GIT PULL] IRQ fixes

2017-10-14 Thread Ingo Molnar
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 # HEAD: e43b3b58548051f8809391eb7bec7a27ed3003ea genirq/cpuhotplug: Enforce affinity setting on startup of managed irqs A CPU hotplug related

[GIT PULL] objtool fix

2017-10-14 Thread Ingo Molnar
Linus, Please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus # HEAD: 3dd40cb320fee7c23b574ab821ce140ccd1281c9 objtool: Upgrade libelf-devel warning to error for CONFIG_ORC_UNWINDER A single objtool fix

[PATCH v2] ACPI / PM: Combine device suspend routines

2017-10-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki On top of a previous change getting rid of the PM QoS flag PM_QOS_FLAG_REMOTE_WAKEUP, combine two ACPI device suspend routines, acpi_dev_runtime_suspend() and acpi_dev_suspend_late(), into one, acpi_dev_suspend(), to eliminate some code duplication. It also avoids enablin

Re: [PATCH] PM: ARM: sa1111: Drop suspend and resume bus type callbacks

2017-10-14 Thread Rafael J. Wysocki
On Saturday, October 14, 2017 4:43:51 PM CEST Russell King - ARM Linux wrote: > On Thu, Sep 28, 2017 at 09:09:42PM +0200, Rafael J. Wysocki wrote: > > On Thu, Sep 28, 2017 at 11:49 AM, Russell King - ARM Linux > > wrote: > > > On Tue, Sep 26, 2017 at 11:37:40PM +0200, Rafael J. Wysocki wrote: > >

Re: [PATCH] ARM: head-common.S: Clear lr before jumping to start_kernel()

2017-10-14 Thread Nicolas Pitre
On Sat, 14 Oct 2017, Russell King - ARM Linux wrote: > On Sat, Oct 14, 2017 at 03:14:05PM +0100, Russell King - ARM Linux wrote: > > On Thu, Oct 12, 2017 at 11:25:50AM -0400, Nicolas Pitre wrote: > > > It should go into your devel-testing branch as this must be applied on > > > top of my xip_zdat

Re: [PATCH V10 0/8] blk-mq-sched: improve sequential I/O performance

2017-10-14 Thread Jens Axboe
On 10/14/2017 03:22 AM, Ming Lei wrote: > Hi Jens, > > In Red Hat internal storage test wrt. blk-mq scheduler, we found that I/O > performance is much bad with mq-deadline, especially about sequential I/O > on some multi-queue SCSI devcies(lpfc, qla2xxx, SRP...) > > Turns out one big issue causes

[PATCH] pinctrl: rockchip: Add iomux-route switching support for rk3288

2017-10-14 Thread Heiko Stuebner
So far only the hdmi cec supports using one of two different pins as source, so add the route switching for it. Signed-off-by: Heiko Stuebner --- If I didn't mess up any numbering, the pinctrl change should look like the following patch. Hope that helps Heiko drivers/pinctrl/pinctrl-rockchip.c

[PATCH][V2] selinux: remove extraneous initialization of slots_used and max_chain_len

2017-10-14 Thread Colin King
From: Colin Ian King Variables slots_used and max_chain_len are being initialized to zero twice. Remove the second set of initializations in the for loop. Cleans up the clang warnings: Value stored to 'slots_used' is never read Value stored to 'max_chain_len' is never read Signed-off-by: Colin

Re: [PATCH 4/7] ARM: dts: imx6ul-txul: use panel-simple driver for LCD

2017-10-14 Thread Shawn Guo
On Fri, Oct 13, 2017 at 12:43:00PM +0200, Lothar Waßmann wrote: > Convert the TXUL board support to use the panel-simple driver. > The now obsolete 'display-timings' node is kept for compatibility with > U-Boot, which derives its display configuration therefrom. > > Signed-off-by: Lothar Waßmann

Re: [PATCHv2, RFC] x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

2017-10-14 Thread Kirill A. Shutemov
On Sat, Oct 14, 2017 at 09:33:53AM +0200, Ingo Molnar wrote: > Yeah, so first most of this code should be moved from assembly to C. Any > reason > why that cannot be done? Well, we can move a little bit more code into C, like populating the trampoline page, but I don't the think we can move the

Re: keyboard backlight max_brightness bug on Dell Latitude E6410

2017-10-14 Thread Pali Rohár
On Saturday 14 October 2017 16:50:27 Andy Shevchenko wrote: > To be clear, am I waiting for new version? > > In any case I mark it as Changes Requested in my patchwork queue. > > Feel free to send a new version. > Hi, I would prepare a new version based on DMI system check. -- Pali Rohár pali

Re: [PATCH] selinux: remove extraneous initialization of slots_used and max_chain_len

2017-10-14 Thread Joe Perches
On Sat, 2017-10-14 at 15:52 +0100, Colin King wrote: > From: Colin Ian King > > Variables slots_used and max_chain_len are being initialized to zero > twice. Remove the first set of initializations. Cleans up the > clang warnings: > > Value stored to 'slots_used' is never read > Value stored to

Re: [Outreachy kernel] [PATCH v2 1/2] staging: atomisp2: cleanup null check on memory allocation

2017-10-14 Thread Julia Lawall
On Sat, 14 Oct 2017, Aishwarya Pant wrote: > For memory allocation functions that fail with a NULL return value, it > is preferred to use the (!x) test in place of (x == NULL). > > Changes in atomisp2/css2400/sh_css.c were done by hand. > > Done with the help of the following cocci script: > > @

Re: [PATCH] iio: make config_item_type const

2017-10-14 Thread kbuild test robot
-const/20171014-213401 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg config: x86_64-randconfig-x018-201741 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64

Re: [PATCH for linux-next] mm/page-writeback.c: make changes of dirty_writeback_centisecs take effect immediately

2017-10-14 Thread Jens Axboe
On 10/14/2017 02:38 AM, Yafang Shao wrote: > This patch is the followup of the prvious patch: > [writeback: schedule periodic writeback with sysctl]. > > There's another issue to fix. > For example, > - When the tunable was set to one hour and is reset to one second, the > new setting will not t

[PATCH] pinctrl: gemini: Add missing functions

2017-10-14 Thread Linus Walleij
Some two functions were missing from the Gemini pin control driver. Noticed when trying to use ethernet. Fix it up by adding them. Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-gemini.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/pinctrl/pinctrl-gemini.c b/

Re: [PATCH 0/7] ARM: dts: imx53: Update Update Ka-Ro TX53 dts files

2017-10-14 Thread Shawn Guo
On Wed, Oct 11, 2017 at 01:07:34PM +0200, Lothar Waßmann wrote: > This patch set brings the Ka-Ro electronics GmbH TX53 module series > dts files up to date. Applied all, thanks.

Re: [PATCH 0/4] ARM: dts: imx28: Update Ka-Ro TX28 dts file

2017-10-14 Thread Shawn Guo
On Wed, Oct 11, 2017 at 01:05:35PM +0200, Lothar Waßmann wrote: > This patch set brings the Ka-Ro electronics GmbH TX28 board support up > to date. Applied all, thanks.

  1   2   3   >