Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-20 Thread Linus Torvalds
On Mon, Jun 20, 2016 at 4:43 PM, Andy Lutomirski wrote: > > On my laptop, this adds about 1.5µs of overhead to task creation, > which seems to be mainly caused by vmalloc inefficiently allocating > individual pages even when a higher-order page is available on the > freelist. I

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-20 Thread Linus Torvalds
On Mon, Jun 20, 2016 at 4:43 PM, Andy Lutomirski wrote: > > On my laptop, this adds about 1.5µs of overhead to task creation, > which seems to be mainly caused by vmalloc inefficiently allocating > individual pages even when a higher-order page is available on the > freelist. I really think that

Re: [v11,3/3] Bluetooth: hci_uart: Support firmware download for Marvell

2016-06-20 Thread Caesar Wang
On 2016年05月06日 23:31, Amitkumar Karwar wrote: From: Ganapathi Bhat This patch implement firmware download feature for Marvell Bluetooth devices. If firmware is already downloaded, it will skip downloading. Signed-off-by: Ganapathi Bhat Signed-off-by:

Re: [PATCH] net: vrf: replace hard tab with space in assignment

2016-06-20 Thread David Ahern
On 6/20/16 9:39 PM, Chris Packham wrote: The assignment of rth->dst.output in vrf_rt6_create() and vrf_rtable_create() used a hard tab before the '='. The neighboring assignments did not. Make the assignment of rth->dst.output consistent with the surrounding code. Signed-off-by: Chris Packham

Re: [v11,3/3] Bluetooth: hci_uart: Support firmware download for Marvell

2016-06-20 Thread Caesar Wang
On 2016年05月06日 23:31, Amitkumar Karwar wrote: From: Ganapathi Bhat This patch implement firmware download feature for Marvell Bluetooth devices. If firmware is already downloaded, it will skip downloading. Signed-off-by: Ganapathi Bhat Signed-off-by: Amitkumar Karwar Tested-by: Caesar

Re: [PATCH] net: vrf: replace hard tab with space in assignment

2016-06-20 Thread David Ahern
On 6/20/16 9:39 PM, Chris Packham wrote: The assignment of rth->dst.output in vrf_rt6_create() and vrf_rtable_create() used a hard tab before the '='. The neighboring assignments did not. Make the assignment of rth->dst.output consistent with the surrounding code. Signed-off-by: Chris Packham

Re: [PATCH 0/3] nvme: Don't add namespaces for locked drives

2016-06-20 Thread Jethro Beekman
On 20-06-16 15:54, Keith Busch wrote: > On Mon, Jun 20, 2016 at 11:21:09AM -0700, Jethro Beekman wrote: >> On 20-06-16 08:26, Keith Busch wrote: >> >> Would this just be a matter of setting req->retries and checking for it in >> nvme_req_needs_retry? How does one keep track of the number of tries

Re: [PATCH 0/3] nvme: Don't add namespaces for locked drives

2016-06-20 Thread Jethro Beekman
On 20-06-16 15:54, Keith Busch wrote: > On Mon, Jun 20, 2016 at 11:21:09AM -0700, Jethro Beekman wrote: >> On 20-06-16 08:26, Keith Busch wrote: >> >> Would this just be a matter of setting req->retries and checking for it in >> nvme_req_needs_retry? How does one keep track of the number of tries

[PATCH 4/6] kexec_file: Add mechanism to update kexec segments.

2016-06-20 Thread Thiago Jung Bauermann
kexec_update_segment allows a given segment in kexec_image to have its contents updated. This is useful if the current kernel wants to send information to the next kernel that is up-to-date at the time of reboot. Signed-off-by: Thiago Jung Bauermann ---

[PATCH 4/6] kexec_file: Add mechanism to update kexec segments.

2016-06-20 Thread Thiago Jung Bauermann
kexec_update_segment allows a given segment in kexec_image to have its contents updated. This is useful if the current kernel wants to send information to the next kernel that is up-to-date at the time of reboot. Signed-off-by: Thiago Jung Bauermann --- include/linux/kexec.h | 2 ++

[PATCH 5/6] kexec: Share logic to copy segment page contents.

2016-06-20 Thread Thiago Jung Bauermann
Make kimage_load_normal_segment and kexec_update_segment share code which they currently duplicate. Signed-off-by: Thiago Jung Bauermann --- kernel/kexec_core.c | 159 +++- 1 file changed, 95 insertions(+), 64

[PATCH 5/6] kexec: Share logic to copy segment page contents.

2016-06-20 Thread Thiago Jung Bauermann
Make kimage_load_normal_segment and kexec_update_segment share code which they currently duplicate. Signed-off-by: Thiago Jung Bauermann --- kernel/kexec_core.c | 159 +++- 1 file changed, 95 insertions(+), 64 deletions(-) diff --git

[PATCH net-next 17/19] net: hns: fix sbm default parameters config error

2016-06-20 Thread Yisen Zhuang
From: Daode Huang The default sbm config parameter leaves little buffer when there is heavy traffic, which will cause packets drop. This patch changes them to make enough buffers for handling packets. Signed-off-by: Daode Huang Signed-off-by:

[PATCH net-next 19/19] net: hns: bug fix about TSO on|off when there is traffic

2016-06-20 Thread Yisen Zhuang
From: Daode Huang When enable/disable tso, the driver tries to access the hardware register, but this operation will cause the port unavalible when there is traffic. This patch tries to enable TSO when initialize, then control tso through TSE bit in transmit descriptor.

[PATCH net-next 17/19] net: hns: fix sbm default parameters config error

2016-06-20 Thread Yisen Zhuang
From: Daode Huang The default sbm config parameter leaves little buffer when there is heavy traffic, which will cause packets drop. This patch changes them to make enough buffers for handling packets. Signed-off-by: Daode Huang Signed-off-by: Yisen Zhuang ---

[PATCH net-next 19/19] net: hns: bug fix about TSO on|off when there is traffic

2016-06-20 Thread Yisen Zhuang
From: Daode Huang When enable/disable tso, the driver tries to access the hardware register, but this operation will cause the port unavalible when there is traffic. This patch tries to enable TSO when initialize, then control tso through TSE bit in transmit descriptor. Signed-off-by: Daode

[PATCH net-next 06/19] net: hns: fix the error info when dma_set_mask_and_coherent fail

2016-06-20 Thread Yisen Zhuang
From: Qianqian Xie The error info should be printed as "set mask to 64bit fail!" instead of "set mask to 32bit fail!" in dma_set_mask_and_coherent(). Signed-off-by: Qianqian Xie Signed-off-by: Yisen Zhuang ---

[PATCH net-next 05/19] net: hns: Remove unnecessary device resource free

2016-06-20 Thread Yisen Zhuang
From: Qianqian Xie The driver uses devm_ioremap_resource, it will unmap the map automatically, remove the unnecessary the resource free. Signed-off-by: Qianqian Xie Reported-by: Kefeng Wang Signed-off-by: Yisen Zhuang

[PATCH net-next 06/19] net: hns: fix the error info when dma_set_mask_and_coherent fail

2016-06-20 Thread Yisen Zhuang
From: Qianqian Xie The error info should be printed as "set mask to 64bit fail!" instead of "set mask to 32bit fail!" in dma_set_mask_and_coherent(). Signed-off-by: Qianqian Xie Signed-off-by: Yisen Zhuang --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 2 +- 1 file changed, 1

[PATCH net-next 05/19] net: hns: Remove unnecessary device resource free

2016-06-20 Thread Yisen Zhuang
From: Qianqian Xie The driver uses devm_ioremap_resource, it will unmap the map automatically, remove the unnecessary the resource free. Signed-off-by: Qianqian Xie Reported-by: Kefeng Wang Signed-off-by: Yisen Zhuang --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 39

[PATCH net-next 04/19] net: hns: typo fix of annotation info for hns_nic_reset_subtask()

2016-06-20 Thread Yisen Zhuang
From: Qianqian Xie The annotation info for hns_nic_reset_subtask() should be "for resetting subtask" instead of "for resetting suntask". Signed-off-by: Qianqian Xie Signed-off-by: Yisen Zhuang ---

[PATCH net-next 04/19] net: hns: typo fix of annotation info for hns_nic_reset_subtask()

2016-06-20 Thread Yisen Zhuang
From: Qianqian Xie The annotation info for hns_nic_reset_subtask() should be "for resetting subtask" instead of "for resetting suntask". Signed-off-by: Qianqian Xie Signed-off-by: Yisen Zhuang --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH net-next 08/19] net: hns: fix ethtool loopback fail bug

2016-06-20 Thread Yisen Zhuang
From: Kejian Yan When run ethtool cmd(ethtool -t ethx) again and again for a long time, it will be probabilistically fail. The PHYs' registers may be on different pages, so it must be switch to the right page before setting PHYs' registers. And __lb_up() calls phy_start()

[PATCH net-next 16/19] net: hns: fix bug that alloc skb fail lead to port unavailable

2016-06-20 Thread Yisen Zhuang
From: Jun He When hns_nic_poll_rx_skb alloc skb fail, it will break receive cycle and read new fbd_num to start new receive cycle. It recomputes cycle num is fbd_num minus clean_count, actually this cycle num is too big because it drop out receive cycle. It brings about the

[PATCH net-next 08/19] net: hns: fix ethtool loopback fail bug

2016-06-20 Thread Yisen Zhuang
From: Kejian Yan When run ethtool cmd(ethtool -t ethx) again and again for a long time, it will be probabilistically fail. The PHYs' registers may be on different pages, so it must be switch to the right page before setting PHYs' registers. And __lb_up() calls phy_start() to startup the PHYs

[PATCH net-next 16/19] net: hns: fix bug that alloc skb fail lead to port unavailable

2016-06-20 Thread Yisen Zhuang
From: Jun He When hns_nic_poll_rx_skb alloc skb fail, it will break receive cycle and read new fbd_num to start new receive cycle. It recomputes cycle num is fbd_num minus clean_count, actually this cycle num is too big because it drop out receive cycle. It brings about the port unavailable. So

[PATCH net-next 14/19] net: hns: delete redundancy ring enable operations

