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

2017-07-23 Thread Richard Cochran
On Sat, Jul 22, 2017 at 11:38:26PM +, Salil Mehta wrote: > > On Sat, Jun 17, 2017 at 06:24:28PM +0100, Salil Mehta wrote: > > > + > > > +int hclge_tm_schd_init(struct hclge_dev *hdev); > > > +int hclge_tm_setup_tc(struct hclge_dev *hdev); > > > > The definition of this function DNE. > Sorry,

Re: [PATCH 1/2] staging: net: wireless: add ESP8089 WiFi driver

2017-07-23 Thread kbuild test robot
/linux/commits/Quentin-Schulz/add-ESP8089-WiFi-chip-driver/20170723-143744 config: blackfin-allyesconfig (attached as .config) compiler: bfin-uclinux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x

Re: [PATCH] Staging: greybus: Match alignment with open parenthesis.

2017-07-23 Thread Johan Hovold
On Sun, Jul 23, 2017 at 02:09:57PM +0530, Shreeya Patel wrote: > Alignment should match with open parenthesis. > This fixes the coding style issue. No, it need not. This is a choice left up to the author, even if checkpatch happens to complain about it with the --strict option. Thanks, Johan

Re: [PATCH 1/3] iio: adc: stm32: fix common clock rate

2017-07-23 Thread Jonathan Cameron
On Tue, 18 Jul 2017 14:35:30 +0200 Fabrice Gasnier wrote: > Fixes commit 95e339b6e85d ("iio: adc: stm32: add support for STM32H7") > > Fix common clock rate used then by stm32-adc sub-devices: take common > prescaler into account. > Fix ADC max clock rate on STM32H7

Re: [PATCH 2/3] dt-bindings: iio: adc: stm32: add optional min-sample-time

2017-07-23 Thread Jonathan Cameron
On Tue, 18 Jul 2017 14:35:31 +0200 Fabrice Gasnier wrote: > STM32 ADC allows each channel to be sampled with a different sampling > time. There's an application note that deals with this: 'How to get > the best ADC accuracy in STM32...' It basically depends on analog

Re: [PATCH] Staging: greybus: Match alignment with open parenthesis.

2017-07-23 Thread Dan Carpenter
On Sun, Jul 23, 2017 at 10:47:43AM +0200, Johan Hovold wrote: > On Sun, Jul 23, 2017 at 02:09:57PM +0530, Shreeya Patel wrote: > > Alignment should match with open parenthesis. > > This fixes the coding style issue. > > No, it need not. This is a choice left up to the author, even if > checkpatch

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

2017-07-23 Thread Richard Cochran
On Sat, Jul 22, 2017 at 11:09:39PM +0100, Salil Mehta wrote: > +int hclge_tm_setup_tc(struct hclge_dev *hdev); Like I said before, this function DNE. Thanks, Richard

[PATCH 8/9] tty: serial: jsm: constify pci_device_id.

2017-07-23 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 24421088 83538 dd2

[PATCH 1/9] tty: mxser: constify pci_device_id.

2017-07-23 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 202531184 19904 41341a17d

[PATCH 6/9] tty: serial: pci: constify pci_device_id.

2017-07-23 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 12626 18128 0 307547822

[PATCH 9/9] tty: synclink_gt: constify pci_device_id.

2017-07-23 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 41180 480 185 41845a375

[PATCH 0/9] constify tty pci_device_id.

2017-07-23 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Arvind Yadav (9): [PATCH 1/9] tty: mxser: constify pci_device_id. [PATCH 2/9] tty: isicom: constify pci_device_id.

[PATCH 01/10] dt-bindings: add binding for the SY8160A voltage regulator

2017-07-23 Thread Icenowy Zheng
From: Ondrej Jirman SY8106A is an I2C-controlled adjustable voltage regulator made by Silergy Corp. Add its device tree binding. Signed-off-by: Ondrej Jirman [Icenowy: Change commit message] Signed-off-by: Icenowy Zheng ---

[PATCH 02/10] regulator: add support for SY8106A regulator

