Re: [PATCH v13 3/5] powerpc/perf: Add nest imc pmu support

2017-07-22 Thread Madhavan Srinivasan
my bad, missed to change the authership of this patch. From: Anju T Sudhakar On Wednesday 19 July 2017 03:06 AM, Madhavan Srinivasan wrote: Add support to register Nest In-Memory Collection pmu counters. Patch adds a new device file called "imc-pmu.c" under powerpc/perf folder to contain all t

Re: [PATCH v13 4/5] powerpc/perf: Add core imc pmu support

2017-07-22 Thread Madhavan Srinivasan
my bad, missed to change the authership of this patch. From: Anju T Sudhakar On Wednesday 19 July 2017 03:06 AM, Madhavan Srinivasan wrote: Add support to register Core In-Memory Collection pmu counters. Patch adds core imc specific data structures, along with memory init functions and cpuhotp

Re: [PATCH v13 5/5] powerpc/perf: Add thread imc pmu support

2017-07-22 Thread Madhavan Srinivasan
my bad, missed to change the authership of this patch. From: Anju T Sudhakar On Wednesday 19 July 2017 03:06 AM, Madhavan Srinivasan wrote: Add support to register Thread In-Memory Collection pmu counters. Patch adds thread imc specific data structures, along with memory init functions and cpu

Re: [PATCH] staging: vboxvideo: make a couple of symbols static

2017-07-22 Thread Michael Thayer
22.07.2017 00:17, Hans de Goede wrote: > Hi, > > On 19-07-17 11:36, Colin King wrote: >> From: Colin Ian King >> >> Module parameter vbox_modeset and structure vbox_bo_driver do not need to >> be in global scope and hence can be made static. >> >> Cleans up a couple of sparse warnings: >> symbol

[PATCH 2/2] fsl/qe: Cleanup error paths in ucc_of_parse_tdm()

2017-07-22 Thread Dan Carpenter
The most important part of this change is that it not propogates error codes instead of returning -EINVAL. There was also a tab missing, and a couple other minor cleanups which don't affect runtime. Signed-off-by: Dan Carpenter --- Not tested, but I don't think propogating the errors will cause

[PATCH] perf script: remove some bogus error handling

2017-07-22 Thread Dan Carpenter
If script_desc__new() fails then the current code has a NULL dereference. We don't actually need to do any cleanup, we can just return NULL. Signed-off-by: Dan Carpenter diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 83cdc0a61fd6..89ea2bc9b9be 100644 --- a/tools/pe

[PATCH v6] 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 t

Re: [PATCH 2/2] dma: Add Spreadtrum DMA controller driver

2017-07-22 Thread Vinod Koul
On Tue, Jul 18, 2017 at 03:06:12PM +0800, Baolin Wang wrote: > +/* DMA global registers definition */ > +#define DMA_GLB_PAUSE0x0 > +#define DMA_GLB_FRAG_WAIT0x4 > +#define DMA_GLB_REQ_PEND0_EN 0x8 > +#define DMA_GLB_REQ_PEND1_EN 0xc > +#define D

[PATCH] tile: array underflow in setup_maxnodemem()

2017-07-22 Thread Dan Carpenter
My static checker correctly complains that we should have a lower bound on "node" to prevent an array underflow. Fixes: 867e359b97c9 ("arch/tile: core support for Tilera 32-bit chips.") Signed-off-by: Dan Carpenter diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c index 443a70bccc

Re: [PATCH 3/3] staging: pi433: - style fix, space at start of line

2017-07-22 Thread Marcus Wolf
Reviewed-by: Marcus Wolf Regarding the patch for rf69.c, I'd prefer to have all mantisses allinged (all 'm' as a column below each other, all 'a' below each other, ...). For me that improves the readability a lot. Maybe that can be acchieved somehow without breaking the style rules - but for sur

Re: [PATCH 2/3] staging: pi433: - style fix, space before tabs

2017-07-22 Thread Marcus Wolf
Reviewed-by: Marcus Wolf >From my point of view, the rearrangement of the block of SET_CHECKED reduces >the readability a lot. I like same stuff to be aligned (all brakets below each other as a column, all spi->dev below each other and so on) But if it is necessary to fullfill the rules, we hav

Re: [PATCH 1/3] staging: pi433: Style fix - align block comments

2017-07-22 Thread Marcus Wolf
Reviewed-by: Marcus Wolf Thanks for your work, Derek! > Derek Robson hat am 22. Juli 2017 um 05:50 geschrieben: > > > Fixed the alignment of block comments > Found using checkpatch > > Signed-off-by: Derek Robson > --- > drivers/staging/pi433/pi433_if.c | 38 +++-- > drivers/staging

