Re: [PATCH] tty: hide unused pty_get_peer function

2017-06-20 Thread Kees Cook
On Tue, Jun 20, 2017 at 1:34 PM, Arnd Bergmann wrote: > TIOCGPTPEER is only used for unix98 PTYs, and we get a warning > when those are disabled: > > drivers/tty/pty.c:466:12: error: 'pty_get_peer' defined but not used > [-Werror=unused-function] > > This moves the respective

[PATCH] Documentation: remove overlay-notes reference to non-existent file

2017-06-20 Thread frowand . list
From: Frank Rowand File dt-object-internal.txt does not exist. Remove a reference to it and fix up tags for references to other files. Reported-by: afaer...@suse.de Signed-off-by: Frank Rowand --- Documentation/devicetree/overlay-notes.txt | 8

linux-next: build warnings after merge of the clk tree

2017-06-20 Thread Stephen Rothwell
Hi all, After merging the clk tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: WARNING: drivers/clk/bcm/built-in.o(.text+0x4022): Section mismatch in reference from the function sr_genpll3_clk_init() to the function .init.text:iproc_pll_clk_setup() The function

Re: [PATCH] random: silence compiler warnings and fix race

2017-06-20 Thread Theodore Ts'o
On Tue, Jun 20, 2017 at 11:49:07AM +0200, Jason A. Donenfeld wrote: > Uh, talk about a totally unnecessary punch... In case my last email > wasn't clear, I fully recognize that `default y` is a tad too extreme, > which is why from one of the earliest revisions in this series, I > moved directly to

Re: [PATCH] serial: imx: disable DMA for RS-485 on i.MX6 SMP

2017-06-20 Thread Fabio Estevam
Hi Clemens, On Tue, Jun 20, 2017 at 1:13 PM, Fabio Estevam wrote: > The subject gives the impression that the DMA will only be disabled > for RS485, but the impact of this change is wider. > > For example: if I have a mx6q system with a Bluetooth serial > connection I can no

[PATCH] of: address.c header comment typo

2017-06-20 Thread frowand . list
From: Frank Rowand Fix typo in header comment for of_address_to_resource() Signed-off-by: Frank Rowand --- drivers/of/address.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/address.c b/drivers/of/address.c index

Re: [RFC v2 10/12] powerpc: Read AMR only if pkey-violation caused the exception.

2017-06-20 Thread Ram Pai
On Tue, Jun 20, 2017 at 12:16:40PM +0530, Anshuman Khandual wrote: > On 06/19/2017 11:29 PM, Ram Pai wrote: > > On Mon, Jun 19, 2017 at 09:06:13PM +1000, Michael Ellerman wrote: > >> Ram Pai writes: > >> > >>> Signed-off-by: Ram Pai > >>> --- > >>>

linux-next: manual merge of the file-locks tree with the uuid tree

2017-06-20 Thread Stephen Rothwell
Hi Jeff, Today's linux-next merge of the file-locks tree got a conflict in: include/linux/fs.h between commit: 85787090a21e ("fs: switch ->s_uuid to uuid_t") from the uuid tree and commit: 7356fd927059 ("fs: new infrastructure for writeback error handling and reporting") from the

Re: [PATCH v2] mm: Allow slab_nomerge to be set at build time