2017-07-23 Thread Icenowy Zheng
From: Ondrej Jirman SY8106A is an I2C attached single output regulator made by Silergy Corp, which is used on several Allwinner H3/H5 SBCs to control the power supply of the ARM cores. Add a driver for it. Signed-off-by: Ondrej Jirman [Icenowy: Change

[PATCH 00/10] A trial to Allwinner H3 DVFS support

2017-07-23 Thread Icenowy Zheng
This patchset is a trial for DVFS support for Allwinner H3 SoC, considering two kinds of adjustable regulators used on H3 boards: SY8106A I2C-controlled regulator and SY8113B regulator (controllable by GPIO with some special designs on the board). PATCH 1 and PATCH 2 are for the SY8106A

[PATCH 04/10] ARM: sunxi: h3/h5: Add r_i2c I2C controller

2017-07-23 Thread Icenowy Zheng
From: Ondrej Jirman Allwinner H3/H5 SoCs have an I2C controller at PL GPIO bank. Add support for it in the device tree. Signed-off-by: Ondrej Jirman [Icenowy: Change to use r_ccu and change pinmux node name] Signed-off-by: Icenowy Zheng

[PATCH 03/10] ARM: sunxi: h3/h5: Add r_i2c pinmux node

2017-07-23 Thread Icenowy Zheng
From: Ondrej Jirman H3/H5 SoCs contain an I2C controller optionally available on the PL0 and PL1 pins. This patch adds pinmux configuration for this controller. Signed-off-by: Ondrej Jirman [Icenowy: change commit message and node name] Signed-off-by:

Re: [PATCH v3 2/4] i2c: add docs to clarify DMA handling

2017-07-23 Thread Jonathan Cameron
On Tue, 18 Jul 2017 12:23:37 +0200 Wolfram Sang wrote: > Signed-off-by: Wolfram Sang Is this material not perhaps better placed in the sphinx docs? Up to you of course as your subsystem ;) Text is good though. Acked-by:

Re: [PATCH] Staging: greybus: Match alignment with open parenthesis.

2017-07-23 Thread Johan Hovold
On Sun, Jul 23, 2017 at 03:10:53PM +0300, Dan Carpenter wrote: > On Sun, Jul 23, 2017 at 10:47:43AM +0200, Johan Hovold wrote: > > On Sun, Jul 23, 2017 at 02:09:57PM +0530, Shreeya Patel wrote: > > > Alignment should match with open parenthesis. > > > This fixes the coding style issue. > > > >

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

2017-07-23 Thread Leon Romanovsky
On Sat, Jul 22, 2017 at 11:09:42PM +0100, Salil Mehta wrote: > 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

Re: [PATCH v5] printk: Add pr_info_show_time

2017-07-23 Thread Pavel Machek
> For example, the persistent clock that is used to report > "Suspended for" message, although very useful, is not present on all > platforms. It is currently standardized for millisecond precision. Fix that on your platforms, instead?

Re: [PATCH 1/2] staging: net: wireless: add ESP8089 WiFi driver

2017-07-23 Thread kbuild test robot
/linux/commits/Quentin-Schulz/add-ESP8089-WiFi-chip-driver/20170723-143744 config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed

RE: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-23 Thread liujian (CE)
Hi, Do we need delete the v3 ring, when tp_version changed from TPACKET_V3 to TPACKET_V1 ? Best Regards, liujian > -Original Message- > From: liujian (CE) > Sent: Sunday, July 23, 2017 4:21 PM > To: 'Cong Wang'; Dingtianhong > Cc: Willem de Bruijn; Dave Jones;

[PATCH wq/for-4.13-fixes] workqueue: implicit ordered attribute should be overridable

2017-07-23 Thread Tejun Heo
5c0338c68706 ("workqueue: restore WQ_UNBOUND/max_active==1 to be ordered") automatically enabled ordered attribute for unbound workqueues w/ max_active == 1. Because ordered workqueues reject max_active and some attribute changes, this implicit ordered mode broke cases where the user creates an

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

2017-07-23 Thread Salil Mehta
Hi Richard, > -Original Message- > From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- > ow...@vger.kernel.org] On Behalf Of Richard Cochran > Sent: Sunday, July 23, 2017 7:17 AM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); >

Re: [PATCH 3/3] iio: adc: stm32: add optional min-sample-time

2017-07-23 Thread Jonathan Cameron
On Tue, 18 Jul 2017 14:35:32 +0200 Fabrice Gasnier wrote: > STM32 ADC allows each channel to be sampled with a different sampling time, > by setting SMPR registers. Basically, value depends on local electrical > properties. Selecting correct value for sampling time highly

