Re: [PATCH v1] hpet: Make cmd parameter of hpet_ioctl_common() unsigned

2017-03-23 Thread Greg Kroah-Hartman
On Thu, Mar 23, 2017 at 02:47:39PM -0700, Grant Grundler wrote: > On Tue, Mar 14, 2017 at 12:56 AM, Clemens Ladisch wrote: > > Matthias Kaehlcke wrote: > >> The value passed by the two callers of the function is unsigned anyway. > > > > Indeed; and those are just simple wrappers. > > > >> Making t

[tip:core/urgent] lib/syscall: Clear return values when no stack

2017-03-23 Thread tip-bot for Kees Cook
Commit-ID: 854fbd6e5f60fe99e8e3a569865409fca378f143 Gitweb: http://git.kernel.org/tip/854fbd6e5f60fe99e8e3a569865409fca378f143 Author: Kees Cook AuthorDate: Thu, 23 Mar 2017 15:46:16 -0700 Committer: Ingo Molnar CommitDate: Fri, 24 Mar 2017 07:43:35 +0100 lib/syscall: Clear return valu

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

2017-03-23 Thread Ingo Molnar
* Dmitry Vyukov wrote: > KASAN uses compiler instrumentation to intercept all memory accesses. > But it does not see memory accesses done in assembly code. > One notable user of assembly code is atomic operations. Frequently, > for example, an atomic reference decrement is the last access to an

Re: [PATCH 0/3] minitty: a minimal TTY layer alternative for embedded systems

2017-03-23 Thread Greg Kroah-Hartman
meta-comment, any reason you didn't cc: linux-serial@vger as well? On Thu, Mar 23, 2017 at 05:03:01PM -0400, Nicolas Pitre wrote: > Many embedded systems don't need the full TTY layer support. Most of the > time, the TTY layer is only a conduit for outputting debugging messages > over a serial por

Re: [PATCH -v2 1/2] mm, swap: Use kvzalloc to allocate some swap data structure

2017-03-23 Thread John Hubbard
On 03/23/2017 09:52 PM, Huang, Ying wrote: John Hubbard writes: On 03/23/2017 07:41 PM, Huang, Ying wrote: David Rientjes writes: On Mon, 20 Mar 2017, Huang, Ying wrote: From: Huang Ying Now vzalloc() is used in swap code to allocate various data structures, such as swap cache, swap sl

Re: [PATCH v3] block: trace completion of all bios.

2017-03-23 Thread Ming Lei
On Fri, Mar 24, 2017 at 8:07 AM, NeilBrown wrote: > > Currently only dm and md/raid5 bios trigger > trace_block_bio_complete(). Now that we have bio_chain() and > bio_inc_remaining(), it is not possible, in general, for a driver to > know when the bio is really complete. Only bio_endio() knows t

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

2017-03-23 Thread Anurup M
On Tuesday 21 March 2017 10:47 PM, Mark Rutland wrote: 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

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

2017-03-23 Thread Anurup M
On Tuesday 21 March 2017 10:46 PM, Mark Rutland wrote: 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 ke

[PATCH] spi: spi-ti-qspi: Use dma_engine wrapper for dma memcpy call

2017-03-23 Thread Vignesh R
Instead of calling device_prep_dma_memcpy() directly with dma_device pointer, use the newly introduced dmaengine_prep_dma_memcpy() wrapper API. Signed-off-by: Vignesh R --- drivers/spi/spi-ti-qspi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/spi/spi-ti-qspi.c b

Re: [RFC v3 1/5] sched/core: add capacity constraints to CPU controller

2017-03-23 Thread Joel Fernandes (Google)
Hi Tejun, >> That's also why the proposed interface has now been defined as a extension of >> the CPU controller in such a way to keep a consistent view. >> >> This controller is already used by run-times like Android to "scope" apps by >> constraining the amount of CPUs resource they are getting.

Re: [PATCH v6 04/11] Documentation: perf: hisi: Documentation for HiP05/06/07 PMU event counting.

2017-03-23 Thread Anurup M
Thanks for the review. On Tuesday 21 March 2017 07:42 PM, Mark Rutland wrote: Hi, On Fri, Mar 10, 2017 at 01:27:39AM -0500, Anurup M wrote: +HiP0x chips are encapsulated by multiple CPU and IO die's. The CPU die is Nit: that apostrophe shouldn't be there. Ok. shall recheck and modify where

Re: linux-next: manual merge of the audit tree with Linus' tree

2017-03-23 Thread Richard Guy Briggs
On 2017-03-24 13:18, Stephen Rothwell wrote: > Hi Paul, Hi Stephen, > Today's linux-next merge of the audit tree got a conflict in: > > net/netfilter/xt_AUDIT.c > > between commit: > > 613dbd95723a ("netfilter: x_tables: move hook state into xt_action_param > structure") > > from Linus'

Re: [PATCH] drivers/staging/wilc1000: Fixing dev_err and removing dev_dbg calls for tracing

2017-03-23 Thread Greg Kroah-Hartman
On Fri, Mar 24, 2017 at 10:08:41AM +0530, Pushkar Jambhlekar wrote: > dev_err: replacing function name with '%s' and __func__ > dev_dbg: Removing calls which are used for tracing a function. That's two different things, so you need to send two different patches. thanks, greg k-h

Re: [PATCH v2 4/6] arm64: dts: rockchip: add core dtsi file for RK3328 SoCs

