Re: [PATCH] usb,signal,security: only pass the cred, not the secid, to kill_pid_info_as_cred and security_task_kill

2017-09-08 Thread Greg KH
On Fri, Sep 08, 2017 at 12:40:01PM -0400, Stephen Smalley wrote: > commit d178bc3a708f39cbfefc3fab37032d3f2511b4ec ("user namespace: usb: > make usb urbs user namespace aware (v2)") changed kill_pid_info_as_uid > to kill_pid_info_as_cred, saving and passing a cred structure instead of > uids.

Re: [PATCH 4.13 00/47] 4.13.1-stable review

2017-09-08 Thread Greg Kroah-Hartman
On Fri, Sep 08, 2017 at 10:58:48AM -0600, Shuah Khan wrote: > On 09/08/2017 07:18 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.13.1 release. > > There are 47 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH] usb,signal,security: only pass the cred, not the secid, to kill_pid_info_as_cred and security_task_kill

2017-09-08 Thread Greg KH
On Fri, Sep 08, 2017 at 12:40:01PM -0400, Stephen Smalley wrote: > commit d178bc3a708f39cbfefc3fab37032d3f2511b4ec ("user namespace: usb: > make usb urbs user namespace aware (v2)") changed kill_pid_info_as_uid > to kill_pid_info_as_cred, saving and passing a cred structure instead of > uids.

Re: [PATCH 4.13 00/47] 4.13.1-stable review

2017-09-08 Thread Greg Kroah-Hartman
On Fri, Sep 08, 2017 at 10:58:48AM -0600, Shuah Khan wrote: > On 09/08/2017 07:18 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.13.1 release. > > There are 47 patches in this series, all will be posted as a response > > to this one. If anyone has any

Oakley Sunglass Warehouse

2017-09-08 Thread Oakley Sunglass Warehouse
From: Oakley Sunglass Warehouse Email: linux-kernel@vger.kernel.org -- Hi It's our birthday and we are celebrating 2 years of our outlet. We'd like to offer you only 19.95 USD for all styles of Oakley and Ray Ban Sunglasses. Please visit

Oakley Sunglass Warehouse

2017-09-08 Thread Oakley Sunglass Warehouse
From: Oakley Sunglass Warehouse Email: linux-kernel@vger.kernel.org -- Hi It's our birthday and we are celebrating 2 years of our outlet. We'd like to offer you only 19.95 USD for all styles of Oakley and Ray Ban Sunglasses. Please visit

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-08 Thread David Miller
From: 严海双 Date: Sat, 9 Sep 2017 13:09:57 +0800 > > >> On 2017年9月9日, at 下午12:35, Cong Wang wrote: >> >> On Fri, Sep 8, 2017 at 6:25 PM, 严海双 >> wrote: >>> >>> On 2017年9月9日, at 上午6:13, Cong

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-08 Thread David Miller
From: 严海双 Date: Sat, 9 Sep 2017 13:09:57 +0800 > > >> On 2017年9月9日, at 下午12:35, Cong Wang wrote: >> >> On Fri, Sep 8, 2017 at 6:25 PM, 严海双 >> wrote: >>> >>> On 2017年9月9日, at 上午6:13, Cong Wang wrote: On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan wrote: >

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-08 Thread 严海双
> On 2017年9月9日, at 下午12:35, Cong Wang wrote: > > On Fri, Sep 8, 2017 at 6:25 PM, 严海双 wrote: >> >> >>> On 2017年9月9日, at 上午6:13, Cong Wang wrote: >>> >>> On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan >>>

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-08 Thread 严海双
> On 2017年9月9日, at 下午12:35, Cong Wang wrote: > > On Fri, Sep 8, 2017 at 6:25 PM, 严海双 wrote: >> >> >>> On 2017年9月9日, at 上午6:13, Cong Wang wrote: >>> >>> On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan >>> wrote: Different namespace application might require different maximal number

[GIT] Networking

2017-09-08 Thread David Miller
The iwlwifi firmware compat fix is in here as well as some other stuff: 1) Fix request socket leak introduced by BPF deadlock fix, from Eric Dumazet. 2) Fix VLAN handling with TXQs in mac80211, from Johannes Berg. 3) Missing __qdisc_drop conversions in prio and qfq schedulers, from Gao

[GIT] Networking

