Re: [lkp-robot] [sctp] ecca8f88da: ltp.test_sctp_sendrecvmsg.fail

2017-12-08 Thread Xin Long
On Fri, Dec 8, 2017 at 1:26 PM, kernel test robot wrote: > > FYI, we noticed the following commit (built with gcc-6): > > commit: ecca8f88da5c4260cc2bccfefd2a24976704c366 ("sctp: set frag_point in > sctp_setsockopt_maxseg correctly") >

Re: [PATCH V6 4/7] OF: properties: Implement get_match_data() callback

2017-12-08 Thread Lothar Waßmann
Hi, On Thu, 7 Dec 2017 12:50:50 -0500 Sinan Kaya wrote: > On 12/7/2017 10:20 AM, Lothar Waßmann wrote: > > Hi, > > > > On Thu, 7 Dec 2017 09:45:31 -0500 Sinan Kaya wrote: > >> On 12/7/2017 8:10 AM, Lothar Waßmann wrote: > +void *of_fwnode_get_match_data(const struct fwnode_handle *fwnode, >

Re: [PATCH v2 3/3] Bluetooth: hci_ll: Add optional nvmem BD address source

2017-12-08 Thread Marcel Holtmann
Hi David, > This adds an optional nvmem consumer to get a BD address from an external > source. The BD address is then set in the Bluetooth chip after the > firmware has been loaded. > > This has been tested working with a TI CC2560A chip (in a LEGO MINDSTORMS > EV3). > > Signed-off-by: David

[PATCH 2/3] misc: ad525x_dpot: please, no space before tabs

2017-12-08 Thread Dhaval Shah
Resolved the please, no space beofore tabs checkpatch warning. Issue found by checkpatch. Signed-off-by: Dhaval Shah --- drivers/misc/ad525x_dpot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/ad525x_dpot.c

[PATCH 0/3] misc: ad525x_dpot: Different type of warnings are resolved.

2017-12-08 Thread Dhaval Shah
Three types of checkpatch warning are resolved. * First patch : Prefer 'unsigned int' to bare use of 'unsigned' * Second patch : please, no space before tabs * third patch : macros should not use a trailing semicolon Issue found by checkpatch. ./scripts/checkpatch.pl -f --strict

[PATCH 1/3] misc: ad525x_dpot: Prefer 'unsigned int' to bare use of 'unsigned'

2017-12-08 Thread Dhaval Shah
Resolved all the Prefer 'unsigned int' to bare use of 'unsigned' checkpatch warnings. Issue found by checkpatch. Signed-off-by: Dhaval Shah --- drivers/misc/ad525x_dpot.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git

Re: [PATCH v2 1/3] Bluetooth: hci_ll: add support for setting public address

2017-12-08 Thread Marcel Holtmann
Hi David, > This adds support for setting the public address on Texas Instruments > Bluetooth chips using a vendor-specific command. > > This has been tested on a CC2560A. The TI wiki also indicates that this > command should work on TI WL17xx/WL18xx Bluetooth chips. > > Signed-off-by: David

Re: [PATCH v2 2/3] dt-bindings: Add optional nvmem BD address bindings to ti,wlink-st

2017-12-08 Thread Marcel Holtmann
Hi David, > This adds optional nvmem consumer properties to the ti,wlink-st device tree > bindings to allow specifying the BD address. > > Signed-off-by: David Lechner > --- > > v2 changes: > * Renamed "mac-address" to "bd-address" > * Fixed typos in example > * Specify

Re: [PATCH v6 net-next,mips 0/7] Cavium OCTEON-III network driver.

2017-12-08 Thread Philippe Ombredanne
David, On Fri, Dec 8, 2017 at 1:09 AM, David Daney wrote: [] > Changes in v5: [] > o Removed redundant licensing text boilerplate. Thank you very much! Acked-by: Philippe Ombredanne -- Cordially Philippe Ombredanne, the licensing scruffy

[PATCH 3/3] misc: ad525x_dpot: macros should not use a trailing semicolon

2017-12-08 Thread Dhaval Shah
Resolved all the macros should not use a trailing semicolon checkpatch warnings. Issue found by checkpatch. Signed-off-by: Dhaval Shah --- drivers/misc/ad525x_dpot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/misc/ad525x_dpot.c

[PATCH] Input: atmel_mxt_ts: Add touchscreen support for Chromebooks with upstream coreboot

2017-12-08 Thread Jean Lucas
Chromebooks use coreboot for system initialization. coreboot has always had the default mainboard vendor string for Google machines set to "Google". Google engineers set this string to "GOOGLE" for the coreboot copy within their Chromium OS tree. The atmel_mxt_ts driver in its current state is set

Re: [PATCH] Bluetooth: hci_ll: Add endianness conversion when setting baudrate

2017-12-08 Thread Marcel Holtmann
Hi David, > This adds an endianness conversion when setting the baudrate using a > vendor-specific command. Otherwise, bad things might happen on a big- > endian system. > > Suggested-by: Marcel Holtmann > Signed-off-by: David Lechner > --- >

[PATCH] misc: ad525x_dpot: Unnecessary space before function pointer arguments

2017-12-08 Thread Dhaval Shah
Resolved all the Unnecessary space before function pointer arguments checkpatch warnings. Issue found by checkpatch. Signed-off-by: Dhaval Shah --- drivers/misc/ad525x_dpot.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [v2 PATCH] cpufreq: powernv: Correctly parse the sign of pstates on POWER8 vs POWER9

2017-12-08 Thread Michael Ellerman
"Rafael J. Wysocki" writes: > On Thu, Dec 7, 2017 at 6:59 AM, Gautham R. Shenoy > wrote: >> From: "Gautham R. Shenoy" >> >> On POWERNV platform, Pstates are 8-bit values. On POWER8 they are >> negatively numbered while on

Re: [PATCH v3 17/33] nds32: VDSO support

2017-12-08 Thread Marc Zyngier
On 08/12/17 11:54, Greentime Hu wrote: > Hi, Mark: > > 2017-12-08 18:21 GMT+08:00 Mark Rutland : >> On Fri, Dec 08, 2017 at 05:12:00PM +0800, Greentime Hu wrote: >>> From: Greentime Hu >>> >>> This patch adds VDSO support. The VDSO code is currently

Re: [RFC PATCH 2/5] perf jevents: add support for arch recommended events

2017-12-08 Thread Jiri Olsa
On Wed, Dec 06, 2017 at 03:20:14PM +, John Garry wrote: > On 06/12/2017 13:36, Jiri Olsa wrote: > > On Wed, Dec 06, 2017 at 12:13:16AM +0800, John Garry wrote: > > > For some architectures (like arm64), there are architecture- > > > defined recommended events. Vendors may not be obliged to > >

Re: [PATCH] KVM: X86: Fix host dr6 miss restore

2017-12-08 Thread David Hildenbrand
On 08.12.2017 10:12, Wanpeng Li wrote: > From: Wanpeng Li > > Reported by syzkaller: > >WARNING: CPU: 0 PID: 12927 at arch/x86/kernel/traps.c:780 > do_debug+0x222/0x250 >CPU: 0 PID: 12927 Comm: syz-executor Tainted: G OE > 4.15.0-rc2+ #16 >RIP:

Re: [PATCH v9 3/6] clocksource: stm32: only use 32 bits timers

2017-12-08 Thread Daniel Lezcano
On 08/12/2017 12:32, Benjamin Gaignard wrote: > From: Benjamin Gaignard > > The clock driving counters is at 90MHz so the maximum period > for 16 bis counters is around 728us (2^16 / 90.000.000). > For 32 bits counters this period is close 47 secondes which is >

Re: [PATCH v9 3/6] clocksource: stm32: only use 32 bits timers

2017-12-08 Thread Benjamin Gaignard
2017-12-08 13:51 GMT+01:00 Daniel Lezcano : > On 08/12/2017 12:32, Benjamin Gaignard wrote: >> From: Benjamin Gaignard >> >> The clock driving counters is at 90MHz so the maximum period >> for 16 bis counters is around 728us (2^16 /

Re: [PATCH v6 09/11] fs/pipe.c: export create_pipe_files() and replace_fd()

2017-12-08 Thread Jarkko Sakkinen
On Thu, Dec 07, 2017 at 07:37:38PM +0200, Jarkko Sakkinen wrote: > I think I could replace pipes with anonymous inodes. Is that a better > idea than pipes? I can work on that v8 if the export is a show stopper > as it seems. We are using that to do some other stuff in tpm_vtpm_proxy. I'll go with

Re: [PATCH v4 09/12] clk: qcom: Add Krait clock controller driver

2017-12-08 Thread Philippe Ombredanne
Sricharan, On Fri, Dec 8, 2017 at 12:00 PM, Sricharan R wrote: > Hi Philippe, > > > On 12/8/2017 3:53 PM, Philippe Ombredanne wrote: >> Sricharan, Stephen, >> >> On Fri, Dec 8, 2017 at 10:29 AM, Sricharan R >> wrote: >>> From: Stephen Boyd

Re: [PATCH v3 04/33] nds32: Kernel booting and initialization

2017-12-08 Thread Greentime Hu
Hi, Philippe: 2017-12-08 21:19 GMT+08:00 Philippe Ombredanne : > Dear Greentime, > > On Fri, Dec 8, 2017 at 10:11 AM, Greentime Hu wrote: >> From: Greentime Hu >> >> This patch includes the kernel startup code. It can get dtb

Re: [RFC PATCH 2/2] spi: atmel: Fix DMA transfers data corruption

2017-12-08 Thread Radu Nicolae Pirea
On 16.11.2017 12:45, Mark Brown wrote: On Wed, Nov 15, 2017 at 06:35:32PM +0200, Radu Pirea wrote: +#ifdef CONFIG_SOC_SAM_V4_V5 + /* +* On Atmel SoCs based on ARM9 cores, the data cache follows the VIVT +* model, hence the cache aliases issue can occur when buffers are +

Re: [Patch v6 02/12] [media] s5p-mfc: Adding initial support for MFC v10.10

2017-12-08 Thread Philippe Ombredanne
Smitha, On Fri, Dec 8, 2017 at 10:08 AM, Smitha T Murthy wrote: > Adding the support for MFC v10.10, with new register file and > necessary hw control, decoder, encoder and structural changes. > > CC: Rob Herring > CC: devicet...@vger.kernel.org >

Re: [PATCH v5 8/9] pinctrl: axp209: add support for AXP813 GPIOs

2017-12-08 Thread Quentin Schulz
Hi all, There is a bug below. On 05/12/2017 15:46, Quentin Schulz wrote: > The AXP813 has only two GPIOs. GPIO0 can either be used as a GPIO, an > LDO regulator or an ADC. GPIO1 can be used either as a GPIO or an LDO > regulator. > > Moreover, the status bit of the GPIOs when in input mode is

[PATCH v2] eeprom: at25: Add DT support for EEPROMs with odd address bits

2017-12-08 Thread Geert Uytterhoeven
Certain EEPROMS have a size that is larger than the number of address bytes would allow, and store the MSB of the address in bit 3 of the instruction byte. This can be described in platform data using EE_INSTR_BIT3_IS_ADDR, or in DT using the obsolete legacy "at25,addr-mode" property. But

Re: [PATCH v3 15/16] iommu: introduce page response function

2017-12-08 Thread Jean-Philippe Brucker
On 07/12/17 21:56, Alex Williamson wrote: [...] >> Seems like VFIO should enforce this quota, since the IOMMU layer doesn't >> know which device is assigned to which VM. If it's the IOMMU that enforces >> quotas per device and a VM has 15 devices assigned, then the guest can >> still DoS the

Re: [PATCH v9 3/6] clocksource: stm32: only use 32 bits timers

2017-12-08 Thread Daniel Lezcano
On 08/12/2017 14:05, Benjamin Gaignard wrote: > 2017-12-08 13:51 GMT+01:00 Daniel Lezcano : >> On 08/12/2017 12:32, Benjamin Gaignard wrote: >>> From: Benjamin Gaignard >>> >>> The clock driving counters is at 90MHz so the maximum period

Re: [PATCH v9 5/6] clocksource: stm32: Update license and copyright

2017-12-08 Thread Philippe Ombredanne
On Fri, Dec 8, 2017 at 12:32 PM, Benjamin Gaignard wrote: > Adopt SPDX License Identifier and add STMicroelectronics > copyright > > Signed-off-by: Benjamin Gaignard > --- > drivers/clocksource/timer-stm32.c | 4 +++- > 1 file changed, 3

Re: [PATCH 4.9 000/109] 4.9.68-stable review

2017-12-08 Thread Greg Kroah-Hartman
On Fri, Dec 08, 2017 at 11:05:58AM +0530, Naresh Kamboju wrote: > On 7 December 2017 at 18:25, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.9.68 release. > > There are 109 patches in this series, all will be posted as a

[PATCH 1/1] dt-bindings: arm: document supported STM32 SoC family

2017-12-08 Thread Ludovic Barre
From: Ludovic Barre This adds a list of supported STM32 SoC bindings. Signed-off-by: Gwenael Treuveur Signed-off-by: Ludovic Barre --- Documentation/devicetree/bindings/arm/stm32.txt | 9 + 1 file changed, 9

Re: [PATCH v2 net-next 4/4] bpftool: implement cgroup bpf operations

2017-12-08 Thread Philippe Ombredanne
On Fri, Dec 8, 2017 at 11:34 AM, Quentin Monnet wrote: > 2017-12-07 18:39 UTC+ ~ Roman Gushchin >> This patch adds basic cgroup bpf operations to bpftool: >> cgroup list, attach and detach commands. [...] >> --- /dev/null >> +++

Re: [PATCH 1/1] base: power: runtime: Export pm_runtime_get/put_suppliers

2017-12-08 Thread Rafael J. Wysocki
On Fri, Dec 8, 2017 at 2:39 PM, Vivek Gautam wrote: > Hi Greg, > > > On Fri, Dec 8, 2017 at 6:51 PM, Greg KH wrote: >> On Fri, Dec 08, 2017 at 06:00:47PM +0530, Vivek Gautam wrote: >>> The device link allows the pm framework to tie the

Re: [PATCH] LDT improvements

2017-12-08 Thread Peter Zijlstra
On Fri, Dec 08, 2017 at 05:20:00AM -0800, Andy Lutomirski wrote: > > > > The error code of such an access is always 0x03. So I added a special > > handler, which checks whether the address is in the LDT map range and > > verifies that the access bit in the descriptor is 0. If that's the case it >

[PATCH] Bluetooth: Prevent stack info leak from the EFS element.

2017-12-08 Thread Greg Kroah-Hartman
From: Ben Seri In the function l2cap_parse_conf_rsp and in the function l2cap_parse_conf_req the following variable is declared without initialization: struct l2cap_conf_efs efs; In addition, when parsing input configuration parameters in both of these functions, the switch

[PATCH 1/1] HID: core: rewrite the hid-generic automatic unbind

2017-12-08 Thread Benjamin Tissoires
We actually can have the unbind/rebind logic in hid-core.c, leaving only the match function in hid-generic. This makes hid-generic simpler and the whole logic simpler too. Signed-off-by: Benjamin Tissoires --- Hi Jiri, while trying to find out a local bug, I

Re: [PATCH] schedule: use unlikely()

2017-12-08 Thread Pavel Machek
On Tue 2017-11-28 08:22:50, Greg KH wrote: > On Mon, Nov 27, 2017 at 07:05:22PM -0500, Mikulas Patocka wrote: > > > > > > On Sat, 25 Nov 2017, Greg KH wrote: > > > > > On Mon, Nov 13, 2017 at 02:00:45PM -0500, Mikulas Patocka wrote: > > > > A small patch for schedule(), so that the code goes

Re: [PATCH 0/2] acpi, x86: Add SPCR table support

2017-12-08 Thread Prarit Bhargava
On 12/08/2017 01:29 AM, Ingo Molnar wrote: > > * Prarit Bhargava wrote: > >> The SPCR (Serial Port Console Redirection) Table provides information >> about the configuration of serial port. This information can be used >> to configure the early console. > > s/about the

Re: USB: hub: Checking communication difficulties

2017-12-08 Thread SF Markus Elfring
> Greg maintains USB and he's has blocked Markus, How do you think about to reconsider this blockage? > because he never listens to feedback I am listening … > but instead just repsonds that he has a different opinion. I choose such a reaction in some cases. My responses can vary. It seems

Re: [PATCH v5 3/7] scsi: libsas: make the event threshold configurable

2017-12-08 Thread John Garry
On 08/12/2017 09:42, Jason Yan wrote: Add a sysfs attr that LLDD can configure it for every host. We made a example in hisi_sas. Other LLDDs using libsas can implement it if they want. Suggested-by: Hannes Reinecke Signed-off-by: Jason Yan CC: John Garry

Re: [PATCH v3 17/33] nds32: VDSO support

2017-12-08 Thread Greentime Hu
Hi, Marc: 2017-12-08 20:29 GMT+08:00 Marc Zyngier : > On 08/12/17 11:54, Greentime Hu wrote: >> Hi, Mark: >> >> 2017-12-08 18:21 GMT+08:00 Mark Rutland : >>> On Fri, Dec 08, 2017 at 05:12:00PM +0800, Greentime Hu wrote: From: Greentime Hu

[PATCH 3/6] staging: fsl-dpaa2/eth: Add counter for skb reallocs

2017-12-08 Thread Ioana Radulescu
Add a counter for the number of egress frames that need to be realloc'ed due to insufficient headroom space. Signed-off-by: Ioana Radulescu --- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 1 + drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 1 +

[GIT PULL] Please pull powerpc/linux.git powerpc-4.15-4 tag

2017-12-08 Thread Michael Ellerman
Hi Linus, Please pull some more powerpc fixes for 4.15: The following changes since commit ae64f9bd1d3621b5e60d7363bc20afb46aede215: Linux 4.15-rc2 (2017-12-03 11:01:47 -0500) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git

Re: [PATCH 1/1] base: power: runtime: Export pm_runtime_get/put_suppliers

2017-12-08 Thread Vivek Gautam
Hi Greg, On Fri, Dec 8, 2017 at 6:51 PM, Greg KH wrote: > On Fri, Dec 08, 2017 at 06:00:47PM +0530, Vivek Gautam wrote: >> The device link allows the pm framework to tie the supplier and >> consumer. So, whenever the consumer is powered-on, the supplier >> is

Re: [PATCHv2] tools: hv: hv_set_ifconfig.sh double check before setting ip

2017-12-08 Thread Eduardo Otubo
On Fri, Dec 08, 2017 at 12:33:38PM +0100, Olaf Hering wrote: > On Fri, Dec 08, Eduardo Otubo wrote: > > > tools/hv/hv_set_ifconfig.sh | 45 > > +++-- > > 1 file changed, 43 insertions(+), 2 deletions(-) > > > +# let's wait for 3 minutes > > Was

Re: [PATCH net-next v4 1/2] net: add support for Cavium PTP coprocessor

2017-12-08 Thread Philippe Ombredanne
Dear Aleksey, Dear Radoslaw, On Fri, Dec 8, 2017 at 11:34 AM, Aleksey Makarov wrote: > From: Radoslaw Biernacki > > This patch adds support for the Precision Time Protocol > Clocks and Timestamping hardware found on Cavium ThunderX > processors. >

Re: [PATCH 1/9] sched/autogroup: remove unneeded kallsyms include

2017-12-08 Thread Petr Mladek
On Fri 2017-12-08 20:20:48, Sergey Senozhatsky wrote: > On (12/08/17 11:56), Peter Zijlstra wrote: > > On Fri, Dec 08, 2017 at 11:56:08AM +0900, Sergey Senozhatsky wrote: > > > Autogroup does not seem to use any of kallsyms functions/defines. > > > > > > Signed-off-by: Sergey Senozhatsky

Re: [PATCH v3 23/33] nds32: Generic timers support

2017-12-08 Thread Linus Walleij
On Fri, Dec 8, 2017 at 10:12 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds support for timer. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu Reviewed-by: Linus

Re: NFS corruption, fixed by echo 1 > /proc/sys/vm/drop_caches -- next debugging steps?

2017-12-08 Thread Eric Dumazet
On Thu, Dec 7, 2017 at 11:54 PM, Matt Turner wrote: > On Thu, Dec 7, 2017 at 11:00 PM, Matt Turner wrote: >> On Sun, Mar 12, 2017 at 6:43 PM, Matt Turner wrote: >>> On a Broadcom BCM91250a MIPS system I can reliably trigger NFS >>>

Re: [PATCH v4] printk: Add console owner and waiter logic to load balance console writes

2017-12-08 Thread Petr Mladek
Hello, thanks a lot for help. I am sorry for the late response. I wanted to handle this mail with a clean head. On Tue 2017-11-28 10:42:29, Byungchul Park wrote: > On Fri, Nov 24, 2017 at 04:58:16PM +0100, Petr Mladek wrote: > > @@ -1797,13 +1797,6 @@ asmlinkage int vprintk_emit(int facility,

Re: [PATCH 4.9 000/109] 4.9.68-stable review

2017-12-08 Thread Milosz Wasilewski
On 8 December 2017 at 13:58, Greg Kroah-Hartman wrote: > On Fri, Dec 08, 2017 at 11:05:58AM +0530, Naresh Kamboju wrote: >> On 7 December 2017 at 18:25, Greg Kroah-Hartman >> wrote: >> > This is the start of the stable review cycle for the

Re: [PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Benjamin Gaignard
2017-12-08 14:46 GMT+01:00 Daniel Lezcano : > On 08/12/2017 12:32, Benjamin Gaignard wrote: >> The stm32 timer hardware is currently only used as a clock event device, >> but it can be utilized as a clocksource as well. >> >> Implement this by enabling the free running

Re: [PATCH 2/2] tools/lib/lockdep: add empty declaration for early_param

2017-12-08 Thread alexander . levin
On Fri, Dec 08, 2017 at 07:20:10AM +0100, Ingo Molnar wrote: > >* Ingo Molnar wrote: > >> >> * alexander.le...@verizon.com wrote: >> >> > Fixes a compilation error: >> > >> > CC lockdep.o >> > In file included from lockdep.c:28:0: >> >

Re: [PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Daniel Lezcano
On 08/12/2017 15:04, Benjamin Gaignard wrote: > 2017-12-08 14:46 GMT+01:00 Daniel Lezcano : >> On 08/12/2017 12:32, Benjamin Gaignard wrote: >>> The stm32 timer hardware is currently only used as a clock event device, >>> but it can be utilized as a clocksource as well.

Re: [PATCH v3 26/26] kfifo: DECLARE_KIFO_PTR(fifo, u64) does not work on arm 32 bit

2017-12-08 Thread Mauro Carvalho Chehab
Em Thu, 30 Nov 2017 13:34:10 +0100 Stefani Seibold escreveu: > On Thu, 2017-11-30 at 10:29 -0200, Mauro Carvalho Chehab wrote: > > Em Tue, 10 Oct 2017 09:59:42 +0200 > > Sean Young escreveu: > > > > > If you try to store u64 in a kfifo (or a struct with

Re: [v2 PATCH] cpufreq: powernv: Correctly parse the sign of pstates on POWER8 vs POWER9

2017-12-08 Thread Rafael J. Wysocki
On Fri, Dec 8, 2017 at 12:47 PM, Michael Ellerman wrote: > "Rafael J. Wysocki" writes: > >> On Thu, Dec 7, 2017 at 6:59 AM, Gautham R. Shenoy >> wrote: >>> From: "Gautham R. Shenoy" >>> >>> On POWERNV

Re: [PATCH v2 net-next 4/4] bpftool: implement cgroup bpf operations

2017-12-08 Thread Roman Gushchin
On Fri, Dec 08, 2017 at 10:34:16AM +, Quentin Monnet wrote: > 2017-12-07 18:39 UTC+ ~ Roman Gushchin > > This patch adds basic cgroup bpf operations to bpftool: > > cgroup list, attach and detach commands. > > > > Usage is described in the corresponding man pages, > > and

Re: [PATCH] ACPI / PM: Do not reconfigure GPEs for suspend-to-idle

2017-12-08 Thread Rafael J. Wysocki
On Thu, Dec 7, 2017 at 3:27 AM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Currently, non-wakeup GPEs are disabled on suspend-to-idle > entry to avoid spurious wakeups, but that should not be strictly > necessary any more after commit

Re: [PATCH v3 1/3] leds: core: Introduce generic pattern interface

2017-12-08 Thread Pavel Machek
Hi! > > > > +KernelVersion: 4.14 > > > > > > And that kernel version is long since released :) > > > > Yeah, the other problem is it has some interesting format with ":|" > > marking repeat, > > So what would you prefer? > > We can either add another file ("pattern_repeat"?) that allows you

Re: [PATCH 0/4] Add support for muxing individual pins

2017-12-08 Thread Charles Keepax
On Mon, Oct 09, 2017 at 11:10:34PM +0200, Linus Walleij wrote: > On Fri, Sep 29, 2017 at 12:14 PM, Charles Keepax > wrote: > > This series add support for muxing individual pins within > > pin mux, rather than just whole groups. Mainly, I had two > > motivations

[PATCH v2 2/2] HID: input: do not increment usages when a duplicate is found

2017-12-08 Thread Benjamin Tissoires
This is something that bothered us from a long time. When hid-input doesn't know how to map a usage, it uses *_MISC. But there is something else which increments the usage if the evdev code is already used. This leads to few issues: - some devices may have their ABS_X mapped to ABS_Y if they

iwl3945: regression at 4.15-rc1 was Re: 4.15.0-rc1-next-20171201: WARNING: .... at net/mac80211/agg-tx.c:315

2017-12-08 Thread Pavel Machek
Hi! > > This is quite annoying: repeated > > > > [ 4169.591529] ---[ end trace e65d97cf1d20b84d ]--- > > [ 4169.591565] WARNING: CPU: 0 PID: 5472 at net/mac80211/agg-tx.c:315 > > ___ieee80211_stop_tx_\ > > ba_session+0x158/0x1f0 > > > > Hardware is thinkpad x60. Git blame says cfcdbde35

[PATCH v2 0/2] HID: input: do not increment usages when a duplicate is found

2017-12-08 Thread Benjamin Tissoires
Hi Jiri, slightly modified version (to actually make it working this time). There is not much to add, the differences are in the commit messages and in the notes of each patch. Cheers, Benjamin Benjamin Tissoires (2): HID: use BIT macro instead of plain integers for flags HID: input: do

[PATCH v2 1/2] HID: use BIT macro instead of plain integers for flags

2017-12-08 Thread Benjamin Tissoires
This can lead to some hairy situation with the developer losing a day or two realizing that 4 should be after 2, not 3. Signed-off-by: Benjamin Tissoires --- new in v2 include/linux/hid.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff

Re: [PATCH v5 2/4] clk: meson-axg: add clocks dt-bindings required header

2017-12-08 Thread Jerome Brunet
On Fri, 2017-12-08 at 22:22 +0800, Yixun Lan wrote: > let's just wait for a few more days, to see if there are more comments > coming up, then I would fold them together That's up to you. Keep in mind that rc4 is coming up and I'll need some time to test/verify the final version

Re: [PATCH] cgroup/cpuset: fix circular locking dependency

2017-12-08 Thread Prateek Sood
On 12/08/2017 03:10 PM, Prateek Sood wrote: > On 12/05/2017 04:31 AM, Peter Zijlstra wrote: >> On Mon, Dec 04, 2017 at 02:58:25PM -0800, Tejun Heo wrote: >>> Hello, again. >>> >>> On Mon, Dec 04, 2017 at 12:22:19PM -0800, Tejun Heo wrote: Hello, On Mon, Dec 04, 2017 at 10:44:49AM

Re: [PATCH v2] mm: terminate shrink_slab loop if signal is pending

2017-12-08 Thread Michal Hocko
On Fri 08-12-17 20:36:16, Tetsuo Handa wrote: > On 2017/12/08 17:22, Michal Hocko wrote: > > On Thu 07-12-17 17:23:05, Suren Baghdasaryan wrote: > >> Slab shrinkers can be quite time consuming and when signal > >> is pending they can delay handling of the signal. If fatal > >> signal is pending

Re: [PATCH v2] perf evsel: Enable ignore_missing_thread for pid option

2017-12-08 Thread Jiri Olsa
On Thu, Dec 07, 2017 at 09:43:33PM +0800, Mengting Zhang wrote: SNIP > diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c > index f894893..d0ef889 100644 > --- a/tools/perf/util/evsel.c > +++ b/tools/perf/util/evsel.c > @@ -1592,10 +1592,43 @@ static int __open_attr__fprintf(FILE

Re: [PATCH v3 17/33] nds32: VDSO support

2017-12-08 Thread Greentime Hu
Hi, Mark: 2017-12-08 18:21 GMT+08:00 Mark Rutland : > On Fri, Dec 08, 2017 at 05:12:00PM +0800, Greentime Hu wrote: >> From: Greentime Hu >> >> This patch adds VDSO support. The VDSO code is currently used for >> sys_rt_sigreturn() and optimised

Re: [PATCH] perf tests: Handle properly readdir DT_UNKNOWN

2017-12-08 Thread Jiri Olsa
On Thu, Dec 07, 2017 at 12:19:05PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Dec 06, 2017 at 06:45:35PM +0100, Jiri Olsa escreveu: > > Some system can return DT_UNKNOWN in readdir's struct dirent::d_type > > and we must handle it properly. In this case we can directly check > > if the

[PATCH] clkc: zynq: Missing a blank line after declarations.

2017-12-08 Thread Dhaval Shah
Resolved missing a blank line after declarations checkpatch warnings. Issue found by checkpatch. Signed-off-by: Dhaval Shah --- drivers/clk/zynq/clkc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/zynq/clkc.c b/drivers/clk/zynq/clkc.c index

Re: KASAN: slab-out-of-bounds Read in strcmp

2017-12-08 Thread Dmitry Vyukov
On Tue, Dec 5, 2017 at 11:00 AM, Dmitry Vyukov wrote: >>> > > > > > === >>> > > > > > === >>> > > > > > BUG: KASAN: slab-out-of-bounds in strcmp+0x96/0xb0 >>> > > > > > lib/string.c:328 >>> > > > > > Read of size 1 at

Re: [PATCH] powerpc/xmon: use ARRAY_SIZE on various array sizing calculations

2017-12-08 Thread Joe Perches
On Fri, 2017-12-08 at 22:51 +1100, Michael Ellerman wrote: > Balbir Singh writes: > > > On Thu, Dec 7, 2017 at 10:01 PM, Colin King > > wrote: > > > From: Colin Ian King > > > > > > Use the ARRAY_SIZE macro on several

Re: [RFC PATCH 2/5] perf jevents: add support for arch recommended events

2017-12-08 Thread Jiri Olsa
On Wed, Dec 06, 2017 at 02:40:10PM +, John Garry wrote: > On 06/12/2017 13:37, Jiri Olsa wrote: > > On Wed, Dec 06, 2017 at 12:13:16AM +0800, John Garry wrote: > > > > SNIP > > > > > --- > > > tools/perf/pmu-events/jevents.c | 215 > > > > > > 1

Re: linux-next: manual merge of the wireless-drivers-next tree with the wireless-drivers tree

2017-12-08 Thread Kalle Valo
Stephen Rothwell writes: > Today's linux-next merge of the wireless-drivers-next tree got a > conflict in: > > drivers/net/wireless/intel/iwlwifi/pcie/drv.c > > between commit: > > 567deca8e72d ("iwlwifi: add new cards for 9260 and 22000 series") > > from the

[PATCH 1/1] base: power: runtime: Export pm_runtime_get/put_suppliers

2017-12-08 Thread Vivek Gautam
The device link allows the pm framework to tie the supplier and consumer. So, whenever the consumer is powered-on, the supplier is powered-on first. There are however cases in which the consumer wants to power-on the supplier, but not itself. E.g., A Graphics or multimedia driver wants to

[PATCH] futex: Avoid violating the 10th rule of futex

2017-12-08 Thread Peter Zijlstra
On Thu, Dec 07, 2017 at 05:02:40PM -0600, Gratian Crisan wrote: > Yep ... looks good to me. I've been running two targets with the > original reproducer for 8 hours now plus a target running the C test. > All of them are still going. > > I'm going to let them run overnight to make sure but I'm

[GIT PULL] phy: for 4.15 -rc

2017-12-08 Thread Kishon Vijay Abraham I
Hi Greg, Please find the pull request for 4.15 -rc cycle below. It fixes a compilation error, fix in handling error case and there is a fix in exynos5-usbdrd to enumerate superspeed devices on Odroid XU3 (This includes a fix in usb/dwc3/core and I've got Acked-by from Felipe Balbi for this).

[PATCH 1/2] of: overlay: Fix out-of-bounds write in init_overlay_changeset()

2017-12-08 Thread Geert Uytterhoeven
If an overlay has no "__symbols__" node, but it has nodes without "__overlay__" subnodes at the end (e.g. a "__fixups__" node), after filling in all fragments for nodes with "__overlay__" subnodes, "fragment = [cnt]" will point beyond the end of the allocated array. Hence writing to

[PATCH 0/2] of: overlay: Crash fix and improvement

2017-12-08 Thread Geert Uytterhoeven
Hi Pantelis, Rob, Frank, This patch series fixes memory corruption when applying overlays. I first noticed this when using OF configfs. After lots of failed debugging attempts, I bisected it to "of: overlay: add per overlay sysfs attributes", which is not upstream. But that was a red

[PATCH 2/2] of: overlay: Make node skipping in init_overlay_changeset() clearer

2017-12-08 Thread Geert Uytterhoeven
Make it more clear that nodes without "__overlay__" subnodes are skipped, by reverting the logic and using continue. This also reduces indentation level. Signed-off-by: Geert Uytterhoeven --- This applies to Rob's for-next branch only. --- drivers/of/overlay.c | 21

Re: [PATCH v3 04/33] nds32: Kernel booting and initialization

2017-12-08 Thread Philippe Ombredanne
Dear Greentime, On Fri, Dec 8, 2017 at 10:11 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch includes the kernel startup code. It can get dtb pointer > passed from bootloader. It will create a temp mapping by tlb > instructions at

Re: NFS crash, hashed pointers in backtrace

2017-12-08 Thread Geert Uytterhoeven
On Wed, Dec 6, 2017 at 5:19 PM, Geert Uytterhoeven wrote: > On Wed, Dec 6, 2017 at 5:10 PM, Trond Myklebust > wrote: >> On Wed, 2017-12-06 at 15:31 +0100, Geert Uytterhoeven wrote: >>> On Tue, Dec 5, 2017 at 5:02 PM, Geert Uytterhoeven

Re: [PATCH v1 1/2] eeprom: at24: convert magic numbers to structs.

2017-12-08 Thread Bartosz Golaszewski
2017-12-06 17:04 GMT+01:00 Sven Van Asbroeck : > Fundamental properties such as capacity and page size differ > among at24-type chips. But these chips do not have an id register, > so this can't be discovered at runtime. > > Traditionally, at24-type eeprom properties were

Re: [PATCH v3 15/16] iommu: introduce page response function

2017-12-08 Thread Jean-Philippe Brucker
On 08/12/17 01:17, Jacob Pan wrote: [...] >> Sounds good. Timeout seems a bit complicated to implement (and how do >> we guess what timeout would work?), so maybe it's simpler to enforce >> a quota of outstanding faults per VM, for example half of the shared >> queue size (the number can be chosen

Re: [PATCH v3 15/16] iommu: introduce page response function

2017-12-08 Thread Jean-Philippe Brucker
On 07/12/17 21:51, Alex Williamson wrote: >> Agree, IOMMU driver cannot enforce it. I think VFIO layer can make sure >> page response come from the assigned device and its guest/container. > > Can we enforce it via the IOMMU/VFIO interface? If the response is for > a struct device, and not an

Re: NFS corruption, fixed by echo 1 > /proc/sys/vm/drop_caches -- next debugging steps?

2017-12-08 Thread Eric Dumazet
On Fri, 2017-12-08 at 05:42 -0800, Eric Dumazet wrote: > On Thu, Dec 7, 2017 at 11:54 PM, Matt Turner > wrote: > > On Thu, Dec 7, 2017 at 11:00 PM, Matt Turner > > wrote: > > > On Sun, Mar 12, 2017 at 6:43 PM, Matt Turner > > > wrote:

Re: [PATCH 5/9] pnp: remove unneeded kallsyms include

2017-12-08 Thread Rafael J. Wysocki
On Fri, Dec 8, 2017 at 3:56 AM, Sergey Senozhatsky wrote: > The file was converted from print_fn_descriptor_symbol() > to %pF some time ago (2e532d68a2b3e2aa {pci,pnp} quirks.c: > don't use deprecated print_fn_descriptor_symbol()). kallsyms > does not seem to be

Re: [PATCH 3/9] power: remove unneeded kallsyms include

2017-12-08 Thread Rafael J. Wysocki
On Fri, Dec 8, 2017 at 3:56 AM, Sergey Senozhatsky wrote: > The file was converted from print_fn_descriptor_symbol() > to %pF some time ago (c80cfb0406c01bb "vsprintf: use new > vsprintf symbolic function pointer format"). kallsyms does > not seem to be needed

Re: [PATCH v2] mm: terminate shrink_slab loop if signal is pending

2017-12-08 Thread Tetsuo Handa
Michal Hocko wrote: > On Fri 08-12-17 20:36:16, Tetsuo Handa wrote: > > On 2017/12/08 17:22, Michal Hocko wrote: > > > On Thu 07-12-17 17:23:05, Suren Baghdasaryan wrote: > > >> Slab shrinkers can be quite time consuming and when signal > > >> is pending they can delay handling of the signal. If

[GIT PULL] DeviceTree fixes for 4.15, part 2

2017-12-08 Thread Rob Herring
Hi Linus, Please pull another set of DT fixes. Rob The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git

Re: [PATCH v1 1/2] eeprom: at24: convert magic numbers to structs.

2017-12-08 Thread Sven Van Asbroeck
Hi Bartosz, thanks for the encouragement ! Bartosz wrote: > Also: please have the AT24/at24 prefix for symbols in the driver. These specific symbols are declared static, i.e. they're visible only inside at24.c. Do you think they should still have an at24 prefix ? +#define

Re: [PATCH v1 1/2] eeprom: at24: convert magic numbers to structs.

2017-12-08 Thread Sven Van Asbroeck
Bartosz wrote: >> +#define AT24_OF_DEVICE_ID(_mfg, _name) \ >> + { .compatible = #_mfg "," #_name, .data = _##_name } > > I don't like hiding the way the compatible is created here from the > user. It doesn't save any code neither. Please make the macro accept > the whole compatible string.

[PATCH] ASoC: atmel-classd: select correct Kconfig symbol

2017-12-08 Thread Alexandre Belloni
SND_ATMEL_SOC_CLASSD selects SND_ATMEL_SOC_DMA but the driver itself handles its own DMA operations and doesn't need anything from atmel-pcm-dma.c or atmel_ssc_dai.c. Replace SND_ATMEL_SOC_DMA by SND_SOC_GENERIC_DMAENGINE_PCM which is the only one actually required. This may end up in a

Re: [PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Benjamin Gaignard
2017-12-08 15:08 GMT+01:00 Daniel Lezcano : > On 08/12/2017 15:04, Benjamin Gaignard wrote: >> 2017-12-08 14:46 GMT+01:00 Daniel Lezcano : >>> On 08/12/2017 12:32, Benjamin Gaignard wrote: The stm32 timer hardware is currently only used as

Re: [PATCH v3] leds: trigger: Introduce a NETDEV trigger

2017-12-08 Thread Pavel Machek
On Thu 2017-12-07 14:01:39, Philippe Ombredanne wrote: > Ben, > > On Thu, Dec 7, 2017 at 12:46 PM, Ben Whitten wrote: > > From: Ben Whitten > > > > This commit introduces a NETDEV trigger for named device > > activity. Available triggers are link,

Re: [PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-12-08 Thread Pavel Machek
On Fri 2017-12-08 22:08:07, Michael Ellerman wrote: > Matthew Wilcox writes: > > > On Thu, Dec 07, 2017 at 11:14:27AM -0800, Kees Cook wrote: > >> On Wed, Dec 6, 2017 at 9:46 PM, Michael Ellerman > >> wrote: > >> > Matthew Wilcox

Re: [PATCH v2] dt: bindings: as3645a: Fix the example node

2017-12-08 Thread Pavel Machek
On Thu 2017-12-07 06:50:12, Dan Murphy wrote: > Fix the address-cells and size-cells example node > to reflect to the correct representation. > > Signed-off-by: Dan Murphy Acked-by: Pavel Machek > +++ b/Documentation/devicetree/bindings/leds/ams,as3645a.txt > @@

pull-request: wireless-drivers 2017-12-08

2017-12-08 Thread Kalle Valo
Hi Dave, this is a pull request to net tree for 4.15, more info in the signed tag below. All small fixes and not really expecting any problems, but please let me know if you have any. Kalle The following changes since commit f859b4af1c52493ec21173ccc73d0b60029b5b88: sit: update frag_off info

Re: [PATCH v4 4/8] arm: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource

2017-12-08 Thread Keerthy
On Friday 08 December 2017 09:25 AM, Keerthy wrote: > > > On Thursday 07 December 2017 04:24 PM, Daniel Lezcano wrote: >> On 01/12/2017 06:16, Keerthy wrote: >>> Move the dmtimer driver out of plat-omap to clocksource. >>> So that non-omap devices also could use this. >>> >>> No Code changes

  1   2   3   4   5   6   7   8   9   10   >