2017-03-23 Thread 陈亮
Hi, Heiko: 在 2017年03月23日 11:33, 陈亮 写道: Hi, Heiko 在 2017年03月21日 16:55, Heiko Stübner 写道: Hi, Am Donnerstag, 16. März 2017, 21:17:22 CET schrieb c...@rock-chips.com: +assigned-clock-parents = +<&cru HDMIPHY>, <&cru PLL_APLL>, +<&cru PLL_GPLL>, <&xin24m>, +

[PATCH] mmc: core: Do not hold re-tuning during CMD6 commands

2017-03-23 Thread Chaotian Jing
this patch is refine for 'commit c6dbab9cb58f ("mmc: core: Hold re-tuning during switch commands")' Since it has 3 retries at max for CMD6, if the first CMD6 got CRC error, then should do re-tune before the next CMD6 was sent. Signed-off-by: Chaotian Jing --- drivers/mmc/core/mmc_ops.c |3 +-

mmc: core: Do not hold re-tuning during CMD6 commands

2017-03-23 Thread Chaotian Jing
Chaotian Jing (1): mmc: core: Do not hold re-tuning during CMD6 commands drivers/mmc/core/mmc_ops.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 1.7.9.5

Re: [Intel-wired-lan] [BUG] 4.11.0-rc1 panic on shutdown X61s

2017-03-23 Thread Jeff Kirsher
On Wed, Mar 22, 2017 at 12:00 PM, Borislav Petkov wrote: > (Readding Jeff Kirsher who got dropped from the CC-list at some point.) > > On Tue, Mar 21, 2017 at 07:13:43PM -0700, l...@pengaru.com wrote: >> > This is still broken as of 4.11.0-rc3 FYI. >> > >> > Upon resume: >> > [ 45.828344] --

[PATCH] mm:include/linux/migrate.h: Fixing checkpatch warning regarding function definition

2017-03-23 Thread Pushkar Jambhlekar
Function definition argument should have identifier name. Signed-off-by: Pushkar Jambhlekar --- include/linux/migrate.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/linux/migrate.h b/include/linux/migrate.h index fa76b51..48e2484 100644 --- a/include/linux/mig

Re: [PATCH] mm/hugetlb: Don't call region_abort if region_chg fails

2017-03-23 Thread Hillf Danton
Reply again with Andrew's mail address corrected:) -'Andrew Morton' +'Andrew Morton' > > On March 24, 2017 12:03 PM Mike Kravetz wrote: > > > > Changes to hugetlbfs reservation maps is a two step process. The first > > step is a call to region_chg to determine what needs to be changed, and > >

linux-next: Tree for Mar 24

2017-03-23 Thread Stephen Rothwell
Hi all, Changes since 20170323: The audit tree gained a conflict against Linus' tree. The leds tree gained a conflict against the drivers-x86 tree. The char-misc tree changed its conflict against the tpmdd tree. The akpm-current tree gained conflicts against the tip tree. The akpm

Re: [PATCH] mm/hugetlb: Don't call region_abort if region_chg fails

2017-03-23 Thread Hillf Danton
On March 24, 2017 12:03 PM Mike Kravetz wrote: > > Changes to hugetlbfs reservation maps is a two step process. The first > step is a call to region_chg to determine what needs to be changed, and > prepare that change. This should be followed by a call to call to > region_add to commit the chang

Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead of when it should end

2017-03-23 Thread Alexander Duyck
On Thu, Mar 23, 2017 at 9:27 PM, Eric Dumazet wrote: > On Thu, 2017-03-23 at 20:42 -0700, Alexander Duyck wrote: >> On Thu, Mar 23, 2017 at 6:24 PM, Eric Dumazet wrote: >> > On Thu, 2017-03-23 at 14:37 -0700, Alexander Duyck wrote: >> >> From: Alexander Duyck >> >> >> > >> >> The last bit I chan

[PATCH] drivers/staging/media: atomisp: Removing redundant information from dev_err

2017-03-23 Thread Pushkar Jambhlekar
Removing hardcoded function name as code is already using __func__ Signed-off-by: Pushkar Jambhlekar --- drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm_bo.c b/drivers/

[PATCH v4 2/2] fpga: Add support for Xilinx LogiCORE PR Decoupler

2017-03-23 Thread Moritz Fischer
This adds support for the Xilinx LogiCORE PR Decoupler soft-ip that does decoupling of PR regions in the FPGA fabric during partial reconfiguration. Signed-off-by: Moritz Fischer Signed-off-by: Michal Simek Cc: Sören Brinkmann Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org ---

[PATCH v4 1/2] doc: Add bindings document for Xilinx LogiCore PR Decoupler

2017-03-23 Thread Moritz Fischer
This adds the binding documentation for the Xilinx LogiCORE PR Decoupler soft core. Signed-off-by: Moritz Fischer Signed-off-by: Michal Simek Acked-by: Alan Tull Cc: Sören Brinkmann Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org --- Changes from v3: - Addressed Michal's comme

linux-next: manual merge of the akpm tree with the tip tree

2017-03-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm tree got a conflict in: arch/x86/include/asm/atomic.h between commit: e6790e4b5d5e ("locking/atomic/x86: Use atomic_try_cmpxchg()") from the tip tree and patch: "x86/atomic: move __arch_atomic_add_unless out of line" from the akpm tree. I f

Re: [v1 8/9] x86/tsc: tsc early

