Re: [PATCH] EDAC: remove unnecessary static in edac_fake_inject_write()

2017-07-22 Thread Julia Lawall
On Sun, 23 Jul 2017, Gustavo A. R. Silva wrote: > Hi Julia, > > On 07/23/2017 12:07 AM, Julia Lawall wrote: > > > > > > On Sat, 22 Jul 2017, Gustavo A. R. Silva wrote: > > > > > Hi Julia, Borislav, > > > > > > On 07/22/2017 11:22 AM, Gustavo A. R. Silva wrote: > > > > Hi all, > > > > > > > > On

Re: [PATCH] EDAC: remove unnecessary static in edac_fake_inject_write()

2017-07-22 Thread Julia Lawall
On Sun, 23 Jul 2017, Gustavo A. R. Silva wrote: > Hi Julia, > > On 07/23/2017 12:07 AM, Julia Lawall wrote: > > > > > > On Sat, 22 Jul 2017, Gustavo A. R. Silva wrote: > > > > > Hi Julia, Borislav, > > > > > > On 07/22/2017 11:22 AM, Gustavo A. R. Silva wrote: > > > > Hi all, > > > > > > > > On

Re: [PATCH] EDAC: remove unnecessary static in edac_fake_inject_write()

2017-07-22 Thread Gustavo A. R. Silva
Hi Julia, On 07/23/2017 12:07 AM, Julia Lawall wrote: On Sat, 22 Jul 2017, Gustavo A. R. Silva wrote: Hi Julia, Borislav, On 07/22/2017 11:22 AM, Gustavo A. R. Silva wrote: Hi all, On 07/22/2017 01:36 AM, Borislav Petkov wrote: On Fri, Jul 21, 2017 at 10:08:12PM +0200, Julia Lawall

Re: [PATCH] EDAC: remove unnecessary static in edac_fake_inject_write()

2017-07-22 Thread Gustavo A. R. Silva
Hi Julia, On 07/23/2017 12:07 AM, Julia Lawall wrote: On Sat, 22 Jul 2017, Gustavo A. R. Silva wrote: Hi Julia, Borislav, On 07/22/2017 11:22 AM, Gustavo A. R. Silva wrote: Hi all, On 07/22/2017 01:36 AM, Borislav Petkov wrote: On Fri, Jul 21, 2017 at 10:08:12PM +0200, Julia Lawall

fs/binfmt_flat.c:828:9: error: void value not ignored as it ought to be

2017-07-22 Thread kbuild test robot
Hi Al, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4b162c530d9c101381500e586fedb1340595a6ff commit: 468138d78510688fb5476f98d23f11ac6a63229a binfmt_flat: flat_{get,put}_addr_from_rp() should be able to fail

fs/binfmt_flat.c:828:9: error: void value not ignored as it ought to be

2017-07-22 Thread kbuild test robot
Hi Al, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4b162c530d9c101381500e586fedb1340595a6ff commit: 468138d78510688fb5476f98d23f11ac6a63229a binfmt_flat: flat_{get,put}_addr_from_rp() should be able to fail

Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-07-22 Thread Nicholas Piggin
On Sun, 23 Jul 2017 08:20:30 +0800 kbuild test robot wrote: > Hi Nicholas, > > FYI, the error/warning still remains. FYI, I still suspect it is this bug https://sourceware.org/bugzilla/show_bug.cgi?id=21017 If so, then I'm not sure if it can be worked around in Linux.

Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-07-22 Thread Nicholas Piggin
On Sun, 23 Jul 2017 08:20:30 +0800 kbuild test robot wrote: > Hi Nicholas, > > FYI, the error/warning still remains. FYI, I still suspect it is this bug https://sourceware.org/bugzilla/show_bug.cgi?id=21017 If so, then I'm not sure if it can be worked around in Linux. Thanks, Nick > >

Re: [PATCH] EDAC: remove unnecessary static in edac_fake_inject_write()

2017-07-22 Thread Julia Lawall
On Sat, 22 Jul 2017, Gustavo A. R. Silva wrote: > Hi Julia, Borislav, > > On 07/22/2017 11:22 AM, Gustavo A. R. Silva wrote: > > Hi all, > > > > On 07/22/2017 01:36 AM, Borislav Petkov wrote: > > > On Fri, Jul 21, 2017 at 10:08:12PM +0200, Julia Lawall wrote: > > > > Someone pointed out that

Re: [PATCH] EDAC: remove unnecessary static in edac_fake_inject_write()

2017-07-22 Thread Julia Lawall
On Sat, 22 Jul 2017, Gustavo A. R. Silva wrote: > Hi Julia, Borislav, > > On 07/22/2017 11:22 AM, Gustavo A. R. Silva wrote: > > Hi all, > > > > On 07/22/2017 01:36 AM, Borislav Petkov wrote: > > > On Fri, Jul 21, 2017 at 10:08:12PM +0200, Julia Lawall wrote: > > > > Someone pointed out that

