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

[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

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

2017-07-22 Thread Borislav Petkov
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 me. > An improved rule is: Do you think it is

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

2017-07-22 Thread Sylwester Nawrocki
On 07/21/2017 09:28 PM, 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 Acked-by: Niklas

Re: [PATCH v3 2/5] dmaengine: Add STM32 DMAMUX driver

2017-07-22 Thread Vinod Koul
On Thu, Jul 06, 2017 at 02:20:20PM +0200, Pierre-Yves MORDRET wrote: > +static int stm32_dmamux_probe(struct platform_device *pdev) > +{ > + struct device_node *node = pdev->dev.of_node; > + struct device_node *dma_node; > + struct stm32_dmamux_data *stm32_dmamux; > + struct

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

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

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

[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

[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

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

[PATCH v2 1/2] ASoC: sun4i-i2s: Add more quirks for newer SoCs

2017-07-22 Thread codekipper
From: Marcus Cooper In preparation for changing this driver to support newer SoC implementations then where needed there has been a switch from regmap_update_bits to regmap_field. Also included are adjustment variables although they are not set as no adjustment is required

[PATCH v2 2/2] ASoC: sun4i-i2s: Add support for H3

2017-07-22 Thread codekipper
From: Marcus Cooper The sun8i-h3 introduces a lot of changes to the i2s block such as different register locations, extended clock division and more operational modes. As we have to consider the earlier implementation then these changes need to be isolated. Signed-off-by:

[PATCH v2 0/2] ASoC: Add I2S support for Allwinner H3 SoCs

2017-07-22 Thread codekipper
From: Marcus Cooper Hi All, please find attached a series of patches to bring i2s support to the Allwinner H3 SoC. This has been tested with the following setups: A20 Olimex EVB connected to a pcm5102 Orange Pi 2 connected to a uda1380 Orange Pi 2 hdmi audio playback Pine

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

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

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

2017-07-22 Thread Borislav Petkov
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 interrupt request to support sharing the same IRQ. > > Co-authored-by: Tuan

Re: [PATCH 3/3] ghes_edac: add platform check to enable ghes_edac

2017-07-22 Thread Borislav Petkov
On Fri, Jul 21, 2017 at 06:38:52PM +, Kani, Toshimitsu wrote: > Enterprise platforms have very different model (I do not say it's > better for everyone from the cost perspective). Typically, such But you do tell your customers that the error counts they see are not really what *actually*

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

2017-07-22 Thread Julia Lawall
On Sat, 22 Jul 2017, 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

Re: [PATCH] Bluetooth: Style fix - align block comments

2017-07-22 Thread Marcel Holtmann
Hi Derek, > Fixed alignment of all block comments. > Found using checkpatch > > Signed-off-by: Derek Robson > --- > drivers/bluetooth/ath3k.c | 3 ++- > drivers/bluetooth/bt3c_cs.c | 8 +--- > drivers/bluetooth/btmrvl_sdio.c | 6 -- >

Re: [PATCH v6] Bluetooth: btusb: Fix memory leak in play_deferred

2017-07-22 Thread Marcel Holtmann
Hi Oliver, > Currently we are calling usb_submit_urb directly to submit deferred tx > urbs after unanchor them. > > So the usb_giveback_urb_bh would failed to unref it in usb_unanchor_urb > and cause memory leak: > unreferenced object 0xffc0ce0fa400 (size 256): > ... > backtrace: >[]

[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

[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

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

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

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

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

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

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.

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

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

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

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

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

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

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

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 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;

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

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

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 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] 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 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 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(+)

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

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

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

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

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:

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

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

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

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

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

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

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

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

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

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

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 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 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] 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:

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] 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 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 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- >

[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

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

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:

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:

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

[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

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

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

[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

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

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

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 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. > >

  1   2   3   4   >