2017-03-23 Thread kbuild test robot
Hi Pavel, [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.11-rc3 next-20170323] [cannot apply to tip/x86/core] [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/Pavel

Re: [PATCH] x86/boot: Support uncompressed kernel

2017-03-23 Thread Chao Peng
> > > The patch adds a 'CONFIG_KERNEL_RAW' configure choice so the built > > > binary > > > can have no uncompressing at all. The experiment shows: > > > > > > kernel   kernel sizetime in decompress_kernel > > > compressed (gzip)3.3M   53ms > > > uncompress

[PATCH v2 0/2] serial: Add name field to uart_port

2017-03-23 Thread Vignesh R
This series adds name attribute to uart_port struct inorder to store name of the tty port that will help in identify different uart instances. This patch series is based on discussion here[1]. [1] https://www.spinics.net/lists/arm-kernel/msg569188.html Previous version: https://lkml.org/lkml/2017

[PATCH v2 1/2] tty: serial_core: Add name field to uart_port struct

2017-03-23 Thread Vignesh R
Introduce a field to store name of uart_port that can be used to easily identify UART port instances on a system that has more than one UART instance. The name is of the form ttyXN(eg. ttyS0, ttyAMA0,..) where N is number that particular UART instance. This field will be useful when printing debug

[PATCH v2 2/2] serial: 8250: 8250_core: Fix irq name for 8250 serial IRQ

2017-03-23 Thread Vignesh R
Using dev_name() as IRQ name during request_irq() might be misleading in case of serial over PCI. Therefore identify serial port IRQ using uart_port's name field. This will help mapping IRQs to appropriate ttySN(where N is the serial port index) instances. Signed-off-by: Vignesh R Reviewed-by: An

[PATCH] drivers/video/fbdev: Fixing coding guidelines in acornfb.c

2017-03-23 Thread Pushkar Jambhlekar
Fixing coding guidelines error reported by 'checkpatch.pl' Signed-off-by: Pushkar Jambhlekar --- drivers/video/fbdev/acornfb.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/video/fbdev/acornfb.c b/drivers/video/fbdev/acornfb.c index fb75b7e..0c325b4 100

linux-next: manual merge of the akpm-current tree with the tip tree

2017-03-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got conflicts in: arch/x86/include/asm/atomic.h arch/x86/include/asm/atomic64_64.h between commits: a9ebf306f52c ("locking/atomic: Introduce atomic_try_cmpxchg()") e6790e4b5d5e ("locking/atomic/x86: Use atomic_try_cmpxchg()") fr

Re: [PATCH 07/12] ARM: dts: imx6ul-isiot: Add Sound card with codec node

2017-03-23 Thread Shawn Guo
On Wed, Mar 22, 2017 at 11:18:12PM +0530, Jagan Teki wrote: > From: Jagan Teki > > Add support for Sound card and related codec(via i2c1) nodes > on Engicam Is.IoT MX6UL variant module boards. > > Cc: Shawn Guo > Cc: Matteo Lisi > Cc: Michael Trimarchi > Signed-off-by: Jagan Teki > --- > ar

Re: [RFC][PATCH 1/4] printk: introduce printing kernel thread

2017-03-23 Thread Sergey Senozhatsky
On (03/23/17 11:40), Petr Mladek wrote: [..] > Let me do one more attempt for a generic name. What about? > > printk_console_press();or try_harder() or push() > printk_console_relax(); > > or something like this? I replied in another thread. how about printk_rescue? -ss

Re: [PATCH 00/12] ARM: dts: i.MX6: Add lcdif/sound nodes on Engicam SOMs

2017-03-23 Thread Shawn Guo
On Wed, Mar 22, 2017 at 11:18:05PM +0530, Jagan Teki wrote: > From: Jagan Teki > > This patchset, add support for backlight, lcdif, touchscreen, > sound card and related codec and can nodes all Engicam SOM's > which are supporting mainline as of now. Per MAINTAINERS, you should copy Sascha Hauer

Re: [PATCH 05/12] ARM: dts: imx6ul-isiot-common: Add touchscreen node

2017-03-23 Thread Shawn Guo
On Wed, Mar 22, 2017 at 11:18:10PM +0530, Jagan Teki wrote: > From: Jagan Teki > > Add touchscreen node as i2c1 slave device on Engicam Is.IoT MX6UL > modules, the touchscreen controlled 'st,stmpe-ts' connected via > i2c with st,stmpe811 mfb interface. s/mfb/mfd? > > Cc: Shawn Guo > Cc: Matte

Re: [net-next PATCH v2 8/8] net: Introduce SO_INCOMING_NAPI_ID

2017-03-23 Thread Eric Dumazet
On Thu, Mar 23, 2017 at 9:47 PM, Andy Lutomirski wrote: > So don't we want queue id, not NAPI id? Or am I still missing something? > > But I'm also a but confused as to the overall performance effect. > Suppose I have an rx queue that has its interrupt bound to cpu 0. For > whatever reason (ran

[PATCH v2] x86/mm/KASLR: EFI region is mistakenly included into KASLR VA space for randomization

2017-03-23 Thread Baoquan He
Currently KASLR is enabled on three regions: the direct mapping of physical memory, vamlloc and vmemmap. However EFI region is also mistakenly included for VA space randomization because of misusing EFI_VA_START macro and assuming EFI_VA_START < EFI_VA_END. The EFI region is reserved for EFI runti

Re: [PATCH] ASoC: WM8962: Let codec driver enable/disable its MCLK

2017-03-23 Thread Nicolin Chen
On Thu, Mar 23, 2017 at 02:01:50PM +0200, Daniel Baluta wrote: > From: Nicolin Chen > > WM8962 needs its MCLK when powerup in wm8962_resume(). Thus it's better > to control the MCLK in codec driver. Thus remove the clock enable in > machine dirver accordingly. > > While at it, get rid of imx_wm8

Re: [PATCH -v2 1/2] mm, swap: Use kvzalloc to allocate some swap data structure

2017-03-23 Thread Huang, Ying
John Hubbard writes: > On 03/23/2017 07:41 PM, Huang, Ying wrote: >> David Rientjes writes: >> >>> On Mon, 20 Mar 2017, Huang, Ying wrote: >>> From: Huang Ying Now vzalloc() is used in swap code to allocate various data structures, such as swap cache, swap slots cache, clust

Re: [PATCH] ASoC: WM8962: Let codec driver enable/disable its MCLK

2017-03-23 Thread Nicolin Chen
Hi, Could you please revise the subject a bit? I forgot what's the original one I submitted (internally) years ago. But the patch is for imx-wm8962 instead of WM8962. So please use ASoC: fsl: imx-wm8962: or at least ASoC: imx-wm8962: The change itself looks fine though. Thanks Nic O

Re: [net-next PATCH v2 8/8] net: Introduce SO_INCOMING_NAPI_ID

2017-03-23 Thread Andy Lutomirski
On Thu, Mar 23, 2017 at 5:58 PM, Alexander Duyck wrote: > On Thu, Mar 23, 2017 at 3:43 PM, Andy Lutomirski wrote: >> On Thu, Mar 23, 2017 at 2:38 PM, Alexander Duyck >> wrote: >>> From: Sridhar Samudrala >>> >>> This socket option returns the NAPI ID associated with the queue on which >>> the l

Re: [RFC][PATCH 0/4] printk: introduce printing kernel thread

2017-03-23 Thread Sergey Senozhatsky
On (03/24/17 10:59), Sergey Senozhatsky wrote: [..] > and we can jump between rescue-normal printk modes, so this should > also return back the throttling of tasks which printk() a lot (item > (2) in patch set cover letter) that we used to have. ok, I obviously lied here "this should also return b

Re: [PATCH v2] Documentation: Input: Add uinput documentation

2017-03-23 Thread Peter Hutterer
as usual, reading through these things multiple times means one spots a couple of different things. sorry about that. On Fri, Mar 24, 2017 at 12:34:59AM -0300, Marcos Paulo de Souza wrote: > Signed-off-by: Marcos Paulo de Souza > --- > Documentation/input/uinput.rst | 196 >

[PATCH] drivers/staging/wilc1000: Fixing dev_err and removing dev_dbg calls for tracing

2017-03-23 Thread Pushkar Jambhlekar
dev_err: replacing function name with '%s' and __func__ dev_dbg: Removing calls which are used for tracing a function. Signed-off-by: Pushkar Jambhlekar --- drivers/staging/wilc1000/wilc_sdio.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/w

Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead of when it should end

2017-03-23 Thread Eric Dumazet
On Thu, 2017-03-23 at 21:27 -0700, Eric Dumazet wrote: > If you believe min/max values should be added to the sysctls, because we > do not trust root anymore, please send patches only addressing that. extern unsigned int sysctl_net_busy_read; extern unsigned int sysctl_net_busy_poll; ... unsigne

Re: [PATCH v3] extcon: intel-cht-wc: Add Intel Cherry Trail Whiskey Cove PMIC extcon driver

2017-03-23 Thread Chanwoo Choi
Hi, On 2017년 03월 24일 01:01, Hans de Goede wrote: > Add a driver for charger detection / control on the Intel Cherrytrail > Whiskey Cove PMIC. > > Signed-off-by: Hans de Goede > --- > Changes in v2: > -Improve wait for charger detection loop, use jiffies to get an accurate > timeout > -Sort regi

Re: [PATCH v1 RESEND 1/2] x86/mm/KASLR: EFI region is mistakenly included into KASLR VA space for randomization

2017-03-23 Thread Baoquan He
On 03/24/17 at 10:29am, Dave Young wrote: > Hi, Baoquan > > On 03/23/17 at 11:27am, Baoquan He wrote: > > Currently KASLR is enabled on three regions: the direct mapping of physical > > memory, vamlloc and vmemmap. However EFI region is also mistakenly included > > for VA space randomization becau

Re: [PATCH net] net: neigh: guard against NULL solicit() method

2017-03-23 Thread David Miller
From: Eric Dumazet Date: Thu, 23 Mar 2017 12:39:21 -0700 > From: Eric Dumazet > > Dmitry posted a nice reproducer of a bug triggering in neigh_probe() > when dereferencing a NULL neigh->ops->solicit method. > > This can happen for arp_direct_ops/ndisc_direct_ops and similar, > which can be use

Re: [PATCH -v2 1/2] mm, swap: Use kvzalloc to allocate some swap data structure

2017-03-23 Thread John Hubbard
On 03/23/2017 07:41 PM, Huang, Ying wrote: David Rientjes writes: On Mon, 20 Mar 2017, Huang, Ying wrote: From: Huang Ying Now vzalloc() is used in swap code to allocate various data structures, such as swap cache, swap slots cache, cluster info, etc. Because the size may be too large on s

Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead of when it should end

2017-03-23 Thread Eric Dumazet
On Thu, 2017-03-23 at 20:42 -0700, Alexander Duyck wrote: > On Thu, Mar 23, 2017 at 6:24 PM, Eric Dumazet wrote: > > On Thu, 2017-03-23 at 14:37 -0700, Alexander Duyck wrote: > >> From: Alexander Duyck > >> > > > >> The last bit I changed is to move from using a shift by 10 to just using > >> NSE

Quote Request.

2017-03-23 Thread Jeff Baxter
I WOULD LIKE TO BE FURNISHED WITH DETAILED INFORMATION ON AVAILABILITY,PRICES AND METHOD OF PAYMENT OF THE ITEM BELOW GRUNDF0S WATER PUMP GRUNDF0S 10SQ07-240 PART NUMBER 96160142 GRUNDF0S 10SQ10-290 PART NUMBER 96160143 GRUNDF0S SQ Flex 11 SQF -2 PART NUMBER 95027335 SOLAR MATERIAL MORNING STA

Re: [PATCH v4 1/2] Documentation: dt-bindings: Document bindings for Aspeed ADC

2017-03-23 Thread Joel Stanley
On Fri, Mar 24, 2017 at 5:11 AM, Rick Altherr wrote: > Signed-off-by: Rick Altherr > --- > > Changes in v4: None > Changes in v3: > - Consistently write hex contstants with lowercase letters > - Drop model numbers from description as same IP is used in every generation > > Changes in v2: > - Rewr

Re: [PATCH v4 2/2] iio: Aspeed ADC

2017-03-23 Thread Joel Stanley
On Fri, Mar 24, 2017 at 5:11 AM, Rick Altherr wrote: > Aspeed BMC SoCs include a 16 channel, 10-bit ADC. Low and high threshold > interrupts are supported by the hardware but are not currently implemented. > > Signed-off-by: Rick Altherr I gave it another test with the hwmon bridge on my ast2500

[PATCH] mm/hugetlb: Don't call region_abort if region_chg fails

2017-03-23 Thread Mike Kravetz
Changes to hugetlbfs reservation maps is a two step process. The first step is a call to region_chg to determine what needs to be changed, and prepare that change. This should be followed by a call to call to region_add to commit the change, or region_abort to abort the change. The error path in

Re: [BUG nohz]: wrong user and system time accounting

2017-03-23 Thread Luiz Capitulino
On Fri, 24 Mar 2017 09:52:11 +0800 Wanpeng Li wrote: > 2017-03-24 4:55 GMT+08:00 Luiz Capitulino : > > > > When there are two or more tasks executing in user-space and > > taking 100% of a nohz_full CPU, top reports 70% system time > > and 30% user time utilization. Sometimes I'm even able to get

Re: [PATCH 0/3] minitty: a minimal TTY layer alternative for embedded systems

2017-03-23 Thread Baruch Siach
Hi Nicolas, On Thu, Mar 23, 2017 at 05:03:01PM -0400, Nicolas Pitre wrote: > Here's some numbers using a minimal ARM config. > > When CONFIG_TTY=y, the following files are linked into the kernel: > >textdata bss dec hex filename >8796 128 0892422dc drive

Re: [PATCH 3/7] iommu/iova: insert start_pfn boundary of dma32

2017-03-23 Thread Leizhen (ThunderTown)
On 2017/3/23 21:01, Robin Murphy wrote: > On 22/03/17 06:27, Zhen Lei wrote: >> Reserve the first granule size memory(start at start_pfn) as boundary >> iova, to make sure that iovad->cached32_node can not be NULL in future. >> Meanwhile, changed the assignment of iovad->cached32_node from rb_nex

Re: [linux-sunxi] [PATCH v4 7/8] ARM: sun8i: h2+: enable USB OTG for Orange Pi Zero board

2017-03-23 Thread Chen-Yu Tsai
On Mon, Mar 20, 2017 at 12:31 AM, Icenowy Zheng wrote: > Orange Pi Zero board features a USB OTG port, which has a ID pin, and > can be used to power up the board. However, even if the board is powered > via +5V pin in GPIO/expansion headers, the VBUS in the OTG port cannot > be powered up, thus i

Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead of when it should end

2017-03-23 Thread Alexander Duyck
On Thu, Mar 23, 2017 at 6:24 PM, Eric Dumazet wrote: > On Thu, 2017-03-23 at 14:37 -0700, Alexander Duyck wrote: >> From: Alexander Duyck >> > >> The last bit I changed is to move from using a shift by 10 to just using >> NSEC_PER_USEC and using multiplication for any run time calculations and >>

Re: [PATCH] drm/i915/kvmgt: avoid dereferencing a potentially null info pointer

2017-03-23 Thread Zhenyu Wang
On 2017.03.23 14:43:44 +0100, Frans Klaver wrote: > On Thu, Mar 23, 2017 at 1:22 PM, Colin King wrote: > > From: Colin Ian King > > > > info is being checked to see if it is a null pointer, however, vpgu is > > dereferencing info before this check, leading to a potential null > > pointer derefere

[PATCH v2] Documentation: Input: Add uinput documentation

2017-03-23 Thread Marcos Paulo de Souza
Signed-off-by: Marcos Paulo de Souza --- Documentation/input/uinput.rst | 196 + 1 file changed, 196 insertions(+) create mode 100644 Documentation/input/uinput.rst diff --git a/Documentation/input/uinput.rst b/Documentation/input/uinput.rst new file mode

Re: [PATCH v1 RESEND 1/2] x86/mm/KASLR: EFI region is mistakenly included into KASLR VA space for randomization

2017-03-23 Thread Dave Young
This should also cc linux-efi On 03/24/17 at 10:29am, Dave Young wrote: > Hi, Baoquan > > On 03/23/17 at 11:27am, Baoquan He wrote: > > Currently KASLR is enabled on three regions: the direct mapping of physical > > memory, vamlloc and vmemmap. However EFI region is also mistakenly included > > f

linux-next: manual merge of the char-misc tree with the tpmdd tree

2017-03-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the char-misc tree got a conflict in: drivers/char/tpm/tpm-chip.c between commits: 67b67480db8b ("tpm: infrastructure for TPM spaces") b8e3586e8536 ("tpm: expose spaces via a device link /dev/tpmrm") from the tpmdd tree and commit: 8dbbf5825181 ("tp

Re: [PATCH v2 0/8] thermal: ti-soc-thermal: Migrate slope/offset data to device tree

2017-03-23 Thread Keerthy
On Friday 24 March 2017 02:22 AM, Tony Lindgren wrote: > * Keerthy [170321 20:45]: >> >> >> On Thursday 09 March 2017 01:35 PM, Keerthy wrote: >>> Currently the slope and offset values for calculating the >>> hot spot temperature of a particular thermal zone is part >>> of driver data. Pass them

Re: [RESEND PATCH v2 26/53] mtd: nand: denali: support 1024 byte ECC step size

2017-03-23 Thread Masahiro Yamada
Hi Boris, 2017-03-23 17:39 GMT+09:00 Boris Brezillon : > On Thu, 23 Mar 2017 15:53:14 +0900 > Masahiro Yamada wrote: > >> Hi Boris, >> >> 2017-03-23 6:32 GMT+09:00 Boris Brezillon >> : >> > On Thu, 23 Mar 2017 05:07:25 +0900 >> > Masahiro Yamada wrote: >> > >> >> This driver was originally wri

Re: [BUG?] perf: dwarf unwind doesn't work correctly on aarch64

2017-03-23 Thread Kim Phillips
On Thu, 23 Feb 2017 16:50:18 +0900 Masami Hiramatsu wrote: [sorry for the delay, I just saw this] > perf record -g dwarf (and perf report) doesn't show correct callchain > on aarch64. Here is how to reproduce it. ... > # Samples: 6K of event 'cpu-clock:u' > # Event count (approx.): 162375 >

Re: [linux-sunxi] [PATCH v4 3/8] phy: sun4i-usb: add PHYCTL offset for H3 SoC

2017-03-23 Thread Chen-Yu Tsai
On Mon, Mar 20, 2017 at 12:19 AM, Icenowy Zheng wrote: > The config structure of H3 in phy-sun4i-usb driver have the PHYCTL > register offset missing. > > Add it. Because it's a SoC after A33, its PHYCTL offset should be 0x10. You are implying that all SoCs after A33 have PHYCTL at 0x10. This is

Re: lib, fs, cgroup: WARNING in percpu_ref_kill_and_confirm

2017-03-23 Thread Zefan Li
On 2017/3/23 22:04, Dmitry Vyukov wrote: > Hello, > > The following program triggers WARNING in percpu_ref_kill_and_confirm: > https://gist.githubusercontent.com/dvyukov/bcfcef3d6b24b9fd841b88ee20c14d4b/raw/a54aeeb09ad1e0659b0ed87ef5efc4480ab2536f/gistfile1.txt > The bug can be triggered immedia

Re: [linux-sunxi] [PATCH v4 2/8] phy: sun4i-usb: change PHYCTL register clearing code

2017-03-23 Thread Chen-Yu Tsai
On Mon, Mar 20, 2017 at 12:19 AM, Icenowy Zheng wrote: > It seems that all SoCs after A33 (including A33) need the PHYCTL > register to be cleared before writing to it. These SoCs all have another > feature: PHYCTL register is at 0x10, not 0x04. As mentioned in the other patch, the basis for this

Re: [linux-sunxi] [PATCH v4 8/8] arm64: allwinner: h5: enable USB OTG on Orange Pi PC 2 board

2017-03-23 Thread Chen-Yu Tsai
On Mon, Mar 20, 2017 at 12:31 AM, Icenowy Zheng wrote: > Orange Pi PC 2 board features a OTG port like the one on older H3 Orange > Pi's, with PG12 pin being the id det pin and PL2 being the vbus driver > pin. > > Add support for it. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai

Re: kvm: BUG in pte_list_remove

2017-03-23 Thread Wanpeng Li
2017-03-24 0:42 GMT+08:00 Dmitry Vyukov : > On Mon, Nov 14, 2016 at 10:43 AM, Dmitry Vyukov wrote: >> On Mon, Nov 14, 2016 at 10:34 AM, Paolo Bonzini wrote: >>> >>> >>> On 14/11/2016 10:03, Dmitry Vyukov wrote: Paolo, can you please also commit this test to tools/testing? We are fr

linux-next: manual merge of the leds tree with the drivers-x86 tree

2017-03-23 Thread Stephen Rothwell
Hi Jacek, Today's linux-next merge of the leds tree got a conflict in: drivers/platform/x86/dell-laptop.c between commit: 573eedacfba3 ("platform/x86: dell-*: Call new led hw_changed API on kbd brightness change") from the drivers-x86 tree and commit: 44319ab7e0ed ("platform/x86: dell-

Re: [PATCH v2 10/53] mtd: nand: denali: fix erased page checking

2017-03-23 Thread Masahiro Yamada
Hi Boris, 2017-03-23 16:56 GMT+09:00 Boris Brezillon : > On Thu, 23 Mar 2017 14:04:44 +0900 > Masahiro Yamada wrote: > >> Hi Boris, >> >> 2017-03-23 5:56 GMT+09:00 Boris Brezillon >> : >> > On Wed, 22 Mar 2017 23:07:17 +0900 >> > Masahiro Yamada wrote: >> >> dev_err(denali->dev,

Re: [PATCH -v2 1/2] mm, swap: Use kvzalloc to allocate some swap data structure

2017-03-23 Thread Huang, Ying
David Rientjes writes: > On Mon, 20 Mar 2017, Huang, Ying wrote: > >> From: Huang Ying >> >> Now vzalloc() is used in swap code to allocate various data >> structures, such as swap cache, swap slots cache, cluster info, etc. >> Because the size may be too large on some system, so that normal >>

Re: [PATCH v4 7/7] mfd: dt-bindings: Add RK805 device tree bindings document

2017-03-23 Thread Rob Herring
On Fri, Mar 17, 2017 at 03:08:45PM +0800, Elaine Zhang wrote: > Add device tree bindings documentation for Rockchip's RK805 PMIC. > > Signed-off-by: Elaine Zhang > --- > Documentation/devicetree/bindings/mfd/rk808.txt | 20 +++- > 1 file changed, 19 insertions(+), 1 deletion(-) >

Re: [PATCH V4 3/4] dt-bindings: serial: add a new compatible string for SC9860

2017-03-23 Thread Rob Herring
On Fri, Mar 17, 2017 at 01:51:37PM +0800, Chunyan Zhang wrote: > SC9860 use the same serial device which SC9836 uses, so added a new > compatible string to support SC9860 as well, also added an example > of how to describe this serial device in DT. > > Signed-off-by: Chunyan Zhang > --- > Docume

Re: [PATCH v4 4/7] mfd: rk808: Add RK805 support

2017-03-23 Thread Elaine Zhang
On 03/23/2017 08:23 PM, Lee Jones wrote: On Fri, 17 Mar 2017, Elaine Zhang wrote: The RK805 chip is a Power Management IC (PMIC) for multimedia and handheld devices. It contains the following components: - Regulators - RTC - Clocking Both RK808 and RK805 chips are using a sim

Re: [PATCH v1 RESEND 1/2] x86/mm/KASLR: EFI region is mistakenly included into KASLR VA space for randomization

2017-03-23 Thread Dave Young
Hi, Baoquan On 03/23/17 at 11:27am, Baoquan He wrote: > Currently KASLR is enabled on three regions: the direct mapping of physical > memory, vamlloc and vmemmap. However EFI region is also mistakenly included > for VA space randomization because of misusing EFI_VA_START macro and > assuming EFI_V

Re: [PATCH 1/7] iommu/iova: fix incorrect variable types

2017-03-23 Thread Leizhen (ThunderTown)
On 2017/3/23 19:42, Robin Murphy wrote: > On 22/03/17 06:27, Zhen Lei wrote: >> Keep these four variables type consistent with the paramters of function >> __alloc_and_insert_iova_range and the members of struct iova: >> >> 1. static int __alloc_and_insert_iova_range(struct iova_domain *iovad, >>

Re: [PATCH linux-next V2] tty: Disable default console blanking interval

2017-03-23 Thread Scot Doyle
On Thu, 23 Mar 2017, Austin S. Hemmelgarn wrote: > On 2017-03-22 21:32, Scot Doyle wrote: > > On Wed, 22 Mar 2017, Tim Gardner wrote: > > > BugLink: http://bugs.launchpad.net/bugs/869017 > > > > > > Console blanking is not enabling DPMS power saving (thereby negating any > > > power-saving benef

Re: [PATCH v4 2/7] mfd: rk808: add rk805 regs addr and ID

2017-03-23 Thread Elaine Zhang
On 03/23/2017 08:15 PM, Lee Jones wrote: On Fri, 17 Mar 2017, Elaine Zhang wrote: Signed-off-by: Elaine Zhang --- include/linux/mfd/rk808.h | 119 ++ 1 file changed, 119 insertions(+) diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/r

linux-next: manual merge of the audit tree with Linus' tree

2017-03-23 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the audit tree got a conflict in: net/netfilter/xt_AUDIT.c between commit: 613dbd95723a ("netfilter: x_tables: move hook state into xt_action_param structure") from Linus' tree and commit: 36fe46d172e5 ("audit: normalize NETFILTER_PKT") from the au

Re: [PATCH V4 2/4] dt-bindings: arm: Add bindings for SP9860G

2017-03-23 Thread Rob Herring
On Fri, Mar 17, 2017 at 01:51:36PM +0800, Chunyan Zhang wrote: > Added bindings for Spreadtrum SP9860G board and SC9860 SoC. > This patch also revised bindings of SC9836 to make the format > more clear. > > Signed-off-by: Chunyan Zhang > --- > Documentation/devicetree/bindings/arm/sprd.txt | 13

Re: [PATCH v2 6/6] dt-bindings: document rockchip rk3328-evb board

2017-03-23 Thread Rob Herring
On Thu, Mar 16, 2017 at 09:23:06PM +0800, c...@rock-chips.com wrote: > From: Liang Chen > > Use "rockchip,rk3328-evb" compatible string for Rockchip RK3328 > evaluation board. > > Signed-off-by: Liang Chen > --- > Documentation/devicetree/bindings/arm/rockchip.txt | 4 > 1 file changed, 4

Re: [PATCH v2 3/6] dt-bindings: soc: rockchip: grf: add support for rk3328

2017-03-23 Thread Rob Herring
On Thu, Mar 16, 2017 at 09:17:21PM +0800, c...@rock-chips.com wrote: > From: Liang Chen > > Signed-off-by: Liang Chen > --- > Documentation/devicetree/bindings/soc/rockchip/grf.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring

Re: [PATCH v2 1/6] dt-bindings: iio: rockchip-saradc: add support for rk3328

2017-03-23 Thread Rob Herring
On Thu, Mar 16, 2017 at 09:17:19PM +0800, c...@rock-chips.com wrote: > From: Liang Chen > > The rk3328 saradc is the same as rk3399. > > Signed-off-by: Liang Chen > --- > Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herrin

[lkp-robot] [block] a83b576c9c: WARNING:at_block/blk-stat.c:#blk_free_queue_stats

2017-03-23 Thread kernel test robot
FYI, we noticed the following commit: commit: a83b576c9c25cf771fb0b15ec5eb2e7510ec2f5a ("block: fix stacked driver stats init and free") https://git.kernel.org/cgit/linux/kernel/git/axboe/linux-block.git for-next in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridg

Re: [PATCH] clk: stm32h7: Add stm32h743 clock driver

2017-03-23 Thread Rob Herring
On Wed, Mar 15, 2017 at 10:23:30AM +0100, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > This patch enables clocks for STM32H743 boards. > > Signed-off-by: Gabriel Fernandez > --- > .../devicetree/bindings/clock/st,stm32h7-rcc.txt | 152 ++ > drivers/clk/Makefile

Re: [RFC][PATCH 0/4] printk: introduce printing kernel thread

2017-03-23 Thread Sergey Senozhatsky
On (03/23/17 09:51), Peter Zijlstra wrote: [..] > > > sysrq runs from interrupt context, right? Should be able to do wakeups. > > > > what I though about was - > > what if there are 'misbehaving' higher prio tasks all the time? > > the existing sysrq would attempt to do printing from irq c

[git pull] drm fixes for 4.11-rc4.

2017-03-23 Thread Dave Airlie
Hi Linus, This is the fixes pull request for rc4. It contains one core drm/fbdev regression fix. A set of i915 fixes including a few GVT related fixes, along with some reset fixes. One new PCI id for amdgpu, and some minor workaround regression fixes. A set of exynos fixes, dropping support for a

Re: [PATCH v5 1/3] mmc: dt-bindings: update Mediatek MMC bindings

2017-03-23 Thread Rob Herring
On Wed, Mar 15, 2017 at 03:26:38PM +0800, Yong Mao wrote: > From: yong mao > > Add description for mediatek,hs200-cmd-int-delay > Add description for mediatek,hs400-cmd-int-delay > Add description for mediatek,hs400-cmd-resp-sel-rising > > Signed-off-by: Yong Mao > --- > Documentation/devicetr

Re: [BUG nohz]: wrong user and system time accounting

2017-03-23 Thread Wanpeng Li
2017-03-24 4:55 GMT+08:00 Luiz Capitulino : > > When there are two or more tasks executing in user-space and > taking 100% of a nohz_full CPU, top reports 70% system time > and 30% user time utilization. Sometimes I'm even able to get > 100% system time and 0% user time. > > This was reproduced wit

Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket.

2017-03-23 Thread R. Parameswaran
Hi Dave, Please see inline: On Thu, 23 Mar 2017, David Miller wrote: > From: "R. Parameswaran" > Date: Wed, 22 Mar 2017 15:59:13 -0700 (PDT) > > > A new function, kernel_sock_ip_overhead(), is provided > > to calculate the cumulative overhead imposed by the IP > > Header and IP options, if an

[PATCH v3 1/2] PCI: return resource_entry in pci_add_resource helpers

2017-03-23 Thread Jeffy Chen
Signed-off-by: Jeffy Chen --- Changes in v3: None Changes in v2: None drivers/pci/bus.c | 13 - include/linux/pci.h | 8 +--- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index bc56cf1..36a1861 100644 --- a/drivers/pci/

[PATCH v3 0/2] Fix memory leak in of_pci_get_host_bridge_resources

2017-03-23 Thread Jeffy Chen
In of_pci_get_host_bridge_resources, we alloced some struct resource variables, and they would cause memory leak since no where to free them. Changes in v3: Add some comments. Changes in v2: Don't change the resource_list_create_entry's behavior. Jeffy Chen (2): PCI: return resource_entry in p

[PATCH v3 2/2] of/pci: Fix memory leak in of_pci_get_host_bridge_resources

2017-03-23 Thread Jeffy Chen
Currently we only free the allocated resource struct when error. This would cause memory leak after pci_free_resource_list. Signed-off-by: Jeffy Chen --- Changes in v3: Add some comments. Changes in v2: Don't change the resource_list_create_entry's behavior. drivers/of/of_pci.c | 68 +

Re: [PATCH -v6 00/13] The arduous story of FUTEX_UNLOCK_PI

2017-03-23 Thread Darren Hart
On Wed, Mar 22, 2017 at 11:35:47AM +0100, Peter Zijlstra wrote: > Hi all, > > Another installment of the futex patches that give you nightmares ;-) > > This version sports updated comments and Changelogs as requested last > time around. It also includes two fixes, both reported by Sebastian > who

Re: [PATCH v2 2/2] of/pci: Fix memory leak in of_pci_get_host_bridge_resources

2017-03-23 Thread jeffy
Hi Rob & Dmitry, On 03/24/2017 06:58 AM, Dmitry Torokhov wrote: On Thu, Mar 23, 2017 at 3:07 PM, Rob Herring wrote: On Thu, Mar 23, 2017 at 3:12 AM, Jeffy Chen wrote: Currently we only free the allocated resource struct when error. This would cause memory leak after pci_free_resource_list.

  1   2   3   4   5   6   7   8   9   10   >