2016-06-20 Thread Yisen Zhuang
From: Daode Huang When network interface is enabled, the ring enable operation is conducted twice. This patch deletes the redundancy code of ring enable, and integrates hnae_ae_ops.toggle_queue_status other functions to hns_ae_start. Signed-off-by: Daode Huang

[PATCH net-next 02/19] net: hns: fix hns dsaf v1 dont support tx_pause close

2016-06-20 Thread Yisen Zhuang
From: Qianqian Xie For service port, hns dsaf v1 support to close tx_pause. However, the port will be invalid when it run command ethtool to close tx_pause. This patch will fix it. Signed-off-by: Qianqian Xie Signed-off-by: Yisen Zhuang

[PATCH net-next 03/19] net: hns: add skb_reset_mac_header() after skb being alloc

2016-06-20 Thread Yisen Zhuang
From: Kejian Yan HNS receives a packet without doing anything, but it should call skb_reset_mac_header() to initialize the header before using eth_hdr(). Fixes: 0d6b425a3773c3445b0f51b2f333821beaacb619 Signed-off-by: Kejian Yan Signed-off-by: Yisen

[PATCH net-next 02/19] net: hns: fix hns dsaf v1 dont support tx_pause close

2016-06-20 Thread Yisen Zhuang
From: Qianqian Xie For service port, hns dsaf v1 support to close tx_pause. However, the port will be invalid when it run command ethtool to close tx_pause. This patch will fix it. Signed-off-by: Qianqian Xie Signed-off-by: Yisen Zhuang --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c

[PATCH net-next 03/19] net: hns: add skb_reset_mac_header() after skb being alloc

2016-06-20 Thread Yisen Zhuang
From: Kejian Yan HNS receives a packet without doing anything, but it should call skb_reset_mac_header() to initialize the header before using eth_hdr(). Fixes: 0d6b425a3773c3445b0f51b2f333821beaacb619 Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang ---

[PATCH net-next 14/19] net: hns: delete redundancy ring enable operations

2016-06-20 Thread Yisen Zhuang
From: Daode Huang When network interface is enabled, the ring enable operation is conducted twice. This patch deletes the redundancy code of ring enable, and integrates hnae_ae_ops.toggle_queue_status other functions to hns_ae_start. Signed-off-by: Daode Huang Signed-off-by: Yisen Zhuang ---

[PATCH net-next 15/19] net: hns: bug fix about led control logic when link down

2016-06-20 Thread Yisen Zhuang
From: Daode Huang The default driver sets anchor led bit to 0 when link down, actually, the anchor bit should be set to 1, so fixes it when link status is down. Secondly, change the return value of cpld_set_led_id to 0, which means leave the cpld to control led blink

[PATCH net-next 15/19] net: hns: bug fix about led control logic when link down

2016-06-20 Thread Yisen Zhuang
From: Daode Huang The default driver sets anchor led bit to 0 when link down, actually, the anchor bit should be set to 1, so fixes it when link status is down. Secondly, change the return value of cpld_set_led_id to 0, which means leave the cpld to control led blink frequece other than the

[PATCH net-next 18/19] net: hns: change the default coalesce usecs

2016-06-20 Thread Yisen Zhuang
From: Daode Huang The default coalesce timeout is 3us, which is will cause CPU usage is too high. This patch change it to 50us in order to reduce CPU usage and the value makes sure network latency also meets requirement. Signed-off-by: Daode Huang

[PATCH net-next 00/19] net: hns: fix some bugs in hns driver

2016-06-20 Thread Yisen Zhuang
This series includes some bugs fixed. All these patches needs to be applied after the patchset about ACPI support, so this series is floated to net-next list. The patches are: > from Daode, fixes about pfc pause frame, getting coaslesce, led control logic, TSO on|off and tcam table

[PATCH net-next 18/19] net: hns: change the default coalesce usecs

2016-06-20 Thread Yisen Zhuang
From: Daode Huang The default coalesce timeout is 3us, which is will cause CPU usage is too high. This patch change it to 50us in order to reduce CPU usage and the value makes sure network latency also meets requirement. Signed-off-by: Daode Huang Signed-off-by: Yisen Zhuang ---

[PATCH net-next 00/19] net: hns: fix some bugs in hns driver

2016-06-20 Thread Yisen Zhuang
This series includes some bugs fixed. All these patches needs to be applied after the patchset about ACPI support, so this series is floated to net-next list. The patches are: > from Daode, fixes about pfc pause frame, getting coaslesce, led control logic, TSO on|off and tcam table

[PATCH net-next 01/19] net: hns: bug fix of ge reset sequence

2016-06-20 Thread Yisen Zhuang
From: Qianqian Xie The bit fileds of PPE reset register are different between HNS v1 and HNS v2, but the current procedure just only match HNS v1. Here is a patch to fix it. Signed-off-by: Kejian Yan Signed-off-by: Qianqian Xie

[PATCH net-next 10/19] net: hns: bugfix about pfc pause frame statistics