2017-06-20 Thread Randy Dunlap
On 06/20/2017 04:29 PM, Kees Cook wrote: > On Tue, Jun 20, 2017 at 4:16 PM, Randy Dunlap wrote: >> On 06/20/2017 04:09 PM, Kees Cook wrote: >>> Some hardened environments want to build kernels with slab_nomerge >>> already set (so that they do not depend on remembering to

Re: [PATCH NET] net/hns:bugfix of ethtool -t phy self_test

2017-06-20 Thread l00371289
Hi, Andrew On 2017/6/20 21:27, Andrew Lunn wrote: > On Tue, Jun 20, 2017 at 11:05:54AM +0800, l00371289 wrote: >> hi, Florian >> >> On 2017/6/20 5:00, Florian Fainelli wrote: >>> On 06/16/2017 02:24 AM, Lin Yun Sheng wrote: This patch fixes the phy loopback self_test failed issue. when

Re: [PATCH NET] net/hns:bugfix of ethtool -t phy self_test

2017-06-20 Thread l00371289
Hi, Andrew On 2017/6/20 21:28, Andrew Lunn wrote: The question really is, why is not this properly integrated into the PHY driver and PHYLIB such that the only thing the Ethernet MAC driver has to call is a function of the PHY driver putting it in self-test? >>> >>> This whole

Re: [RFC PATCH 2/2] mm, fs: daxfile, an interface for byte-addressable updates to pmem

2017-06-20 Thread Dave Chinner
On Tue, Jun 20, 2017 at 06:24:03PM -0700, Darrick J. Wong wrote: > On Wed, Jun 21, 2017 at 09:53:46AM +1000, Dave Chinner wrote: > > On Tue, Jun 20, 2017 at 09:17:36AM -0700, Dan Williams wrote: > > > An immutable-extent DAX-file and a reflink-capable DAX-file are not > > > mutually exclusive, > >

[PATCH] HID: multitouch: Add support for Google Rose Touchpad

2017-06-20 Thread Wei-Ning Huang
Add Google Rose Touchpad USB PID and required quirks. Signed-off-by: Wei-Ning Huang --- drivers/hid/hid-ids.h| 3 +++ drivers/hid/hid-multitouch.c | 12 2 files changed, 15 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h

[PATCH v3 0/4] KVM: async_pf: Fix async_pf exception injection

2017-06-20 Thread Wanpeng Li
INFO: task gnome-terminal-:1734 blocked for more than 120 seconds. Not tainted 4.12.0-rc4+ #8 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. gnome-terminal- D0 1734 1015 0x Call Trace: __schedule+0x3cd/0xb30 schedule+0x40/0x90

Re: [PATCH] arm64: dts: Delete unused dummy clocks

2017-06-20 Thread Mars Cheng
Hi Matthias On Tue, 2017-06-20 at 12:28 +0200, Matthias Brugger wrote: > After adding the clock subsystem to the SOC, the dummy > clocks clk26m and clk32k are not longer needed. Delete them. > > Signed-off-by: Matthias Brugger > --- >

[PATCH v3 2/4] KVM: async_pf: Add L1 guest async_pf #PF vmexit handler

2017-06-20 Thread Wanpeng Li
From: Wanpeng Li This patch adds the L1 guest async page fault #PF vmexit handler, such #PF is converted into vmexit from L2 to L1 on #PF which is then handled by L1 similar to ordinary async page fault. Cc: Paolo Bonzini Cc: Radim Krčmář

[PATCH v3 4/4] KVM: async_pf: Let host know whether the guest support delivery async_pf as #PF vmexit

2017-06-20 Thread Wanpeng Li
From: Wanpeng Li Adds another flag bit (bit 2) to MSR_KVM_ASYNC_PF_EN. If bit 2 is 1, async page faults are delivered to L1 as #PF vmexits; if bit 2 is 0, kvm_can_do_async_pf returns 0 if in guest mode. Cc: Paolo Bonzini Cc: Radim Krčmář

[PATCH v7 02/10] mm: x86: move _PAGE_SWP_SOFT_DIRTY from bit 7 to bit 1

2017-06-20 Thread Zi Yan
From: Naoya Horiguchi _PAGE_PSE is used to distinguish between a truly non-present (_PAGE_PRESENT=0) PMD, and a PMD which is undergoing a THP split and should be treated as present. But _PAGE_SWP_SOFT_DIRTY currently uses the _PAGE_PSE bit, which would cause confusion

[PATCH v7 04/10] mm: thp: introduce CONFIG_ARCH_ENABLE_THP_MIGRATION

2017-06-20 Thread Zi Yan
From: Naoya Horiguchi Introduces CONFIG_ARCH_ENABLE_THP_MIGRATION to limit thp migration functionality to x86_64, which should be safer at the first step. ChangeLog v1 -> v2: - fixed config name in subject and patch description Signed-off-by: Naoya Horiguchi

[PATCH] dt-bindings: display-timing.txt convert non-ascii characters to ascii

2017-06-20 Thread frowand . list
From: Frank Rowand Convert non-ascii up and down arrows to '^' and 'v' Signed-off-by: Frank Rowand --- .../devicetree/bindings/display/panel/display-timing.txt | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

Re: [RFC v2 02/12] powerpc: Free up four 64K PTE bits in 64K backed hpte pages.

2017-06-20 Thread Ram Pai
On Tue, Jun 20, 2017 at 04:21:45PM +0530, Anshuman Khandual wrote: > On 06/17/2017 09:22 AM, Ram Pai wrote: > > Rearrange 64K PTE bits to free up bits 3, 4, 5 and 6 > > in the 64K backed hpte pages. This along with the earlier > > patch will entirely free up the four bits from 64K PTE. > > >

Re: [RFC v2 01/12] powerpc: Free up four 64K PTE bits in 4K backed hpte pages.

2017-06-20 Thread Ram Pai
On Tue, Jun 20, 2017 at 03:50:25PM +0530, Anshuman Khandual wrote: > On 06/17/2017 09:22 AM, Ram Pai wrote: > > Rearrange 64K PTE bits to free up bits 3, 4, 5 and 6 > > in the 4K backed hpte pages. These bits continue to be used > > for 64K backed hpte pages in this patch, but will be freed >

Re: [PATCH 1/2] drm/rockchip: add const to drm_encoder_helper_funcs structures

2017-06-20 Thread Mark yao
On 2017年06月20日 21:07, Bhumika Goyal wrote: Add const to drm_encoder_helper_funcs structures as they are only passed as an argument to the function drm_encoder_helper_add and this argument is of type const. So, add const to these structures. Also, fix line over 80 characters warning while adding

[PATCH 1/4] sparc64: Add 16GB hugepage support

2017-06-20 Thread Nitin Gupta
Adds support for 16GB hugepage size. To use this page size use kernel parameters as: default_hugepagesz=16G hugepagesz=16G hugepages=10 Testing: Tested with the stream benchmark which allocates 48G of arrays backed by 16G hugepages and does RW operation on them in parallel. Orabug: 25362942

Re: [PATCH v2] perf: libdw support for powerpc [ping]

2017-06-20 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 15, 2017 at 01:16:32PM +0200, Mark Wielaard escreveu: > On Thu, 2017-06-15 at 10:46 +0200, Milian Wolff wrote: > > Just a quick question: Have you guys applied my recent patch: > > > > commit 5ea0416f51cc93436bbe497c62ab49fd9cb245b6 > > Author: Milian Wolff > >

[PATCH 4/4] sparc64: Cleanup hugepage table walk functions

2017-06-20 Thread Nitin Gupta
Flatten out nested code structure in huge_pte_offset() and huge_pte_alloc(). Signed-off-by: Nitin Gupta --- arch/sparc/mm/hugetlbpage.c | 54 + 1 file changed, 20 insertions(+), 34 deletions(-) diff --git

Re: [PATCH v2] perf: libdw support for powerpc [ping]

2017-06-20 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 15, 2017 at 10:46:16AM +0200, Milian Wolff escreveu: > On Tuesday, June 13, 2017 5:55:09 PM CEST Ravi Bangoria wrote: > Just a quick question: Have you guys applied my recent patch: > commit 5ea0416f51cc93436bbe497c62ab49fd9cb245b6 > Author: Milian Wolff >

RE: [PATCH v2 3/3] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent Dell systems

2017-06-20 Thread Zheng, Lv
Hi, > From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of Rafael J. > Wysocki > Subject: Re: [PATCH v2 3/3] ACPI / sleep: EC-based wakeup from > suspend-to-idle on recent Dell systems > > On Tue, Jun 20, 2017 at 1:37 AM, Zheng, Lv wrote: > > Hi, Rafael > >

RE: [PATCH v2 3/3] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent Dell systems

2017-06-20 Thread Zheng, Lv
Hi, Rafael > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. > Wysocki > Subject: Re: [PATCH v2 3/3] ACPI / sleep: EC-based wakeup from > suspend-to-idle on recent Dell systems > > On Tue, Jun 20, 2017 at 2:07 AM, Linus Torvalds >

Re: [RFC PATCH 2/2] mm, fs: daxfile, an interface for byte-addressable updates to pmem

2017-06-20 Thread Darrick J. Wong
On Wed, Jun 21, 2017 at 09:53:46AM +1000, Dave Chinner wrote: > On Tue, Jun 20, 2017 at 09:17:36AM -0700, Dan Williams wrote: > > On Tue, Jun 20, 2017 at 1:49 AM, Christoph Hellwig wrote: > > > [stripped giant fullquotes] > > > > > > On Mon, Jun 19, 2017 at 10:53:12PM -0700, Andy

linux-next: build failure after merge of the v4l-dvb tree

2017-06-20 Thread Stephen Rothwell
files") 703528005e58 ("[media] media: venus: enable building of Venus video driver") I have merged the 4vl-dvb tree from next-20170620 for today. -- Cheers, Stephen Rothwell

linux-next: manual merge of the net-next tree with the net tree

2017-06-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/core/rtnetlink.c between commit: db833d40ad32 ("rtnetlink: add IFLA_GROUP to ifla_policy") from the net tree and commit: 3d3ea5af5c0b ("rtnl: Add support for netdev event to link messages") from the net-next

linux-next: build failure after merge of the spi-nor tree

2017-06-20 Thread Stephen Rothwell
== SZ_128M) { ^ Caused by commit bb3a588d2151 ("mtd: spi-nor: aspeed: configure chip window on AHB bus") Forgot to include linux/sizes.h. I have used the spi-nor tree from next-20170620 for today. -- Cheers, Stephen Rothwell

Re: [lkp-robot] [mm] 1be7107fbe: kernel_BUG_at_mm/mmap.c

2017-06-20 Thread Hugh Dickins
On Wed, 21 Jun 2017, kernel test robot wrote: > > FYI, we noticed the following commit: > > commit: 1be7107fbe18eed3e319a6c3e83c78254b693acb ("mm: larger stack guard > gap, between vmas") > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master > > in testcase: trinity > with

Re: [RFC v2 09/12] powerpc: Deliver SEGV signal on pkey violation.

2017-06-20 Thread Anshuman Khandual
On 06/21/2017 05:26 AM, Ram Pai wrote: > On Tue, Jun 20, 2017 at 12:24:53PM +0530, Anshuman Khandual wrote: >> On 06/17/2017 09:22 AM, Ram Pai wrote: >>> The value of the AMR register at the time of exception >>> is made available in gp_regs[PT_AMR] of the siginfo. >>> >>> This field can be used

Re: [PATCH 2/2] i2c: Add Spreadtrum I2C controller driver

2017-06-20 Thread Baolin Wang
Hi Andy, Sorry for late reply due to my business trip. On 六, 6月 17, 2017 at 08:18:49下午 +0300, Andy Shevchenko wrote: > On Thu, Jun 15, 2017 at 2:30 PM, Baolin Wang > wrote: > > This patch adds the I2C controller driver for Spreadtrum platform. > > > > +

Re: [PATCH 00/51] rtc: stop using rtc deprecated functions

2017-06-20 Thread Russell King - ARM Linux
On Wed, Jun 21, 2017 at 12:00:30AM +0200, Thomas Gleixner wrote: > Yes, but there are still quite some issues to solve there: > > 1) How do you tell the system that it should apply the offset in the > first place, i.e at boot time before NTP or any other mechanism can > correct