2017-09-08 Thread David Miller
The iwlwifi firmware compat fix is in here as well as some other stuff: 1) Fix request socket leak introduced by BPF deadlock fix, from Eric Dumazet. 2) Fix VLAN handling with TXQs in mac80211, from Johannes Berg. 3) Missing __qdisc_drop conversions in prio and qfq schedulers, from Gao

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-08 Thread Cong Wang
On Fri, Sep 8, 2017 at 6:25 PM, 严海双 wrote: > > >> On 2017年9月9日, at 上午6:13, Cong Wang wrote: >> >> On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan >> wrote: >>> Different namespace application might

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-08 Thread Cong Wang
On Fri, Sep 8, 2017 at 6:25 PM, 严海双 wrote: > > >> On 2017年9月9日, at 上午6:13, Cong Wang wrote: >> >> On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan >> wrote: >>> Different namespace application might require different maximal number >>> of TCP sockets independently of the host. >> >> So after your

Re: [PATCH v2] Add driver to force WMI Thunderbolt controller power status

2017-09-08 Thread Darren Hart
On Fri, Sep 08, 2017 at 03:15:10PM +, mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > > Sent: Friday, September 8, 2017 3:07 AM > > To: Limonciello, Mario > > Cc:

Re: [PATCH v2] Add driver to force WMI Thunderbolt controller power status

2017-09-08 Thread Darren Hart
On Fri, Sep 08, 2017 at 03:15:10PM +, mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > > Sent: Friday, September 8, 2017 3:07 AM > > To: Limonciello, Mario > > Cc: dvh...@infradead.org; LKML ; > >

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Herbert Xu
On Sat, Sep 09, 2017 at 02:48:55AM +, Nick Terrell wrote: > > There is a patch [1] floating around adding zstd support to compressed RAM > that uses the crypto API. > > [1] > https://lkml.kernel.org/r/20170824014936.4738-1-sergey.senozhatsky%40gmail.com Yes but I think it would make more

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Herbert Xu
On Sat, Sep 09, 2017 at 02:48:55AM +, Nick Terrell wrote: > > There is a patch [1] floating around adding zstd support to compressed RAM > that uses the crypto API. > > [1] > https://lkml.kernel.org/r/20170824014936.4738-1-sergey.senozhatsky%40gmail.com Yes but I think it would make more

Re: [PATCH net] phy: mvebu-cp110: checking for NULL instead of IS_ERR()

2017-09-08 Thread David Miller
From: Dan Carpenter Date: Fri, 8 Sep 2017 13:31:37 +0300 > devm_ioremap_resource() never returns NULL, it only returns error > pointers so this test needs to be changed. > > Fixes: d0438bd6aa09 ("phy: add the mvebu cp110 comphy driver") > Signed-off-by: Dan Carpenter

Re: [PATCH net] phy: mvebu-cp110: checking for NULL instead of IS_ERR()

2017-09-08 Thread David Miller
From: Dan Carpenter Date: Fri, 8 Sep 2017 13:31:37 +0300 > devm_ioremap_resource() never returns NULL, it only returns error > pointers so this test needs to be changed. > > Fixes: d0438bd6aa09 ("phy: add the mvebu cp110 comphy driver") > Signed-off-by: Dan Carpenter > --- > This driver

Re: [PATCH] net: ethernet: ti: netcp_core: no need in netif_napi_del

2017-09-08 Thread David Miller
From: Ivan Khoronzhuk Date: Thu, 7 Sep 2017 18:32:30 +0300 > Don't remove rx_napi specifically just before free_netdev(), > it's supposed to be done in it and is confusing w/o tx_napi deletion. > > Signed-off-by: Ivan Khoronzhuk

Re: [PATCH] net: ethernet: ti: netcp_core: no need in netif_napi_del

2017-09-08 Thread David Miller
From: Ivan Khoronzhuk Date: Thu, 7 Sep 2017 18:32:30 +0300 > Don't remove rx_napi specifically just before free_netdev(), > it's supposed to be done in it and is confusing w/o tx_napi deletion. > > Signed-off-by: Ivan Khoronzhuk Applied.

Re: [PATCH] net: tulip: Constify tulip_tbl

2017-09-08 Thread David Miller
From: Kees Cook Date: Thu, 7 Sep 2017 12:35:14 -0700 > It looks like all users of tulip_tbl are reads, so mark this table > as read-only. > > $ git grep tulip_tbl # edited to avoid line-wraps... > interrupt.c: iowrite32(tulip_tbl[tp->chip_id].valid_intrs, ... >

Re: [PATCH] net: tulip: Constify tulip_tbl

2017-09-08 Thread David Miller
From: Kees Cook Date: Thu, 7 Sep 2017 12:35:14 -0700 > It looks like all users of tulip_tbl are reads, so mark this table > as read-only. > > $ git grep tulip_tbl # edited to avoid line-wraps... > interrupt.c: iowrite32(tulip_tbl[tp->chip_id].valid_intrs, ... > interrupt.c:

Re: [PATCH] drivers: net: Display proper debug level up to 6

2017-09-08 Thread David Miller
From: Mathieu Malaterre Date: Thu, 7 Sep 2017 13:24:20 +0200 > This will make it explicit some messages are of the form: > dm9000_dbg(db, 5, ... > > Signed-off-by: Mathieu Malaterre Applied.

Re: [PATCH] drivers: net: Display proper debug level up to 6

2017-09-08 Thread David Miller
From: Mathieu Malaterre Date: Thu, 7 Sep 2017 13:24:20 +0200 > This will make it explicit some messages are of the form: > dm9000_dbg(db, 5, ... > > Signed-off-by: Mathieu Malaterre Applied.

Re: [PATCH 2/2] ip6_tunnel: fix setting hop_limit value for ipv6 tunnel

2017-09-08 Thread David Miller
From: Haishuang Yan Date: Thu, 7 Sep 2017 14:08:35 +0800 > Similar to vxlan/geneve tunnel, if hop_limit is zero, it should fall > back to ip6_dst_hoplimt(). > > Signed-off-by: Haishuang Yan Applied.

Re: [PATCH 1/2] ip_tunnel: fix setting ttl and tos value in collect_md mode

2017-09-08 Thread David Miller
From: Haishuang Yan Date: Thu, 7 Sep 2017 14:08:34 +0800 > ttl and tos variables are declared and assigned, but are not used in > iptunnel_xmit() function. > > Fixes: cfc7381b3002 ("ip_tunnel: add collect_md mode to IPIP tunnel") > Cc: Alexei Starovoitov

Re: [PATCH 2/2] ip6_tunnel: fix setting hop_limit value for ipv6 tunnel

2017-09-08 Thread David Miller
From: Haishuang Yan Date: Thu, 7 Sep 2017 14:08:35 +0800 > Similar to vxlan/geneve tunnel, if hop_limit is zero, it should fall > back to ip6_dst_hoplimt(). > > Signed-off-by: Haishuang Yan Applied.

Re: [PATCH 1/2] ip_tunnel: fix setting ttl and tos value in collect_md mode

2017-09-08 Thread David Miller
From: Haishuang Yan Date: Thu, 7 Sep 2017 14:08:34 +0800 > ttl and tos variables are declared and assigned, but are not used in > iptunnel_xmit() function. > > Fixes: cfc7381b3002 ("ip_tunnel: add collect_md mode to IPIP tunnel") > Cc: Alexei Starovoitov > Signed-off-by: Haishuang Yan

Re: [PATCH net-next 3/3] net: phy: realtek: add RTL8201F phy-id and functions

2017-09-08 Thread Jassi Brar
On 9 September 2017 at 00:21, Florian Fainelli wrote: > On 09/08/2017 06:02 AM, Kunihiko Hayashi wrote: >> From: Jassi Brar >> >> Add RTL8201F phy-id and the related functions to the driver. >> >> The original patch is as follows: >>

Re: [PATCH net-next 3/3] net: phy: realtek: add RTL8201F phy-id and functions

2017-09-08 Thread Jassi Brar
On 9 September 2017 at 00:21, Florian Fainelli wrote: > On 09/08/2017 06:02 AM, Kunihiko Hayashi wrote: >> From: Jassi Brar >> >> Add RTL8201F phy-id and the related functions to the driver. >> >> The original patch is as follows: >> https://patchwork.kernel.org/patch/2538341/ >> >>

Re: [PATCH 2/2] watchdog: Add Spreadtrum watchdog driver

2017-09-08 Thread Guenter Roeck
On 09/05/2017 10:38 PM, Eric Long wrote: This patch adds the watchdog driver for Spreadtrum SC9860 platform. Signed-off-by: Eric Long --- drivers/watchdog/Kconfig| 8 + drivers/watchdog/Makefile | 1 + drivers/watchdog/sprd_wdt.c | 366

Re: [PATCH 2/2] watchdog: Add Spreadtrum watchdog driver

2017-09-08 Thread Guenter Roeck
On 09/05/2017 10:38 PM, Eric Long wrote: This patch adds the watchdog driver for Spreadtrum SC9860 platform. Signed-off-by: Eric Long --- drivers/watchdog/Kconfig| 8 + drivers/watchdog/Makefile | 1 + drivers/watchdog/sprd_wdt.c | 366

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Nick Terrell
On 9/8/17, 6:36 PM, "Herbert Xu" wrote: > On Fri, Sep 08, 2017 at 03:33:05PM -0400, Chris Mason wrote: > > > > crypto/Kconfig |9 + > > crypto/Makefile|1 + > > crypto/testmgr.c | 10 + > > crypto/testmgr.h | 71

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Nick Terrell
On 9/8/17, 6:36 PM, "Herbert Xu" wrote: > On Fri, Sep 08, 2017 at 03:33:05PM -0400, Chris Mason wrote: > > > > crypto/Kconfig |9 + > > crypto/Makefile|1 + > > crypto/testmgr.c | 10 + > > crypto/testmgr.h | 71 + > > crypto/zstd.c

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Chris Mason
On Sat, Sep 09, 2017 at 09:35:59AM +0800, Herbert Xu wrote: On Fri, Sep 08, 2017 at 03:33:05PM -0400, Chris Mason wrote: crypto/Kconfig |9 + crypto/Makefile|1 + crypto/testmgr.c | 10 + crypto/testmgr.h | 71 + crypto/zstd.c

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Chris Mason
On Sat, Sep 09, 2017 at 09:35:59AM +0800, Herbert Xu wrote: On Fri, Sep 08, 2017 at 03:33:05PM -0400, Chris Mason wrote: crypto/Kconfig |9 + crypto/Makefile|1 + crypto/testmgr.c | 10 + crypto/testmgr.h | 71 + crypto/zstd.c

Re: [PATCH 1/2] ip_tunnel: fix setting ttl and tos value in collect_md mode

2017-09-08 Thread Alexei Starovoitov
On 9/6/17 11:08 PM, Haishuang Yan wrote: ttl and tos variables are declared and assigned, but are not used in iptunnel_xmit() function. Fixes: cfc7381b3002 ("ip_tunnel: add collect_md mode to IPIP tunnel") Cc: Alexei Starovoitov Signed-off-by: Haishuang Yan

Re: [PATCH 1/2] ip_tunnel: fix setting ttl and tos value in collect_md mode

2017-09-08 Thread Alexei Starovoitov
On 9/6/17 11:08 PM, Haishuang Yan wrote: ttl and tos variables are declared and assigned, but are not used in iptunnel_xmit() function. Fixes: cfc7381b3002 ("ip_tunnel: add collect_md mode to IPIP tunnel") Cc: Alexei Starovoitov Signed-off-by: Haishuang Yan --- net/ipv4/ip_tunnel.c | 4 ++--

[PATCH v5 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-08 Thread Brendan Higgins
Addressed comments from: - kbuild robot: https://www.spinics.net/lists/arm-kernel/msg605356.html - kbuild robot: https://www.spinics.net/lists/arm-kernel/msg605325.html Changes since previous update: - Addressed some minor issues caught by build bot, no structural changes. - Changes

[PATCH v5 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-08 Thread Brendan Higgins
Addressed comments from: - kbuild robot: https://www.spinics.net/lists/arm-kernel/msg605356.html - kbuild robot: https://www.spinics.net/lists/arm-kernel/msg605325.html Changes since previous update: - Addressed some minor issues caught by build bot, no structural changes. - Changes

[PATCH v5 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-08 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 48 arch/arm/mach-npcm/Makefile | 3 ++

[PATCH v5 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-08 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 48 arch/arm/mach-npcm/Makefile | 3 ++ arch/arm/mach-npcm/headsmp.S | 17

[PATCH v5 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-09-08 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins Reviewed-by: Tomer Maimon Reviewed-by: Avi Fishman

[PATCH v5 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-09-08 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins Reviewed-by: Tomer Maimon Reviewed-by: Avi Fishman --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff

[PATCH v5 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-09-08 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins Reviewed-by: Tomer Maimon Reviewed-by: Avi Fishman Reviewed-by: Joel Stanley Tested-by: Tomer Maimon Tested-by: Avi Fishman ---

[PATCH v5 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-09-08 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins Reviewed-by: Tomer Maimon Reviewed-by: Avi Fishman --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 44cb004c765d..ec0d35384a16

RE: [PATCH RFC 3/5] Add KSZ8795 switch driver

2017-09-08 Thread Tristram.Ha
> -Original Message- > From: Pavel Machek [mailto:pa...@ucw.cz] > Sent: Friday, September 08, 2017 2:58 PM > To: Tristram Ha - C24268 > Cc: and...@lunn.ch; muva...@gmail.com; nathan.leigh.con...@gmail.com; > vivien.dide...@savoirfairelinux.com; f.faine...@gmail.com; >

RE: [PATCH RFC 3/5] Add KSZ8795 switch driver

2017-09-08 Thread Tristram.Ha
> -Original Message- > From: Pavel Machek [mailto:pa...@ucw.cz] > Sent: Friday, September 08, 2017 2:58 PM > To: Tristram Ha - C24268 > Cc: and...@lunn.ch; muva...@gmail.com; nathan.leigh.con...@gmail.com; > vivien.dide...@savoirfairelinux.com; f.faine...@gmail.com; >

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Andy Lutomirski
> On Sep 8, 2017, at 6:05 PM, Linus Torvalds > wrote: > >> On Fri, Sep 8, 2017 at 5:00 PM, Andy Lutomirski wrote: >> >> I'm not convinced. The SDM says (Vol 3, 11.3, under WC): >> >> If the WC buffer is partially filled, the writes may be

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Andy Lutomirski
> On Sep 8, 2017, at 6:05 PM, Linus Torvalds > wrote: > >> On Fri, Sep 8, 2017 at 5:00 PM, Andy Lutomirski wrote: >> >> I'm not convinced. The SDM says (Vol 3, 11.3, under WC): >> >> If the WC buffer is partially filled, the writes may be delayed until >> the next occurrence of a

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Herbert Xu
On Fri, Sep 08, 2017 at 03:33:05PM -0400, Chris Mason wrote: > > crypto/Kconfig |9 + > > crypto/Makefile|1 +

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Herbert Xu
On Fri, Sep 08, 2017 at 03:33:05PM -0400, Chris Mason wrote: > > crypto/Kconfig |9 + > > crypto/Makefile|1 +

Re: [PATCH 2/3] watchdog: jz4780: Allow selection of jz4740-wdt driver

2017-09-08 Thread Guenter Roeck
On 09/08/2017 11:35 AM, Mathieu Malaterre wrote: This driver works for jz4740 & jz4780 Suggested-by: Maarten ter Huurne Signed-off-by: Mathieu Malaterre Reviewed-by: Guenter Roeck --- drivers/watchdog/Kconfig | 2 +- 1 file

Re: [PATCH 2/3] watchdog: jz4780: Allow selection of jz4740-wdt driver

2017-09-08 Thread Guenter Roeck
On 09/08/2017 11:35 AM, Mathieu Malaterre wrote: This driver works for jz4740 & jz4780 Suggested-by: Maarten ter Huurne Signed-off-by: Mathieu Malaterre Reviewed-by: Guenter Roeck --- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-08 Thread 严海双
> On 2017年9月9日, at 上午6:13, Cong Wang wrote: > > On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan > wrote: >> Different namespace application might require different maximal number >> of TCP sockets independently of the host. > > So

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-08 Thread 严海双
> On 2017年9月9日, at 上午6:13, Cong Wang wrote: > > On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan > wrote: >> Different namespace application might require different maximal number >> of TCP sockets independently of the host. > > So after your patch we could have N *

RE: [PATCH RFC 0/6] Modify KSZ9477 DSA driver in preparation to add other KSZ switch drivers.

2017-09-08 Thread Tristram.Ha
> -Original Message- > From: Pavel Machek [mailto:pa...@ucw.cz] > Sent: Friday, September 08, 2017 1:54 AM > To: Tristram Ha - C24268 > Cc: and...@lunn.ch; muva...@gmail.com; nathan.leigh.con...@gmail.com; > vivien.dide...@savoirfairelinux.com; f.faine...@gmail.com; >

RE: [PATCH RFC 0/6] Modify KSZ9477 DSA driver in preparation to add other KSZ switch drivers.

2017-09-08 Thread Tristram.Ha
> -Original Message- > From: Pavel Machek [mailto:pa...@ucw.cz] > Sent: Friday, September 08, 2017 1:54 AM > To: Tristram Ha - C24268 > Cc: and...@lunn.ch; muva...@gmail.com; nathan.leigh.con...@gmail.com; > vivien.dide...@savoirfairelinux.com; f.faine...@gmail.com; >

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Linus Torvalds
On Fri, Sep 8, 2017 at 5:00 PM, Andy Lutomirski wrote: > > I'm not convinced. The SDM says (Vol 3, 11.3, under WC): > > If the WC buffer is partially filled, the writes may be delayed until > the next occurrence of a serializing event; such as, an SFENCE or > MFENCE instruction,

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Linus Torvalds
On Fri, Sep 8, 2017 at 5:00 PM, Andy Lutomirski wrote: > > I'm not convinced. The SDM says (Vol 3, 11.3, under WC): > > If the WC buffer is partially filled, the writes may be delayed until > the next occurrence of a serializing event; such as, an SFENCE or > MFENCE instruction, CPUID execution,

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Chris Mason
On 09/08/2017 03:33 PM, Chris Mason wrote: Hi Linus, Nick Terrell's patch series to add zstd support to the kernel has been floating around for a while. After talking with Dave Sterba, Herbert and Phillip, we decided to send the whole thing in as one pull request. I have it in my zstd

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Chris Mason
On 09/08/2017 03:33 PM, Chris Mason wrote: Hi Linus, Nick Terrell's patch series to add zstd support to the kernel has been floating around for a while. After talking with Dave Sterba, Herbert and Phillip, we decided to send the whole thing in as one pull request. I have it in my zstd

Re: [PATCH 04/14] ti_sci: Use %pS printk format for direct addresses

2017-09-08 Thread Santosh Shilimkar
On 9/8/2017 4:30 PM, Nishanth Menon wrote: On 20:27-20170906, Helge Deller wrote: Use the %pS printk format for printing symbols from direct addresses. This is important for the ia64, ppc64 and parisc64 architectures, while on other architectures there is no difference between %pS and %pF. Fix

Re: [PATCH 04/14] ti_sci: Use %pS printk format for direct addresses

2017-09-08 Thread Santosh Shilimkar
On 9/8/2017 4:30 PM, Nishanth Menon wrote: On 20:27-20170906, Helge Deller wrote: Use the %pS printk format for printing symbols from direct addresses. This is important for the ia64, ppc64 and parisc64 architectures, while on other architectures there is no difference between %pS and %pF. Fix

Re: [PATCH v3 03/13] xen/pvcalls: connect to the backend

2017-09-08 Thread Stefano Stabellini
On Fri, 11 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Implement the probe function for the pvcalls frontend. Read the > > supported versions, max-page-order and function-calls nodes from > > xenstore. > > > > Only one frontend<->backend connection is

Re: [PATCH v3 03/13] xen/pvcalls: connect to the backend

2017-09-08 Thread Stefano Stabellini
On Fri, 11 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Implement the probe function for the pvcalls frontend. Read the > > supported versions, max-page-order and function-calls nodes from > > xenstore. > > > > Only one frontend<->backend connection is

Re: [PATCH v3 02/13] xen/pvcalls: implement frontend disconnect

2017-09-08 Thread Stefano Stabellini
On Fri, 11 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Introduce a data structure named pvcalls_bedata. It contains pointers to > > the command ring, the event channel, a list of active sockets and a list > > of passive sockets. Lists accesses are

Re: [PATCH v3 02/13] xen/pvcalls: implement frontend disconnect

2017-09-08 Thread Stefano Stabellini
On Fri, 11 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Introduce a data structure named pvcalls_bedata. It contains pointers to > > the command ring, the event channel, a list of active sockets and a list > > of passive sockets. Lists accesses are

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Andy Lutomirski
On Fri, Sep 8, 2017 at 4:23 PM, Linus Torvalds wrote: > On Fri, Sep 8, 2017 at 4:07 PM, Andy Lutomirski wrote: >> >> I *think* this is impossible because CPU A's mm_cpumask manipulations >> are atomic and should therefore force out the streaming

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Andy Lutomirski
On Fri, Sep 8, 2017 at 4:23 PM, Linus Torvalds wrote: > On Fri, Sep 8, 2017 at 4:07 PM, Andy Lutomirski wrote: >> >> I *think* this is impossible because CPU A's mm_cpumask manipulations >> are atomic and should therefore force out the streaming write buffers, >> but maybe there's some other

Re: HID: Add quirk for Lenovo Yoga 910 with ITE Chipset

2017-09-08 Thread Javier Marcet
Hi, I just saw in master it has been superseded by a general fix which removed all quirks. So no need for it, it seems. On Sat, Sep 9, 2017 at 1:52 AM, Javier Marcet wrote: > Hi, > > I've been using a Lenovo Yoga 910 with convertible for the last few > months. Its sensors

Re: HID: Add quirk for Lenovo Yoga 910 with ITE Chipset

2017-09-08 Thread Javier Marcet
Hi, I just saw in master it has been superseded by a general fix which removed all quirks. So no need for it, it seems. On Sat, Sep 9, 2017 at 1:52 AM, Javier Marcet wrote: > Hi, > > I've been using a Lenovo Yoga 910 with convertible for the last few > months. Its sensors need a quirk to work,

Re: [PATCH] net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs

2017-09-08 Thread महेश बंडेवार
On Fri, Sep 8, 2017 at 7:30 AM, Nikolay Aleksandrov wrote: > On 08/09/17 17:17, Kosuke Tatsukawa wrote: >> Hi, >> >>> On 08/09/17 13:10, Nikolay Aleksandrov wrote: On 08/09/17 05:06, Kosuke Tatsukawa wrote: > Hi, > >> On 7.09.2017 01:47, Kosuke

Re: [PATCH] net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs

2017-09-08 Thread महेश बंडेवार
On Fri, Sep 8, 2017 at 7:30 AM, Nikolay Aleksandrov wrote: > On 08/09/17 17:17, Kosuke Tatsukawa wrote: >> Hi, >> >>> On 08/09/17 13:10, Nikolay Aleksandrov wrote: On 08/09/17 05:06, Kosuke Tatsukawa wrote: > Hi, > >> On 7.09.2017 01:47, Kosuke Tatsukawa wrote: >>> Commit

HID: Add quirk for Lenovo Yoga 910 with ITE Chipset

2017-09-08 Thread Javier Marcet
Hi, I've been using a Lenovo Yoga 910 with convertible for the last few months. Its sensors need a quirk to work, which may be should be generalized to all Yogas, the new 920 probably needs one too. Anyhow, I have been using this myself for the last few months and I would appreciate being able

HID: Add quirk for Lenovo Yoga 910 with ITE Chipset

2017-09-08 Thread Javier Marcet
Hi, I've been using a Lenovo Yoga 910 with convertible for the last few months. Its sensors need a quirk to work, which may be should be generalized to all Yogas, the new 920 probably needs one too. Anyhow, I have been using this myself for the last few months and I would appreciate being able

mmotm 2017-09-08-16-48 uploaded

2017-09-08 Thread akpm
The mm-of-the-moment snapshot 2017-09-08-16-48 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

mmotm 2017-09-08-16-48 uploaded

2017-09-08 Thread akpm
The mm-of-the-moment snapshot 2017-09-08-16-48 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH v3 09/13] xen/pvcalls: implement sendmsg

2017-09-08 Thread Stefano Stabellini
On Mon, 14 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Send data to an active socket by copying data to the "out" ring. Take > > the active socket out_mutex so that only one function can access the > > ring at any given time. > > > > If not enough room

Re: [PATCH v3 09/13] xen/pvcalls: implement sendmsg

2017-09-08 Thread Stefano Stabellini
On Mon, 14 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Send data to an active socket by copying data to the "out" ring. Take > > the active socket out_mutex so that only one function can access the > > ring at any given time. > > > > If not enough room

Re: [PATCH v8 2/3] ARM: dts: Add LVDS info for rk3288

2017-09-08 Thread Heiko Stuebner
Am Samstag, 2. September 2017, 19:28:52 CEST schrieb Sandy Huang: > add LVDS info in rk3288.dtsi for LVDS driver > This based on the patches from Mark yao and Heiko Stuebner. > > Signed-off-by: Mark yao > Signed-off-by: Heiko Stuebner > Signed-off-by:

Re: [PATCH v8 2/3] ARM: dts: Add LVDS info for rk3288

2017-09-08 Thread Heiko Stuebner
Am Samstag, 2. September 2017, 19:28:52 CEST schrieb Sandy Huang: > add LVDS info in rk3288.dtsi for LVDS driver > This based on the patches from Mark yao and Heiko Stuebner. > > Signed-off-by: Mark yao > Signed-off-by: Heiko Stuebner > Signed-off-by: Sandy Huang applied for 4.15 after moving

Re: [PATCH 07/14] power/avs: Use %pS printk format for direct addresses

2017-09-08 Thread Nishanth Menon
On 20:27-20170906, Helge Deller wrote: > Use the %pS instead of the %pF printk format specifier for printing symbols > from direct addresses. This is needed for the ia64, ppc64 and parisc64 > architectures. > > Signed-off-by: Helge Deller > Cc: Kevin Hilman >

Re: [PATCH 07/14] power/avs: Use %pS printk format for direct addresses

2017-09-08 Thread Nishanth Menon
On 20:27-20170906, Helge Deller wrote: > Use the %pS instead of the %pF printk format specifier for printing symbols > from direct addresses. This is needed for the ia64, ppc64 and parisc64 > architectures. > > Signed-off-by: Helge Deller > Cc: Kevin Hilman > Cc: Nishanth Menon > Cc:

[PATCH] docs: clean up and add rest of CRC functions to kernel-api.rst

2017-09-08 Thread Randy Dunlap
From: Randy Dunlap Add the rest of the CRC library functions to kernel-api. - try to clarify crc32() by adding '@' to a function parameter - reorder kernel-api CRC functions to be less random - add more CRC functions to kernel-api - correct the function parameter names in

[PATCH] docs: clean up and add rest of CRC functions to kernel-api.rst

2017-09-08 Thread Randy Dunlap
From: Randy Dunlap Add the rest of the CRC library functions to kernel-api. - try to clarify crc32() by adding '@' to a function parameter - reorder kernel-api CRC functions to be less random - add more CRC functions to kernel-api - correct the function parameter names in several places

Re: [PATCH 04/14] ti_sci: Use %pS printk format for direct addresses

2017-09-08 Thread Nishanth Menon
On 20:27-20170906, Helge Deller wrote: > Use the %pS printk format for printing symbols from direct addresses. > This is important for the ia64, ppc64 and parisc64 architectures, while on > other architectures there is no difference between %pS and %pF. > Fix it for consistency across the kernel.

Re: [PATCH 04/14] ti_sci: Use %pS printk format for direct addresses

2017-09-08 Thread Nishanth Menon
On 20:27-20170906, Helge Deller wrote: > Use the %pS printk format for printing symbols from direct addresses. > This is important for the ia64, ppc64 and parisc64 architectures, while on > other architectures there is no difference between %pS and %pF. > Fix it for consistency across the kernel.

Re: XFS mounted with 'discard' option - deleting fio test files slow

2017-09-08 Thread Hao Chen
This is expected. To get a better performance of XFS on NVMe drive, it is advised not use use the realtime discard option. https://www.intel.com/content/dam/support/us/en/documents/ssdc/data-center-ssds/Intel_Linux_NVMe_Guide_330602-002.pdf Hao Lu, Qian [2017-09-08

Re: XFS mounted with 'discard' option - deleting fio test files slow

2017-09-08 Thread Hao Chen
This is expected. To get a better performance of XFS on NVMe drive, it is advised not use use the realtime discard option. https://www.intel.com/content/dam/support/us/en/documents/ssdc/data-center-ssds/Intel_Linux_NVMe_Guide_330602-002.pdf Hao Lu, Qian [2017-09-08 17:17:07 +]

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Linus Torvalds
On Fri, Sep 8, 2017 at 4:07 PM, Andy Lutomirski wrote: > > I *think* this is impossible because CPU A's mm_cpumask manipulations > are atomic and should therefore force out the streaming write buffers, > but maybe there's some other scenario where this matters. I don't think

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Linus Torvalds
On Fri, Sep 8, 2017 at 4:07 PM, Andy Lutomirski wrote: > > I *think* this is impossible because CPU A's mm_cpumask manipulations > are atomic and should therefore force out the streaming write buffers, > but maybe there's some other scenario where this matters. I don't think atomic memops do

Re: [PATCH v3 04/13] xen/pvcalls: implement socket command and handle events

2017-09-08 Thread Stefano Stabellini
On Sat, 12 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Send a PVCALLS_SOCKET command to the backend, use the masked > > req_prod_pvt as req_id. This way, req_id is guaranteed to be between 0 > > and PVCALLS_NR_REQ_PER_RING. We already have a slot in the

Re: [PATCH v3 04/13] xen/pvcalls: implement socket command and handle events

2017-09-08 Thread Stefano Stabellini
On Sat, 12 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Send a PVCALLS_SOCKET command to the backend, use the masked > > req_prod_pvt as req_id. This way, req_id is guaranteed to be between 0 > > and PVCALLS_NR_REQ_PER_RING. We already have a slot in the

[PATCH 1/1] x86/hyper-V: Allocate the IDT entry early in boot

2017-09-08 Thread kys
From: "K. Y. Srinivasan" Allocate the hypervisor callback IDT entry early in the boot sequence. Signed-off-by: K. Y. Srinivasan --- arch/x86/kernel/cpu/mshyperv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 1/1] x86/hyper-V: Allocate the IDT entry early in boot

2017-09-08 Thread kys
From: "K. Y. Srinivasan" Allocate the hypervisor callback IDT entry early in the boot sequence. Signed-off-by: K. Y. Srinivasan --- arch/x86/kernel/cpu/mshyperv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/cpu/mshyperv.c

[GIT PULL] power-supply changes for 4.14

2017-09-08 Thread Sebastian Reichel
Hi Linus, The following changes since commit 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9: Linux 4.13-rc2 (2017-07-23 16:15:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/for-v4.14 for you to fetch changes up to

[GIT PULL] power-supply changes for 4.14

2017-09-08 Thread Sebastian Reichel
Hi Linus, The following changes since commit 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9: Linux 4.13-rc2 (2017-07-23 16:15:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/for-v4.14 for you to fetch changes up to

  1   2   3   4   5   6   7   8   9   10   >