2016-06-20 Thread Yisen Zhuang
From: Daode Huang For SoC hip06, PFC pause handled in dsaf, while hip05 in XGMAC, so change the statistics of pfc pause in dsaf and remove the old pfc pause frame statistics. Signed-off-by: Daode Huang Signed-off-by: Yisen Zhuang

[PATCH net-next 12/19] net: hns: fix bug of getting the wrong tcam data

2016-06-20 Thread Yisen Zhuang
From: Daode Huang The current driver stores the high bit value of tcam data register to the tcam data low element, stores the low bit value of tcam data register to tcam data high element, this patch fixes this bug. Signed-off-by: Daode Huang

[PATCH net-next 01/19] net: hns: bug fix of ge reset sequence

2016-06-20 Thread Yisen Zhuang
From: Qianqian Xie The bit fileds of PPE reset register are different between HNS v1 and HNS v2, but the current procedure just only match HNS v1. Here is a patch to fix it. Signed-off-by: Kejian Yan Signed-off-by: Qianqian Xie Signed-off-by: Yisen Zhuang ---

[PATCH net-next 10/19] net: hns: bugfix about pfc pause frame statistics

2016-06-20 Thread Yisen Zhuang
From: Daode Huang For SoC hip06, PFC pause handled in dsaf, while hip05 in XGMAC, so change the statistics of pfc pause in dsaf and remove the old pfc pause frame statistics. Signed-off-by: Daode Huang Signed-off-by: Yisen Zhuang --- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 +-

[PATCH net-next 12/19] net: hns: fix bug of getting the wrong tcam data

2016-06-20 Thread Yisen Zhuang
From: Daode Huang The current driver stores the high bit value of tcam data register to the tcam data low element, stores the low bit value of tcam data register to tcam data high element, this patch fixes this bug. Signed-off-by: Daode Huang Signed-off-by: Yisen Zhuang ---

[PATCH net-next 11/19] net: hns: add spin lock for tcam table operation

2016-06-20 Thread Yisen Zhuang
From: Daode Huang This patch adds spin lock for tcam table operation, there maybe a race condition happens when more than one thread try to change the tcam talbe entries. Signed-off-by: Daode Huang Signed-off-by: Yisen Zhuang

[PATCH net-next 09/19] net: hns: fix the wrong speed for bond

2016-06-20 Thread Yisen Zhuang
From: Qianqian Xie For debug-ports,there are two non-synchronized processes: Speed-Auto-Negotiation and Link-Update-Status. The two processes are towed by two different state machines. Bond reads the speed when link up, but the speed maybe not update the right value at

[PATCH net-next 11/19] net: hns: add spin lock for tcam table operation

2016-06-20 Thread Yisen Zhuang
From: Daode Huang This patch adds spin lock for tcam table operation, there maybe a race condition happens when more than one thread try to change the tcam talbe entries. Signed-off-by: Daode Huang Signed-off-by: Yisen Zhuang --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 25

[PATCH net-next 09/19] net: hns: fix the wrong speed for bond

2016-06-20 Thread Yisen Zhuang
From: Qianqian Xie For debug-ports,there are two non-synchronized processes: Speed-Auto-Negotiation and Link-Update-Status. The two processes are towed by two different state machines. Bond reads the speed when link up, but the speed maybe not update the right value at that time.That make for

[PATCH net-next 13/19] net: hns: add get_coalesce_range api for hns

2016-06-20 Thread Yisen Zhuang
From: Daode Huang This patch adds get_coalesce_range api for hns, it shows range of coalesce usecs and frames that can be set on this interface. Signed-off-by: Daode Huang Signed-off-by: Yisen Zhuang ---

[PATCH] net: vrf: replace hard tab with space in assignment

2016-06-20 Thread Chris Packham
The assignment of rth->dst.output in vrf_rt6_create() and vrf_rtable_create() used a hard tab before the '='. The neighboring assignments did not. Make the assignment of rth->dst.output consistent with the surrounding code. Signed-off-by: Chris Packham ---

[PATCH] net: vrf: replace hard tab with space in assignment

2016-06-20 Thread Chris Packham
The assignment of rth->dst.output in vrf_rt6_create() and vrf_rtable_create() used a hard tab before the '='. The neighboring assignments did not. Make the assignment of rth->dst.output consistent with the surrounding code. Signed-off-by: Chris Packham --- drivers/net/vrf.c | 4 ++-- 1 file

[PATCH net-next 13/19] net: hns: add get_coalesce_range api for hns

2016-06-20 Thread Yisen Zhuang
From: Daode Huang This patch adds get_coalesce_range api for hns, it shows range of coalesce usecs and frames that can be set on this interface. Signed-off-by: Daode Huang Signed-off-by: Yisen Zhuang --- drivers/net/ethernet/hisilicon/hns/hnae.h | 5 +

[PATCH net-next 07/19] net: hns: select Hilink before serdes loopback for HNS V2

2016-06-20 Thread Yisen Zhuang
From: Kejian Yan As Hilink3 and Hilink4 use the same xge training and xge u adaptor for HNSv2, it needs to select which Hilink to be set before relative serdes being configed. The hilink_access_sel is the register to do that. Signed-off-by: Kejian Yan