Re: [PATCH v2] ovl: drop CAP_SYS_RESOURCE from saved mounter's credentials

2017-07-22 Thread Amir Goldstein
Bumped into this patch (Now upstream commit 51f8f3c4e225) and realized it is missing cc: stable # v4.8 At least this docker PR suggests that regression introduced in v4.8 will not be appreciated down the road: https://github.com/moby/moby/issues/29364 On Tue, Jan 10, 2017 at 9:17 PM, Vivek Goyal

[GIT PULL] Staging driver fixes and a new driver for 4.13-rc2

2017-07-22 Thread Greg KH
The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.13-rc2 for you to fetch changes up to 5a1d4c5dd4

[GIT PULL] USB fixes for 4.13-rc2

2017-07-22 Thread Greg KH
The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.13-rc2 for you to fetch changes up to d6f5f071f1e13cadec

[GIT PULL] Char/Misc driver fixes for 4.13-rc2

2017-07-22 Thread Greg KH
The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.13-rc1 for you to fetch changes up to c89876

[GIT PULL] TTY/Serial fixes for 4.13-rc2

2017-07-22 Thread Greg KH
The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.13-rc2 for you to fetch changes up to c6325179238f1d4683

Re: [PATCH v2 4/7] driver core: add devm_device_add_group() and friends

2017-07-22 Thread Greg Kroah-Hartman
On Thu, Jul 20, 2017 at 08:50:26AM -0700, Dmitry Torokhov wrote: > On July 20, 2017 1:20:09 AM PDT, Greg Kroah-Hartman > wrote: > >On Thu, Jul 20, 2017 at 01:12:56AM -0700, Dmitry Torokhov wrote: > >> Any chance you could create an unmutable branch off 4.12 so I can > >start using it in input dri

RE: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-22 Thread liujian (CE)
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 RAX: RBX: 8801b49d0948 RCX: RDX: 8801b31057a0 RSI: a56b6b6b6b6b6b6b

[PATCH] staging: pi433: use IS_ERR to check kthread_run return value

2017-07-22 Thread Paolo Cretaro
Fix compiler warning: ordered comparison of pointer with integer zero Signed-off-by: Paolo Cretaro --- drivers/staging/pi433/pi433_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 1bc478a7f49e..79bd

Re: [PATCH] staging: pi433: use IS_ERR to check kthread_run return value

2017-07-22 Thread Paolo Cretaro
On 22/07/2017 12:27, Paolo Cretaro wrote: > Fix compiler warning: ordered comparison of pointer with integer zero Sorry, just noticed a similar patch has been submitted a few days ago, please ignore this patch. Paolo > > Signed-off-by: Paolo Cretaro > --- > drivers/staging/pi433/pi433_if.c |

[PATCH] staging: vboxvideo: remove unused variables

2017-07-22 Thread Paolo Cretaro
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 Cretaro --- drivers/staging/vboxvideo/vbox_mode.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/st

Re: [PATCH][media-next] media: dvb-frontends/stv0910: make various local variables static

2017-07-22 Thread Daniel Scheller
Am Fri, 21 Jul 2017 12:06:35 +0100 schrieb Colin King : > From: Colin Ian King > > The list stvlist and arrays padc_lookup, s1_sn_lookup and s2_sn_lookup > do not need to be in global scope, so make them all static. > > Cleans up a bunch of smatch warnings: > symbol 'padc_lookup' was not declar

Re: [PATCH net] net: ethernet: mediatek: avoid potential invalid memory access

2017-07-22 Thread kbuild test robot
Hi Sean, [auto build test WARNING on net/master] url: https://github.com/0day-ci/linux/commits/sean-wang-mediatek-com/net-ethernet-mediatek-avoid-potential-invalid-memory-access/20170722-155541 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9

Re: [GIT PULL] xen: features and fixes for 4.13-rc2

2017-07-22 Thread Juergen Gross
On 21/07/17 22:57, Linus Torvalds wrote: > On Fri, Jul 21, 2017 at 3:17 AM, Juergen Gross wrote: >> drivers/xen/pvcalls-back.c | 1236 >> > > This really doesn't look like a fix. > > The merge window is over. > > So I'm not pulling this without way

Re: [PATCH v3 0/4] Add xxhash and zstd modules

2017-07-22 Thread Adam Borowski
On Fri, Jul 21, 2017 at 11:56:21AM -0400, Austin S. Hemmelgarn wrote: > On 2017-07-20 17:27, Nick Terrell wrote: > > This patch set adds xxhash, zstd compression, and zstd decompression > > modules. It also adds zstd support to BtrFS and SquashFS. > > > > Each patch has relevant summaries, benchma

