RE: [RFC PATCH v3 1/2] usb: typec: USB Type-C Port Manager (tcpm)

2016-09-29 Thread Jun Li
Hi Guenter, > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Guenter Roeck > Sent: Wednesday, August 24, 2016 5:11 AM > To: Felipe Balbi > Cc: Chandra Sekhar Anagani ; Bruce > Ashfield ; Bin Gao ; > Pranav Tipnis ; Heikki

Re: [PATCH v4 00/12] re-enable DAX PMD support

2016-09-29 Thread Dave Chinner
On Thu, Sep 29, 2016 at 09:03:43PM -0600, Ross Zwisler wrote: > On Fri, Sep 30, 2016 at 09:43:45AM +1000, Dave Chinner wrote: > > Finally: none of the patches in your tree have reviewed-by tags. > > That says to me that none of this code has been reviewed yet. > > Reviewed-by tags are non-negotiabl

[PATCH] drm/mediatek: stop using drm_vblank_count() as the hw frame counter

2016-09-29 Thread YT Shen
using drm_vblank_no_hw_counter() to eliminate kernel warning. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index eebb7d8..e286

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Ondrej Zary
On Friday 30 September 2016, Sinan Kaya wrote: > On 9/29/2016 2:00 PM, Ondrej Zary wrote: > >> The previous two patches were in the right direction. > >> > >> > Can we also get the same output from 4.6 kernel with the attached > >> > patch for the same machine you sent these? > > > > Here it is. >

Re: [PATCH 3.12 000/119] 3.12.64-stable review

2016-09-29 Thread Jiri Slaby
On 09/30/2016, 07:28 AM, Mike Galbraith wrote: > This one seems to be missing. > > 135e8c9250dd sched/core: Fix a race between try_to_wake_up() and a woken up > task Applied now for 3.12.65, thanks! -- js suse labs