Re: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-23 Thread Cong Wang
On Sat, Jul 22, 2017 at 8:40 PM, Ding Tianhong wrote: > Hi, Cong: > > Thanks for your quirk solution, but I still has some doubts about it, > it looks like fix the problem in the packet_setsockopt->packet_set_ring > processing, > but when in packet_release processing, it

[GIT PULL] xen: fixes for 4.13-rc2

2017-07-23 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.13b-rc2-tag xen: fixes for 4.13-rc2 It contains some fixes and cleanups for running under Xen. Now the new driver is omitted. :-) Thanks. Juergen arch/x86/xen/smp_pv.c |

Re: bluetooth in v4.13-rc1: lock init missing somewhere?

2017-07-23 Thread Pavel Machek
Hi! > > I guess output just after boot will be more interesting? > > > > root@n900:/my/modules# insmod hci_nokia.ko > > root@n900:/my/modules# > > Message from syslogd@localhost at Jul 19 12:24:00 ... > > kernel:[ 174.363037] BUG: rwlock bad magic on CPU#0, > > kworker/u3:0/3027, c2665a48 > >

[PATCH] staging: net: wireless: fix badzero.cocci warnings

2017-07-23 Thread kbuild test robot
drivers/staging/esp8089/esp_mac80211.c:596:33-34: WARNING comparing pointer to 0 Compare pointer-typed values to NULL rather than 0 Semantic patch information: This makes an effort to choose between !x and x == NULL. !x is used if it has previously been used with the function used to

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

2017-07-23 Thread Andy Shevchenko
On Sun, Jul 23, 2017 at 4:15 AM, Lyude wrote: > So, call hid_hw_open() in rmi_post_resume() so we make sure that the > device is alive before we try talking to it. > > This fixes RMI device suspend/resume over HID. > - int ret; > + int ret = 0; What's the point?

Re: [PATCH V2 net-next 12/21] net-next/hinic: Add qp resources

2017-07-23 Thread Aviad Krawczyk
Hi David, Strange that checkpatch.pl --strict didn't warn about it. We will fix it. Thanks for review, Aviad On 7/20/2017 2:13 AM, David Miller wrote: > From: Aviad Krawczyk > Date: Wed, 19 Jul 2017 17:19:10 +0800 > >> diff --git

[PATCH] cgroup: remove unnecessary empty check when enabling threaded mode

2017-07-23 Thread Tejun Heo
cgroup_enable_threaded() checks that the cgroup doesn't have any tasks or children and fails the operation if so. This test is unnecessary because the first part is already checked by cgroup_can_be_thread_root() and the latter is unnecessary. The latter actually cause a behavioral oddity.

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

2017-07-23 Thread Leon Romanovsky
On Sat, Jul 22, 2017 at 11:09:36PM +0100, Salil Mehta wrote: > 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

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

2017-07-23 Thread Gustavo A. R. Silva
On 07/23/2017 12:53 AM, Julia Lawall wrote: 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: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-23 Thread liujian (CE)
Hi Wang Cong, With this patch , the system was crashed when setsockopt. The call trace as below: crash> bt PID: 3069 TASK: 8800afcc CPU: 0 COMMAND: "trinity-main" #0 [8801bec03ce0] machine_kexec at 8105354b #1 [8801bec03d40] crash_kexec at 810f7e82 #2

[PATCH] Staging: greybus: Match alignment with open parenthesis.

2017-07-23 Thread Shreeya Patel
Alignment should match with open parenthesis. This fixes the coding style issue. Signed-off-by: Shreeya Patel --- drivers/staging/greybus/tools/loopback_test.c | 35 --- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git

Re: [PATCH] staging: vboxvideo: remove unused variables

2017-07-23 Thread Michael Thayer
Hello, 22.07.2017 20:17, Hans de Goede wrote: > Hi, > > On 22-07-17 12:55, Paolo Cretaro wrote: >> Fix compiler warnings: >> vbox_mode.c:57:15: warning: variable ‘crtc_id’ set but not used >> vbox_mode.c:581:25: warning: variable ‘vbox_connector’ set but not used >> >> Signed-off-by: Paolo

[PATCH 05/10] clk: sunxi-ng: h3: gate then ungate PLL CPU clk after rate change