Re: [PATCH v7 3/3] clk: stm32h7: Add stm32h743 clock driver

2017-07-22 Thread Gabriel FERNANDEZ
On 07/21/2017 10:37 PM, Stephen Boyd wrote: > On 07/20, Vladimir Zapolskiy wrote: >> Hi Gabriel, >> >> On 07/20/2017 11:31 AM, Gabriel FERNANDEZ wrote: >>> Hi Vladimir, >>> >>> >>> On 07/19/2017 11:20 PM, Vladimir Zapolskiy wrote: Hello Gabriel, On 07/19/2017 05:25 PM, gabriel.fern

Re: [PATCH v7 3/3] clk: stm32h7: Add stm32h743 clock driver

2017-07-22 Thread Gabriel FERNANDEZ
On 07/19/2017 11:20 PM, Vladimir Zapolskiy wrote: > Hello Gabriel, > > On 07/19/2017 05:25 PM, gabriel.fernan...@st.com wrote: >> From: Gabriel Fernandez >> >> This patch enables clocks for STM32H743 boards. >> >> Signed-off-by: Gabriel Fernandez >> >> for MFD changes: >> Acked-by: Lee Jones >

[PATCH v8 0/3] clk: stm32h7: Add stm32h743 clock driver

2017-07-22 Thread gabriel.fernandez
From: Gabriel Fernandez v8: - Documentation remarks from Valdimir: - rename 'rcc' node name into 'reset-clock-controller' - delete source paths into the device tree bindings documentation - other cosmetic changes v7: - Documentation: put 'st,syscfg' phandle in optional

[PATCH v8 3/3] clk: stm32h7: Add stm32h743 clock driver

2017-07-22 Thread gabriel.fernandez
From: Gabriel Fernandez This patch enables clocks for STM32H743 boards. Signed-off-by: Gabriel Fernandez for MFD changes: Acked-by: Lee Jones for DT-Bindings Acked-by: Rob Herring --- .../devicetree/bindings/clock/st,stm32h7-rcc.txt | 71 + drivers/clk/Makefile

[PATCH v8 2/3] clk: gate: expose clk_gate_ops::is_enabled

2017-07-22 Thread gabriel.fernandez
From: Gabriel Fernandez This patch exposes clk_gate_ops::is_enabled as functions that can be directly called and assigned in places like this so we don't need wrapper functions that do nothing besides forward the call. Signed-off-by: Gabriel Fernandez Suggested-by: Stephen Boyd --- drivers/cl

[PATCH v8 1/3] clk: nxp: clk-lpc32xx: rename clk_gate_is_enabled()

2017-07-22 Thread gabriel.fernandez
From: Gabriel Fernandez We need to export clk_gate_is_enabled() from clk framework, then to avoid compilation issue we have to rename clk_gate_is_enabled() in NXP LPC32xx clock driver. We changed all gate op with 'lpc32xx_' prefix: lpc32xx_clk_gate_enable(), lpc32xx_clk_gate_disable(), lpc32xx_cl

[PATCH v2 net] net: ethernet: mediatek: avoid potential invalid memory access

2017-07-22 Thread sean.wang
From: Sean Wang Potential dangerous invalid memory might be accessed if invalid mac value reflected from the forward port field in rxd4 caused by possible potential hardware defects. So added a simple sanity checker to avoid the kind of situation happening. Signed-off-by: Sean Wang Acked-by: Jo

[PATCH v2] ARM: zImage: Fix stack overflow in merge_fdt_bootargs()

2017-07-22 Thread Rask Ingemann Lambertsen
This function is called very early on from head.S and currently sets up a stack frame of more than 1024 bytes: atags_to_fdt.c: In function ‘merge_fdt_bootargs’: atags_to_fdt.c:98:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=] This causes a crash and fai

Re: [PATCH v3 2/2] acpi/iort: numa: Add numa node mapping for smmuv3 devices

2017-07-22 Thread Ganapatrao Kulkarni
On Sat, Jul 22, 2017 at 8:53 AM, Hanjun Guo wrote: > Hi Ganapat, > > On 2017/6/8 12:44, Ganapatrao Kulkarni wrote: >> Add code to parse proximity domain in SMMUv3 IORT table to >> set numa node mapping for smmuv3 devices. >> >> Signed-off-by: Ganapatrao Kulkarni >> --- >> drivers/acpi/arm64/iort

Re: [PATCH 058/102] phy: rockchip-pcie: explicitly request exclusive reset control