include/linux/kernel.h:860:32: error: dereferencing pointer to incomplete type 'struct clock_event_device'

2017-07-22 Thread kbuild test robot
Hi Ian, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 96080f697786e0a30006fcbcc5b53f350fcb3e9f commit: c7acec713d14c6ce8a20154f9dfda258d6bcad3b kernel.h: handle pointers to arrays better in container_of() date:

include/linux/kernel.h:860:32: error: dereferencing pointer to incomplete type 'struct clock_event_device'

2017-07-22 Thread kbuild test robot
Hi Ian, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 96080f697786e0a30006fcbcc5b53f350fcb3e9f commit: c7acec713d14c6ce8a20154f9dfda258d6bcad3b kernel.h: handle pointers to arrays better in container_of() date:

Re: [PATCH] documentation: Fix two-CPU control-dependency example

2017-07-22 Thread Paul E. McKenney
On Sat, Jul 22, 2017 at 08:38:57AM +0900, Akira Yokosawa wrote: > On 2017/07/20 16:07:14 -0700, Paul E. McKenney wrote: > > On Fri, Jul 21, 2017 at 07:52:03AM +0900, Akira Yokosawa wrote: > >> On 2017/07/20 14:42:34 -0700, Paul E. McKenney wrote: > [...] > >>> For the compilers I know about at the

Re: [PATCH] documentation: Fix two-CPU control-dependency example

2017-07-22 Thread Paul E. McKenney
On Sat, Jul 22, 2017 at 08:38:57AM +0900, Akira Yokosawa wrote: > On 2017/07/20 16:07:14 -0700, Paul E. McKenney wrote: > > On Fri, Jul 21, 2017 at 07:52:03AM +0900, Akira Yokosawa wrote: > >> On 2017/07/20 14:42:34 -0700, Paul E. McKenney wrote: > [...] > >>> For the compilers I know about at the

Re: [PATCH v6] cpufreq: schedutil: Make iowait boost more energy efficient

2017-07-22 Thread Joel Fernandes
On Sat, Jul 22, 2017 at 2:44 PM, Rafael J. Wysocki wrote: > On Saturday, July 22, 2017 12:47:53 AM Joel Fernandes wrote: >> Currently the iowait_boost feature in schedutil makes the frequency go to max >> on iowait wakeups. This feature was added to handle a case that Peter

Re: [PATCH v6] cpufreq: schedutil: Make iowait boost more energy efficient

2017-07-22 Thread Joel Fernandes
On Sat, Jul 22, 2017 at 2:44 PM, Rafael J. Wysocki wrote: > On Saturday, July 22, 2017 12:47:53 AM Joel Fernandes wrote: >> Currently the iowait_boost feature in schedutil makes the frequency go to max >> on iowait wakeups. This feature was added to handle a case that Peter >> described where

[PATCH v7 2/2] cpufreq: schedutil: Use unsigned int for iowait boost

2017-07-22 Thread Joel Fernandes
Make iowait_boost and iowait_boost_max as unsigned int since its unit is kHz and this is consistent with struct cpufreq_policy. Also change the local variables in sugov_iowait_boost to match this. Cc: Srinivas Pandruvada Cc: Len Brown Cc:

[PATCH v7 2/2] cpufreq: schedutil: Use unsigned int for iowait boost

2017-07-22 Thread Joel Fernandes
Make iowait_boost and iowait_boost_max as unsigned int since its unit is kHz and this is consistent with struct cpufreq_policy. Also change the local variables in sugov_iowait_boost to match this. Cc: Srinivas Pandruvada Cc: Len Brown Cc: Rafael J. Wysocki Cc: Viresh Kumar Cc: Ingo Molnar

[PATCH v7 1/2] cpufreq: schedutil: Make iowait boost more energy efficient

2017-07-22 Thread Joel Fernandes
Currently the iowait_boost feature in schedutil makes the frequency go to max on iowait wakeups. This feature was added to handle a case that Peter described where the throughput of operations involving continuous I/O requests [1] is reduced due to running at a lower frequency, however the lower

[PATCH v7 1/2] cpufreq: schedutil: Make iowait boost more energy efficient

2017-07-22 Thread Joel Fernandes
Currently the iowait_boost feature in schedutil makes the frequency go to max on iowait wakeups. This feature was added to handle a case that Peter described where the throughput of operations involving continuous I/O requests [1] is reduced due to running at a lower frequency, however the lower

Re: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-22 Thread Ding Tianhong
On 2017/7/23 3:02, Cong Wang wrote: > Hello, > > On Sat, Jul 22, 2017 at 2:55 AM, liujian (CE) wrote: >> I also hit this issue with trinity test: >> >> The call trace: >> [exception RIP: prb_retire_rx_blk_timer_expired+70] >> RIP: 81633be6 RSP:

Re: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-22 Thread Ding Tianhong
On 2017/7/23 3:02, Cong Wang wrote: > Hello, > > On Sat, Jul 22, 2017 at 2:55 AM, liujian (CE) wrote: >> I also hit this issue with trinity test: >> >> The call trace: >> [exception RIP: prb_retire_rx_blk_timer_expired+70] >> RIP: 81633be6 RSP: 8801bec03dc0 RFLAGS: 00010246

drivers/clocksource/timer-of.h:35:28: error: field 'clkevt' has incomplete type

2017-07-22 Thread kbuild test robot
Hi Daniel, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 96080f697786e0a30006fcbcc5b53f350fcb3e9f commit: dc11bae78529526605c5c45c369c9512fd012093 clocksource/drivers: Add timer-of common init routine date: 6

drivers/clocksource/timer-of.h:35:28: error: field 'clkevt' has incomplete type

2017-07-22 Thread kbuild test robot
Hi Daniel, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 96080f697786e0a30006fcbcc5b53f350fcb3e9f commit: dc11bae78529526605c5c45c369c9512fd012093 clocksource/drivers: Add timer-of common init routine date: 6

Re: [PATCH] oom_reaper: close race without using oom_lock

2017-07-22 Thread Tetsuo Handa
Tetsuo Handa wrote: > Log is at http://I-love.SAKURA.ne.jp/tmp/serial-20170722.txt.xz . Oops, I forgot to remove mmput_async() in Patch2. Below is updated result. Though, situation (i.e. we can't tell without Patch1 whether we raced with OOM_MMF_SKIP) is same. Pat

Re: [PATCH] oom_reaper: close race without using oom_lock

2017-07-22 Thread Tetsuo Handa
Tetsuo Handa wrote: > Log is at http://I-love.SAKURA.ne.jp/tmp/serial-20170722.txt.xz . Oops, I forgot to remove mmput_async() in Patch2. Below is updated result. Though, situation (i.e. we can't tell without Patch1 whether we raced with OOM_MMF_SKIP) is same. Pat

Re: [PATCH 4/5] PCI: mediatek: Add new generation controller support

2017-07-22 Thread kbuild test robot
Hi Ryder, [auto build test WARNING on pci/next] [also build test WARNING on v4.13-rc1 next-20170721] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 4/5] PCI: mediatek: Add new generation controller support

2017-07-22 Thread kbuild test robot
Hi Ryder, [auto build test WARNING on pci/next] [also build test WARNING on v4.13-rc1 next-20170721] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] EDAC: remove unnecessary static in edac_fake_inject_write()

2017-07-22 Thread Gustavo A. R. Silva
Hi Julia, Borislav, On 07/22/2017 11:22 AM, Gustavo A. R. Silva wrote: Hi all, On 07/22/2017 01:36 AM, Borislav Petkov wrote: On Fri, Jul 21, 2017 at 10:08:12PM +0200, Julia Lawall wrote: Someone pointed out that the rule is probably not OK when the address of the static variable is taken,

Re: [PATCH] EDAC: remove unnecessary static in edac_fake_inject_write()

2017-07-22 Thread Gustavo A. R. Silva
Hi Julia, Borislav, On 07/22/2017 11:22 AM, Gustavo A. R. Silva wrote: Hi all, On 07/22/2017 01:36 AM, Borislav Petkov wrote: On Fri, Jul 21, 2017 at 10:08:12PM +0200, Julia Lawall wrote: Someone pointed out that the rule is probably not OK when the address of the static variable is taken,

signal not interrupting futex