[PATCH net-next 07/19] net: hns: select Hilink before serdes loopback for HNS V2

2016-06-20 Thread Yisen Zhuang
From: Kejian Yan As Hilink3 and Hilink4 use the same xge training and xge u adaptor for HNSv2, it needs to select which Hilink to be set before relative serdes being configed. The hilink_access_sel is the register to do that. Signed-off-by: Kejian Yan Signed-off-by: Yisen Zhuang ---

Re: [RESEND PATCH v2 3/4] PCI: Add a new option for resource_alignment to reassign alignment

2016-06-20 Thread Yongji Xie
On 2016/6/21 9:57, Bjorn Helgaas wrote: On Thu, Jun 02, 2016 at 01:46:50PM +0800, Yongji Xie wrote: When using resource_alignment kernel parameter, the current implement reassigns the alignment by changing resources' size which can potentially break some drivers. For example, the driver uses

Re: [RESEND PATCH v2 3/4] PCI: Add a new option for resource_alignment to reassign alignment

2016-06-20 Thread Yongji Xie
On 2016/6/21 9:57, Bjorn Helgaas wrote: On Thu, Jun 02, 2016 at 01:46:50PM +0800, Yongji Xie wrote: When using resource_alignment kernel parameter, the current implement reassigns the alignment by changing resources' size which can potentially break some drivers. For example, the driver uses

[PATCH 2/6] powerpc: kexec_file: Add buffer hand-over support for the next kernel

2016-06-20 Thread Thiago Jung Bauermann
The buffer hand-over mechanism allows the currently running kernel to pass data to kernel that will be kexec'd via a kexec segment. The second kernel can check whether the previous kernel sent data and retrieve it. This is the architecture-specific part. Signed-off-by: Thiago Jung Bauermann

[PATCH 2/6] powerpc: kexec_file: Add buffer hand-over support for the next kernel

2016-06-20 Thread Thiago Jung Bauermann
The buffer hand-over mechanism allows the currently running kernel to pass data to kernel that will be kexec'd via a kexec segment. The second kernel can check whether the previous kernel sent data and retrieve it. This is the architecture-specific part. Signed-off-by: Thiago Jung Bauermann ---

Re: [PATCH 1/3] ARM: dts: imx7d: create i.MX 7Solo base device tree

2016-06-20 Thread Shawn Guo
On Sat, Jun 18, 2016 at 09:20:05PM -0700, Stefan Agner wrote: > On 2016-06-11 18:35, Shawn Guo wrote: > > On Tue, Jun 07, 2016 at 07:37:07PM -0700, Stefan Agner wrote: > >> The i.MX 7 series currently consists of two SoCs: i.MX 7Solo and > >> 7Dual. The i.MX 7Solo implements a subset of features

Re: [PATCH 1/3] ARM: dts: imx7d: create i.MX 7Solo base device tree

2016-06-20 Thread Shawn Guo
On Sat, Jun 18, 2016 at 09:20:05PM -0700, Stefan Agner wrote: > On 2016-06-11 18:35, Shawn Guo wrote: > > On Tue, Jun 07, 2016 at 07:37:07PM -0700, Stefan Agner wrote: > >> The i.MX 7 series currently consists of two SoCs: i.MX 7Solo and > >> 7Dual. The i.MX 7Solo implements a subset of features

Re: [PATCH 10/12] lguest: Only descend into lguest directory when CONFIG_LGUEST is set

2016-06-20 Thread Rusty Russell
"Andrew F. Davis" writes: > When CONFIG_LGUEST is not set make will still descend into the lguest > directory but nothing will be built. This produces unneeded build > artifacts and messages in addition to slowing the build. Fix this here. > > Signed-off-by: Andrew F. Davis

Re: [PATCH 10/12] lguest: Only descend into lguest directory when CONFIG_LGUEST is set

2016-06-20 Thread Rusty Russell
"Andrew F. Davis" writes: > When CONFIG_LGUEST is not set make will still descend into the lguest > directory but nothing will be built. This produces unneeded build > artifacts and messages in addition to slowing the build. Fix this here. > > Signed-off-by: Andrew F. Davis > --- >

[PATCH] cgroup: Add pids controller event when fork fails because of pid limit

2016-06-20 Thread Kenny Yu
Summary: This patch adds more visibility into the pids controller when the controller rejects a fork request. Whenever fork fails because the limit on the number of pids in the cgroup is reached, the controller will log this and also notify the newly added cgroups events file. The `max` key in the

[PATCH] cgroup: Add pids controller event when fork fails because of pid limit

2016-06-20 Thread Kenny Yu
Summary: This patch adds more visibility into the pids controller when the controller rejects a fork request. Whenever fork fails because the limit on the number of pids in the cgroup is reached, the controller will log this and also notify the newly added cgroups events file. The `max` key in the

Re: [GIT PULL 00/10] perf/core improvements and fixes

2016-06-20 Thread Brendan Gregg
available in the git repository at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > > tags/perf-core-for-mingo-20160620 > > > > for you to fetch changes up to 2a0a7c72702bac1b87cd4d49196a334483386fab: > > > > perf script: Add