RE: [PATCH v0] crypto: virtio - Refacotor virtio_crypto driver for new virito crypto services

2017-06-20 Thread Zeng, Xin
Ping... any comments? Thanks < -Original Message- < From: Zeng, Xin < Sent: Wednesday, June 7, 2017 2:18 PM < To: linux-kernel@vger.kernel.org; linux-crypto-ow...@vger.kernel.org; < virtio-...@lists.oasis-open.org < Cc: arei.gong...@huawei.com; Zeng, Xin < Subject:

Re: [PATCH] percpu_counter: Rename __percpu_counter_add to percpu_counter_add_batch

2017-06-20 Thread Darrick J. Wong
On Tue, Jun 20, 2017 at 03:47:59PM -0400, Tejun Heo wrote: > From 104b4e5139fe384431ac11c3b8a6cf4a529edf4a Mon Sep 17 00:00:00 2001 > From: Nikolay Borisov > Date: Tue, 20 Jun 2017 21:01:20 +0300 > > Currently, percpu_counter_add is a wrapper around __percpu_counter_add >

Re: [PATCH 2/3] thermal: hisilicon: add thermal sensor driver for Hi3660

2017-06-20 Thread Leo Yan
Hi Rui, Eduardo, On Tue, Jun 20, 2017 at 11:40:34AM +0800, Tao Wang wrote: [...] > diff --git a/drivers/thermal/hi3660_thermal.c > b/drivers/thermal/hi3660_thermal.c > new file mode 100644 > index 000..a538721 > --- /dev/null > +++ b/drivers/thermal/hi3660_thermal.c > @@ -0,0 +1,198 @@ >