2017-07-22 Thread Shawn Lin
Hi Philipp On 2017/7/19 23:26, Philipp Zabel wrote: Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting reset lines") started to transition the reset control request API calls to explicitly state whether the driver needs exclusive or shared reset control behavior. Convert al

Re: [PATCH 3.18 36/68] Handle mismatched open calls

2017-07-22 Thread Greg Kroah-Hartman
On Wed, Jul 19, 2017 at 06:39:13PM +, Pavel Shilovskiy wrote: > 2017-07-14 9:43 Ben Hutchings : > > On Fri, 2017-05-05 at 11:32 -0700, Greg Kroah-Hartman wrote: > > > 3.18-stable review patch.  If anyone has any objections, please let me > > > know. > > > > > > -- > > > > > >

Re: [PATCH 054/102] PCI: rockchip: explicitly request exclusive reset control

2017-07-22 Thread Shawn Lin
Hi Philipp, On 2017/7/19 23:25, Philipp Zabel wrote: Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting reset lines") started to transition the reset control request API calls to explicitly state whether the driver needs exclusive or shared reset control behavior. Convert a

Re: [PATCH 038/102] mmc: dw_mmc: explicitly request exclusive reset control

2017-07-22 Thread Shawn Lin
On 2017/7/19 23:25, Philipp Zabel wrote: Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting reset lines") started to transition the reset control request API calls to explicitly state whether the driver needs exclusive or shared reset control behavior. Convert all drivers re

Re: [PATCH v2 1/4] cgroup: Child cgroup creation not allowed on invalid domain

2017-07-22 Thread Tejun Heo
Hello, Waiman. On Fri, Jul 21, 2017 at 04:34:50PM -0400, Waiman Long wrote: > When thread mode is used, it is possible that some cgroups may be > in an invalid state. Currently users may not be aware that they are > invalid until they try to migrate tasks over. This patch disallows > child cgroup

Re: [PATCH v2 2/4] cgroup: Allow bypass mode in subtree_control

2017-07-22 Thread Tejun Heo
Hello, Waiman. On Fri, Jul 21, 2017 at 04:34:51PM -0400, Waiman Long wrote: > The special prefix '#' attached to a controller name can now be written > into the cgroup.subtree_control file to set that controller in bypass > mode in all the child cgroups. The controller will show up in the > childr

Re: [PATCH 2/2] mmc: Add mmc_force_detect_change_begin / _end functions

2017-07-22 Thread Shawn Lin
invite Jack from expressif 在 2017/7/21 22:35, Quentin Schulz 写道: From: Hans de Goede Some sdio devices have a multiple stage bring-up process. Specifically the esp8089 (for which an out of tree driver is available) loads firmware on the first call to its sdio-drivers' probe function and then r

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

2017-07-22 Thread 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 VM_EXIT_INTR_INFO and EXIT_QUALIFICATION fields of th

[GIT PULL] hwmon fixes for v4.13-rc2