Re: [GIT PULL 00/10] perf/core improvements and fixes

2016-06-20 Thread Brendan Gregg
itory at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > > tags/perf-core-for-mingo-20160620 > > > > for you to fetch changes up to 2a0a7c72702bac1b87cd4d49196a334483386fab: > > > > perf script: Add stackcollapse.py script (2016

Re: [RESEND PATCH v2 2/4] PCI: Do not Use IORESOURCE_STARTALIGN to identify bridge resources

2016-06-20 Thread Yongji Xie
On 2016/6/21 9:50, Bjorn Helgaas wrote: On Thu, Jun 02, 2016 at 01:46:49PM +0800, Yongji Xie wrote: Now we use the IORESOURCE_STARTALIGN to identify bridge resources in __assign_resources_sorted(). That's quite fragile. We can't make sure that the PCI devices' resources will not use

Re: [RESEND PATCH v2 2/4] PCI: Do not Use IORESOURCE_STARTALIGN to identify bridge resources

2016-06-20 Thread Yongji Xie
On 2016/6/21 9:50, Bjorn Helgaas wrote: On Thu, Jun 02, 2016 at 01:46:49PM +0800, Yongji Xie wrote: Now we use the IORESOURCE_STARTALIGN to identify bridge resources in __assign_resources_sorted(). That's quite fragile. We can't make sure that the PCI devices' resources will not use

RE: mmc: dw_mmc: warning with CONFIG_DMA_API_DEBUG

2016-06-20 Thread Seung-Woo Kim
Hello Shawn, > -Original Message- > From: Shawn Lin [mailto:shawn@rock-chips.com] > Sent: Tuesday, June 21, 2016 10:52 AM > To: Seung-Woo Kim; jh80.ch...@samsung.com; ulf.hans...@linaro.org; > linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org > Cc: shawn@rock-chips.com >

RE: mmc: dw_mmc: warning with CONFIG_DMA_API_DEBUG

2016-06-20 Thread Seung-Woo Kim
Hello Shawn, > -Original Message- > From: Shawn Lin [mailto:shawn@rock-chips.com] > Sent: Tuesday, June 21, 2016 10:52 AM > To: Seung-Woo Kim; jh80.ch...@samsung.com; ulf.hans...@linaro.org; > linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org > Cc: shawn@rock-chips.com >

[PATCH v7 3/5] tpm: Clean up reading of timeout and duration capabilities

2016-06-20 Thread Ed Swierk
Call tpm_getcap() from tpm_get_timeouts() to eliminate redundant code. Return all errors to the caller rather than swallowing them (e.g. when tpm_transmit_cmd() returns nonzero). Signed-off-by: Ed Swierk --- drivers/char/tpm/tpm-interface.c | 74

[PATCH v7 3/5] tpm: Clean up reading of timeout and duration capabilities

2016-06-20 Thread Ed Swierk
Call tpm_getcap() from tpm_get_timeouts() to eliminate redundant code. Return all errors to the caller rather than swallowing them (e.g. when tpm_transmit_cmd() returns nonzero). Signed-off-by: Ed Swierk --- drivers/char/tpm/tpm-interface.c | 74 +++- 1 file

Re: [RESEND PATCH v2 4/4] PCI: Add support for enforcing all MMIO BARs to be page aligned

2016-06-20 Thread Bjorn Helgaas
On Thu, Jun 02, 2016 at 01:46:51PM +0800, Yongji Xie wrote: > When vfio passthrough a PCI device of which MMIO BARs are > smaller than PAGE_SIZE, guest will not handle the mmio > accesses to the BARs which leads to mmio emulations in host. > > This is because vfio will not allow to passthrough

Re: [RESEND PATCH v2 4/4] PCI: Add support for enforcing all MMIO BARs to be page aligned

2016-06-20 Thread Bjorn Helgaas
On Thu, Jun 02, 2016 at 01:46:51PM +0800, Yongji Xie wrote: > When vfio passthrough a PCI device of which MMIO BARs are > smaller than PAGE_SIZE, guest will not handle the mmio > accesses to the BARs which leads to mmio emulations in host. > > This is because vfio will not allow to passthrough

Re: [PATCH 2/2] perf record: Add --dry-run option to check cmdline options

2016-06-20 Thread David Ahern
On 6/20/16 8:02 PM, Namhyung Kim wrote: On Tue, Jun 21, 2016 at 3:13 AM, Arnaldo Carvalho de Melo wrote: Em Mon, Jun 20, 2016 at 09:22:11AM -0700, Alexei Starovoitov escreveu: On Mon, Jun 20, 2016 at 11:38:18AM -0300, Arnaldo Carvalho de Melo wrote: Doing: perf bcc -c

Re: [PATCH 2/2] perf record: Add --dry-run option to check cmdline options

2016-06-20 Thread David Ahern
On 6/20/16 8:02 PM, Namhyung Kim wrote: On Tue, Jun 21, 2016 at 3:13 AM, Arnaldo Carvalho de Melo wrote: Em Mon, Jun 20, 2016 at 09:22:11AM -0700, Alexei Starovoitov escreveu: On Mon, Jun 20, 2016 at 11:38:18AM -0300, Arnaldo Carvalho de Melo wrote: Doing: perf bcc -c foo.c Looks

Re: [patch V2 00/20] timer: Refactor the timer wheel

2016-06-20 Thread Eric Dumazet
On Mon, Jun 20, 2016 at 12:03 PM, Rik van Riel wrote: > On Mon, 2016-06-20 at 15:56 +0200, Thomas Gleixner wrote: >> >> 2) Cut off at 37hrs for HZ=1000. We could make this configurable as a >> 1000HZ >>option so datacenter folks can use this and people who don't care >> and