2017-07-23 Thread Icenowy Zheng
From: Chen-Yu Tsai This patch utilizes the new PLL clk notifier to gate then ungate the PLL CPU clock after rate changes. This should prevent any system hangs resulting from cpufreq changes to the clk. Reported-by: Ondrej Jirman Signed-off-by: Chen-Yu Tsai

[PATCH 07/10] cpufreq: dt: Add support for some new Allwinner SoCs

2017-07-23 Thread Icenowy Zheng
Some new Allwinner SoCs get supported in the kernel after the compatibles are added to cpufreq-dt-platdev driver. Add their compatible strings in the cpufreq-dt-platdev driver. Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Signed-off-by: Icenowy Zheng

[PATCH 08/10] ARM: sun8i: h3: add operating-points-v2 table for CPU

2017-07-23 Thread Icenowy Zheng
The CPU on Allwinner H3 can do dynamic frequency scaling. Add a DVFS table based on the one tweaked by Armbian developers, which are proven to work stably on BSP kernels. Frequencies higher than 1008MHz are temporarily dropped in the table, as they may lead to over voltage on boards without

[PATCH 09/10] ARM: sun8i: h2+: add SY8113B regulator used by Orange Pi Zero board

2017-07-23 Thread Icenowy Zheng
Orange Pi Zero board has a SY8113B regulator, which is controlled via GPIO and capable of outputing 1.1V when the PL6 GPIO is set to output 0 or 1.3V when the PL6 GPIO is set to input or output 1, and the output is the power supply of the ARM cores in H2+ SoC. Add the device tree node of this

[PATCH 10/10] ARM: dts: sun8i: Add SY8106A regulator to Orange Pi PC