2017-07-22 Thread Michael Day
We have hit an apparent kernel bug where a signal is not interrupting a futex, leading to a deadlock in our code. Here is the relevant strace output just before it blocks (complete strace log is attached): 14069 set_robust_list(0x7f7b3e7ee9e0, 24 14061 futex(0x7f7b46721fd8,

signal not interrupting futex

2017-07-22 Thread Michael Day
We have hit an apparent kernel bug where a signal is not interrupting a futex, leading to a deadlock in our code. Here is the relevant strace output just before it blocks (complete strace log is attached): 14069 set_robust_list(0x7f7b3e7ee9e0, 24 14061 futex(0x7f7b46721fd8,

Re: [PATCH v12 5/8] virtio-balloon: VIRTIO_BALLOON_F_SG

2017-07-22 Thread Michael S. Tsirkin
On Fri, Jul 14, 2017 at 03:12:43PM +0800, Wei Wang wrote: > On 07/14/2017 04:19 AM, Michael S. Tsirkin wrote: > > On Thu, Jul 13, 2017 at 03:42:35PM +0800, Wei Wang wrote: > > > On 07/12/2017 09:56 PM, Michael S. Tsirkin wrote: > > > > So the way I see it, there are several issues: > > > > > > >

Re: [PATCH v12 5/8] virtio-balloon: VIRTIO_BALLOON_F_SG

2017-07-22 Thread Michael S. Tsirkin
On Fri, Jul 14, 2017 at 03:12:43PM +0800, Wei Wang wrote: > On 07/14/2017 04:19 AM, Michael S. Tsirkin wrote: > > On Thu, Jul 13, 2017 at 03:42:35PM +0800, Wei Wang wrote: > > > On 07/12/2017 09:56 PM, Michael S. Tsirkin wrote: > > > > So the way I see it, there are several issues: > > > > > > >

[PATCH] HID: rmi: Make sure the HID device is opened on resume

2017-07-22 Thread Lyude
So it looks like that suspend/resume has actually always been broken on hid-rmi. The fact it worked was a rather silly coincidence that was relying on the HID device to already be opened upon resume. This means that so long as anything was reading the /dev/input/eventX node for for an RMI device,

[PATCH] HID: rmi: Make sure the HID device is opened on resume

2017-07-22 Thread Lyude
So it looks like that suspend/resume has actually always been broken on hid-rmi. The fact it worked was a rather silly coincidence that was relying on the HID device to already be opened upon resume. This means that so long as anything was reading the /dev/input/eventX node for for an RMI device,

Re: [PATCH] KVM: nVMX: Fix exception injection

2017-07-22 Thread Jim Mattson
I think the ancillary data for #DB and #PF should be added to kvm_queued_exception and plumbed through to where it's needed. Vector number and error code are not sufficient to describe a #DB or #PF. On Sat, Jul 22, 2017 at 5:29 PM, Wanpeng Li wrote: > 2017-07-22 22:25

Re: [PATCH] KVM: nVMX: Fix exception injection

2017-07-22 Thread Jim Mattson
I think the ancillary data for #DB and #PF should be added to kvm_queued_exception and plumbed through to where it's needed. Vector number and error code are not sufficient to describe a #DB or #PF. On Sat, Jul 22, 2017 at 5:29 PM, Wanpeng Li wrote: > 2017-07-22 22:25 GMT+08:00 Jim Mattson : >>

[PATCH] KVM: nVMX: consult PFER_MASK and PFER_MATCH before nested vmexit if inject #PF

2017-07-22 Thread Wanpeng Li
From: Wanpeng Li When generating #PF VM-exit, check equality: (PFEC & PFEC_MASK) == PFEC_MATCH If there is equality, the 14 bit of exception bitmap is used to take decision about generating #PF VM-exit. If there is inequality, inverted 14 bit is used. Reported-by: Jim

[PATCH] KVM: nVMX: consult PFER_MASK and PFER_MATCH before nested vmexit if inject #PF

2017-07-22 Thread Wanpeng Li
From: Wanpeng Li When generating #PF VM-exit, check equality: (PFEC & PFEC_MASK) == PFEC_MATCH If there is equality, the 14 bit of exception bitmap is used to take decision about generating #PF VM-exit. If there is inequality, inverted 14 bit is used. Reported-by: Jim Mattson Cc: Paolo Bonzini

Re: [PATCH 4/4] perf stat: Use group read for event groups

2017-07-22 Thread Namhyung Kim
On Fri, Jul 21, 2017 at 02:12:12PM +0200, Jiri Olsa wrote: > Make perf stat use group read if there are groups > defined. The group read will get the values for all > member of groups within a single syscall instead of > calling read syscall for every event. > > We can see considerable less

Re: [PATCH 4/4] perf stat: Use group read for event groups

2017-07-22 Thread Namhyung Kim
On Fri, Jul 21, 2017 at 02:12:12PM +0200, Jiri Olsa wrote: > Make perf stat use group read if there are groups > defined. The group read will get the values for all > member of groups within a single syscall instead of > calling read syscall for every event. > > We can see considerable less

Re: [PATCH] oom_reaper: close race without using oom_lock

2017-07-22 Thread Tetsuo Handa
ze >>= 1; break; } buf = cp; } sleep(2); /* Will cause OOM due to overcommit */ for (i = 0; i < size; i += 4096) buf[i] = 0; pause(); return 0; }

Re: [PATCH] oom_reaper: close race without using oom_lock

2017-07-22 Thread Tetsuo Handa
ze >>= 1; break; } buf = cp; } sleep(2); /* Will cause OOM due to overcommit */ for (i = 0; i < size; i += 4096) buf[i] = 0; pause(); return 0; }

Re: [PATCH v2 07/10] ARM: dts: sun8i: a83t: Add MMC controller device nodes