Re: [patch V2 00/20] timer: Refactor the timer wheel

2016-06-20 Thread Eric Dumazet
On Mon, Jun 20, 2016 at 12:03 PM, Rik van Riel wrote: > On Mon, 2016-06-20 at 15:56 +0200, Thomas Gleixner wrote: >> >> 2) Cut off at 37hrs for HZ=1000. We could make this configurable as a >> 1000HZ >>option so datacenter folks can use this and people who don't care >> and want >>better

[PATCH V2] coresight-stm: support mmapping channel regions with mmio_addr

2016-06-20 Thread Chunyan Zhang
CoreSight STM device allows direct mapping of the channel regions to userspace for zero-copy writing. To support this ability, the STM framework has provided a hook 'mmio_addr', this patch just implemented this hook for CoreSight STM. This patch also added an item into 'channel_space' to save the

[PATCH V2] coresight-stm: support mmapping channel regions with mmio_addr

2016-06-20 Thread Chunyan Zhang
CoreSight STM device allows direct mapping of the channel regions to userspace for zero-copy writing. To support this ability, the STM framework has provided a hook 'mmio_addr', this patch just implemented this hook for CoreSight STM. This patch also added an item into 'channel_space' to save the

Re: mmc: dw_mmc: warning with CONFIG_DMA_API_DEBUG

2016-06-20 Thread Shawn Lin
On 2016/6/21 10:24, Seung-Woo Kim wrote: Hello Shawn, -Original Message- From: Shawn Lin [mailto:shawn@rock-chips.com] Sent: Tuesday, June 21, 2016 10:52 AM To: Seung-Woo Kim; jh80.ch...@samsung.com; ulf.hans...@linaro.org; linux-...@vger.kernel.org; linux- ker...@vger.kernel.org

Re: mmc: dw_mmc: warning with CONFIG_DMA_API_DEBUG

2016-06-20 Thread Shawn Lin
On 2016/6/21 10:24, Seung-Woo Kim wrote: Hello Shawn, -Original Message- From: Shawn Lin [mailto:shawn@rock-chips.com] Sent: Tuesday, June 21, 2016 10:52 AM To: Seung-Woo Kim; jh80.ch...@samsung.com; ulf.hans...@linaro.org; linux-...@vger.kernel.org; linux- ker...@vger.kernel.org

RE: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2016-06-20 Thread Yoshihiro Shimoda
Hi Roger, > From: Roger Quadros > Sent: Monday, June 20, 2016 7:13 PM > > Hi, > > On 20/06/16 10:45, Felipe Balbi wrote: < snip > > >> diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h > >> index f4fc0aa..1d74fb8 100644 > >> --- a/include/linux/usb/gadget.h > >> +++

RE: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2016-06-20 Thread Yoshihiro Shimoda
Hi Roger, > From: Roger Quadros > Sent: Monday, June 20, 2016 7:13 PM > > Hi, > > On 20/06/16 10:45, Felipe Balbi wrote: < snip > > >> diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h > >> index f4fc0aa..1d74fb8 100644 > >> --- a/include/linux/usb/gadget.h > >> +++

Re: [GIT PULL 00/10] perf/core improvements and fixes

2016-06-20 Thread Namhyung Kim
r-mingo-20160615' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core > (2016-06-16 10:27:35 +0200) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for

Re: [GIT PULL 00/10] perf/core improvements and fixes

2016-06-20 Thread Namhyung Kim
r-mingo-20160615' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core > (2016-06-16 10:27:35 +0200) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for

Re: [PATCH 1/2 RESEND] staging: dgnc: remove redundant NULL checks in

2016-06-20 Thread DaeSeok Youn
2016-06-16 18:23 GMT+09:00 DaeSeok Youn : > 2016-05-10 15:44 GMT+09:00 Daeseok Youn : >> The dgnc_block_til_ready() is only used in dgnc_tty_open(). >> The unit data(struct un_t) was stored into tty->driver_data in >> dgnc_tty_open(). >> And also

Re: [PATCH 1/2 RESEND] staging: dgnc: remove redundant NULL checks in

2016-06-20 Thread DaeSeok Youn
2016-06-16 18:23 GMT+09:00 DaeSeok Youn : > 2016-05-10 15:44 GMT+09:00 Daeseok Youn : >> The dgnc_block_til_ready() is only used in dgnc_tty_open(). >> The unit data(struct un_t) was stored into tty->driver_data in >> dgnc_tty_open(). >> And also tty and un were tested about NULL so these

Re: [PATCH v3 0/6] Introduce ZONE_CMA