Re: [PATCH v8 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-09-29 Thread David Miller
From: Greg KH Date: Fri, 30 Sep 2016 08:30:05 +0200 > On Fri, Sep 30, 2016 at 01:55:55AM -0400, David Miller wrote: >> From: Amir Levy >> Date: Wed, 28 Sep 2016 17:44:22 +0300 >> >> > This driver enables Thunderbolt Networking on non-Apple platforms >> > running Linux. >> >> Greg, any idea whe

Re: [PATCH v4 2/3] mm/hugetlb: check for reserved hugepages during memory offline

2016-09-29 Thread Michal Hocko
On Thu 29-09-16 10:09:37, Mike Kravetz wrote: > On 09/29/2016 05:30 AM, Michal Hocko wrote: > > On Mon 26-09-16 19:28:10, Gerald Schaefer wrote: [...] > >> Fix this by adding a return value to dissolve_free_huge_pages() and > >> checking h->free_huge_pages vs. h->resv_huge_pages. Note that this may

Re: [PATCH v2 1/1] s390/spinlock: Provide vcpu_is_preempted

2016-09-29 Thread Pan Xinhui
在 2016/9/30 13:52, Boqun Feng 写道: On Fri, Sep 30, 2016 at 12:49:52PM +0800, Pan Xinhui wrote: 在 2016/9/29 23:51, Christian Borntraeger 写道: this implements the s390 backend for commit "kernel/sched: introduce vcpu preempted check interface" by reworking the existing smp_vcpu_scheduled into a

Re: [PATCH 2/2] mmc: sdhci-of-arasan: mark sdhci_arasan_reset() static

2016-09-29 Thread Sören Brinkmann
On Fri, 2016-09-30 at 09:37:39 +0800, Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/mmc/host/sdhci-of-arasan.c:253:6: warning: no previous prototype for > 'sdhci_arasan_reset' [-Wmissing-prototypes] > > In fact, this function is only used in the file in which it is

Re: [PATCH v8 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-09-29 Thread Greg KH
On Fri, Sep 30, 2016 at 01:55:55AM -0400, David Miller wrote: > From: Amir Levy > Date: Wed, 28 Sep 2016 17:44:22 +0300 > > > This driver enables Thunderbolt Networking on non-Apple platforms > > running Linux. > > Greg, any idea where this should get merged once fully vetted? I can > take it t

Re: [RFD] I/O scheduling in blk-mq

2016-09-29 Thread Paolo Valente
Hi Omar, have you had a chance to look at these last questions of mine? Thanks, Paolo > Il giorno 31 ago 2016, alle ore 17:20, Paolo Valente > ha scritto: > > > Il giorno 08/ago/2016, alle ore 22:09, Omar Sandoval ha > scritto: > >> On Mon, Aug 08, 2016 at 04:09:56PM +0200, Paolo wrote: >>

Re: [PATCH 2/2] ext4: remove unused variable

2016-09-29 Thread Theodore Ts'o
On Tue, Sep 20, 2016 at 05:16:19PM +0100, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom Thanks, I've applied both of these cleanups. - Ted

Re: [lkp] [staging] d4f56b47a8: divide error: 0000 [#1] PREEMPT SMP KASAN

2016-09-29 Thread Ye Xiaolong
On 09/30, Viresh Kumar wrote: >On Fri, Sep 30, 2016 at 7:29 AM, kernel test robot > wrote: >> >> >> FYI, we noticed the following commit: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master >> commit d4f56b47a8fac90b15adfae80a42a2735d6b3213 ("staging: greybus: Add >> d

Re: [PATCH v6 0/7] Reduce cache miss for snmp_fold_field

2016-09-29 Thread David Miller
From: Jia He Date: Fri, 30 Sep 2016 11:28:57 +0800 > In a PowerPc server with large cpu number(160), besides commit > a3a773726c9f ("net: Optimize snmp stat aggregation by walking all > the percpu data at once"), I watched several other snmp_fold_field > callsites which would cause high cache mis

Re: [PATCH v2 net-next] mlx5: Add ndo_poll_controller() implementation

2016-09-29 Thread David Miller
From: Calvin Owens Date: Wed, 28 Sep 2016 21:46:39 -0700 > This implements ndo_poll_controller in net_device_ops callbacks for mlx5, > which is necessary to use netconsole with this driver. > > Acked-By: Saeed Mahameed > Signed-off-by: Calvin Owens > --- > Changes in v2: > * Only iterate

Re: [PATCH v1] mlx4: remove unused fields

2016-09-29 Thread David Miller
From: David Decotigny Date: Wed, 28 Sep 2016 11:00:04 -0700 > From: David Decotigny > > This also can address following UBSAN warnings: > [ 36.640343] > > [ 36.648772] UBSAN: Undefined behaviour in > drivers/

Re: [PATCH v8 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-09-29 Thread David Miller
From: Amir Levy Date: Wed, 28 Sep 2016 17:44:22 +0300 > This driver enables Thunderbolt Networking on non-Apple platforms > running Linux. Greg, any idea where this should get merged once fully vetted? I can take it through the net-next tree, but I'm fine with another more appropriate tree taki

Re: linux-next: build failure after merge of the tty tree

2016-09-29 Thread Greg KH
On Fri, Sep 30, 2016 at 01:54:37PM +1000, Stephen Rothwell wrote: > Hi Greg, > > After merging the tty tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/tty/serial/amba-pl011.c: In function 'pl011_console_match': > drivers/tty/serial/amba-pl011.c:2346:44: err

Re: linux-next: manual merge of the tty tree with the arm64 tree

2016-09-29 Thread Greg KH
On Fri, Sep 30, 2016 at 01:38:22PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the tty tree got conflicts in: > > arch/arm64/Kconfig > > between commit: > > 1d8f51d41fc7 ("arm/arm64: arch_timer: Use archdata to indicate vdso > suitability") > > from the arm64

Re: [PATCH] ext4: Check for encryption feature before fscrypt_process_policy()

2016-09-29 Thread Theodore Ts'o
On Thu, Sep 22, 2016 at 08:50:54AM +0200, Richard Weinberger wrote: > ...otherwise an user can enable encryption for certain files even > when the filesystem is unable to support it. > Such a case would be a filesystem created by mkfs.ext4's default > settings, 1KiB block size. Ext4 supports encypt

Re: [PATCH locking/Documentation 1/2] Add note of release-acquire store vulnerability

2016-09-29 Thread Boqun Feng
Hi Paul, On Thu, Sep 29, 2016 at 10:23:22AM -0700, Paul E. McKenney wrote: > On Thu, Sep 29, 2016 at 06:10:37PM +0100, Will Deacon wrote: > > On Thu, Sep 29, 2016 at 09:43:53AM -0700, Paul E. McKenney wrote: > > > On Thu, Sep 29, 2016 at 05:03:08PM +0100, Will Deacon wrote: > > > > On Thu, Sep 29,

Re: [PATCH v2 1/1] s390/spinlock: Provide vcpu_is_preempted

2016-09-29 Thread Boqun Feng
On Fri, Sep 30, 2016 at 12:49:52PM +0800, Pan Xinhui wrote: > > > 在 2016/9/29 23:51, Christian Borntraeger 写道: > > this implements the s390 backend for commit > > "kernel/sched: introduce vcpu preempted check interface" > > by reworking the existing smp_vcpu_scheduled into > > arch_vcpu_is_preemp

Re: linux-next: manual merge of the tty tree with the pm tree

2016-09-29 Thread Greg KH
On Fri, Sep 30, 2016 at 01:42:23PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the tty tree got a conflict in: > > include/linux/acpi.h > > between commit: > > 058dfc767008 ("ACPI / watchdog: Add support for WDAT hardware watchdog") > > from the pm tree and co

Re: linux-next: manual merge of the tty tree with the v4l-dvb tree

2016-09-29 Thread Greg KH
On Fri, Sep 30, 2016 at 01:33:19PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the tty tree got a conflict in: > > MAINTAINERS > > between commit: > > 71fb2c74287d ("[media] MAINTAINERS: atmel-isc: add entry for Atmel ISC") > > from the v4l-dvb tree and commit

Re: [PATCH 2/3] zram: support page-based parallel write

2016-09-29 Thread Minchan Kim
Hi Sergey, On Thu, Sep 29, 2016 at 12:18:31PM +0900, Sergey Senozhatsky wrote: > Hello Minchan, > > On (09/22/16 15:42), Minchan Kim wrote: > > zram supports stream-based parallel compression. IOW, it can support > > parallel compression on SMP system only if each cpus has streams. > > For exampl

Re: [PATCH v3 2/2] usb: dwc3: Wait for control tranfer completed when stopping gadget

2016-09-29 Thread Baolin Wang
Hi Felipe, On 19 September 2016 at 19:52, Baolin Wang wrote: > When we change the USB function with configfs dynamically, we possibly met > this > situation: one core is doing the control transfer, another core is trying to > unregister the USB gadget from userspace, we must wait for completing

Re: [PATCH net-next 0/6] rxrpc: Fixes and adjustments

2016-09-29 Thread David Miller
husly: > > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > rxrpc-rewrite-20160929 Pulled, thanks David.

Re: [PATCH V2 for-next 0/8] Bug Fixes and Code Improvement in HNS driver

2016-09-29 Thread David Miller
From: Salil Mehta Date: Thu, 29 Sep 2016 18:09:08 +0100 > This patch-set introduces fix to some Bugs, potential problems > and code improvements identified during internal review and > testing of Hisilicon Network Subsystem driver. > > Submit Change > V1->V2: This addresses the feedbacks provide

Re: pull-request: wireless-drivers-next 2016-09-29

2016-09-29 Thread David Miller
From: Kalle Valo Date: Thu, 29 Sep 2016 19:57:28 +0300 > this should be the last wireless-drivers-next pull request for 4.9, from > now on only important bugfixes. Nothing really special stands out, > iwlwifi being most active but other drivers also getting attention. More > details in the signed

Re: [PATCH 3.12 000/119] 3.12.64-stable review

2016-09-29 Thread Mike Galbraith
This one seems to be missing. 135e8c9250dd sched/core: Fix a race between try_to_wake_up() and a woken up task

Re: [PATCH net-next 00/10] net: dsa: mv88e6xxx: Global (1) cosmetics

2016-09-29 Thread David Miller
From: Vivien Didelot Date: Thu, 29 Sep 2016 12:21:52 -0400 > The Global (1) internal SMI device of Marvell switches is a set of > registers providing support to different units for MAC addresses (ATU), > VLANs (VTU), PHY polling (PPU), etc. ... Looks like a very nice set of cleanups to me. Ser

Re: [PATCH v2 3/3] net: make net namespace sysctls belong to container's owner

2016-09-29 Thread David Miller
From: Dmitry Torokhov Date: Thu, 29 Sep 2016 08:46:05 -0700 > Hi David, > > On Wed, Aug 10, 2016 at 2:36 PM, Dmitry Torokhov > wrote: >> If net namespace is attached to a user namespace let's make container's >> root owner of sysctls affecting said network namespace instead of global >> root. >

Re: [PATCH v3 1/2] config: Adding the new config parameter CONFIG_PROVE_LOCKING_SMALL for sparc

2016-09-29 Thread David Miller
From: Babu Moger Date: Thu, 29 Sep 2016 08:53:24 -0500 > > On 9/28/2016 3:39 AM, Peter Zijlstra wrote: >> On Tue, Sep 27, 2016 at 12:33:27PM -0700, Babu Moger wrote: >>> This new config parameter limits the space used for "Lock debugging: >>> prove locking correctness" by about 4MB. The current

Re: [PATCH v1 12/12] mm: ppc64: Add THP migration support for ppc64.

2016-09-29 Thread Aneesh Kumar K.V
zi@sent.com writes: > From: Zi Yan > > Signed-off-by: Zi Yan > --- > arch/powerpc/Kconfig | 4 > arch/powerpc/include/asm/book3s/64/pgtable.h | 23 +++ > 2 files changed, 27 insertions(+) > > diff --git a/arch/powerpc/Kconfig b/arch/powerpc/

Re: [PATCH] spmi: regmap: enable userspace writes

2016-09-29 Thread kgunda
On 2016-09-29 23:30, Mark Brown wrote: On Thu, Sep 29, 2016 at 05:06:26PM +0530, Kiran Gunda wrote: -#undef REGMAP_ALLOW_WRITE_DEBUGFS +#define REGMAP_ALLOW_WRITE_DEBUGFS This is completely inappropriate for upstream, if you need to do debugging on your platform you can enable this locally bu

Re: [PATCH v3 0/4] implement vcpu preempted check

2016-09-29 Thread Pan Xinhui
在 2016/9/29 18:31, Peter Zijlstra 写道: On Thu, Sep 29, 2016 at 12:23:19PM +0200, Christian Borntraeger wrote: On 09/29/2016 12:10 PM, Peter Zijlstra wrote: On Thu, Jul 21, 2016 at 07:45:10AM -0400, Pan Xinhui wrote: change from v2: no code change, fix typos, update some comments chan

Re: [PATCH v2 1/1] s390/spinlock: Provide vcpu_is_preempted

2016-09-29 Thread Pan Xinhui
在 2016/9/29 23:51, Christian Borntraeger 写道: this implements the s390 backend for commit "kernel/sched: introduce vcpu preempted check interface" by reworking the existing smp_vcpu_scheduled into arch_vcpu_is_preempted. We can then also get rid of the local cpu_is_preempted function by moving t

Re: [PATCH] mm: exclude isolated non-lru pages from NR_ISOLATED_ANON or NR_ISOLATED_FILE.

2016-09-29 Thread Ming Ling
On 四, 9月 29, 2016 at 10:01:43上午 +0200, Michal Hocko wrote: > On Wed 28-09-16 17:31:03, ming.ling wrote: > > Non-lru pages don't belong to any lru, so accounting them to > > NR_ISOLATED_ANON or NR_ISOLATED_FILE doesn't make any sense. > > It may misguide functions such as pgdat_reclaimable_pages an

Re: [PATCH v4 00/12] re-enable DAX PMD support

2016-09-29 Thread Darrick J. Wong
On Thu, Sep 29, 2016 at 09:03:43PM -0600, Ross Zwisler wrote: > On Fri, Sep 30, 2016 at 09:43:45AM +1000, Dave Chinner wrote: > > Finally: none of the patches in your tree have reviewed-by tags. > > That says to me that none of this code has been reviewed yet. > > Reviewed-by tags are non-negotiabl

linux-next: build failure after merge of the tty tree

2016-09-29 Thread Stephen Rothwell
Hi Greg, After merging the tty tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/tty/serial/amba-pl011.c: In function 'pl011_console_match': drivers/tty/serial/amba-pl011.c:2346:44: error: passing argument 3 of 'uart_parse_earlycon' from incompatible pointer type

[PATCH 2/2] perf tools: Support insn and insnlen in perf script

2016-09-29 Thread Andi Kleen
From: Andi Kleen When looking at Intel PT traces with perf script it is useful to have some indication of the instruction. Dump the instruction bytes and instruction length, which can be used for simple pattern analysis in scripts. % perf record -e intel_pt// foo % perf script --itrace=i0ns -F i

[PATCH 1/2] perf intel-pt-decoder: Report instruction bytes and length in sample

2016-09-29 Thread Andi Kleen
From: Andi Kleen Change the Intel PT decoder to pass up the length and the instruction bytes of the decoded or sampled instruction in the perf sample. The decoder already knows this information, we just need to pass it up. Since it is only a couple of movs it is not very expensive. Used in the

linux-next: manual merge of the tty tree with the pm tree

2016-09-29 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in: include/linux/acpi.h between commit: 058dfc767008 ("ACPI / watchdog: Add support for WDAT hardware watchdog") from the pm tree and commit: ad1696f6f09d ("ACPI: parse SPCR and enable matching console") from the tty tre

linux-next: manual merge of the tty tree with the arm64 tree

2016-09-29 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got conflicts in: arch/arm64/Kconfig between commit: 1d8f51d41fc7 ("arm/arm64: arch_timer: Use archdata to indicate vdso suitability") from the arm64 tree and commit: 888125a71298 ("ARM64: ACPI: enable ACPI_SPCR_TABLE") from the tty tr

Re: [PATCH 0/4] Add DMA support for ti_am335x_adc driver

2016-09-29 Thread John Syne
I applied your patches to the following kernel: github.com/RobertCNelson/bb-kernel.git branch am33x-v4.8 Changing #define REG_DMAENABLE_CLEAR 0x038 to #define REG_DMAENABLE_CLEAR 0x03C Also applying the following DTS changes: target = <&tscadc>; __overl

linux-next: manual merge of the tty tree with the v4l-dvb tree

2016-09-29 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in: MAINTAINERS between commit: 71fb2c74287d ("[media] MAINTAINERS: atmel-isc: add entry for Atmel ISC") from the v4l-dvb tree and commit: 5615c3715749 ("MAINTAINERS: update entry for atmel_serial driver") from the tty tr

[PATCH v6 7/7] net: Suppress the "Comparison to NULL could be written" warnings

2016-09-29 Thread Jia He
This is to suppress the checkpatch.pl warning "Comparison to NULL could be written". No functional changes here. Signed-off-by: Jia He --- net/ipv4/proc.c | 32 net/sctp/proc.c | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/net/ipv4/pro

[PATCH v6 6/7] ipv6: Remove useless parameter in __snmp6_fill_statsdev

2016-09-29 Thread Jia He
The parameter items(is always ICMP6_MIB_MAX) is useless for __snmp6_fill_statsdev Signed-off-by: Jia He --- net/ipv6/addrconf.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 2f1f5d4..35d4baa 100644 --- a/net/ipv6

[PATCH v6 4/7] proc: Reduce cache miss in sctp_snmp_seq_show

2016-09-29 Thread Jia He
This is to use the generic interfaces snmp_get_cpu_field{,64}_batch to aggregate the data by going through all the items of each cpu sequentially. Signed-off-by: Jia He --- net/sctp/proc.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net/sctp/proc.c b/net/sctp/proc

[PATCH v6 5/7] proc: Reduce cache miss in xfrm_statistics_seq_show

2016-09-29 Thread Jia He
This is to use the generic interfaces snmp_get_cpu_field{,64}_batch to aggregate the data by going through all the items of each cpu sequentially. Signed-off-by: Jia He --- net/xfrm/xfrm_proc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/net/xfrm/xfrm_proc.c b/

[PATCH v6 1/7] net:snmp: Introduce generic interfaces for snmp_get_cpu_field{,64}

2016-09-29 Thread Jia He
This is to introduce the generic interfaces for snmp_get_cpu_field{,64}. It exchanges the two for-loops for collecting the percpu statistics data. This can aggregate the data by going through all the items of each cpu sequentially. Signed-off-by: Jia He Suggested-by: Marcelo Ricardo Leitner ---

[PATCH v6 2/7] proc: Reduce cache miss in snmp_seq_show

2016-09-29 Thread Jia He
This is to use the generic interfaces snmp_get_cpu_field{,64}_batch to aggregate the data by going through all the items of each cpu sequentially. Then snmp_seq_show is split into 2 parts to avoid build warning "the frame size" larger than 1024. Signed-off-by: Jia He --- net/ipv4/proc.c | 70 +++

[PATCH v6 0/7] Reduce cache miss for snmp_fold_field

2016-09-29 Thread Jia He
In a PowerPc server with large cpu number(160), besides commit a3a773726c9f ("net: Optimize snmp stat aggregation by walking all the percpu data at once"), I watched several other snmp_fold_field callsites which would cause high cache miss rate. test source code: My simple test ca

[PATCH v6 3/7] proc: Reduce cache miss in snmp6_seq_show

2016-09-29 Thread Jia He
This is to use the generic interfaces snmp_get_cpu_field{,64}_batch to aggregate the data by going through all the items of each cpu sequentially. Signed-off-by: Jia He --- net/ipv6/proc.c | 30 ++ 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/net/ipv

Re: [PATCH] drm/mediatek: fix a typo

2016-09-29 Thread Bibby Hsieh
On Thu, 2016-09-29 at 10:46 +0200, Matthias Brugger wrote: > > On 29/09/16 06:01, CK Hu wrote: > > Acked-by: CK Hu > > > > On Thu, 2016-09-29 at 11:22 +0800, Bibby Hsieh wrote: > >> Fix the typo: OD_RELAYMODE->OD_CFG > >> > Hi, Matthias Thanks for your reply. > Although it is quite clear what

Re: [PATCH v14 2/4] CMDQ: Mediatek CMDQ driver

2016-09-29 Thread CK Hu
Hi, HS: On Mon, 2016-09-05 at 09:44 +0800, HS Liao wrote: > This patch is first version of Mediatek Command Queue(CMDQ) driver. The > CMDQ is used to help write registers with critical time limitation, > such as updating display configuration during the vblank. It controls > Global Command Engine

Re: [PATCH v4 00/12] re-enable DAX PMD support

2016-09-29 Thread Ross Zwisler
On Fri, Sep 30, 2016 at 09:43:45AM +1000, Dave Chinner wrote: > Finally: none of the patches in your tree have reviewed-by tags. > That says to me that none of this code has been reviewed yet. > Reviewed-by tags are non-negotiable requirement for anything going > through my trees. I don't have time

[PATCH] aer: function comments cleanup

2016-09-29 Thread Cao jin
Signed-off-by: Cao jin --- drivers/pci/pcie/aer/aerdrv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/pcie/aer/aerdrv.c b/drivers/pci/pcie/aer/aerdrv.c index 48d21e0..20eea86 100644 --- a/drivers/pci/pcie/aer/aerdrv.c +++ b/drivers/pci/pcie/aer/aerdrv.c @@ -294,7 +294,6 @@ stati

Re: [lkp] [staging] d4f56b47a8: divide error: 0000 [#1] PREEMPT SMP KASAN

2016-09-29 Thread Ye Xiaolong
On 09/30, Viresh Kumar wrote: >On Fri, Sep 30, 2016 at 7:29 AM, kernel test robot > wrote: >> >> >> FYI, we noticed the following commit: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master >> commit d4f56b47a8fac90b15adfae80a42a2735d6b3213 ("staging: greybus: Add >> d

Re: [RFC][PATCH 0/7] printk: use alt_printk to handle printk() recursive calls

2016-09-29 Thread Sergey Senozhatsky
On (09/29/16 15:25), Petr Mladek wrote: > On Tue 2016-09-27 23:22:30, Sergey Senozhatsky wrote: > > Hello, > > > > RFC > > > > This patch set extends a lock-less NMI per-cpu buffers idea to > > handle recursive printk() calls. The basic mechanism is pretty much the > > same -- at the

Re: [PATCH net v2] L2TP:Adjust intf MTU,factor underlay L3,overlay L2

2016-09-29 Thread R. Parameswaran
Hi James, On Thu, 29 Sep 2016, James Chapman wrote: > On 22/09/16 21:52, R. Parameswaran wrote: > > From ed585bdd6d3d2b3dec58d414f514cd764d89159d Mon Sep 17 00:00:00 2001 > > From: "R. Parameswaran" > > Date: Thu, 22 Sep 2016 13:19:25 -0700 > > Subject: [PATCH] L2TP:Adjust intf MTU,factor under

[git pull] drm fixes for 4.8 final

2016-09-29 Thread Dave Airlie
Hi Linus, One big regression fix for udl, along with two amdgpu fixes and two nouveau fixes. All seems pretty safe and useful. Dave. The following changes since commit 08895a8b6b06ed2323cd97a36ee40a116b3db8ed: Linux 4.8-rc8 (2016-09-25 18:47:13 -0700) are available in the git repository at:

[PATCH v15 09/15] selftests/powerpc: Add ptrace tests for TAR, PPR, DSCR in suspended TM

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual This patch adds ptrace interface test for TAR, PPR, DSCR registers inside suspended TM context. Signed-off-by: Anshuman Khandual Signed-off-by: Simon Guo --- tools/testing/selftests/powerpc/ptrace/Makefile| 2 +- .../selftests/powerpc/ptrace/ptrace-tm-spd-tar.c

[PATCH v15 15/15] selftests/powerpc: Fix a build issue

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual Fixes the following build failure - cp_abort.c:90:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode for (int i = 0; i < NUM_LOOPS; i++) { ^ cp_abort.c:90:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your cod

[PATCH v15 12/15] selftests/powerpc: Add ptrace tests for VSX, VMX registers in suspended TM

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual This patch adds ptrace interface test for VSX, VMX registers inside suspended TM context. Signed-off-by: Anshuman Khandual Signed-off-by: Simon Guo --- tools/testing/selftests/powerpc/ptrace/Makefile| 3 +- .../selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c | 185

Re: [PATCH v1 00/12] THP migration support

2016-09-29 Thread Zi Yan
> > Thanks for helping, :) > > I think that you seem to do some testing with these patches on powerpc, > which shows that thp migration can be enabled relatively easily for > non-x86_64. This is a good news to me. Right. I did some THP migration tests on both x86_64 and IBM ppc64. You can use t

[PATCH v15 13/15] selftests/powerpc: Add ptrace tests for TM SPR registers

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual This patch adds ptrace interface test for TM SPR registers. This also adds ptrace interface based helper functions related to TM SPR registers access. Signed-off-by: Anshuman Khandual Signed-off-by: Simon Guo --- tools/testing/selftests/powerpc/ptrace/Makefile| 3

Re: [PATCH] mm: exclude isolated non-lru pages from NR_ISOLATED_ANON or NR_ISOLATED_FILE.

2016-09-29 Thread Minchan Kim
Hello, On Wed, Sep 28, 2016 at 05:31:03PM +0800, ming.ling wrote: > Non-lru pages don't belong to any lru, so accounting them to > NR_ISOLATED_ANON or NR_ISOLATED_FILE doesn't make any sense. > It may misguide functions such as pgdat_reclaimable_pages and > too_many_isolated. I agree this part. I

[PATCH v15 14/15] selftests/powerpc: Add .gitignore file for ptrace executables

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual This patch adds a .gitignore file for all the executables in the ptrace test directory thus making invisible with git status query. Signed-off-by: Anshuman Khandual Signed-off-by: Simon Guo --- tools/testing/selftests/powerpc/ptrace/.gitignore | 11 +++ 1 file

[PATCH v15 04/15] selftests/powerpc: Add ptrace tests for GPR/FPR registers

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual This patch adds ptrace interface test for GPR/FPR registers. This adds ptrace interface based helper functions related to GPR/FPR access and some assembly helper functions related to GPR/FPR registers. Signed-off-by: Anshuman Khandual Signed-off-by: Simon Guo --- tools

[PATCH v15 11/15] selftests/powerpc: Add ptrace tests for VSX, VMX registers in TM

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual This patch adds ptrace interface test for VSX, VMX registers inside TM context. This also adds ptrace interface based helper functions related to chckpointed VSX, VMX registers access. Signed-off-by: Anshuman Khandual Signed-off-by: Simon Guo --- tools/testing/selftest

[PATCH v15 06/15] selftests/powerpc: Add ptrace tests for GPR/FPR registers in suspended TM

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual This patch adds ptrace interface test for GPR/FPR registers inside suspended TM context. Signed-off-by: Anshuman Khandual Signed-off-by: Simon Guo --- tools/testing/selftests/powerpc/ptrace/Makefile| 2 +- .../selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c | 169

[PATCH v15 10/15] selftests/powerpc: Add ptrace tests for VSX, VMX registers

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual This patch adds ptrace interface test for VSX, VMX registers. This also adds ptrace interface based helper functions related to VSX, VMX registers access. This also adds some assembly helper functions related to VSX and VMX registers. Signed-off-by: Anshuman Khandual Sig

[PATCH v15 07/15] selftests/powerpc: Add ptrace tests for TAR, PPR, DSCR registers

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual This patch adds ptrace interface test for TAR, PPR, DSCR registers. This also adds ptrace interface based helper functions related to TAR, PPR, DSCR register access. Signed-off-by: Anshuman Khandual Signed-off-by: Simon Guo --- tools/testing/selftests/powerpc/ptrace/Ma

[PATCH v15 08/15] selftests/powerpc: Add ptrace tests for TAR, PPR, DSCR in TM

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual This patch adds ptrace interface test for TAR, PPR, DSCR registers inside TM context. This also adds ptrace interface based helper functions related to checkpointed TAR, PPR, DSCR register access. Signed-off-by: Anshuman Khandual Signed-off-by: Simon Guo --- tools/test

[PATCH v15 05/15] selftests/powerpc: Add ptrace tests for GPR/FPR registers in TM

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual This patch adds ptrace interface test for GPR/FPR registers inside TM context. This adds ptrace interface based helper functions related to checkpointed GPR/FPR access. Signed-off-by: Anshuman Khandual Signed-off-by: Simon Guo --- tools/testing/selftests/powerpc/ptrace

[PATCH v15 02/15] selftests/powerpc: move shared utility files into new utility/ dir

2016-09-29 Thread wei . guo . simon
From: Simon Guo There are some functions, especially register related, which can be shared across multiple selftests/powerpc test directories. This patch creates a new utility directory to store those shared functionalities, so that the file layout becomes more neat. Signed-off-by: Simon Guo -

[PATCH v15 03/15] selftests/powerpc: Add ptrace tests for EBB

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual This patch adds ptrace interface test for EBB/PMU specific registers. This also adds some generic ptrace interface based helper functions to be used by other patches later on in the series. Signed-off-by: Anshuman Khandual Signed-off-by: Simon Guo --- tools/testing/sel

[PATCH v15 01/15] selftests/powerpc: Add more SPR numbers, TM & VMX instructions to 'reg.h'/'instructions.h'

2016-09-29 Thread wei . guo . simon
From: Anshuman Khandual This patch adds SPR number for TAR, PPR, DSCR special purpose registers. It also adds TM, VSX, VMX related instructions which will then be used by patches later in the series. Now that the new DSCR register definitions (SPRN_DSCR_PRIV and SPRN_DSCR) are defined outside th

[PATCH v15 00/15] selftests/powerpc: Add ptrace tests for ppc registers

2016-09-29 Thread wei . guo . simon
From: Simon Guo This selftest suite is for PPC register ptrace functionality. It is also useful for Transaction Memory functionality verification. Signed-off-by: Anshuman Khandual Signed-off-by: Simon Guo Test Result (All tests pass on both BE and LE)

Re: [lkp] [staging] d4f56b47a8: divide error: 0000 [#1] PREEMPT SMP KASAN

2016-09-29 Thread Viresh Kumar
On Fri, Sep 30, 2016 at 7:29 AM, kernel test robot wrote: > > > FYI, we noticed the following commit: > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > commit d4f56b47a8fac90b15adfae80a42a2735d6b3213 ("staging: greybus: Add > drivers/staging/greybus to the build") >

Re: [PATCH] pinctrl: freescale: avoid overwriting pin config when freeing GPIO

2016-09-29 Thread Viresh Kumar
On 29-09-16, 15:16, Vladimir Zapolskiy wrote: > If you look at the top I agree that this solution may be only one platform > specific, but it fixes the broken driver of i.MX I2C bus controller. Yeah, I saw that.. > Why do you get an impression that it looks like a hack? Because we have to reorde

Re: [PATCH v14 13/15] selftests/powerpc: Add ptrace tests for TM SPR registers

2016-09-29 Thread Simon Guo
Hi Cyril, On Wed, Sep 14, 2016 at 03:04:12PM +1000, Cyril Bur wrote: > On Mon, 2016-09-12 at 15:33 +0800, wei.guo.si...@gmail.com wrote: > > From: Anshuman Khandual > > > > This patch adds ptrace interface test for TM SPR registers. This > > also adds ptrace interface based helper functions relat

Re: [PATCH] pinctrl: freescale: avoid overwriting pin config when freeing GPIO

2016-09-29 Thread Viresh Kumar
On 29-09-16, 09:33, Stefan Agner wrote: > You need to differentiate between Vybrid and i.MX: > > Vybrid muxes a pin to GPIO on gpio_request_one (via .gpio_request_enable > callback) > i.MX does not mux a pin as GPIO on its own, but needs to be muxed > explicitly. That has been always the case... >

Re: [PATCH 3/3] arm64: dump: Add checking for writable and exectuable pages

2016-09-29 Thread Mark Rutland
Hi, On Thu, Sep 29, 2016 at 02:32:57PM -0700, Laura Abbott wrote: > Page mappings with full RWX permissions are a security risk. x86 > has an option to walk the page tables and dump any bad pages. > (See e1a58320a38d ("x86/mm: Warn on W^X mappings")). Add a similar > implementation for arm64. > >

Re: [RFC][PATCH 7/7] printk: new printk() recursion detection

2016-09-29 Thread Sergey Senozhatsky
On (09/29/16 15:19), Petr Mladek wrote: > I am sorry but I do not understand this much. printk() should set the > alternative implementation in the critical section by default. > Why do we need to handle this so specially? > > Is it because of flushing in NMI context when panicing? I would call >

[lkp] [staging] d4f56b47a8: divide error: 0000 [#1] PREEMPT SMP KASAN

2016-09-29 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit d4f56b47a8fac90b15adfae80a42a2735d6b3213 ("staging: greybus: Add drivers/staging/greybus to the build") in testcase: trinity with following parameters: runtime: 300s

Re: BUG: scheduling while atomic in f_fs when gadget remove driver

2016-09-29 Thread Chen Yu
Hi Michal, Thanks for the patch. 在 2016/9/29 5:38, Michal Nazarewicz 写道: > On Wed, Sep 28 2016, Michal Nazarewicz wrote: >> With that done, the only thing which needs a mutex is >> epfile->read_buffer. > > Perhaps this would do: > I tested the patch on Hikey board with adb function on android,

Re: [PATCH v2 0/3] g_NCR5380: Modernization

2016-09-29 Thread Martin K. Petersen
> "Ondrej" == Ondrej Zary writes: Ondrej> This small patch series removes deprecated code from g_NCR5380 Ondrej> driver and converts it from scsi_module.c to scsi_add_host(). Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

[PATCH 2/2] mmc: sdhci-of-arasan: mark sdhci_arasan_reset() static

2016-09-29 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/mmc/host/sdhci-of-arasan.c:253:6: warning: no previous prototype for 'sdhci_arasan_reset' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can be made static. So

[PATCH 1/2] mmc: block: add missing header dependencies

2016-09-29 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/mmc/card/block.c:2147:5: warning: no previous prototype for 'mmc_blk_issue_rq' [-Wmissing-prototypes] In fact, this function is declared in drivers/mmc/card/block.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie

Re: [RFC PATCH v1 0/2] printk: Shared kernel logging

2016-09-29 Thread Kees Cook
On Thu, Sep 29, 2016 at 5:55 PM, Sean Hudson wrote: > This patch set is based on Linus' v4.8-rc8 tag. > > This debug feature allows the kernel to use an external buffer and control > block for kernel log messages. The feature is controlled by an optional > command line parameter. The existing buff

Re: [PATCH v2] UFS: Date Segment only need for WRITE DESCRIPTOR

2016-09-29 Thread Martin K. Petersen
> "Kiwoong" == Kiwoong Kim writes: Kiwoong> I think that the patch is correct. UFS spec says "The Data Kiwoong> Segment area is empty" for Read Descriptor. I have been using Kiwoong> similar code with it and it works. That have been already Kiwoong> applied in Android kernel. That's fine.

[PATCH] drivers: video: console: bitblit.c

2016-09-29 Thread Nahom
Fixed an indentation coding style issue. Signed-off-by: Nahom --- drivers/video/console/bitblit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/console/bitblit.c b/drivers/video/console/bitblit.c index dbfe4ee..4e7d0e3 100644 --- a/drivers/video/console/bitbli

Re: [kernel-hardening] [PATCH 0/3] WX Checking for arm64

2016-09-29 Thread Kees Cook
On Thu, Sep 29, 2016 at 2:32 PM, Laura Abbott wrote: > > Hi, > > This is an implementation to check for writable and executable pages on arm64. > This is heavily based on the x86 version which uses the existing page table > dumping code to do the checking. Some notes: > > - The W^X checking is imp

Re: [PATCH 1/3] arm64: dump: Make ptdump debugfs a separate option

2016-09-29 Thread Mark Rutland
On Thu, Sep 29, 2016 at 06:11:44PM -0700, Laura Abbott wrote: > On 09/29/2016 05:48 PM, Mark Rutland wrote: > >On Thu, Sep 29, 2016 at 05:31:09PM -0700, Laura Abbott wrote: > >>On 09/29/2016 05:13 PM, Mark Rutland wrote: > >>>On Thu, Sep 29, 2016 at 02:32:55PM -0700, Laura Abbott wrote: > +int

[PATCH v2] MIPS: loongson32: Remove several RTC-related macros

2016-09-29 Thread Yang Ling
Add regs-rtc.h to replace the macros of redundancy. Signed-off-by: Yang Ling --- V2: Add the header file regs-rtc.h in loongson1.h. --- arch/mips/include/asm/mach-loongson32/loongson1.h | 1 + arch/mips/include/asm/mach-loongson32/regs-rtc.h | 23 +++ arch/mips/loongson3

Hi linux

2016-09-29 Thread Chris Rankin
Good morning linux http://www.scanman.com.au/particularly.php?stick=2ubmk03m5uy9q Chris Rankin

Re: [RFC][PATCH 6/7] printk: use alternative printk buffers

2016-09-29 Thread Sergey Senozhatsky
On (09/29/16 15:00), Petr Mladek wrote: [..] > > @@ -1791,7 +1791,7 @@ asmlinkage int vprintk_emit(int facility, int level, > > zap_locks(); > > } > > > > - lockdep_off(); > > + alt_printk_enter(); > > IMHO, we could not longer enter vprintk_emit() recursively. The same > sec

Re: [PATCH 1/3] arm64: dump: Make ptdump debugfs a separate option

2016-09-29 Thread Laura Abbott
On 09/29/2016 05:48 PM, Mark Rutland wrote: On Thu, Sep 29, 2016 at 05:31:09PM -0700, Laura Abbott wrote: On 09/29/2016 05:13 PM, Mark Rutland wrote: On Thu, Sep 29, 2016 at 02:32:55PM -0700, Laura Abbott wrote: +int ptdump_register(struct ptdump_info *info, const char *name) +{ + ptdump

  1   2   3   4   5   6   7   8   >