2017-07-22 Thread kbuild test robot
Hi Chen-Yu, [auto build test ERROR on next-20170719] [cannot apply to clk/clk-next robh/for-next linus/master v4.13-rc1 v4.12 v4.12-rc7 v4.13-rc1] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2 07/10] ARM: dts: sun8i: a83t: Add MMC controller device nodes

2017-07-22 Thread kbuild test robot
Hi Chen-Yu, [auto build test ERROR on next-20170719] [cannot apply to clk/clk-next robh/for-next linus/master v4.13-rc1 v4.12 v4.12-rc7 v4.13-rc1] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] KVM: nVMX: Fix exception injection

2017-07-22 Thread Wanpeng Li
2017-07-22 22:25 GMT+08:00 Jim Mattson : > On Fri, Jul 21, 2017 at 1:39 AM, Wanpeng Li wrote: >> Hi Jim, >> 2017-07-21 3:16 GMT+08:00 Jim Mattson : >>> On Wed, Jul 19, 2017 at 7:31 PM, Wanpeng Li wrote: Hi

Re: [PATCH] KVM: nVMX: Fix exception injection

2017-07-22 Thread Wanpeng Li
2017-07-22 22:25 GMT+08:00 Jim Mattson : > On Fri, Jul 21, 2017 at 1:39 AM, Wanpeng Li wrote: >> Hi Jim, >> 2017-07-21 3:16 GMT+08:00 Jim Mattson : >>> On Wed, Jul 19, 2017 at 7:31 PM, Wanpeng Li wrote: Hi Jim, 2017-07-19 2:47 GMT+08:00 Jim Mattson : > Why do we expect the

undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-07-22 Thread kbuild test robot
Hi Nicholas, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4b162c530d9c101381500e586fedb1340595a6ff commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make default for all archs date: 3

undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-07-22 Thread kbuild test robot
Hi Nicholas, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4b162c530d9c101381500e586fedb1340595a6ff commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make default for all archs date: 3

