Re: [Outreachy kernel] [PATCH v6] staging: Use buf_lock instead of mlock and Refactor code

2017-03-21 Thread SIMRAN SINGHAL
On Tue, Mar 21, 2017 at 10:18 PM, Alison Schofield wrote: > On Mon, Mar 20, 2017 at 01:36:21AM +0530, simran singhal wrote: > > Hi Simran, > > I going to ask for a v7 without looking at the code ;) > Subject line needs subsystem and driver. > Subject and log message can be

Re: [RESEND PATCH 1/7] time: Delete do_sys_setimeofday()

2017-03-21 Thread kbuild test robot
Hi Deepa, [auto build test ERROR on linus/master] [also build test ERROR on v4.11-rc3 next-20170321] [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/Deepa-Dinamani/Change-k_clock-interfaces

Re: [RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

2017-03-21 Thread Rafael J. Wysocki
On Tuesday, March 21, 2017 06:00:17 PM Peter Zijlstra wrote: > On Tue, Mar 21, 2017 at 04:18:52PM +0100, Rafael J. Wysocki wrote: > > +static bool sugov_cpu_is_busy(struct sugov_cpu *sg_cpu) > > +{ > > + unsigned long idle_calls = tick_nohz_get_idle_calls(); > > + bool not_idle = idle_calls ==

Re: [PATCHv2] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread Dmitry Safonov
On 03/21/2017 08:45 PM, Andy Lutomirski wrote: On Tue, Mar 21, 2017 at 10:17 AM, Cyrill Gorcunov wrote: On Tue, Mar 21, 2017 at 07:37:12PM +0300, Dmitry Safonov wrote: ... diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index

[PATCH v2 3/7] pinctrl: armada-37xx: Add pin controller support for Armada 37xx

2017-03-21 Thread Gregory CLEMENT
The Armada 37xx SoC come with 2 pin controllers: one on the south bridge (managing 28 pins) and one on the north bridge (managing 36 pins). At the hardware level the controller configure the pins by group and not pin by pin. This constraint is reflected in the design of the driver: only the group

[PATCH v2 4/7] pinctrl: armada-37xx: Add gpio support

2017-03-21 Thread Gregory CLEMENT
GPIO management is pretty simple and is part of the same IP than the pin controller for the Armada 37xx SoCs. This patch adds the GPIO support to the pinctrl-armada-37xx.c file, it also allows sharing common functions between the gpiolib and the pinctrl drivers. Signed-off-by: Gregory CLEMENT

[PATCH v3 03/11] ARM: dts: sun8i: sina33: add cpu-supply

2017-03-21 Thread Quentin Schulz
This adds the cpu-supply DT property to the cpu0 DT node needed by the board to adapt the regulator voltage depending on the currently used OPP. Signed-off-by: Quentin Schulz --- arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 4 1 file changed, 4

[PATCH v2 0/7] Hi,

2017-03-21 Thread Gregory CLEMENT
this series add support for the pin and gpio controllers present on the Armada 37xx SoCs. Each Armada 37xx SoC comes with 2 pin controllers: one on the south bridge (managing 28 pins) and one on the north bridge (managing 36 pins). At the hardware level the controller configure the pins by group

[PATCH v2 1/7] pinctrl: dt-bindings: Add documentation for Armada 37xx pin controllers

2017-03-21 Thread Gregory CLEMENT
Document the device tree binding for the pin controllers found on the Armada 37xx SoCs. Update the binding documention of the xtal clk which is a subnode of this syscon node. Signed-off-by: Gregory CLEMENT ---

[PATCH v2 2/7] arm64: marvell: enable the Armada 37xx pinctrl driver

2017-03-21 Thread Gregory CLEMENT
This commit makes sure the driver for the Armada 37xx pin controller is enabled. Signed-off-by: Gregory CLEMENT --- arch/arm64/Kconfig.platforms | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms

[PATCH v3 08/11] ARM: dtsi: sun8i: a33: add thermal sensor

2017-03-21 Thread Quentin Schulz
This adds the DT node for the thermal sensor present in the Allwinner A33 GPADC. Signed-off-by: Quentin Schulz --- v3: - switched compatible to allwinner,sun8i-a33-ths, - renamed DT node name and label to ths to better match datasheet's name,

Re: [Outreachy kernel] [PATCH v3 0/2] Replace mlock with private lock and delete whitespaces

2017-03-21 Thread Alison Schofield
On Tue, Mar 21, 2017 at 11:33:54PM +0530, simran singhal wrote: > The patch series replaces mlock with a private lock for driver ad9834 and > Fix coding style issues related to white spaces. Hi Simran, I'm getting lost. Patchset Subject Line needs subsystem and driver. The comment above says

Re: [PATCH 0/3] dtc updates for 4.12

2017-03-21 Thread Olof Johansson
On Tue, Mar 21, 2017 at 9:19 AM, Rob Herring wrote: > This series syncs dtc with current mainline. The primary motivation is > to pull in the new checks I've worked on. This gives lots of new > warnings which are turned off by default. > > Arm-soc folks, I've left the PCI checks

Re: [PATCH 07/13] perf, tools: Add a simple expression parser for JSON

2017-03-21 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 21, 2017 at 04:14:23PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Mar 20, 2017 at 01:17:05PM -0700, Andi Kleen escreveu: > > From: Andi Kleen > > > > Add a simple expression parser good enough to parse JSON relation > > expressions. The parser is

Re: [PATCHv2] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread Cyrill Gorcunov
On Tue, Mar 21, 2017 at 12:31:51PM -0700, Andy Lutomirski wrote: ... > > I guess the question comes from that we're releasing CRIU 3.0 with > > 32-bit C/R and some other cool stuff, but we don't support x32 yet. > > As we don't want release a thing that we aren't properly testing. > > So for a

Re: [PATCH 0/3] dtc updates for 4.12

2017-03-21 Thread Rob Herring
On Tue, Mar 21, 2017 at 11:49 AM, Florian Fainelli wrote: > On 03/21/2017 09:19 AM, Rob Herring wrote: >> This series syncs dtc with current mainline. The primary motivation is >> to pull in the new checks I've worked on. This gives lots of new >> warnings which are turned

Re: [PATCH v2 0/2] Remove Typedefs.

2017-03-21 Thread Jonathan Cameron
On 21/03/17 15:06, Arushi Singhal wrote: > Typedefs are removed in sm750fb driver. > > Arushi Singhal (2): > staging: sm750fb: Remove typedef from "typedef struct _mode_parameter_t" > staging: sm750fb: Remove typedef from "typedef enum _spolarity_t" > > drivers/staging/sm750fb/ddk750_mode.c

[PATCH v9 3/3] backlight arcxcnn add support for ArcticSand devices

2017-03-21 Thread Olimpiu Dejeu
backlight: Add support for Arctic Sand LED backlight driver chips This driver provides support for the Arctic Sand arc2c0608 chip, and provides a framework to support future devices. Reviewed-by: Daniel Thompson Signed-off-by: Olimpiu Dejeu

[PATCH v9 2/3] backlight arcxcnn devicetree bindings for ArcticSand

2017-03-21 Thread Olimpiu Dejeu
backlight: Add devicetree bindings for the Arctic Sand backlight driver This patch provides devicetree bindings for the Arctic Sand driver submitted in the previous patch Acked-by: Rob Herring Acked-by: Daniel Thompson Signed-off-by: Olimpiu Dejeu

Re: [RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

2017-03-21 Thread Vincent Guittot
On 21 March 2017 at 15:58, Peter Zijlstra wrote: > > On Tue, Mar 21, 2017 at 03:16:19PM +0100, Vincent Guittot wrote: > > On 21 March 2017 at 15:03, Peter Zijlstra wrote: > > > > > On Tue, Mar 21, 2017 at 02:37:08PM +0100, Vincent Guittot wrote: > > >

[PATCH v3 09/11] ARM: dtsi: sun8i: a33: add CPU thermal throttling

2017-03-21 Thread Quentin Schulz
This adds CPU thermal throttling for the Allwinner A33. It uses the thermal sensor present in the SoC's GPADC. Signed-off-by: Quentin Schulz --- v3: - switched to new phandle because of modified DT node name for the GPADC (named THS), - got rid of

Re: [RFC PATCH v1 00/30] fs: inode->i_version rework and optimization

2017-03-21 Thread J. Bruce Fields
On Tue, Mar 21, 2017 at 01:23:24PM -0400, Jeff Layton wrote: > On Tue, 2017-03-21 at 12:30 -0400, J. Bruce Fields wrote: > > - NFS doesn't actually require that it increases, but I think it > > should. I assume 64 bits means we don't need a discussion of > > wraparound. > > I

Re: [PING PATCH v2] jump label: fix passing kbuild_cflags when checking for asm goto support

2017-03-21 Thread Masahiro Yamada
2017-03-21 2:15 GMT+09:00 Gleb Fotengauer-Malinovskiy : > The latest change of asm goto support check added passing of KBUILD_CFLAGS > to compiler. When these flags reference gcc plugins that are not built yet, > the check fails. > > When one runs "make bzImage" followed by

RE: [PATCH v2] scsi: storvsc: Add support for FC rport.

2017-03-21 Thread KY Srinivasan
> -Original Message- > From: Cathy Avery [mailto:cav...@redhat.com] > Sent: Friday, March 17, 2017 8:18 AM > To: KY Srinivasan ; h...@infradead.org; Haiyang Zhang > ; j...@linux.vnet.ibm.com; > martin.peter...@oracle.com > Cc:

Re: [PATCH] doc: Update the comparisons rule in rcu_dereference.txt

2017-03-21 Thread Paul E. McKenney
On Mon, Mar 20, 2017 at 10:38:35PM +0100, Michalis Kokologiannakis wrote: > When an RCU-protected pointer is fetched but never dereferenced > rcu_access_pointer() should be used in place of rcu_dereference(). > This commit explicitly records this very fact in Documentation/ >

Re: [PATCH] trace-cmd: Fix segmentation fault in trace-snapshot

2017-03-21 Thread Steven Rostedt
On Tue, 21 Mar 2017 17:11:53 +0100 John Kacur wrote: > To reproduce the problem: > > plugin 'wakeup' > trace-cmd: Device or resource busy > Segmentation fault (core dumped) > > When the user triggers a condition such as EBUSY the program should > die gracefully. The

[RFC] x86/tboot: add an option to disable iommu force on

2017-03-21 Thread Shaohua Li
IOMMU harms performance signficantly when we run very fast networking workloads. This is a limitation in hardware based on our observation, so we'd like to disable the IOMMU force on, but we do want to use TBOOT and we can sacrifice the DMA security bought by IOMMU. I must admit I know nothing

Re: [PATCH v4 1/2] backlight: pwm_bl: Move the checks for initial power state to a separate function

2017-03-21 Thread Geert Uytterhoeven
Hi Peter, On Tue, Nov 22, 2016 at 2:41 PM, Peter Ujfalusi wrote: > Move the checks to select the initial state for the backlight to a new > function and document the checks we are doing. This is far from a simple "move"... > With the separate function it is going to be

Re: [RESEND PATCH 1/7] time: Delete do_sys_setimeofday()

2017-03-21 Thread Deepa Dinamani
>arch/alpha/kernel/osf_sys.c: In function 'SYSC_osf_settimeofday': >>> arch/alpha/kernel/osf_sys.c:1032:9: error: implicit declaration of function >>> 'do_sys_settimeofday' [-Werror=implicit-function-declaration] > return do_sys_settimeofday(tv ? : NULL, tz ? : NULL); >

[PATCH v2] drivers: staging: vt6656: fixed coding style errors

2017-03-21 Thread Prasant Jalan
This patch replaces spaces with tabs for indentation as per kernel coding standards. Signed-off-by: Prasant Jalan --- drivers/staging/vt6656/rf.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/staging/vt6656/rf.c

Re: [PATCH v6 3/4] leds: Add LED support for MT6323 PMIC

2017-03-21 Thread Jacek Anaszewski
Hi Sean, Thanks for the updated patch set. I've just applied patches 1/4 and 3/4 to the for-next branch of linux-leds.git. Thanks for your effort. Best regards, Jacek Anaszewski On 03/20/2017 07:47 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > MT6323 PMIC is

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Linus Torvalds
On Tue, Mar 21, 2017 at 11:16 AM, Thomas Garnier wrote: > This error happens even with Andy TLS fix on 32-bit (GDT is on fixmap > but not readonly). I am looking into it. > > KVM internal error. Suberror: 3 > extra data[0]: 8b0e > extra data[1]: 31 If I read that right,

Re: [PATCHv2] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread hpa
On March 21, 2017 12:07:13 PM PDT, Cyrill Gorcunov wrote: >On Tue, Mar 21, 2017 at 11:51:09AM -0700, h...@zytor.com wrote: >> > >> >indeed, thanks! >> >> I proposed to the ptrace people a virtual register for this and a few >other things, but it got bikeshed to death. > >Any

[PATCH v3 00/11] add thermal throttling to Allwinner A33 SoC

2017-03-21 Thread Quentin Schulz
The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. The first four channels can be used either for the ADC or the touchscreen and the fifth channel is used for the thermal sensor. We currently have a driver for the two latter functions in

Re: [RFC 0/1] add support for reclaiming priorities per mem cgroup

2017-03-21 Thread Tim Murray
On Sun, Mar 19, 2017 at 10:59 PM, Minchan Kim wrote: > However, I'm not sure your approach is good. It seems your approach just > reclaims pages from groups (DEF_PRIORITY - memcg->priority) >= sc->priority. > IOW, it is based on *temporal* memory pressure fluctuation

[PATCH 0/2] xen,input: xen-kbdfront pointing device resolution support

2017-03-21 Thread Juergen Gross
As my patch tying the resolution of the xen pointing device to that of the framebuffer wasn't accepted add support for different resolutions via a module parameter. Another possibility would be to set parameters via Xenstore, but this is broken (patch 2 fixes that) and not yet supported by Xen

[PATCH 1/2] xen,input: add xen-kbdfront module parameter for setting resolution

2017-03-21 Thread Juergen Gross
Add a parameter for setting the resolution of xen-kbdfront in order to be able to cope with a (virtual) frame buffer of arbitrary resolution. Signed-off-by: Juergen Gross --- drivers/input/misc/xen-kbdfront.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-)

Re: [PATCH] fs/pstore: Perform erase from a worker

2017-03-21 Thread Chris Wilson
On Tue, Mar 21, 2017 at 02:58:48PM +0900, Namhyung Kim wrote: > Hello, > > On Mon, Mar 20, 2017 at 10:49:16AM -0700, Kees Cook wrote: > > On Fri, Mar 17, 2017 at 2:52 AM, Chris Wilson > > wrote: > > > In order to prevent a cyclic recursion between psi->read_mutex and

Re: [PATCH v6 10/11] drivers: perf: hisi: use poll method when no IRQ for MN counter overflow

2017-03-21 Thread Mark Rutland
On Fri, Mar 10, 2017 at 01:29:01AM -0500, Anurup M wrote: > When no IRQ is supported in hardware, use hrtimer to poll and > update event counter and avoid overflow condition for MN PMU. > An interval of 8 seconds is used for the hrtimer. Please fold this into the main MN patch. The comments on

Re: [PATCH v5 untested] kvm: better MWAIT emulation for guests

2017-03-21 Thread Nadav Amit
> On Mar 21, 2017, at 9:58 AM, Radim Krčmář wrote: > In '-smp 2', the writing VCPU always does 1 wakeups by writing into > monitored memory, but the mwaiting VCPU can be also woken up by host > interrupts, which might add a few exits depending on timing. > > I didn't

Re: [PATCH v6 03/11] dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU

2017-03-21 Thread Mark Rutland
On Tue, Mar 21, 2017 at 02:07:42PM +, Mark Rutland wrote: > On Fri, Mar 10, 2017 at 01:27:27AM -0500, Anurup M wrote: > > +HiSilicon SoC chip is encapsulated by multiple CPU and IO dies. The CPU die > > +is called as Super CPU cluster (SCCL) which includes 16 cpu-cores. Every > > SCCL > > +in

Re: [PATCH v6 09/11] drivers: perf: hisi: Miscellanous node(MN) event counting in perf

2017-03-21 Thread Mark Rutland
On Fri, Mar 10, 2017 at 01:28:53AM -0500, Anurup M wrote: > +static u32 hisi_mn_read_counter(struct hisi_mn_data *mn_data, int cntr_idx) > +{ > + struct hisi_djtag_client *client = mn_data->client; > + u32 module_id = GET_MODULE_ID(mn_data); > + u32 reg_off, value; > + > + reg_off

[PATCH v3 0/2] Replace mlock with private lock and delete whitespaces

2017-03-21 Thread simran singhal
The patch series replaces mlock with a private lock for driver ad9834 and Fix coding style issues related to white spaces. v3: -Using new private "lock" instead of using "buf_lock" as it can cause deadlock. -Sending it as a series of two patches. v2: -Using the existing buf_lock instead

Re: [PING PATCH v2] jump label: fix passing kbuild_cflags when checking for asm goto support

2017-03-21 Thread Steven Rostedt
On Wed, 22 Mar 2017 02:48:44 +0900 Masahiro Yamada wrote: > > I assume this PING is addressed to me. > > First, Steven asked Andrew to pick up this, > but I have not seen it in linux-next yet. So, > > Applied to linux-kbuild/fixes. Thanks! Thanks Masahiro! --

Re: [Outreachy kernel] [PATCH 0/2] IIO coding tasks

2017-03-21 Thread Jonathan Cameron
On 21 March 2017 17:27:02 GMT+00:00, Julia Lawall wrote: > > >On Tue, 21 Mar 2017, Arushi Singhal wrote: > >> >> >> On Tue, Mar 21, 2017 at 10:32 PM, Alison Schofield > >> wrote: >> On Tue, Mar 21, 2017 at 05:39:38PM +0100, Julia Lawall wrote:

[PATCH v3 1/2] staging: iio: ade7753: Remove trailing whitespaces

2017-03-21 Thread simran singhal
This patch removes trailing whitespaces in order to follow the Linux coding style. Signed-off-by: simran singhal --- drivers/staging/iio/meter/ade7753.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/iio/meter/ade7753.c

[PATCH v3 2/2] staging: iio: ade7753: Replace mlock with driver private lock

2017-03-21 Thread simran singhal
The IIO subsystem is redefining iio_dev->mlock to be used by the IIO core only for protecting device operating mode changes. ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. In this driver, mlock was being used to protect hardware state changes. Replace it with a lock in the devices

[Q] Figuring out task mode

2017-03-21 Thread Cyrill Gorcunov
/I renamed the mail's subject/ On Tue, Mar 21, 2017 at 10:45:57AM -0700, Andy Lutomirski wrote: > >> + task_pt_regs(current)->orig_ax |= __X32_SYSCALL_BIT; > >> current->thread.status &= ~TS_COMPAT; > > > > Hi! I must admit I didn't follow close the overall series (so

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Thomas Garnier
This error happens even with Andy TLS fix on 32-bit (GDT is on fixmap but not readonly). I am looking into it. KVM internal error. Suberror: 3 extra data[0]: 8b0e extra data[1]: 31 EAX=0001 EBX=9f9121f3 ECX=4330b100 EDX=f000 ESI=547e EDI=ffa74000 EBP=42273ef8 ESP=42273ef8

Re: [PATCH] Staging: ks7010 - fixed style block comments

2017-03-21 Thread Greg KH
On Wed, Mar 22, 2017 at 07:29:50AM +1300, Derek Robson wrote: > On Tue, Mar 21, 2017 at 08:56:25AM +0100, Greg KH wrote: > > On Sun, Mar 19, 2017 at 01:07:17PM +1300, Derek Robson wrote: > > > Fixed style of all block comments across whole driver > > > Found by checkpatch > > > > > >

Applied "spi: loopback-test: fix potential integer overflow on multiple" to the spi tree

2017-03-21 Thread Mark Brown
The patch spi: loopback-test: fix potential integer overflow on multiple has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [RFC PATCH v1 00/30] fs: inode->i_version rework and optimization

2017-03-21 Thread Jeff Layton
On Tue, 2017-03-21 at 14:30 -0400, J. Bruce Fields wrote: > On Tue, Mar 21, 2017 at 01:23:24PM -0400, Jeff Layton wrote: > > On Tue, 2017-03-21 at 12:30 -0400, J. Bruce Fields wrote: > > > - It's durable; the above comparison still works if there were reboots > > > between the two i_version

Applied "spi: pl022: Document property values" to the spi tree

2017-03-21 Thread Mark Brown
The patch spi: pl022: Document property values has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during

[PATCH v3 07/11] iio: adc: sun4i-gpadc-iio: add support for A33 thermal sensor

2017-03-21 Thread Quentin Schulz
This adds support for the Allwinner A33 thermal sensor. Unlike the A10, A13 and A31, the Allwinner A33 only has one channel which is dedicated to the thermal sensor. Moreover, its thermal sensor does not generate interruptions, thus we only need to directly read the register storing the

Re: [PATCH 07/13] perf, tools: Add a simple expression parser for JSON

2017-03-21 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 20, 2017 at 01:17:05PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > Add a simple expression parser good enough to parse JSON relation > expressions. The parser is implemented using bison. Renaming 'foo_expr' to 'foo_json_expr', as 'expr' is _way_ too

Re: [RFC PATCH v1 00/30] fs: inode->i_version rework and optimization

2017-03-21 Thread J. Bruce Fields
On Tue, Mar 21, 2017 at 02:46:53PM -0400, Jeff Layton wrote: > On Tue, 2017-03-21 at 14:30 -0400, J. Bruce Fields wrote: > > On Tue, Mar 21, 2017 at 01:23:24PM -0400, Jeff Layton wrote: > > > On Tue, 2017-03-21 at 12:30 -0400, J. Bruce Fields wrote: > > > > - It's durable; the above comparison

Re: [PATCHv2] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread Cyrill Gorcunov
On Tue, Mar 21, 2017 at 11:51:09AM -0700, h...@zytor.com wrote: > > > >indeed, thanks! > > I proposed to the ptrace people a virtual register for this and a few other > things, but it got bikeshed to death. Any mail reference left? Would like to read it.

[PATCH] drivers: staging: vt6656: fixed coding style errors

2017-03-21 Thread Prasant Jalan
This patch replaces spaces with tabs for indentation as per kernel coding standards. Signed-off-by: Prasant Jalan --- drivers/staging/vt6656/rf.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/staging/vt6656/rf.c

Re: [PATCH] arm64: dts: hi6220: enable DMA in spi0

2017-03-21 Thread Antonio Borneo
On Tue, Mar 21, 2017 at 8:08 AM, Guodong Xu wrote: > From: Wang Xiaoyin > > Enable DMA in spi0. Hi Guodong, Xiaoyin, added linux-spi in copy. Actually the patch does not enable the DMA. The commit message is not correct. > Cc: Antonio

Re: [Outreachy kernel] [PATCH 0/2] IIO coding tasks

2017-03-21 Thread Julia Lawall
On Tue, 21 Mar 2017, Alison Schofield wrote: > On Tue, Mar 21, 2017 at 05:39:38PM +0100, Julia Lawall wrote: > > > > > > On Tue, 21 Mar 2017, Arushi Singhal wrote: > > > > > On Tue, Mar 21, 2017 at 9:33 PM, Alison Schofield > > > wrote: > > > On Tue, Mar 21, 2017 at

Re: [PATCHv2] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread Dmitry Safonov
On 03/21/2017 08:27 PM, h...@zytor.com wrote: On March 21, 2017 9:37:12 AM PDT, Dmitry Safonov wrote: After my changes to mmap(), its code now relies on the bitness of performing syscall. According to that, it chooses the base of allocation: mmap_base for 64-bit mmap()

[PATCH v3 10/11] ARM: sun8i: a33: Add devfreq-based GPU cooling

2017-03-21 Thread Quentin Schulz
From: Maxime Ripard This adds GPU thermal throttling for the Allwinner A33. Signed-off-by: Maxime Ripard Signed-off-by: Quentin Schulz --- v3: - got rid of cooling-min-level and

Re: [PATCH v2] Kbuild: make designated_init attribute fatal

2017-03-21 Thread Masahiro Yamada
2017-03-21 9:14 GMT+09:00 Kees Cook : > If a structure is marked with __attribute__((designated_init)) from > GCC or Sparse, it needs to have all static initializers using designated > initialization. Fail the build for any missing cases. This attribute will > be used by the

Re: [PATCH 2/3] asm-generic, x86: wrap atomic operations

2017-03-21 Thread Dmitry Vyukov
On Tue, Mar 21, 2017 at 11:41 AM, Mark Rutland wrote: > On Tue, Mar 21, 2017 at 12:25:06PM +0300, Andrey Ryabinin wrote: >> On 03/20/2017 08:17 PM, Mark Rutland wrote: >> > Hi, >> > >> > On Tue, Mar 14, 2017 at 08:24:13PM +0100, Dmitry Vyukov wrote: >> >> /** >> >> - *

Re: [PATCH 4/4] perf annotate: More exactly grep -v of the objdump command

2017-03-21 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 22, 2017 at 01:19:49AM +0900, Taeung Song escreveu: > On 03/21/2017 11:37 PM, Arnaldo Carvalho de Melo wrote: > > > +++ b/tools/perf/util/annotate.c > > > @@ -1443,7 +1443,7 @@ int symbol__disassemble(struct symbol *sym, struct > > > map *map, const char *arch_na > > >

Re: [tip:x86/process] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID

2017-03-21 Thread Kyle Huey
On Tue, Mar 21, 2017 at 1:34 AM, Ingo Molnar wrote: > > * tip-bot for Kyle Huey wrote: > >> Commit-ID: e9ea1e7f53b852147cbd568b0568c7ad97ec21a3 >> Gitweb: >> http://git.kernel.org/tip/e9ea1e7f53b852147cbd568b0568c7ad97ec21a3 >> Author: Kyle Huey

[PATCH] drivers: staging: vt6656: fixed coding style errors

2017-03-21 Thread Prasant Jalan
This patch replaces spaces with tabs for indentation as per kernel coding standards. Signed-off-by: Prasant Jalan --- drivers/staging/vt6656/rf.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/staging/vt6656/rf.c

Applied "spi: pl022: remove nonexistent properties from DT binding example" to the spi tree

2017-03-21 Thread Mark Brown
The patch spi: pl022: remove nonexistent properties from DT binding example has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH] drivers: staging: vt6656: fixed coding style errors

2017-03-21 Thread Greg KH
On Wed, Mar 22, 2017 at 12:10:50AM +0530, Prasant Jalan wrote: > This patch replaces spaces with tabs for indentation as per kernel > coding standards. > > Signed-off-by: Prasant Jalan > --- > drivers/staging/vt6656/rf.c | 11 ++- > 1 file changed, 6

Re: [PATCH] checkpatch: Flag spam header (X-Spam-Report) to prevent spurious warnings

2017-03-21 Thread Joe Perches
On Tue, 2017-03-21 at 09:30 -0700, John 'Warthog9' Hawley (VMware) wrote: > Spamassassin sticks a long (~79 character) long string after a > line that has a single space in it. The line with space causes > checkpatch to erroniously think that it's in the content body, as > opposed to headers and

Re: [PATCH v2] xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of files

2017-03-21 Thread Calvin Owens
On 03/21/2017 04:39 AM, Brian Foster wrote: On Sun, Mar 19, 2017 at 09:54:51PM -0700, Calvin Owens wrote: When punching past EOF on XFS, fallocate(mode=PUNCH_HOLE|KEEP_SIZE) will round the file size up to the nearest multiple of PAGE_SIZE: calvinow@vm-disks/generic-xfs-1 ~$ dd

Re: [PATCH] kvm: pass the virtual SEI syndrome to guest OS

2017-03-21 Thread James Morse
Hi Christoffer, On 21/03/17 11:34, Christoffer Dall wrote: > On Tue, Mar 21, 2017 at 02:32:29PM +0800, gengdongjiu wrote: >> On 2017/3/20 23:08, James Morse wrote: >> On 20/03/17 07:55, Dongjiu Geng wrote: >>> In the RAS implementation, hardware pass the virtual SEI >>> syndrome

[PATCH 2/2] xen,input: repair xen-kbdfront resolution setting via xenstore

2017-03-21 Thread Juergen Gross
Setting the pointing device resolution via Xenstore isn't working reliably: in case XenbusStateInitWait has been missed the resolution settings won't be read. Correct this. Cc: sta...@vger.kernel.org Signed-off-by: Juergen Gross --- drivers/input/misc/xen-kbdfront.c | 32

Re: [PATCH v6 08/11] drivers: perf: hisi: use poll method to avoid L3C counter overflow

2017-03-21 Thread Mark Rutland
On Fri, Mar 10, 2017 at 01:28:45AM -0500, Anurup M wrote: > Add hrtimer support which use poll method to avoid counter overflow > when overflow IRQ is not supported in hardware. > The L3 cache PMU use N-N SPI interrupt which has no support in kernel > mainline. So use hrtimer to poll and update

Re: [PATCHv2] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread Cyrill Gorcunov
On Tue, Mar 21, 2017 at 07:37:12PM +0300, Dmitry Safonov wrote: ... > diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c > index d6b784a5520d..d3d4d9abcaf8 100644 > --- a/arch/x86/kernel/process_64.c > +++ b/arch/x86/kernel/process_64.c > @@ -519,8 +519,14 @@ void

Re: [Outreachy kernel] [PATCH 0/2] IIO coding tasks

2017-03-21 Thread Alison Schofield
On Tue, Mar 21, 2017 at 10:52:46PM +0530, Arushi Singhal wrote: > On Tue, Mar 21, 2017 at 10:32 PM, Alison Schofield > wrote: > > > On Tue, Mar 21, 2017 at 05:39:38PM +0100, Julia Lawall wrote: > > > > > > > > > On Tue, 21 Mar 2017, Arushi Singhal wrote: > > > > > > > On

Re: 4.11rc3 unwinder spew.

2017-03-21 Thread Josh Poimboeuf
On Mon, Mar 20, 2017 at 06:13:25PM -0400, Dave Jones wrote: > I just got this while running a backup.. > > Dave > > WARNING: kernel stack frame pointer at c9fe7ff0 in rsync:1157 has bad > value (null) > unwind stack type:0 next_sp: (null) mask:2 graph_idx:0 >

[PATCH v1] Revert "extcon: usb-gpio: add support for ACPI gpio interface"

2017-03-21 Thread Andy Shevchenko
The commit 942c7924a51e introduced a check for ACPI handle for the device that never appears on any ACPI-enabled platform so far. It seems a confusion with extcon-intel-int3496 which does support ACPI-enabled platforms. Revert commit 942c7924a51e to avoid any confusion in the future. Cc: Lu

Re: Question: Linux changes required for off control board RTC

2017-03-21 Thread Alexandre Belloni
Hi, On 21/03/2017 at 13:08:54 -0500, Tracy Smith wrote: > Hi, not sure if this is the correct venue to post a question, so > please forgive and direct me to the correct board or list if not. > Lee is probably not the one to ask :) > A custom board implementation using a ARM-8 Cortex A53 NXP

Re: [PATCH] drivers: staging: vt6656: fxed coding style errors

2017-03-21 Thread Greg KH
On Tue, Mar 21, 2017 at 10:25:40PM +0530, Prasant Jalan wrote: > This patch replaces spaces with tabs for indentation as per kernel > coding standards. > > Signed-off-by: Prasant Jalan > --- > drivers/staging/vt6656/rf.c | 10 +- > 1 file changed, 5

Re: [PATCH v5 untested] kvm: better MWAIT emulation for guests

2017-03-21 Thread Michael S. Tsirkin
On Tue, Mar 21, 2017 at 05:16:32PM +0100, Joerg Roedel wrote: > On Wed, Mar 15, 2017 at 11:22:18PM +0200, Michael S. Tsirkin wrote: > > diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c > > index d1efe2c..18e53bc 100644 > > --- a/arch/x86/kvm/svm.c > > +++ b/arch/x86/kvm/svm.c > > @@ -1198,8

Re: [PATCH RT] tty: serial: st-asc: Make the locking RT aware

2017-03-21 Thread Thomas Gleixner
On Tue, 21 Mar 2017, Steven Rostedt wrote: > > /* > > * Disable interrupts so we don't get the IRQ line bouncing > > I'm nervous about the above comment, which in full is: > > /* >* Disable interrupts so we don't get the IRQ line bouncing >* up and down while

Re: [PATCHv2] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread hpa
On March 21, 2017 10:45:57 AM PDT, Andy Lutomirski wrote: >On Tue, Mar 21, 2017 at 10:17 AM, Cyrill Gorcunov >wrote: >> On Tue, Mar 21, 2017 at 07:37:12PM +0300, Dmitry Safonov wrote: >> ... >>> diff --git a/arch/x86/kernel/process_64.c

Re: [lkp-robot] [x86] 69218e4799: BUG:kernel_hang_in_boot_stage

2017-03-21 Thread Thomas Garnier
On Tue, Mar 21, 2017 at 12:20 PM, Linus Torvalds wrote: > > On Tue, Mar 21, 2017 at 11:16 AM, Thomas Garnier wrote: > > This error happens even with Andy TLS fix on 32-bit (GDT is on fixmap > > but not readonly). I am looking into it. > > > >

Re: [RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

2017-03-21 Thread Patrick Bellasi
On 21-Mar 16:18, Peter Zijlstra wrote: > On Tue, Mar 21, 2017 at 03:08:20PM +, Patrick Bellasi wrote: > > > And than we can move this bit into an inline function, something like e.g.: > > > >static inline bool sugov_this_cpu_is_busy() > >{ > >return

Re: [PATCH v5 untested] kvm: better MWAIT emulation for guests

2017-03-21 Thread Radim Krčmář
2017-03-21 05:22+0200, Michael S. Tsirkin: > On Fri, Mar 17, 2017 at 09:23:56AM -0400, Gabriel L. Somlo wrote: >> OK, now on to Radim's test, on the MacPro1,1: >> >> [kvm-unit-tests]$ time TIMEOUT=20 ./x86-run x86/mwait.flat -append '240 1 1' >> timeout -k 1s --foreground 20 qemu-kvm -nodefaults

[PATCH v3 11/11] ARM: sun8i: sina33: add highest OPP of CPUs

2017-03-21 Thread Quentin Schulz
The A33 supports 1.1GHz and 1.2GHz frequencies at 1.32V and the Sinlinx SinA33 has its cpu-supply property set in the cpu DT node. Therefore, CPUfreq knows how to handle the regulator in charge of the CPU and can adjust its voltage to match the OPP. Add these two CPU frequencies to the CPU OPP

Question: Linux changes required for off control board RTC

2017-03-21 Thread Tracy Smith
Hi, not sure if this is the correct venue to post a question, so please forgive and direct me to the correct board or list if not. A custom board implementation using a ARM-8 Cortex A53 NXP LS1043ardb is considering moving the RTC from the control board to an FPGA. Reason is for accuracy of

Re: [PATCH v2 6/6] selftests: enable O and KBUILD_OUTPUT

2017-03-21 Thread Shuah Khan
On 03/21/2017 10:09 AM, Bamvor Zhang Jian wrote: > Hi, Shuah > > On 21 March 2017 at 21:54, Shuah Khan wrote: >> On 03/21/2017 03:00 AM, Bamvor Zhang Jian wrote: >>> Hi, >>> >>> On 21 March 2017 at 16:35, Michael Ellerman wrote: Andy Lutomirski

run_timer_softirq gpf. tracing?

2017-03-21 Thread Dave Jones
I just hit this while fuzzing.. general protection fault: [#1] PREEMPT SMP DEBUG_PAGEALLOC CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.11.0-rc2-think+ #1 task: 88017f0ed440 task.stack: c9094000 RIP: 0010:run_timer_softirq+0x15f/0x700 RSP: 0018:880507c03ec8 EFLAGS: 00010086

Re: [PATCH] fs/pstore: Perform erase from a worker

2017-03-21 Thread Kees Cook
On Mon, Mar 20, 2017 at 10:58 PM, Namhyung Kim wrote: > Hello, > > On Mon, Mar 20, 2017 at 10:49:16AM -0700, Kees Cook wrote: >> On Fri, Mar 17, 2017 at 2:52 AM, Chris Wilson >> wrote: >> > In order to prevent a cyclic recursion between

Re: [Outreachy kernel] [PATCH v6] staging: Use buf_lock instead of mlock and Refactor code

2017-03-21 Thread SIMRAN SINGHAL
On Tue, Mar 21, 2017 at 10:18 PM, Alison Schofield wrote: > On Mon, Mar 20, 2017 at 01:36:21AM +0530, simran singhal wrote: > > Hi Simran, > > I going to ask for a v7 without looking at the code ;) > Subject line needs subsystem and driver. > Subject and log message can be

Re: [PATCH] Staging: ks7010 - fixed style block comments

2017-03-21 Thread Derek Robson
On Tue, Mar 21, 2017 at 08:56:25AM +0100, Greg KH wrote: > On Sun, Mar 19, 2017 at 01:07:17PM +1300, Derek Robson wrote: > > Fixed style of all block comments across whole driver > > Found by checkpatch > > > > Signed-off-by: Derek Robson > > --- > >

Re: [PATCH 4/4] perf annotate: More exactly grep -v of the objdump command

2017-03-21 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 21, 2017 at 03:29:50PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Mar 22, 2017 at 01:19:49AM +0900, Taeung Song escreveu: > > On 03/21/2017 11:37 PM, Arnaldo Carvalho de Melo wrote: > > > > +++ b/tools/perf/util/annotate.c > > > > @@ -1443,7 +1443,7 @@ int

Re: [PATCHv2] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread hpa
On March 21, 2017 11:40:58 AM PDT, Cyrill Gorcunov wrote: >On Tue, Mar 21, 2017 at 09:09:40PM +0300, Dmitry Safonov wrote: >> >> I guess the question comes from that we're releasing CRIU 3.0 with >> 32-bit C/R and some other cool stuff, but we don't support x32 yet. >> As we

Re: [PATCH 7/7] Change k_clock nsleep() to use timespec64

2017-03-21 Thread Deepa Dinamani
>> index f608941..97a883a 100644 >> --- a/include/linux/posix-timers.h >> +++ b/include/linux/posix-timers.h >> @@ -94,7 +94,7 @@ struct k_clock { >> int (*clock_adj) (const clockid_t which_clock, struct timex *tx); >> int (*timer_create) (struct k_itimer *timer); >> int

Re: Eric Anholt offically announces support of VC4 without access to expander on the RPI 3

2017-03-21 Thread Michael Zoran
On Tue, 2017-03-21 at 10:34 -0700, Eric Anholt wrote: > Michael Zoran writes: > > > On Mon, 2017-03-20 at 10:22 -0700, Eric Anholt wrote: > > > Michael Zoran writes: > > > > > > > > > Since the API is completely documented, I see no reason we > > > > >

Re: [PATCH V12 05/10] acpi: apei: handle SEA notification type for ARMv8

2017-03-21 Thread Baicar, Tyler
Hello James, On 3/17/2017 10:43 AM, James Morse wrote: On 06/03/17 20:44, Tyler Baicar wrote: ARM APEI extension proposal added SEA (Synchronous External Abort) notification type for ARMv8. Add a new GHES error source handling function for SEA. If an error source's notification type is SEA,

Re: [PATCH v2 2/2] drm/panel: add innolux,p079zca panel driver

2017-03-21 Thread Sean Paul
On Wed, Mar 15, 2017 at 03:19:13PM +0800, Chris Zhong wrote: > Support Innolux P079ZCA 7.85" 768x1024 TFT LCD panel, it is a MIPI DSI > panel. > > Signed-off-by: Chris Zhong > --- > > Changes in v2: > - add some error check > - always use Low power mode to send commend > -

Re: [PATCH v2 0/3] arm64: exynos: Enable drivers for Exynos5433

2017-03-21 Thread Krzysztof Kozlowski
On Tue, Mar 14, 2017 at 07:10:25PM +0200, Krzysztof Kozlowski wrote: > Hi, > > > Patches are independent but I organized them into one patchset > as they have common goal - enable more drivers for ARMv8 Exynos chips. > > If there are no objections, I can take it through samsung-soc. > >

  1   2   3   4   5   6   7   8   9   10   >