2017-07-22 Thread Guenter Roeck
Hi Linus, Please pull hwmon fixes for Linux v4.13-rc2 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus-v4.13-rcX Thanks, Guenter -- The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (20

Re: [PATCHv6,3/4] hwmon: da9052: replace S_IRUGO with 0444

2017-07-22 Thread Guenter Roeck
Hi Sebastian, On Tue, Jul 18, 2017 at 11:20:23AM +0200, Sebastian Reichel wrote: > Fix checkpatch warnings about S_IRUGO being less readable than > providing the permissions octal as '0444'. > > Signed-off-by: Sebastian Reichel Again: Acked-by: Guenter Roeck If you don't make changes, please

Re: [PATCHv6,4/4] hwmon: da9052: add support for TSI channel

2017-07-22 Thread Guenter Roeck
On Tue, Jul 18, 2017 at 11:20:24AM +0200, Sebastian Reichel wrote: > TSI channel has a 4 channel mux connected to it and is normally > used for touchscreen support. The hardware may alternatively > use it as general purpose adc. > > Signed-off-by: Sebastian Reichel Acked-by: Guenter Roeck Same

Re: [PATCHv4 3/4] dt-bindings: mfd: da9052: support TSI as ADC

2017-07-22 Thread Guenter Roeck
On 07/17/2017 04:27 AM, Sebastian Reichel wrote: Hi Lee, On Mon, Jul 17, 2017 at 11:49:45AM +0100, Lee Jones wrote: On Fri, 30 Jun 2017, Sebastian Reichel wrote: DA9052 allows using the touchscreen input pins as general purpose analogue input pin by wiring analogue inputs to X+, X-, Y+ and Y-

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

2017-07-22 Thread Kevin Hilman
Hi Joseph, Joseph Kogut writes: > Meson GXL appears to suffer from the same broken eee issue as GXB, > originally fixed by feb3cbea0946. > > This patch disables the broken energy-efficient ethernet for GXL, > avoiding the tx link breakage. > > Signed-off-by: Joseph Kogut Can you share what pla

Re: [PATCH 4.12 00/84] 4.12.3-stable review

2017-07-22 Thread Kevin Hilman
+ Sjoerd @ Collabora Shuah Khan writes: > On 07/19/2017 10:29 AM, kernelci.org bot wrote: >> stable-rc/linux-4.12.y boot: 166 boots: 5 failed, 161 passed >> (v4.12.2-85-g908a8d27d1c5) >> >> Full Boot Summary: >> https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.12.y/kernel/v4.12.2-85

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

2017-07-22 Thread Borislav Petkov
On Fri, Jul 21, 2017 at 09:00:38PM -0500, Suravee Suthikulpanit wrote: > Refactoring in preparation for subsequent changes. > There is no functional change. > > Signed-off-by: Suravee Suthikulpanit > --- > arch/x86/kernel/cpu/amd.c | 79 > ++- > 1 fil

Re: [PATCH v4 1/5] mm: add mkwrite param to vm_insert_mixed()

2017-07-22 Thread Dan Williams
On Fri, Jul 21, 2017 at 3:39 PM, Ross Zwisler wrote: > To be able to use the common 4k zero page in DAX we need to have our PTE > fault path look more like our PMD fault path where a PTE entry can be > marked as dirty and writeable as it is first inserted, rather than waiting > for a follow-up dax

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

2017-07-22 Thread Gustavo A. R. Silva
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, because then it is likely being used as permanent storage. Makes sense to

Re: [GIT PULL] hwmon fixes for v4.13-rc2

2017-07-22 Thread Linus Torvalds
On Sat, Jul 22, 2017 at 7:30 AM, Guenter Roeck wrote: > Hi Linus, > > Please pull hwmon fixes for Linux v4.13-rc2 from signed tag: > > git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git > hwmon-for-linus-v4.13-rcX Please fix whatever broken script it is that generates thi

[PATCH] Staging: lustre: Place the open brace on previous line.

2017-07-22 Thread Shreeya Patel
Remove errors by placing the open braces on previous line. This saves the vertical space of the code. Problem found by checkpatch. Signed-off-by: Shreeya Patel --- drivers/staging/lustre/lnet/libcfs/hash.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --g

Re: [PATCH] Staging: lustre: Place the open brace on previous line.

2017-07-22 Thread Joe Perches
On Sat, 2017-07-22 at 22:26 +0530, Shreeya Patel wrote: > Remove errors by placing the open braces on previous line. > This saves the vertical space of the code. > > Problem found by checkpatch. No. These are checkpatch false positives. > diff --git a/drivers/staging/lustre/lnet/libcfs/hash.c

Re: [PATCH v4 1/4] soc: brcmstb: Add Product ID and Family ID helper functions

2017-07-22 Thread Florian Fainelli
On 07/21/2017 07:10 AM, Al Cooper wrote: > Signed-off-by: Al Cooper Acked-by: Florian Fainelli > --- > drivers/soc/bcm/brcmstb/common.c| 12 > include/linux/soc/brcmstb/brcmstb.h | 10 ++ > 2 files changed, 22 insertions(+) > > diff --git a/drivers/soc/bcm/brcmstb/c

Re: [PATCH v5 0/3] TPS68470 PMIC drivers

2017-07-22 Thread Andy Shevchenko
On Fri, Jul 21, 2017 at 11:51 PM, Rafael J. Wysocki wrote: > On Friday, July 21, 2017 06:20:15 PM Andy Shevchenko wrote: >> On Fri, Jul 21, 2017 at 5:46 PM, Rajmohan Mani >> wrote: >> > This is the patch series for TPS68470 PMIC that works as a camera PMIC. >> > >> > The patch series provide the

Re: [PATCH] IB/qib: remove duplicate code

2017-07-22 Thread Doug Ledford
On 6/7/2017 4:42 PM, Gustavo A. R. Silva wrote: > Remove duplicate code. > > Addresses-Coverity-ID: 1226951 > Signed-off-by: Gustavo A. R. Silva This patch was accepted into 4.13-rc, thanks. In addition, I no longer have the original email for another patch of yours that was also accepted into

Re: [PATCH] IB/qib: remove duplicate code

2017-07-22 Thread Doug Ledford
On 7/22/2017 1:20 PM, Doug Ledford wrote: > On 6/7/2017 4:42 PM, Gustavo A. R. Silva wrote: >> Remove duplicate code. >> >> Addresses-Coverity-ID: 1226951 >> Signed-off-by: Gustavo A. R. Silva > > This patch was accepted into 4.13-rc, thanks. Correction, this patch is in my queue for my for-next

Re: [PATCH 1/2] RDMA/ocrdma: Fix an error code in ocrdma_alloc_pd()

2017-07-22 Thread Doug Ledford
On 7/13/2017 3:46 AM, Dan Carpenter wrote: > We should preserve the original "status" error code instead of resetting > it to zero. Returning ERR_PTR(0) is the same as NULL and results in a > NULL dereference in the callers. I added a printk() on error instead. > > Fixes: 45e86b33ec8b ("RDMA/ocr

Re: [PATCH] IB/qib: remove duplicate code

2017-07-22 Thread Gustavo A. R. Silva
Hi Doug, On 07/22/2017 12:22 PM, Doug Ledford wrote: On 7/22/2017 1:20 PM, Doug Ledford wrote: On 6/7/2017 4:42 PM, Gustavo A. R. Silva wrote: Remove duplicate code. Addresses-Coverity-ID: 1226951 Signed-off-by: Gustavo A. R. Silva This patch was accepted into 4.13-rc, thanks. Correction

Re: [PATCH 11/17] lib/interval_tree: fast overlap detection

2017-07-22 Thread Doug Ledford
On 7/18/2017 9:45 PM, Davidlohr Bueso wrote: > Allow interval trees to quickly check for overlaps to avoid > unnecesary tree lookups in interval_tree_iter_first(). > > As of this patch, all interval tree flavors will require > using a 'rb_root_cached' such that we can have the leftmost > node easi

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

2017-07-22 Thread Hans de Goede
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 Cretaro Patch looks good to me: Acked-by: Hans de Goede Regards,

Re: [PATCH v2 0/2] Fix modify_qp failure

2017-07-22 Thread Doug Ledford
On 7/14/2017 10:41 AM, Mustafa Ismail wrote: > Commit 5ecce4c9b17b("Check port number supplied by user verbs cmds") causes > modify_qp to fail because port_num is only valid when the mask is set. > > Additionally, for iWARP, the port_num is not initialized which also > causes modify_qp to fail. >

Re: [PATCH v1 2/6] mei: Switch to use new generic UUID API

2017-07-22 Thread kbuild test robot
Hi Andy, [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: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/uuid-Convert-rest-users-to-new-

Re: [PATCH v1 4/6] vmbus: Switch to use new generic UUID API

2017-07-22 Thread kbuild test robot
Hi Andy, [auto build test ERROR on linus/master] [also build test ERROR on v4.13-rc1] [cannot apply to next-20170721] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/uuid-Convert-

Re: [PATCH v1 5/6] uuid: Kill uapi/uuid.h

2017-07-22 Thread kbuild test robot
Hi Andy, [auto build test WARNING on linus/master] [also build test WARNING on v4.13-rc1] [cannot apply to next-20170721] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/uuid-Conv

Re: Moving ndctl development into the kernel tree?

2017-07-22 Thread Dan Williams
On Fri, Jul 21, 2017 at 7:52 PM, Dan Williams wrote: > [ adding Chris ] > > On Fri, Jul 21, 2017 at 4:44 PM, Dan Williams > wrote: >> On Fri, Jul 21, 2017 at 3:58 PM, Ingo Molnar wrote: >>> >>> * Dan Williams wrote: >>> [...] * Like perf, ndctl borrows the sub-command architectu

Re: [PATCH] [media] imx: add VIDEO_V4L2_SUBDEV_API dependency

2017-07-22 Thread Steve Longerbeam
Acked-by: Steve Longerbeam On 07/21/2017 09:21 AM, Arnd Bergmann wrote: Without this, I get a build error: drivers/staging/media/imx/imx-media-vdic.c: In function '__vdic_get_fmt': drivers/staging/media/imx/imx-media-vdic.c:554:10: error: implicit declaration of function 'v4l2_subdev_get_try_

Re: [REGRESSION] Touchpad failure after e7348396c6d5 ("Input: ALPS - fix V8+ protocol handling (73 03 28)")

2017-07-22 Thread Paul Donohue
Hmm... I see the same doubled X values in evtest, but everything works fine regardless of what value I set x_max to. Maybe the issue is related to the window manager? I've tried it under both Compiz and Xfwm with the same results. Regardless, the latest patch works for me. Thanks! -Paul On Th

Re: [PATCH] Fix Alps Touchpad two finger scroll does not work on right side

2017-07-22 Thread Paul Donohue
Tested-by: Paul Donohue On Fri, Jul 21, 2017 at 09:27:30AM +0900, Masaki Ota wrote: > From: Masaki Ota > > Fixed the issue that two finger scroll does not work correctly > on V8 protocol. The cause is that V8 protocol X-coordinate decode > is wrong at SS4 PLUS device. I added SS4 PLUS X decode

Re: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-22 Thread Cong Wang
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 > RAX: RBX: 8801b49d094

Re: [PATCHv4 3/4] dt-bindings: mfd: da9052: support TSI as ADC

2017-07-22 Thread Sebastian Reichel
Hi, On Sat, Jul 22, 2017 at 08:09:08AM -0700, Guenter Roeck wrote: > Yes, but you dropped all the Acks in v6. That is supposed to mean that there > was a substantial change to the patch, and that it needs to be re-reviewed. > For the hwmon patches, I ran a diff against v5 and noticed that there wa

Re: [PATCH 4/4] ARM: multi_v7_defconfig: Switch AXP20x driver from module to built-in

2017-07-22 Thread Kevin Hilman
Maxime Ripard writes: > Hi, > > On Wed, Jun 14, 2017 at 09:07:12AM +0200, Maxime Ripard wrote: >> On Tue, Jun 13, 2017 at 09:14:00AM -0700, Kevin Hilman wrote: >> > Maxime Ripard writes: >> > >> > > On Tue, Jun 06, 2017 at 12:45:17PM -0700, Kevin Hilman wrote: >> > >> On Mon, May 22, 2017 at 12

Re: [PATCH v3 2/3] Staging: iio: light: tsl2x7x_core.c: Replace symbolic permission with octal permission

2017-07-22 Thread Jonathan Cameron
On Wed, 19 Jul 2017 17:55:56 +0530 Jaya Durga wrote: > Replace symbolic permissions with their > octect representation to fix checkpatch warnings. > > Signed-off-by: Jaya Durga The IIO drivers in staging are handled via the iio tree on git.kernel.org from which Greg pulls a few times a cycle (w

Simplfying copy_siginfo_to_user

2017-07-22 Thread Eric W. Biederman
ebied...@xmission.com (Eric W. Biederman) writes: > Linus Torvalds writes: > >> On Tue, Jul 18, 2017 at 7:06 AM, Eric W. Biederman >> wrote: >>> struct siginfo is a union and the kernel since 2.4 has been hiding a union >>> tag in the high 16bits of si_code using the values: >>> __SI_KILL >>> __

Re: [PATCH v3 3/3] Staging: iio: adc: ad7280a.c: Fixed Macro argument reuse

2017-07-22 Thread Jonathan Cameron
On Wed, 19 Jul 2017 17:55:57 +0530 Jaya Durga wrote: > CHECK: Macro argument reuse 'addr' - possible side-effects? > > convert AD7280A_DEVADDR to ad7280a_devaddr static function > to fix checkpath check > > v3: small style changes > > Signed-off-by: Jaya Durga This patch is fine so I've appl

Re: [PATCH] ARM: dts: enable sdmmc for rockchip rv1108 evb

2017-07-22 Thread Heiko Stuebner
Am Donnerstag, 20. Juli 2017, 18:13:41 CEST schrieb Andy Yan: > Enable sdmmc on rv1108 evaluation board. Also > add pinctrl for sdmmc controller. > > Signed-off-by: Andy Yan applied for 4.14, after adapting the subject to ARM: dts: rockchip: enable sdmmc for rv1108 evb and moving the pi

Re: [PATCH 1/3] irq/irq_sim: add a simple interrupt simulator framework

2017-07-22 Thread Jonathan Cameron
On Wed, 19 Jul 2017 14:20:12 +0200 Bartosz Golaszewski wrote: > Implement a simple, irq_work-based framework for simulating > interrupts. Currently the API exposes routines for initializing and > deinitializing the simulator object, enqueueing the interrupts and > retrieving the allocated interru

Re: [PATCH] iio: Convert to using %pOF instead of full_name

2017-07-22 Thread Jonathan Cameron
On Tue, 18 Jul 2017 16:43:08 -0500 Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring > Cc: Jonathan Cameron > Cc

Re: [GIT PULL] hwmon fixes for v4.13-rc2

2017-07-22 Thread Guenter Roeck
On Sat, Jul 22, 2017 at 09:26:16AM -0700, Linus Torvalds wrote: > On Sat, Jul 22, 2017 at 7:30 AM, Guenter Roeck wrote: > > Hi Linus, > > > > Please pull hwmon fixes for Linux v4.13-rc2 from signed tag: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git > > hwmon-f

[PATCH] media: imx: prpencvf: enable double write reduction

2017-07-22 Thread Steve Longerbeam
For the write channels with 4:2:0 subsampled YUV formats, avoid chroma overdraw by only writing chroma for even lines. Reduces necessary write memory bandwidth by at least 25% (more with rotation enabled). Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-ic-prpencvf.c | 11 +

Re: [PATCH v2 1/5] dt-bindings: gpu: add the RK3399 mali for rockchip specifics

2017-07-22 Thread Heiko Stuebner
Am Montag, 17. Juli 2017, 16:14:27 CEST schrieb Caesar Wang: > RK3399's GPU uses the quad-core Mali-T860, which is the new generation of > high-end graphics processors from ARM. > > This patch added "rockchip,rk3399-mali" for dt-bindings, in order to > support IPA of gpu thermal in later. > > Sig

Re: [PATCH v2 3/5] arm64: dts: rockchip: add ARM Mali GPU node for RK3399 SoCs

2017-07-22 Thread Heiko Stuebner
Am Montag, 17. Juli 2017, 16:14:29 CEST schrieb Caesar Wang: > Add Mali GPU device tree node for the RK3399 SoCs, with devfreq > opp table. > > RK3399 and RK3399-OP1 SoCs have a different recommendation table with > gpu opp. Also, the ARM's mali driver found on > https://developer.arm.com/products

Re: [PATCH v2 4/5] arm64: dts: rockchip: enable the GPU for RK3399-GRU

2017-07-22 Thread Heiko Stuebner
Am Montag, 17. Juli 2017, 16:14:30 CEST schrieb Caesar Wang: > This patch enables the gpu and adds the mali-supply power for RK3399-GRU > devices. > > Signed-off-by: Caesar Wang applied for 4.14 Thanks Heiko

Re: [PATCH v2 5/5] arm64: dts: rockchip: update the thermal zones for RK3399 SoCs

2017-07-22 Thread Heiko Stuebner
Hi Caesar, Am Montag, 17. Juli 2017, 16:14:31 CEST schrieb Caesar Wang: > As RK3399 had used the Power allocator thermal governor by default, > enabled this to manage thermals by dynamically allocating and limiting > power to devices. > > Also, this patch supported the dynamic-power-coefficient/s

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

2017-07-22 Thread Rafael J. Wysocki
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 the throughput of operations involving continuous I/O requests > [1

Re: [PATCH] media: imx: prpencvf: enable double write reduction

2017-07-22 Thread Steve Longerbeam
Hi Philipp, This is the same as your patch to CSI, applied to ic-prpencvf. I'm not really sure what this cpmem bit is doing. The U/V planes in memory are already subsampled by 2 in both width and height. This must be referring to what the IDMAC is transferring on the bus, but why would it place

Re: [PATCH] spi: pxa2xx: Only claim CS GPIOs when the slave device is created

2017-07-22 Thread Andy Shevchenko
On Sat, Jul 8, 2017 at 11:41 AM, Jan Kiszka wrote: > From: Jan Kiszka > > Avoid hogging chip select GPIOs just because they are listed for the > master. They might be mulitplexed and, if no slave device is attached, > used for different purposes. Moreover, this strategy avoids having to > allocat

Re: [PATCH v6 1/1] acpi: apei: Enable APEI multiple GHES source to share a single external IRQ

2017-07-22 Thread Rafael J. Wysocki
On Saturday, July 22, 2017 07:59:54 AM Borislav Petkov wrote: > On Fri, Jul 21, 2017 at 11:24:37AM -0700, Loc Ho wrote: > > X-Gene platforms describe multiple GHES error sources with the same hardware > > error notification type (external interrupt) and interrupt number. > > Change the GHES interru

Re: [PATCH v5 0/3] TPS68470 PMIC drivers

2017-07-22 Thread Rafael J. Wysocki
On Saturday, July 22, 2017 08:15:33 PM Andy Shevchenko wrote: > On Fri, Jul 21, 2017 at 11:51 PM, Rafael J. Wysocki > wrote: > > On Friday, July 21, 2017 06:20:15 PM Andy Shevchenko wrote: > >> On Fri, Jul 21, 2017 at 5:46 PM, Rajmohan Mani > >> wrote: > >> > This is the patch series for TPS684

[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 is

[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 sup

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 exporti

[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: Addresse

[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 sche

[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 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 MDIO

[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: A

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 acpi

  1   2   >