linux-next: manual merge of the block tree with the file-locks tree

2017-06-20 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: mm/filemap.c between commit: 0771875ac195 ("mm: don't TestClearPageError in __filemap_fdatawait_range") from the file-locks tree and commit: 7fc9e4722435 ("fs: Introduce filemap_range_has_page()") from the block

Re: [PATCH v2] [media] mtk-mdp: Fix g_/s_selection capture/compose logic

2017-06-20 Thread Minghsiu Tsai
On Mon, 2017-06-19 at 12:10 +0200, Hans Verkuil wrote: > On 06/19/2017 12:03 PM, Minghsiu Tsai wrote: > > Hi, Hans, > > > > On Fri, 2017-06-16 at 12:42 +0200, Hans Verkuil wrote: > >> On 05/12/17 04:42, Minghsiu Tsai wrote: > >>> From: Daniel Kurtz > >>> > >>> Experiments

linux-next: manual merge of the block tree with the pci tree

2017-06-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the block tree got a conflict in: drivers/nvme/host/pci.c between commit: c336cc0ee4eb ("PCI: Split ->reset_notify() method into ->reset_prepare() and ->reset_done()") from the pci tree and commit: d86c4d8ef31b ("nvme: move reset workqueue handling

[PATCH v2] mm: Drop useless local parameters of __register_one_node()

2017-06-20 Thread Dou Liyang
... initializes local parameters "p_node" & "parent" for register_node(). But, register_node() does not use them. Remove the related code of "parent" node, cleanup __register_one_node() and register_node(). Cc: Andrew Morton Cc: David Rientjes

Re: [PATCH NET] net/hns:bugfix of ethtool -t phy self_test

2017-06-20 Thread l00371289
Hi, Andrew On 2017/6/21 11:13, Andrew Lunn wrote: > On Wed, Jun 21, 2017 at 10:03:29AM +0800, l00371289 wrote: >> Hi, Andrew >> >> On 2017/6/20 21:27, Andrew Lunn wrote: >>> On Tue, Jun 20, 2017 at 11:05:54AM +0800, l00371289 wrote: hi, Florian On 2017/6/20 5:00, Florian Fainelli

[PATCH 1/5] Extend the request_region() infrastructure

2017-06-20 Thread Zoltán Böszörményi
Add a new IORESOURCE_ALLOCATED flag that is automatically used when alloc_resource() is used internally in kernel/resource.c and free_resource() now takes this flag into account. The core of __request_region() was factored out into a new function called __request_declared_region() that needs

[rcu:rcu/next 116/116] kernel/cpu.c:1833: warning: unused variable 'cpu'

2017-06-20 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next head: faeb334286b762ba6b829ad62e3d39a97674bb56 commit: faeb334286b762ba6b829ad62e3d39a97674bb56 [116/116] rcu: Migrate callbacks earlier in the CPU-offline timeline config: x86_64-randconfig-b0-06210849

[PATCH 5/5] watchdog: sp5100_tco: Use request_declared_muxed_region()

2017-06-20 Thread Zoltán Böszörményi
Use the new request_declared_muxed_region() macro to synchronize accesses to the SB800 I/O port pair (0xcd6 / 0xcd7) with the PCI quirk for isochronous USB transfers and with the i2c-piix4 driver. At the same time, remove the long lifetime request_region() call to reserve these I/O ports,

[PATCH v7 10/10] mm: memory_hotplug: memory hotremove supports thp migration

2017-06-20 Thread Zi Yan
From: Naoya Horiguchi This patch enables thp migration for memory hotremove. --- ChangeLog v1->v2: - base code switched from alloc_migrate_target to new_node_page() Signed-off-by: Naoya Horiguchi ChangeLog v2->v7: - base code switched

[PATCH v7 03/10] mm: thp: introduce separate TTU flag for thp freezing

2017-06-20 Thread Zi Yan
From: Naoya Horiguchi TTU_MIGRATION is used to convert pte into migration entry until thp split completes. This behavior conflicts with thp migration added later patches, so let's introduce a new TTU flag specifically for freezing. try_to_unmap() is used both for thp

Re: [RFC v2 06/12] powerpc: Program HPTE key protection bits.

2017-06-20 Thread Ram Pai
On Tue, Jun 20, 2017 at 01:51:45PM +0530, Anshuman Khandual wrote: > On 06/17/2017 09:22 AM, Ram Pai wrote: > > Map the PTE protection key bits to the HPTE key protection bits, > > while creatiing HPTE entries. > > > > Signed-off-by: Ram Pai > > --- > >

Re: [PATCH RFC] hugetlbfs 'noautofill' mount option

2017-06-20 Thread Prakash Sangappa
On 6/16/17 6:15 AM, Andrea Arcangeli wrote: Hello Prakash, Thanks for you response. Comments inline. On Tue, May 09, 2017 at 01:59:34PM -0700, Prakash Sangappa wrote: On 5/9/17 1:58 AM, Christoph Hellwig wrote: On Mon, May 08, 2017 at 03:12:42PM -0700, prakash.sangappa wrote:

Re: [BUG] Deadlock due due to interactions of block, RCU, and cpu offline

2017-06-20 Thread Paul E. McKenney
On Mon, Mar 27, 2017 at 11:17:11AM -0700, Paul E. McKenney wrote: > On Mon, Mar 27, 2017 at 12:02:27PM -0600, Jeffrey Hugo wrote: > > Hi Paul. > > > > Thanks for the quick reply. > > > > On 3/26/2017 5:28 PM, Paul E. McKenney wrote: > > >On Sun, Mar 26, 2017 at 05:10:40PM -0600, Jeffrey Hugo

Re: [RFC v2 10/12] powerpc: Read AMR only if pkey-violation caused the exception.

2017-06-20 Thread Ram Pai
On Mon, Jun 19, 2017 at 09:06:13PM +1000, Michael Ellerman wrote: > Ram Pai writes: > > > Signed-off-by: Ram Pai > > --- > > arch/powerpc/kernel/exceptions-64s.S | 16 ++-- > > 1 file changed, 10 insertions(+), 6 deletions(-) > > > > diff

Re: [PATCH] random: warn when kernel uses unseeded randomness

2017-06-20 Thread Kees Cook
On Tue, Jun 20, 2017 at 5:03 PM, Jason A. Donenfeld wrote: > This enables an important dmesg notification about when drivers have > used the crng without it being seeded first. Prior, these errors would > occur silently, and so there hasn't been a great way of diagnosing these >

Re: [PATCH] kernel/watchdog: fix spurious hard lockups

2017-06-20 Thread Prarit Bhargava
On 06/20/2017 07:00 PM, Andi Kleen wrote: > On Tue, Jun 20, 2017 at 06:34:23PM -0400, Prarit Bhargava wrote: >> >> >> On 06/20/2017 05:33 PM, kan.li...@intel.com wrote: >>> From: Kan Liang >>> >>> Some users reported spurious NMI watchdog timeouts. >>> >>> We now have more

linux-next: build warning after merge of the file-locks tree

2017-06-20 Thread Stephen Rothwell
Hi Jeff, After merging the file-locks tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: mm/page-writeback.c: In function 'write_one_page': mm/page-writeback.c:2380:15: warning: unused variable 'ret2' [-Wunused-variable] int ret = 0, ret2; ^

Re: [PATCH v9 1/5] firmware: add extensible driver data params

2017-06-20 Thread AKASHI Takahiro
On Tue, Jun 20, 2017 at 07:22:19PM +0200, Luis R. Rodriguez wrote: > On Tue, Jun 20, 2017 at 09:27:45AM -0700, Vikram Mulukutla wrote: > > > > perhaps a light > > internal rework inside firmware_class might be more suitable towards the > > extensibility goal while keeping driver API usage as

Re: [PATCH] drivers/fsi: fix fsi_slave_mode prototype

2017-06-20 Thread Jeremy Kerr
Hi Arnd, > gcc warns about the return type of this function: > > drivers/fsi/fsi-core.c:535:8: error: type qualifiers ignored on function > return type [-Werror=ignored-qualifiers] > > This removes the 'const' attribute, as suggested by the warning. Acked-by: Jeremy Kerr

Re: [PATCH] liquidio: stop using huge static buffer, save 4096k in .data

2017-06-20 Thread David Miller
From: Felix Manlunas Date: Tue, 20 Jun 2017 13:51:25 -0700 > From: Derek Chickles > Date: Tue, 20 Jun 2017 13:15:34 -0700 > >> > From: David Miller [mailto:da...@davemloft.net] >> > Sent: Tuesday, June 20, 2017 12:22 PM >> > >> > From:

Re: [PATCH v2] perf: libdw support for powerpc [ping]

2017-06-20 Thread Mark Wielaard
On Tue, Jun 20, 2017 at 10:06:35PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Jun 15, 2017 at 01:16:32PM +0200, Mark Wielaard escreveu: > > On Thu, 2017-06-15 at 10:46 +0200, Milian Wolff wrote: > > > Just a quick question: Have you guys applied my recent patch: > > > > > > commit

[PATCH] PATCH v3 Convert multiple netdev_info messages to netdev_dbg

2017-06-20 Thread Michael J Dilmore
The bond_options.c file contains multiple netdev_info messages that clutter kernel output. This patches replaces these with netdev_dbg messages and adds a netdev_dbg for packets for slave. Signed-off-by: Michael J Dilmore Suggested-by: Joe Perches

Re: [PATCH] x86/MCE, xen/mcelog: Make /dev/mcelog registration messages more precise

2017-06-20 Thread Ethan Zhao
Borislav, How about skipping the misc_register() steps and keep silence if you know it is running as Dom0 ? as it is easy to know. Reviewed-by: Ethan Zhao On Wed, Jun 21, 2017 at 5:16 AM, Borislav Petkov wrote: > From: Juergen Gross

[PATCH resend] scsi: fc: drop residual tsk_mgmt_response and it_nexus_response

2017-06-20 Thread Kefeng Wang
After commit 556e26a70b64 ("scsi: remove tsk_mgmt_response and it_nexus_response transport methods"), the target driver support was removed totally. Drop the residua. Signed-off-by: Kefeng Wang --- include/scsi/scsi_transport_fc.h | 4 1 file changed, 4

Re: [PATCH NET] net/hns:bugfix of ethtool -t phy self_test

2017-06-20 Thread Andrew Lunn
On Wed, Jun 21, 2017 at 10:03:29AM +0800, l00371289 wrote: > Hi, Andrew > > On 2017/6/20 21:27, Andrew Lunn wrote: > > On Tue, Jun 20, 2017 at 11:05:54AM +0800, l00371289 wrote: > >> hi, Florian > >> > >> On 2017/6/20 5:00, Florian Fainelli wrote: > >>> On 06/16/2017 02:24 AM, Lin Yun Sheng

linux-next: manual merge of the block tree with the btrfs-kdave tree

2017-06-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the block tree got a conflict in: fs/btrfs/disk-io.c between commits: 21445903e814 ("btrfs: preallocate device flush bio") 56305f3eb397 ("btrfs: move dev stats accounting out of wait_dev_flush") from the btrfs-kdave tree and commit: 4e4cbee93d56

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

2017-06-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: Documentation/DocBook/kernel-hacking.tmpl between commit: c4fcd7cabb83 ("docs-rst: convert kernel-hacking to ReST") from the jc_docs tree and commit: ac6424b981bc ("sched/wait: Rename wait_queue_t =>

Re: [RFC v2 08/12] powerpc: Handle exceptions caused by violation of pkey protection.

2017-06-20 Thread Ram Pai
On Tue, Jun 20, 2017 at 12:54:45PM +0530, Anshuman Khandual wrote: > On 06/17/2017 09:22 AM, Ram Pai wrote: > > Handle Data and Instruction exceptions caused by memory > > protection-key. > > > > Signed-off-by: Ram Pai > > (cherry picked from commit

Re: [RFC PATCH 2/2] mm, fs: daxfile, an interface for byte-addressable updates to pmem

2017-06-20 Thread Dave Chinner
On Tue, Jun 20, 2017 at 09:17:36AM -0700, Dan Williams wrote: > On Tue, Jun 20, 2017 at 1:49 AM, Christoph Hellwig wrote: > > [stripped giant fullquotes] > > > > On Mon, Jun 19, 2017 at 10:53:12PM -0700, Andy Lutomirski wrote: > >> But that's my whole point. The kernel doesn't

Re: [PATCH] random: silence compiler warnings and fix race

2017-06-20 Thread Jason A. Donenfeld
On Wed, Jun 21, 2017 at 1:38 AM, Theodore Ts'o wrote: > The punch was in response to this statement, which I personally found > fairly infuriating: > >>> I more or less agree with you that we should just turn this on for all >>> users and they'll just have to live with the spam and

Re: [RFC v2 12/12]selftest: Updated protection key selftest

2017-06-20 Thread Ram Pai
On Tue, Jun 20, 2017 at 11:56:04AM +0530, Anshuman Khandual wrote: > On 06/17/2017 09:22 AM, Ram Pai wrote: > > Added test support for PowerPC implementation off protection keys. > > > > Signed-off-by: Ram Pai > > First of all, there are a lot of instances where we use

Re: [PATCH v4] irqchip/gicv3-its: Avoid memory over allocation for ITEs

2017-06-20 Thread Shanker Donthineni
Hi Marc, On 05/06/2017 06:25 AM, Marc Zyngier wrote: > On Fri, May 05 2017 at 11:04:22 pm BST, Shanker Donthineni > wrote: >> Hi Marc, >> >> >> On 05/02/2017 11:16 AM, Marc Zyngier wrote: >>> On Sun, Apr 30 2017 at 3:36:15 pm BST, Shanker Donthineni >>>

Re: [PATCH] powerpc: dts: use #include "..." to include local DT

2017-06-20 Thread Masahiro Yamada
2017-06-14 15:45 GMT+09:00 Michael Ellerman : > Masahiro Yamada writes: >> 2017-06-13 19:21 GMT+09:00 Michael Ellerman : >>> Masahiro Yamada writes: (+Anatolij Gustschin

Re: [RFC PATCH 2/2] mm, fs: daxfile, an interface for byte-addressable updates to pmem

2017-06-20 Thread Dave Chinner
On Tue, Jun 20, 2017 at 09:14:24AM -0700, Andy Lutomirski wrote: > On Tue, Jun 20, 2017 at 3:11 AM, Dave Chinner wrote: > > On Mon, Jun 19, 2017 at 10:53:12PM -0700, Andy Lutomirski wrote: > >> On Mon, Jun 19, 2017 at 5:46 PM, Dave Chinner wrote: > >> >

linux-next: manual merge of the net-next tree with the pci tree

2017-06-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/wireless/marvell/mwifiex/pcie.c between commit: c336cc0ee4eb ("PCI: Split ->reset_notify() method into ->reset_prepare() and ->reset_done()") from the pci tree and commit: 68efd0386988 ("mwifiex:

Re: [PATCH] mm/hwpoison: Clear PRESENT bit for kernel 1:1 mappings of poison pages

2017-06-20 Thread Naoya Horiguchi
(drop stable from CC) On Fri, Jun 16, 2017 at 12:02:00PM -0700, Luck, Tony wrote: > From: Tony Luck > > Speculative processor accesses may reference any memory that has a > valid page table entry. While a speculative access won't generate > a machine check, it will log the

[PATCH v3 1/4] KVM: x86: Simple kvm_x86_ops->queue_exception parameter

2017-06-20 Thread Wanpeng Li
From: Wanpeng Li This patch removes all arguments except the first in kvm_x86_ops->queue_exception since they can extract the arguments from vcpu->arch.exception themselves, do the same in nested_{vmx,svm}_check_exception. Cc: Paolo Bonzini Cc:

[PATCH v3 3/4] KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf

2017-06-20 Thread Wanpeng Li
From: Wanpeng Li Add an async_page_fault field to vcpu->arch.exception to identify an async page fault, and constructs the expected vm-exit information fields. Force a nested VM exit from nested_vmx_check_exception() if the injected #PF is async page fault. Extending

Re: [PATCH] mtd: spi-nor: cqspi: make of_device_ids const

2017-06-20 Thread Cyrille Pitchen
Le 16/06/2017 à 12:27, Marek Vasut a écrit : > On 06/16/2017 11:35 AM, Arvind Yadav wrote: >> of_device_ids are not supposed to change at runtime. All functions >> working with of_device_ids provided by work with const >> of_device_ids. So mark the non-const structs as const. >> >> Signed-off-by:

Re: [kernel-hardening] [PATCH 23/23] mm: Allow slab_nomerge to be set at build time

2017-06-20 Thread Kees Cook
On Mon, Jun 19, 2017 at 9:09 PM, Daniel Micay wrote: > On Mon, 2017-06-19 at 16:36 -0700, Kees Cook wrote: >> Some hardened environments want to build kernels with slab_nomerge >> already set (so that they do not depend on remembering to set the >> kernel >> command line

[PATCH] Input: synaptics-rmi4 - Only read the F54 query registers which are used

2017-06-20 Thread Andrew Duggan
The F54 driver is currently only using the first 6 bytes of F54 so there is no need to read all 27 bytes. Some Dell systems (Dell XP13 9333 and similar) have an issue with the touchpad or I2C bus when readiing reports larger then 16 bytes. Reads larger then 16 bytes are reported in two HID

[PATCH v2] mm: Allow slab_nomerge to be set at build time

2017-06-20 Thread Kees Cook
Some hardened environments want to build kernels with slab_nomerge already set (so that they do not depend on remembering to set the kernel command line option). This is desired to reduce the risk of kernel heap overflows being able to overwrite objects from merged caches and changes the

Re: [PATCH 05/20] arm64: rename COMPAT to AARCH32_EL0 in Kconfig

2017-06-20 Thread Yury Norov
On Mon, Jun 19, 2017 at 04:58:16PM +0100, James Morse wrote: > Hi Yury, > > On 04/06/17 12:59, Yury Norov wrote: > > From: Andrew Pinski > > > > In this patchset ILP32 ABI support is added. Additionally to AARCH32, > > which is binary-compatible with ARM, ILP32 is (mostly)

Re: [kernel-hardening] [PATCH 23/23] mm: Allow slab_nomerge to be set at build time

2017-06-20 Thread Kees Cook
On Mon, Jun 19, 2017 at 9:29 PM, Eric Biggers wrote: > On Mon, Jun 19, 2017 at 04:36:37PM -0700, Kees Cook wrote: >> Some hardened environments want to build kernels with slab_nomerge >> already set (so that they do not depend on remembering to set the kernel >> command line

Re: [PATCH] tty: hide unused pty_get_peer function

2017-06-20 Thread Aleksa Sarai
TIOCGPTPEER is only used for unix98 PTYs, and we get a warning when those are disabled: drivers/tty/pty.c:466:12: error: 'pty_get_peer' defined but not used [-Werror=unused-function] This moves the respective functions inside of the existing #ifdef. Fixes: 54ebbfb16034 ("tty: add TIOCGPTPEER

Re: [Intel-gfx] [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-20 Thread Alex Williamson
On Tue, 20 Jun 2017 23:01:53 + "Zhang, Tina" wrote: > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Tuesday, June 20, 2017 11:00 PM > > To: Gerd Hoffmann > > Cc: Zhang, Tina

Re: [PATCH 3/3] arm64: dts: register Hi3660's thermal sensor

2017-06-20 Thread Guodong Xu
n o...@lixom.net <mailto:o...@lixom.net> just merged hi3660 dts into >> his tree. You should better rebase you dts patch onto that. > > Can you share me the git path? As of this morning, it has shown up in linux next tag: next-20170620 https://git.kernel.org/p

Re: [PATCH 2/3] thermal: hisilicon: add thermal sensor driver for Hi3660

2017-06-20 Thread Wangtao (Kevin, Kirin)
e( 2017/6/20 18:31, Wei Xu ei: Hi Tao Wang, On 2017/6/20 4:40, Tao Wang wrote: This patch adds the support for thermal sensor of Hi3660 SoC. this will register sensors for thermal framework and use device tree to bind cooling device. Signed-off-by: Tao Wang

Re: [PATCH] net: intel: e1000e: add check on e1e_wphy() return value

2017-06-20 Thread Ethan Zhao
Gustavo, The return value of ret_val seems used to check if the access to PHY/NVM got its semaphore, generally speaking, it is needed for every PHY access of this driver. Reviewed-by: Ethan Zhao On Wed, Jun 21, 2017 at 5:22 AM, Gustavo A. R. Silva

Re: [PATCH] liquidio: stop using huge static buffer, save 4096k in .data

2017-06-20 Thread Felix Manlunas
From: David Miller Date: Tue, 20 Jun 2017 21:17:13 -0400 > From: Felix Manlunas > Date: Tue, 20 Jun 2017 13:51:25 -0700 > > > From: Derek Chickles > > Date: Tue, 20 Jun 2017 13:15:34 -0700 > > > >> > From: David

Re: [PATCH] kernel.h: fix new warnings for container_of()

2017-06-20 Thread Kees Cook
On Tue, Jun 20, 2017 at 1:09 PM, Arnd Bergmann wrote: > I see new warnings with gcc-7.0.1 with the modified container_of(): > > fs/f2fs/dir.c: In function 'F2FS_I': > fs/f2fs/f2fs.h:1122:385: note: found mismatched ssa struct pointer types: > 'struct f2fs_inode_info' and 'struct

Re: [PATCH] kernel.h: fix new warnings for container_of()

2017-06-20 Thread Kees Cook
On Tue, Jun 20, 2017 at 3:43 PM, Kees Cook wrote: > On Tue, Jun 20, 2017 at 1:09 PM, Arnd Bergmann wrote: >> I see new warnings with gcc-7.0.1 with the modified container_of(): >> >> fs/f2fs/dir.c: In function 'F2FS_I': >> fs/f2fs/f2fs.h:1122:385: note:

Re: [RFC v2 03/12] powerpc: Implement sys_pkey_alloc and sys_pkey_free system call.

2017-06-20 Thread Ram Pai
On Mon, Jun 19, 2017 at 10:18:01PM +1000, Michael Ellerman wrote: > Hi Ram, > > Ram Pai writes: > > Sys_pkey_alloc() allocates and returns available pkey > > Sys_pkey_free() frees up the pkey. > > > > Total 32 keys are supported on powerpc. However pkey 0,1 and 31 > > are

RE: [Intel-gfx] [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-20 Thread Zhang, Tina
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Tuesday, June 20, 2017 11:00 PM > To: Gerd Hoffmann > Cc: Zhang, Tina ; intel-...@lists.freedesktop.org; > linux- > ker...@vger.kernel.org; Kirti Wankhede

Re: [PATCH] compiler, clang: Add always_inline attribute to inline

2017-06-20 Thread David Rientjes
On Tue, 20 Jun 2017, Mark Rutland wrote: > As with my reply to David, my preference would be that we: > > 1) Align compiler-clang.h with the compiler-gcc.h inlining behaviour, so >that things work by default. > > 2) Fix up the arm64 core code (and drivers for architected / common >

[PATCH] of: make of_fdt_is_compatible() static

2017-06-20 Thread frowand . list
From: Frank Rowand The callers of of_fdt_is_compatible() are all in fdt.c so make it static. Signed-off-by: Frank Rowand --- drivers/of/fdt.c | 2 +- include/linux/of_fdt.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git

[PATCH] of: fdt.c header comment typo

2017-06-20 Thread frowand . list
From: Frank Rowand Fix typo in header comment for early_init_dt_scan_memory() Signed-off-by: Frank Rowand --- drivers/of/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index

Re: [RFC v2 09/12] powerpc: Deliver SEGV signal on pkey violation.

2017-06-20 Thread Ram Pai
On Tue, Jun 20, 2017 at 12:24:53PM +0530, Anshuman Khandual wrote: > On 06/17/2017 09:22 AM, Ram Pai wrote: > > The value of the AMR register at the time of exception > > is made available in gp_regs[PT_AMR] of the siginfo. > > > > This field can be used to reprogram the permission bits of > >

Re: [RFC v2 11/12]Documentation: Documentation updates.

2017-06-20 Thread Ram Pai
On Tue, Jun 20, 2017 at 11:48:23AM +0530, Anshuman Khandual wrote: > On 06/17/2017 09:22 AM, Ram Pai wrote: > > The Documentaton file is moved from x86 into the generic area, > > since this feature is now supported by more than one archs. > > > > Signed-off-by: Ram Pai > >

Re: [PATCH 2/2] writeback: Rework wb_[dec|inc]_stat family of functions

2017-06-20 Thread kbuild test robot
Hi Nikolay, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc6 next-20170620] [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/Nikolay-Borisov/percpu_counter-Rename

  1   2   3   4   5   6   7   8   9   10   >