RE: [PATCH V3 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-07-22 Thread Salil Mehta
Hi Stephen, > -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Monday, June 19, 2017 5:59 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- >

RE: [PATCH V3 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-07-22 Thread Salil Mehta
Hi Stephen, > -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Monday, June 19, 2017 5:59 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- >

RE: [PATCH V2 net-next 1/8] net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC

2017-07-22 Thread Salil Mehta
Hi Stephen, > -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Monday, June 19, 2017 4:48 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- >

RE: [PATCH V2 net-next 1/8] net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC

2017-07-22 Thread Salil Mehta
Hi Stephen, > -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Monday, June 19, 2017 4:48 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- >

RE: [PATCH V3 net-next 6/8] net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC

2017-07-22 Thread Salil Mehta
Hi Andrew, > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Monday, June 19, 2017 4:53 AM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- >

RE: [PATCH V3 net-next 6/8] net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC

2017-07-22 Thread Salil Mehta
Hi Andrew, > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Monday, June 19, 2017 4:53 AM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- >

RE: [PATCH V3 net-next 1/8] net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC

2017-07-22 Thread Salil Mehta
Hi Bo Yu, > -Original Message- > From: Bo Yu [mailto:tsu.y...@gmail.com] > Sent: Monday, June 19, 2017 1:57 AM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org;

RE: [PATCH V3 net-next 5/8] net: hns3: Add support of TX Scheduler & Shaper to HNS3 driver

2017-07-22 Thread Salil Mehta
Hi Richard, > -Original Message- > From: Richard Cochran [mailto:richardcoch...@gmail.com] > Sent: Sunday, June 18, 2017 5:45 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- >

RE: [PATCH V3 net-next 5/8] net: hns3: Add support of TX Scheduler & Shaper to HNS3 driver

2017-07-22 Thread Salil Mehta
Hi Richard, > -Original Message- > From: Richard Cochran [mailto:richardcoch...@gmail.com] > Sent: Sunday, June 18, 2017 5:45 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- >

RE: [PATCH V3 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-07-22 Thread Salil Mehta
Hi Bo Yu, > -Original Message- > From: Bo Yu [mailto:tsu.y...@gmail.com] > Sent: Monday, June 19, 2017 1:40 AM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org;

RE: [PATCH V3 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-07-22 Thread Salil Mehta
Hi Bo Yu, > -Original Message- > From: Bo Yu [mailto:tsu.y...@gmail.com] > Sent: Monday, June 19, 2017 1:40 AM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org;

RE: [PATCH V3 net-next 1/8] net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC

2017-07-22 Thread Salil Mehta
Hi Bo Yu, > -Original Message- > From: Bo Yu [mailto:tsu.y...@gmail.com] > Sent: Monday, June 19, 2017 1:18 AM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org;

RE: [PATCH V3 net-next 1/8] net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC

2017-07-22 Thread Salil Mehta
Hi Bo Yu, > -Original Message- > From: Bo Yu [mailto:tsu.y...@gmail.com] > Sent: Monday, June 19, 2017 1:18 AM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org;

[PATCH] get_maintainer.pl: Prepare for separate MAINTAINERS files

2017-07-22 Thread Joe Perches
Allow for MAINTAINERS to become a directory and if it is, read all the files in the directory for maintained sections. Miscellanea: o Create a read_maintainer_file subroutine from the existing code o Test only the existence of MAINTAINERS, not whether it's a file Signed-off-by: Joe Perches

[PATCH] get_maintainer.pl: Prepare for separate MAINTAINERS files

2017-07-22 Thread Joe Perches
Allow for MAINTAINERS to become a directory and if it is, read all the files in the directory for maintained sections. Miscellanea: o Create a read_maintainer_file subroutine from the existing code o Test only the existence of MAINTAINERS, not whether it's a file Signed-off-by: Joe Perches ---

RE: [PATCH V3 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-07-22 Thread Salil Mehta
Hi Andrew, > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Sunday, June 18, 2017 4:02 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org;

RE: [PATCH V3 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-07-22 Thread Salil Mehta
Hi Andrew, > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Sunday, June 18, 2017 4:02 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org;

RE: [PATCH V2 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-07-22 Thread Salil Mehta
> -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Sunday, June 18, 2017 3:53 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; Linuxarm

RE: [PATCH V2 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-07-22 Thread Salil Mehta
> -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Sunday, June 18, 2017 3:53 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; Linuxarm

RE: [PATCH V3 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-07-22 Thread Salil Mehta
Hi Andrew, > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Saturday, June 17, 2017 8:46 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- >

RE: [PATCH V3 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-07-22 Thread Salil Mehta
Hi Andrew, > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Saturday, June 17, 2017 8:46 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- >

RE: [PATCH V3 net-next 1/8] net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC

2017-07-22 Thread Salil Mehta
Hi Andrew > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Saturday, June 17, 2017 6:54 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- >

RE: [PATCH V3 net-next 1/8] net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC

2017-07-22 Thread Salil Mehta
Hi Andrew > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Saturday, June 17, 2017 6:54 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- >

Re: [PATCH] perf tool sort: Use default sort if evlist is empty

2017-07-22 Thread Namhyung Kim
On Fri, Jul 21, 2017 at 01:02:50PM -0700, David Carrillo-Cisneros wrote: > On Fri, Jul 21, 2017 at 12:44 AM, Jiri Olsa wrote: > > On Thu, Jul 20, 2017 at 10:11:57PM -0700, David Carrillo-Cisneros wrote: > >> Fixes bug noted by Jiri in https://lkml.org/lkml/2017/6/13/755 and

Re: [PATCH] perf tool sort: Use default sort if evlist is empty

2017-07-22 Thread Namhyung Kim
On Fri, Jul 21, 2017 at 01:02:50PM -0700, David Carrillo-Cisneros wrote: > On Fri, Jul 21, 2017 at 12:44 AM, Jiri Olsa wrote: > > On Thu, Jul 20, 2017 at 10:11:57PM -0700, David Carrillo-Cisneros wrote: > >> Fixes bug noted by Jiri in https://lkml.org/lkml/2017/6/13/755 and caused > >> by commit

Re: [PATCH v3 3/9] perf annotate: Fix wrong --show-total-period option showing number of samples

2017-07-22 Thread Namhyung Kim
Hi Arnaldo and Taeung, (+ Andi) On Fri, Jul 21, 2017 at 11:47:48AM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Jul 20, 2017 at 06:36:55AM +0900, Taeung Song escreveu: > > +++ b/tools/perf/builtin-annotate.c > > @@ -177,14 +177,12 @@ static int perf_evsel__add_sample(struct perf_evsel > >

Re: [PATCH v3 3/9] perf annotate: Fix wrong --show-total-period option showing number of samples

2017-07-22 Thread Namhyung Kim
Hi Arnaldo and Taeung, (+ Andi) On Fri, Jul 21, 2017 at 11:47:48AM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Jul 20, 2017 at 06:36:55AM +0900, Taeung Song escreveu: > > +++ b/tools/perf/builtin-annotate.c > > @@ -177,14 +177,12 @@ static int perf_evsel__add_sample(struct perf_evsel > >

[PATCH V4 net-next 3/8] net: hns3: Add HNS3 IMP(Integrated Mgmt Proc) Cmd Interface Support

2017-07-22 Thread Salil Mehta
This patch adds the support of IMP (Integrated Management Processor) command interface to the HNS3 driver. Each PF/VF has support of CQP(Command Queue Pair) ring interface. Each CQP consis of send queue CSQ and receive queue CRQ. There are various commands a PF/VF may support, like for Flow Table

Re: [PATCH v3 4/5] ACPI / boot: Not all platform require acpi_reduced_hw_init()

2017-07-22 Thread Rafael J. Wysocki
On Sun, Jul 23, 2017 at 12:13 AM, Andy Shevchenko wrote: > On Sun, Jul 23, 2017 at 1:02 AM, Rafael J. Wysocki wrote: >> On Saturday, July 22, 2017 04:53:52 AM Andy Shevchenko wrote: >>> On Sat, Jul 22, 2017 at 1:25 AM, Rafael J. Wysocki

[PATCH V4 net-next 3/8] net: hns3: Add HNS3 IMP(Integrated Mgmt Proc) Cmd Interface Support

2017-07-22 Thread Salil Mehta
This patch adds the support of IMP (Integrated Management Processor) command interface to the HNS3 driver. Each PF/VF has support of CQP(Command Queue Pair) ring interface. Each CQP consis of send queue CSQ and receive queue CRQ. There are various commands a PF/VF may support, like for Flow Table

Re: [PATCH v3 4/5] ACPI / boot: Not all platform require acpi_reduced_hw_init()

2017-07-22 Thread Rafael J. Wysocki
On Sun, Jul 23, 2017 at 12:13 AM, Andy Shevchenko wrote: > On Sun, Jul 23, 2017 at 1:02 AM, Rafael J. Wysocki wrote: >> On Saturday, July 22, 2017 04:53:52 AM Andy Shevchenko wrote: >>> On Sat, Jul 22, 2017 at 1:25 AM, Rafael J. Wysocki >>> wrote: >>> > On Tuesday, July 18, 2017 06:04:19 PM

[PATCH V4 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-07-22 Thread Salil Mehta
This patch adds the support of the HNAE3 (Hisilicon Network Acceleration Engine 3) framework support to the HNS3 driver. Framework facilitates clients like ENET(HNS3 Ethernet Driver), RoCE and user-space Ethernet drivers (like ODP etc.) to register with HNAE3 devices and their associated

[PATCH V4 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-07-22 Thread Salil Mehta
This patch adds the support of the HNAE3 (Hisilicon Network Acceleration Engine 3) framework support to the HNS3 driver. Framework facilitates clients like ENET(HNS3 Ethernet Driver), RoCE and user-space Ethernet drivers (like ODP etc.) to register with HNAE3 devices and their associated

[PATCH V4 net-next 6/8] net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC

2017-07-22 Thread Salil Mehta
This patch adds the support of MDIO bus interface for HNS3 driver. Code provides various interfaces to start and stop the PHY layer and to read and write the MDIO bus or PHY. Signed-off-by: Daode Huang Signed-off-by: lipeng Signed-off-by: Salil

Re: [PATCH v3 4/5] ACPI / boot: Not all platform require acpi_reduced_hw_init()

2017-07-22 Thread Andy Shevchenko
On Sun, Jul 23, 2017 at 1:02 AM, Rafael J. Wysocki wrote: > On Saturday, July 22, 2017 04:53:52 AM Andy Shevchenko wrote: >> On Sat, Jul 22, 2017 at 1:25 AM, Rafael J. Wysocki >> wrote: >> > On Tuesday, July 18, 2017 06:04:19 PM Andy Shevchenko wrote: >>

[PATCH V4 net-next 6/8] net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC

2017-07-22 Thread Salil Mehta
This patch adds the support of MDIO bus interface for HNS3 driver. Code provides various interfaces to start and stop the PHY layer and to read and write the MDIO bus or PHY. Signed-off-by: Daode Huang Signed-off-by: lipeng Signed-off-by: Salil Mehta Signed-off-by: Yisen Zhuang --- Patch V4:

Re: [PATCH v3 4/5] ACPI / boot: Not all platform require acpi_reduced_hw_init()

2017-07-22 Thread Andy Shevchenko
On Sun, Jul 23, 2017 at 1:02 AM, Rafael J. Wysocki wrote: > On Saturday, July 22, 2017 04:53:52 AM Andy Shevchenko wrote: >> On Sat, Jul 22, 2017 at 1:25 AM, Rafael J. Wysocki >> wrote: >> > On Tuesday, July 18, 2017 06:04:19 PM Andy Shevchenko wrote: >> > I'd rather do it at the time when

[PATCH V4 net-next 4/8] net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support

2017-07-22 Thread Salil Mehta
This patch adds the support of Hisilicon Network Subsystem Accceleration Engine and common operations to access it. This layer provides access to the hardware configuration, hardware statistics. This layer is also responsible for triggering the initialization of the PHY layer through the below

[PATCH V4 net-next 4/8] net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support

2017-07-22 Thread Salil Mehta
This patch adds the support of Hisilicon Network Subsystem Accceleration Engine and common operations to access it. This layer provides access to the hardware configuration, hardware statistics. This layer is also responsible for triggering the initialization of the PHY layer through the below

[PATCH V4 net-next 7/8] net: hns3: Add Ethtool support to HNS3 driver

2017-07-22 Thread Salil Mehta
This patch adds the support of the Ethtool interface to the HNS3 Ethernet driver. Various commands to read the statistics, configure the offloading, loopback selftest etc. are supported. Signed-off-by: Daode Huang Signed-off-by: lipeng

[PATCH V4 net-next 7/8] net: hns3: Add Ethtool support to HNS3 driver

2017-07-22 Thread Salil Mehta
This patch adds the support of the Ethtool interface to the HNS3 Ethernet driver. Various commands to read the statistics, configure the offloading, loopback selftest etc. are supported. Signed-off-by: Daode Huang Signed-off-by: lipeng Signed-off-by: Salil Mehta Signed-off-by: Yisen Zhuang

[PATCH V4 net-next 5/8] net: hns3: Add support of TX Scheduler & Shaper to HNS3 driver

2017-07-22 Thread Salil Mehta
THis patch adds the support of the Scheduling and Shaping functionalities during the transmit leg. This also adds the support of Pause at MAC level. (Pause at per-priority level shall be added later along with the DCB feature). Hardware as such consists of two types of cofiguration of 6 level

[PATCH V4 net-next 5/8] net: hns3: Add support of TX Scheduler & Shaper to HNS3 driver

2017-07-22 Thread Salil Mehta
THis patch adds the support of the Scheduling and Shaping functionalities during the transmit leg. This also adds the support of Pause at MAC level. (Pause at per-priority level shall be added later along with the DCB feature). Hardware as such consists of two types of cofiguration of 6 level

[PATCH V4 net-next 8/8] net: hns3: Add HNS3 driver to kernel build framework & MAINTAINERS

2017-07-22 Thread Salil Mehta
This patch updates the MAINTAINERS file with HNS3 Ethernet driver maintainers names and other details. This also introduces the new Makefiles required to build the HNS3 Ethernet driver and updates the existing Kconfig file in the hisilicon folder. Signed-off-by: Salil Mehta

[PATCH V4 net-next 8/8] net: hns3: Add HNS3 driver to kernel build framework & MAINTAINERS

2017-07-22 Thread Salil Mehta
This patch updates the MAINTAINERS file with HNS3 Ethernet driver maintainers names and other details. This also introduces the new Makefiles required to build the HNS3 Ethernet driver and updates the existing Kconfig file in the hisilicon folder. Signed-off-by: Salil Mehta --- Patch V3:

Re: [PATCH v3 4/5] ACPI / boot: Not all platform require acpi_reduced_hw_init()

2017-07-22 Thread Rafael J. Wysocki
On Saturday, July 22, 2017 04:53:52 AM Andy Shevchenko wrote: > On Sat, Jul 22, 2017 at 1:25 AM, Rafael J. Wysocki wrote: > > On Tuesday, July 18, 2017 06:04:19 PM Andy Shevchenko wrote: > >> Some platform might take care of legacy devices on theirs own. > >> Let's allow them

Re: [PATCH v3 4/5] ACPI / boot: Not all platform require acpi_reduced_hw_init()

2017-07-22 Thread Rafael J. Wysocki
On Saturday, July 22, 2017 04:53:52 AM Andy Shevchenko wrote: > On Sat, Jul 22, 2017 at 1:25 AM, Rafael J. Wysocki wrote: > > On Tuesday, July 18, 2017 06:04:19 PM Andy Shevchenko wrote: > >> Some platform might take care of legacy devices on theirs own. > >> Let's allow them to do that by

[PATCH V4 net-next 1/8] net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC

2017-07-22 Thread Salil Mehta
This patch adds the support of Hisilicon Network Subsystem 3 Ethernet driver to hip08 family of SoCs. This driver includes basic Rx/Tx functionality. It also includes the client registration code with the HNAE3(Hisilicon Network Acceleration Engine 3) framework. This work provides the initial

[PATCH V4 net-next 1/8] net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC

2017-07-22 Thread Salil Mehta
This patch adds the support of Hisilicon Network Subsystem 3 Ethernet driver to hip08 family of SoCs. This driver includes basic Rx/Tx functionality. It also includes the client registration code with the HNAE3(Hisilicon Network Acceleration Engine 3) framework. This work provides the initial

[PATCH V4 net-next 0/8] Hisilicon Network Subsystem 3 Ethernet Driver

2017-07-22 Thread Salil Mehta
This patch-set contains the support of the HNS3 (Hisilicon Network Subsystem 3) Ethernet driver for hip08 family of SoCs and future upcoming SoCs. Hisilicon's new hip08 SoCs have integrated ethernet based on PCI Express and hence there was a need of new driver over the previous HNS driver which

  1   2   3   4   >