2017-07-23 Thread Icenowy Zheng
From: Ondrej Jirman Add SY8106A regulator to r_i2c bus and enable the r_i2c bus on Orange Pi PC, then set the power supply of the ARM cores to this regulator, in order to enable DVFS. Signed-off-by: Ondrej Jirman [Icenowy: Enable DVFS in this patch, slight

[PATCH 06/10] clk: sunxi-ng: allow set parent clock (PLL_CPUX) for CPUX clock on H3

2017-07-23 Thread Icenowy Zheng
The CPUX clock, which is the main clock of the ARM core on Allwinner H3, can be adjusted by changing the frequency of the PLL_CPUX clock. Allowing setting parent clock for the CPUX clock, thus the PLL_CPUX clock can be adjusted when adjusting the CPUX clock. Signed-off-by: Icenowy Zheng

c21b48 causes nfs client to hang and kernel BUG at ./include/linux/mm.h:432 (bisected)

2017-07-23 Thread Trevor Cordes
Hi! I've bisected a bug I'm seeing to: c21b48cc1bbf2f5af3ef54ada559f7fadf8b508b net: adjust skb->truesize in ___pskb_trim() The bug manifests as my NFS4 (TCP) client mount hanging after 5-10s of heavy read data transfer, which also produces: kernel BUG at ./include/linux/mm.h:462 (see full

Re: [PATCH V8 1/6] PM / Domains: Add support to select performance-state of domains

2017-07-23 Thread Ulf Hansson
On 21 July 2017 at 11:05, Viresh Kumar wrote: > On 21-07-17, 10:35, Ulf Hansson wrote: >> This depends on how drivers are dealing with runtime PM in conjunction >> with the new pm_genpd_update_performance_state(). >> >> In case you don't want to manage some of this in

Re: [PATCH V2 net-next 01/21] net-next/hinic: Initialize hw interface

2017-07-23 Thread Aviad Krawczyk
Hi Francois, ERR_PTR / IS ERR - we will change it err_xyz labels - we will change it according to other companies style. hinic_free_hwdev - It is there to mark us changes for VF code. We will remove it, it can't be failed. hinic_remove - If insmod failed and someone calls rmmod, we will get a

Re: [PATCH v3 1/4] i2c: add helpers to ease DMA handling

2017-07-23 Thread Jonathan Cameron
On Tue, 18 Jul 2017 12:23:36 +0200 Wolfram Sang wrote: > One helper checks if DMA is suitable and optionally creates a bounce > buffer, if not. The other function returns the bounce buffer and makes > sure the data is properly copied back to the message. > >

Re: [PATCH 22/32] tracing: Add support for 'synthetic' events

2017-07-23 Thread Namhyung Kim
Hi Tom, On Mon, Jun 26, 2017 at 05:49:23PM -0500, Tom Zanussi wrote: > Synthetic events are user-defined events generated from hist trigger > variables saved from one or more other events. > > To define a synthetic event, the user writes a simple specification > consisting of the name of the new

Re: Kernel error messages: leds fujitsu::radio_led: Setting an LED's brightness failed

2017-07-23 Thread Jonathan Woithe
Hi Michal On Thu, Jul 20, 2017 at 08:42:57AM +0200, Micha?? K??pie?? wrote: > > I found your mail address in https://patchwork.kernel.org/patch/8598801/ > > and it seems you are somehow involved in the improvement for > > fujitsu-laptop LED handling. If this does not 'belong' to you, maybe you >

[PATCH 7/9] tty: serial: exar: constify pci_device_id.

2017-07-23 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 40301280 0531014be

[PATCH 2/9] tty: isicom: constify pci_device_id.

2017-07-23 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 121761520 25864 395609a88

[PATCH 4/9] tty: synclink: constify pci_device_id.

2017-07-23 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 51755 400 513 52668cdbc

[PATCH 3/9] tty: synclinkmp: constify pci_device_id.

2017-07-23 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 44660 432 104 45196b08c

[PATCH 5/9] tty: moxa: constify pci_device_id.

2017-07-23 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 14201 6561760 1661740e9

Re: [PATCH cgroup/for-4.13-fixes] cgroup: fix error return value from cgroup_subtree_control()

2017-07-23 Thread Tejun Heo
On Sun, Jul 23, 2017 at 08:14:15AM -0400, Tejun Heo wrote: > While refactoring, f7b2814bb9b6 ("cgroup: factor out > cgroup_{apply|finalize}_control() from > cgroup_subtree_control_write()") broke error return value from the > function. The return value from the last operation is always >

[PATCH cgroup/for-4.13-fixes] cgroup: fix error return value from cgroup_subtree_control()

2017-07-23 Thread Tejun Heo
While refactoring, f7b2814bb9b6 ("cgroup: factor out cgroup_{apply|finalize}_control() from cgroup_subtree_control_write()") broke error return value from the function. The return value from the last operation is always overridden to zero. Fix it. Signed-off-by: Tejun Heo Cc:

[PATCH] staging: comedi: ni_mio_common.c: fix coding style issue

2017-07-23 Thread Christopher Mårtensson
>From 3e90ab52ad9b437d7c09cc667161cdb855c0cc7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20M=C3=A5rtensson?= Date: Sun, 23 Jul 2017 13:05:09 +0200 Subject: [PATCH] staging: comedi: ni_mio_common.c: fix coding style issue "checkpatch.pl -f ..." gave ERROR: open

RE: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-23 Thread liujian (CE)
Hi I find it caused by below steps: 1. set tp_version to TPACKET_V3 and req->tp_block_nr to 1 2. set tp_block_nr to 0 Then pg_vec was freed, and we did not delete the timer? Best Regards, liujian > -Original Message- > From: liujian (CE) > Sent: Sunday, July 23, 2017 5:47 PM > To:

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

2017-07-23 Thread Randy Dunlap
On 07/22/2017 10:35 PM, kbuild test robot wrote: > 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

Re: [PATCH 23/32] tracing: Add 'onmatch' hist trigger action support

2017-07-23 Thread Namhyung Kim
On Mon, Jun 26, 2017 at 05:49:24PM -0500, Tom Zanussi wrote: > Add an 'onmatch(matching.event).(param list)' > hist trigger action which is invoked with the set of variables or > event fields named in the 'param list'. The result is the generation > of a synthetic event that consists of the

Re: [linux-sunxi] [PATCH 2/3] arm64: allwinner: a64: enable AXP803 for Banana Pi M64

2017-07-23 Thread Icenowy Zheng
于 2017年7月23日 GMT+08:00 下午11:15:04, Chen-Yu Tsai 写到: >On Fri, Jul 21, 2017 at 7:38 PM, wrote: >> 在 2017-07-21 15:49,Chen-Yu Tsai 写道: >>> >>> On Fri, Jul 21, 2017 at 3:44 PM, Icenowy Zheng >wrote: 于 2017年7月21日 GMT+08:00

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

2017-07-23 Thread Boqun Feng
On Sat, Jul 22, 2017 at 09:43:00PM -0700, Paul E. McKenney wrote: [...] > > Your priority seemed to be in reducing the chance of the "if" statement > > to be optimized away. So I suggested to use "extern" as a compromise. > Hi Akira, The problem is that, such a compromise doesn't help

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

2017-07-23 Thread Florian Fainelli
On 07/22/2017 03:09 PM, Salil Mehta wrote: > 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

Re: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-23 Thread Cong Wang
On Sun, Jul 23, 2017 at 5:48 AM, liujian (CE) wrote: > Hi > > I find it caused by below steps: > 1. set tp_version to TPACKET_V3 and req->tp_block_nr to 1 > 2. set tp_block_nr to 0 > Then pg_vec was freed, and we did not delete the timer? Thanks for testing! Ah, I overlook

Re: [PATCH] ARM64: meson-gxl: disable broken eee

2017-07-23 Thread Joseph Kogut
Hi Kevin, I tested on a P212 reference board, which is currently the only GXL based board I have. Before applying the patch, high activity on the ethernet interface would cause the link to break, requiring the interface to be brought down and back up before it would work again. After applying

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

2017-07-23 Thread Stephen Hemminger
On Sat, 22 Jul 2017 23:09:41 +0100 Salil Mehta wrote: > + HNS3_NETDEV_STAT("rx_packets", rx_packets), > + HNS3_NETDEV_STAT("tx_packets", tx_packets), > + HNS3_NETDEV_STAT("rx_bytes", rx_bytes), > + HNS3_NETDEV_STAT("tx_bytes", tx_bytes), > +

Re: [RFC PATCH v12 3/4] Linux Random Number Generator

2017-07-23 Thread Sandy Harris
Sandy Harris wrote: > The biggest problem with random(4) is that you cannot generate good > output without a good seed & just after boot, ... > > The only really good solution I know of is to find a way to provide a > chunk of randomness early in the boot process. John

Re: [PATCH v3 1/3] string.h: add memcpy_and_pad()

2017-07-23 Thread kbuild test robot
Hi Martin, [auto build test ERROR on linus/master] [also build test ERROR 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:

[PATCH] Staging : unisys : visorbus : visorbus_main: Fixed a brace cdoing style issue

2017-07-23 Thread Himanshu Jha
Fixed coding style issue for function declaration. Signed-off-by: Himanshu Jha --- drivers/staging/unisys/visorbus/visorbus_main.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c

Re: [PATCH v3 3/4] btrfs: Add zstd support

2017-07-23 Thread kbuild test robot
/20170723-092845 config: parisc-allyesconfig (attached as .config) compiler: hppa-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save

Re: [PATCH Y.A. RESEND] MAINTAINERS: fix alpha. ordering

2017-07-23 Thread Linus Torvalds
On Sun, Jul 23, 2017 at 12:49 PM, Linus Torvalds wrote: > > The end result looks ok. I can run > > perl parse-maintainers.pl < MAINTAINERS > outfile > > and the end result is actually a *properly* sorted MAINTAINERS file as > far as I can tell. Yeah, there's

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

2017-07-23 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 2/2] cpufreq: schedutil: Use unsigned int for iowait boost

2017-07-23 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:

Re: [PATCH v3 3/5] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-07-23 Thread Jonathan Cameron
On Sun, 23 Jul 2017 22:13:52 +0800 Icenowy Zheng wrote: > This adds support for the Allwinner H3 thermal sensor. > > Allwinner H3 has a thermal sensor like the one in A33, but have its > registers nearly all re-arranged, sample clock moved to CCU and a pair > of bus clock and

[PATCH v6 3/3] hwrng: add a driver for Freescale RNGC

2017-07-23 Thread Martin Kaiser
The driver is ported from Freescale's Linux git and can be found in the vendor/freescale/imx_2.6.35_maintain branch. The driver supports both RNG version C that's part of some Freescale i.MX3 SoCs and version B that is available on i.MX2x chipsets. Signed-off-by: Steffen Trumtrar

[PATCH v6 1/3] Documentation: devicetree: add Freescale RNGC binding

2017-07-23 Thread Martin Kaiser
From: Steffen Trumtrar Add binding documentation for the Freescale RNGC found on some i.MX2/3 SoCs. Signed-off-by: Steffen Trumtrar Signed-off-by: Martin Kaiser --- Changes in v6: - be more precise about rngc and rngb

Re: [PATCH v2 1/2] x86/amd: Refactor topology extension related code

2017-07-23 Thread kbuild test robot
Hi Suravee, [auto build test ERROR on tip/x86/core] [also build test ERROR 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 V4 net-next 6/8] net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC

2017-07-23 Thread Florian Fainelli
On 07/22/2017 03:09 PM, Salil Mehta wrote: > 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 >

[PATCH-next] IB/hns: fix implicit irq include causing build fails in roce_eq

2017-07-23 Thread Paul Gortmaker
To fix: drivers/infiniband/hw/hns/hns_roce_eq.c:477:1: error: unknown type name ‘irqreturn_t’ static irqreturn_t hns_roce_msi_x_interrupt(int irq, void *eq_ptr) ^ drivers/infiniband/hw/hns/hns_roce_eq.c: In function ‘hns_roce_msi_x_interrupt’: drivers/infiniband/hw/hns/hns_roce_eq.c:485:2:

[PATCH] thermal: core: fix some format issues on critical shutdown string

2017-07-23 Thread Icenowy Zheng
The critical shutdown notice string used to have some spaces missing, which makes it not so pretty. Add the spaces to satisfy usual English space rules. Reported-by: Mingcong Bai Signed-off-by: Icenowy Zheng --- drivers/thermal/thermal_core.c | 2 +- 1 file

[PATCH-next] bus: fsl-mc: fix implicit irq include causing build fails

2017-07-23 Thread Paul Gortmaker
To fix: In file included from drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h:39:0, from drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c:34: drivers/staging/fsl-dpaa2/ethernet/../../fsl-mc/include/dpaa2-io.h:86:1: error: unknown type name ‘irqreturn_t’ irqreturn_t

Re: [PATCH] hwmon: (it87) Reapply probe path chip registers settings after resume

2017-07-23 Thread Guenter Roeck
On 07/23/2017 09:12 AM, Maciej S. Szmigiero wrote: After a suspend / resume cycle we possibly need to reapply chip registers settings that we had set or fixed in a probe path, since they might have been reset to default values or set incorrectly by a BIOS again. Tested on a Gigabyte M720-US3

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

2017-07-23 Thread Andi Kleen
On Sun, Jul 23, 2017 at 07:46:05AM +0900, Namhyung Kim wrote: > 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 > > > @@

Re: bluetooth in v4.13-rc1: lock init missing somewhere?

2017-07-23 Thread Marcel Holtmann
Hi Pavel, >>> I guess output just after boot will be more interesting? >>> >>> root@n900:/my/modules# insmod hci_nokia.ko >>> root@n900:/my/modules# >>> Message from syslogd@localhost at Jul 19 12:24:00 ... >>> kernel:[ 174.363037] BUG: rwlock bad magic on CPU#0, >>> kworker/u3:0/3027, c2665a48

[PATCH] staging: imx: fix non-static declarations

2017-07-23 Thread JB Van Puyvelde
Add static keywords to fix this kind of sparse warnings: warning: symbol 'imx_t_vcm_timing' was not declared. Should it be static? Signed-off-by: JB Van Puyvelde --- drivers/staging/media/atomisp/i2c/imx/imx.c | 24 1 file changed, 12

[PATCH] hwmon: (it87) Reapply probe path chip registers settings after resume

2017-07-23 Thread Maciej S. Szmigiero
After a suspend / resume cycle we possibly need to reapply chip registers settings that we had set or fixed in a probe path, since they might have been reset to default values or set incorrectly by a BIOS again. Tested on a Gigabyte M720-US3 board, which requires routing internal VCCH5V to in7

Re: [PATCH Y.A. RESEND] MAINTAINERS: fix alpha. ordering

2017-07-23 Thread Linus Torvalds
Ok, so I already applied your alpha-ordering patch, but it just annoyed me that (a) the ordering wasn't complete (b) this wasn't scripted. However, the sane way of scripting it is clearly not to do it in C, which I'd be comfy with, because that would be insane. Instead, it should be done in

Re: [PATCH 6/8] x86: add MULTIUSER dependency for KVM

2017-07-23 Thread Paolo Bonzini
On 19/07/2017 18:13, Radim Krčmář wrote: > Good point, 'select' seems misused here. > > There is no reason to depend on TASKSTATS (nor NET+MULTIUSER), we only > suggest to enable it with KVM. KVM uses sched_info_on() to handle any > any possible resulting configuration, c9aaa8957f20 ("KVM: Steal

[PATCH v3 3/5] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-07-23 Thread Icenowy Zheng
This adds support for the Allwinner H3 thermal sensor. Allwinner H3 has a thermal sensor like the one in A33, but have its registers nearly all re-arranged, sample clock moved to CCU and a pair of bus clock and reset added. It's also the base of newer SoCs' thermal sensors. Some new options is

[PATCH v3 4/5] ARM: sun8i: h3: add support for the thermal sensor in H3

2017-07-23 Thread Icenowy Zheng
As we have gained the support for the thermal sensor in H3, we can now add its device nodes to the device tree. Add them to the H3 device tree. The H5 thermal sensor has some differences, and will be added furtherly. Signed-off-by: Icenowy Zheng --- Changes in v3: - Clock name

[PATCH v3 2/5] iio: adc: sun4i-gpadc-iio: rename A23/A33-specified registers to contain A23

2017-07-23 Thread Icenowy Zheng
As the H3 SoC, which is also in sun8i line, has totally different register map for the thermal sensor (a cut down version of GPADC), we should rename A23/A33-specified registers to contain A23, in order to prevent obfuscation with H3 registers. Currently these registers are only prefixed "SUN8I",

[PATCH v3 0/5] IIO-based thermal sensor driver for Allwinner H3 SoC

2017-07-23 Thread Icenowy Zheng
Allwiner H3 SoC has a thermal sensor, which is a large refactored version of the old Allwinner "GPADC" (although it have already only thermal part left in A33). This patch tried to add support for the sensor in H3 based on the A33 thermal sensor driver by Quentin Schulz, which is already merged.

[PATCH v3 1/5] dt-bindings: update the Allwinner GPADC device tree binding for H3

2017-07-23 Thread Icenowy Zheng
Allwinner H3 features a thermal sensor like the one in A33, but has its register re-arranged, the clock divider moved to CCU (originally the clock divider is in ADC) and added a pair of bus clock and reset. Update the binding document to cover H3. Signed-off-by: Icenowy Zheng

[PATCH v3 5/5] ARM: sun8i: h3: add partial CPU thermal zone

2017-07-23 Thread Icenowy Zheng
Because of the restriction of the OF thermal framework, the thermal sensor will fail to probe if the thermal zone doesn't exist. Add a partial thermal zone which claims the H3 THS as the thermal sensor. The cooling device (CPU DVFS) is still not added as it's not ready, and the trip points are

Re: [linux-sunxi] [PATCH 2/3] arm64: allwinner: a64: enable AXP803 for Banana Pi M64

2017-07-23 Thread Chen-Yu Tsai
On Fri, Jul 21, 2017 at 7:38 PM, wrote: > 在 2017-07-21 15:49,Chen-Yu Tsai 写道: >> >> On Fri, Jul 21, 2017 at 3:44 PM, Icenowy Zheng wrote: >>> >>> >>> >>> 于 2017年7月21日 GMT+08:00 下午3:42:07, Chen-Yu Tsai 写到: On Fri, Jul 21, 2017 at 7:07

Re: [PATCH 04/12] ARM: sa1100/pxa: fix MTD_XIP build

2017-07-23 Thread Robert Jarzmik
Arnd Bergmann writes: Hi Arnd, > -#define xip_irqpending() (ICIP & ICMR) > +/* restored July 2017, this did not build since 2011! */ > + > +#define ICIP io_p2v(0x40d0) > +#define ICMR io_p2v(0x40d4) Okay, I suppose the IO mapping is

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

2017-07-23 Thread Florian Fainelli
On 07/22/2017 03:09 PM, Salil Mehta wrote: > 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 >

[PATCH 0/4] constify codecs acpi_device_id.

2017-07-23 Thread Arvind Yadav
acpi_device_id are not supposed to change at runtime. All functions working with acpi_device_id provided by work with const acpi_device_id. So mark the non-const structs as const. Arvind Yadav (4): [PATCH 1/4] ASoC: rt5514: constify acpi_device_id. [PATCH 2/4] ASoC: rt5663: constify

[PATCH 4/4] ASoC: rt5665: constify acpi_device_id.

2017-07-23 Thread Arvind Yadav
acpi_device_id are not supposed to change at runtime. All functions working with acpi_device_id provided by work with const acpi_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/soc/codecs/rt5665.c | 2 +- 1 file changed, 1

  1   2   3   4   5   >