2016-06-20 Thread Chen Feng
On 2016/6/20 14:48, Joonsoo Kim wrote: > On Fri, Jun 17, 2016 at 03:38:49PM +0800, Chen Feng wrote: >> Hi Kim & feng, >> >> Thanks for the share. In our platform also has the same use case. >> >> We only let the alloc with GFP_HIGHUSER_MOVABLE in memory.c to use cma >> memory. >> >> If we add

Re: [PATCH v3 0/6] Introduce ZONE_CMA

2016-06-20 Thread Chen Feng
On 2016/6/20 14:48, Joonsoo Kim wrote: > On Fri, Jun 17, 2016 at 03:38:49PM +0800, Chen Feng wrote: >> Hi Kim & feng, >> >> Thanks for the share. In our platform also has the same use case. >> >> We only let the alloc with GFP_HIGHUSER_MOVABLE in memory.c to use cma >> memory. >> >> If we add

Re: [PATCH] scsi: libfc: fix seconds_since_last_reset calculation

2016-06-20 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> The fc_get_host_stats() function contains a complex conversion Arnd> from jiffies to timespec to seconds. As we try to get rid of uses Arnd> of struct timespec, we can clean this up and replace it with a Arnd> simpler computation. Arnd>

Re: [PATCH] scsi: libfc: fix seconds_since_last_reset calculation

2016-06-20 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> The fc_get_host_stats() function contains a complex conversion Arnd> from jiffies to timespec to seconds. As we try to get rid of uses Arnd> of struct timespec, we can clean this up and replace it with a Arnd> simpler computation. Arnd> Simply

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-06-20 Thread CK Hu
On Mon, 2016-06-20 at 19:22 +0800, Horng-Shyang Liao wrote: > On Mon, 2016-06-20 at 18:41 +0800, CK Hu wrote: > > Hi, HS: > > > > One comment inline. > > > > On Mon, 2016-05-30 at 11:19 +0800, HS Liao wrote: > > > This patch is first version of Mediatek Command Queue(CMDQ) driver. The > > > CMDQ

Re: [PATCH 2/2] perf record: Add --dry-run option to check cmdline options

2016-06-20 Thread Namhyung Kim
On Tue, Jun 21, 2016 at 3:13 AM, Arnaldo Carvalho de Melo wrote: > Em Mon, Jun 20, 2016 at 09:22:11AM -0700, Alexei Starovoitov escreveu: >> On Mon, Jun 20, 2016 at 11:38:18AM -0300, Arnaldo Carvalho de Melo wrote: >> > Doing: > >> > perf bcc -c foo.c > >> > Looks so much

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-06-20 Thread CK Hu
On Mon, 2016-06-20 at 19:22 +0800, Horng-Shyang Liao wrote: > On Mon, 2016-06-20 at 18:41 +0800, CK Hu wrote: > > Hi, HS: > > > > One comment inline. > > > > On Mon, 2016-05-30 at 11:19 +0800, HS Liao wrote: > > > This patch is first version of Mediatek Command Queue(CMDQ) driver. The > > > CMDQ

Re: [PATCH 2/2] perf record: Add --dry-run option to check cmdline options

2016-06-20 Thread Namhyung Kim
On Tue, Jun 21, 2016 at 3:13 AM, Arnaldo Carvalho de Melo wrote: > Em Mon, Jun 20, 2016 at 09:22:11AM -0700, Alexei Starovoitov escreveu: >> On Mon, Jun 20, 2016 at 11:38:18AM -0300, Arnaldo Carvalho de Melo wrote: >> > Doing: > >> > perf bcc -c foo.c > >> > Looks so much simpler and similar

Re: [PATCH 0/3] Fixes on remote unwind

2016-06-20 Thread Hekuang
在 2016/6/8 18:15, He Kuang 写道: The remote unwind can supported scenario where we collect on a x86_64 machine and want to do analysis on a ARM64 or x86-32 machine. Though this is not tested, after Arnaldo questioned the above issue, I tested and found a bug. In util/unwind-libunwind-local.c,

Re: [PATCH 0/3] Fixes on remote unwind

2016-06-20 Thread Hekuang
在 2016/6/8 18:15, He Kuang 写道: The remote unwind can supported scenario where we collect on a x86_64 machine and want to do analysis on a ARM64 or x86-32 machine. Though this is not tested, after Arnaldo questioned the above issue, I tested and found a bug. In util/unwind-libunwind-local.c,

Re: [PATCH] VMW_PVSCSI: Change to update maintainer details (name, email)

2016-06-20 Thread Martin K. Petersen
> "Jim" == Jim Gill writes: Updated MAINTAINERS accordingly and applied to 4.8/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] more mapcount page as kpage could reduce total replacement times than fewer mapcount one in probability.

2016-06-20 Thread zhouxianrong
hey hugh: could you please give me some suggestion about this ? On 2016/6/15 9:56, zhouxianr...@huawei.com wrote: From: z00281421 more mapcount page as kpage could reduce total replacement times than fewer mapcount one when ksmd scan and replace among

<    1   2   3   4   5   6   7   8   9   10   >