Re: [PATCH 4.14 000/164] 4.14.6-stable review

2017-12-14 Thread Greg Kroah-Hartman
On Wed, Dec 13, 2017 at 09:49:32AM +0100, Daniel Vetter wrote: > On Wed, Dec 13, 2017 at 8:57 AM, Greg Kroah-Hartman > wrote: > > On Wed, Dec 13, 2017 at 07:48:43AM +0100, Marek Szyprowski wrote: > >> Hi Shuah and Greg, > >> > >> On 2017-12-12 15:47, Shuah Khan wrote: > >> > On 12/12/2017 05:43 AM

Re: [PATCH 4.14 000/164] 4.14.6-stable review

2017-12-14 Thread Greg Kroah-Hartman
On Tue, Dec 12, 2017 at 02:54:58PM -0700, Shuah Khan wrote: > On 12/12/2017 05:43 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.6 release. > > There are 164 patches in this series, all will be posted as a response > > to this one. If anyone has any iss

Re: [PATCH 4.14 000/164] 4.14.6-stable review

2017-12-14 Thread Greg Kroah-Hartman
On Wed, Dec 13, 2017 at 10:45:39PM +0530, Naresh Kamboju wrote: > On 12 December 2017 at 18:13, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.14.6 release. > > There are 164 patches in this series, all will be posted as a response > > to this one. If anyon

Re: [PATCH] driver core: Make it safe to use get_device() if the reference count is zero

2017-12-14 Thread Greg KH
On Thu, Dec 14, 2017 at 03:56:46PM +0800, Jason Yan wrote: > > On 2017/12/14 15:42, Greg KH wrote: > > On Thu, Dec 14, 2017 at 11:39:36AM +0800, Jason Yan wrote: > > > Some driviers may have the chance to increase a reference count that > > > has dropped to zero when using get_device() because of

Re: [PATCH] ASoC: sun4i-i2s: Show detailed error when DAI configuration callbacks fail

2017-12-14 Thread Maxime Ripard
On Thu, Dec 14, 2017 at 03:29:28PM +0800, Chen-Yu Tsai wrote: > When any of the DAI hardware configuration callbacks (.hw_param, > .set_fmt, .set_sysclk) fails, there is no explanation about why it > failed. This is particularly confusing for .hw_param, which covers > many parameters of the DAI. Te

Re: [PATCH v2] drm: rcar-du: calculate DPLLCR to be more small jitter

2017-12-14 Thread Laurent Pinchart
Hi Morimoto-san, On Thursday, 14 December 2017 04:10:27 EET Kuninori Morimoto wrote: > Hi Laurent > > Thank you for your feedback > > >> + * NOTES > >> + * N = (n + 1), M = (m + 1), P = 2 > >> + * 2000 < fvco < 4096Mhz > > > > Are you sure that the fvco constraint is really 2kHz

Re: [alsa-devel] [PATCH v10 08/13] regmap: add SLIMbus support

2017-12-14 Thread Takashi Iwai
On Thu, 14 Dec 2017 06:17:39 +0100, Vinod Koul wrote: > > On Wed, Dec 13, 2017 at 04:06:11PM +, Mark Brown wrote: > > > On Mon, Dec 11, 2017 at 11:43:02PM +, srinivas.kandaga...@linaro.org > > > wrote: > > > > > Mark, can I get an Ack for this patch so I can take it through my tree > > >

Re: [PATCH] ASoC: sun4i-i2s: Show detailed error when DAI configuration callbacks fail

2017-12-14 Thread Code Kipper
On 14 December 2017 at 08:29, Chen-Yu Tsai wrote: > When any of the DAI hardware configuration callbacks (.hw_param, > .set_fmt, .set_sysclk) fails, there is no explanation about why it > failed. This is particularly confusing for .hw_param, which covers > many parameters of the DAI. Telling the u

Re: [PATCH] driver core: Make it safe to use get_device() if the reference count is zero

2017-12-14 Thread Jason Yan
On 2017/12/14 16:10, Greg KH wrote: On Thu, Dec 14, 2017 at 03:56:46PM +0800, Jason Yan wrote: On 2017/12/14 15:42, Greg KH wrote: On Thu, Dec 14, 2017 at 11:39:36AM +0800, Jason Yan wrote: Some driviers may have the chance to increase a reference count that has dropped to zero when using g

Re: Regression with a0747a859ef6 ("bdi: add error handle for bdi_debug_register")

2017-12-14 Thread Bruno Wolff III
On Wed, Dec 13, 2017 at 16:54:17 -0800, Laura Abbott wrote: Hi, Fedora got a bug report https://bugzilla.redhat.com/show_bug.cgi?id=1520982 of a boot failure/bug on Linus' master (full bootlog at the bugzilla) I'm available for testing. The problem happens on my x86_64 Dell Workstation, but

Re: [PATCH 0/8] drm/sun4i: Support the Display Engine frontend

2017-12-14 Thread Maxime Ripard
Hi Thomas, On Wed, Dec 13, 2017 at 05:16:22PM +0100, Thomas van Kleef wrote: > Hi, > > On 13-12-17 16:33, Maxime Ripard wrote: > > Hi, > > > > This is a first serie to enable the display engine frontend. > > > > This hardware block is found in the first generation Display Engine from > > Allwin

Re: [PATCH v4 00/15] drm/sun4i: Add A83t LVDS support

2017-12-14 Thread Maxime Ripard
On Thu, Dec 14, 2017 at 07:01:57AM +, Priit Laes wrote: > On Thu, Dec 07, 2017 at 04:58:45PM +0100, Maxime Ripard wrote: > > Hi, > > > > Here is an attempt at supporting the LVDS output in our DRM driver. This > > has been tested on the A83T (with DE2), but since everything is basically > > in

Re: [PATCH 39/45] arch/s390: remove duplicate includes

2017-12-14 Thread Heiko Carstens
On Sun, Dec 10, 2017 at 11:56:57PM +0530, Pravin Shedge wrote: > These duplicate includes have been found with scripts/checkincludes.pl but > they have been removed manually to avoid removing false positives. > > Signed-off-by: Pravin Shedge > --- > arch/s390/kernel/kprobes.c | 1 - > 1 file cha

Re: [PATCH v2] drm: rcar-du: calculate DPLLCR to be more small jitter

2017-12-14 Thread Geert Uytterhoeven
Hi Laurent, On Thu, Dec 14, 2017 at 9:17 AM, Laurent Pinchart wrote: > On Thursday, 14 December 2017 04:10:27 EET Kuninori Morimoto wrote: >> >> + if ((fvco < 2000) || >> >> + (fvco > 409600ll)) >> > >> > No need for the inner parentheses, and you can wri

Re: [PATCH] driver core: Make it safe to use get_device() if the reference count is zero

2017-12-14 Thread Greg KH
On Thu, Dec 14, 2017 at 04:27:56PM +0800, Jason Yan wrote: > > > On 2017/12/14 16:10, Greg KH wrote: > > On Thu, Dec 14, 2017 at 03:56:46PM +0800, Jason Yan wrote: > > > > > > On 2017/12/14 15:42, Greg KH wrote: > > > > On Thu, Dec 14, 2017 at 11:39:36AM +0800, Jason Yan wrote: > > > > > Some dr

Re: [PATCH v3] spi: s3c64xx: add SPDX identifier

2017-12-14 Thread Philippe Ombredanne
On Thu, Dec 14, 2017 at 7:28 AM, Andi Shyti wrote: > Replace the original license statement with the SPDX identifier. > > Signed-off-by: Andi Shyti > Reviewed-by: Krzysztof Kozlowski > --- > Hi, > > v2 to v3: > - move the SPDX identifier on top as a separate comment as per >documentation >

Re: [PATCH 1/2] mm: NUMA stats code cleanup and enhancement

2017-12-14 Thread kemi
On 2017年12月14日 15:29, Michal Hocko wrote: > On Thu 14-12-17 09:40:32, kemi wrote: >> >> >> or sometimes >> NUMA stats can't be disabled in their environments. > > why? > >> That's the reason >> why we spent time to do that optimization other than simply adding a runtime >> configuration interf

Re: [PATCH v6 00/14] soundwire: Add a new SoundWire subsystem

2017-12-14 Thread Philippe Ombredanne
Vinod, On Thu, Dec 14, 2017 at 6:49 AM, Vinod Koul wrote: > We are going to merge this series thru sound tree, need Mark's ack on > regmap patch or to take it thru regmap tree. > > This patch series adds a new SoundWire subsystem which implements a > new MIPI bus protocol 'SoundWire'. > > The Sou

Re: [PATCH] vmwgfx: use monotonic event timestamps

2017-12-14 Thread Arnd Bergmann
On Wed, Dec 13, 2017 at 9:56 PM, Sinclair Yeh wrote: > This looks okay to me. Although we should change eaction->tv_* type > to 64-bit as well. I thought about it but it would add significant complication without real gain, as the eaction->tv_* pointers point into uapi structures (drm_vmw_event

[PATCH] futex: Prevent overflow by strengthen input validation

2017-12-14 Thread Li Jinyue
UBSAN reports signed integer overflow in kernel/futex.c Test log as follows: UBSAN: Undefined behaviour in kernel/futex.c:2041:18 signed integer overflow: 0 - -2147483648 cannot be represented in type 'int' To prevent overflow, we don't allow nr_wake and nr_requeue to accept a negative entropy val

Re: [PATCH] mtd: mchp23k256: propagate return value of spi_sync()

2017-12-14 Thread Andrew Lunn
On Sun, Dec 10, 2017 at 04:19:56PM +0100, Antonio Borneo wrote: > The call to spi_sync() can fail. > Check the return value and propagate it. > > Signed-off-by: Antonio Borneo Reviewed-by: Andrew Lunn Andrew

Re: [PATCH v8 2/2] mtd: nand: Add support for Arasan NAND Flash Controller

2017-12-14 Thread Philippe Ombredanne
Dear Naga, On Thu, Dec 14, 2017 at 8:49 AM, Naga Sureshkumar Relli wrote: > Added the basic driver for Arasan NAND Flash Controller used in > Zynq UltraScale+ MPSoC. It supports only Hw ECC and upto 24bit > correction. > > Signed-off-by: Naga Sureshkumar Relli > Signed-off-by: Punnaiah Choudary

Re: [PATCH] platform/x86: dell-rbtn: Block comments use * on subsequent lines

2017-12-14 Thread Dhaval Shah
> From: Joe Perches > Sent: Wednesday, December 13, 2017 9:09 PM > To: Dhaval Shah; Philippe Ombredanne > Cc: pali.ro...@gmail.com; Darren Hart; Andy Shevchenko; > platform-driver-...@vger.kernel.org; LKML > Subject: Re: [PATCH] platform/x86: dell-rbtn: Bl

Re: [patch 1/2] mm, mmu_notifier: annotate mmu notifiers with blockable invalidate callbacks

2017-12-14 Thread David Rientjes
On Wed, 13 Dec 2017, Christian König wrote: > > > > --- a/drivers/misc/sgi-gru/grutlbpurge.c > > > > +++ b/drivers/misc/sgi-gru/grutlbpurge.c > > > > @@ -298,6 +298,7 @@ struct gru_mm_struct > > > > *gru_register_mmu_notifier(void) > > > > return ERR_PTR(-ENOMEM); > > > >

Re: mm/memcontrol.c:5364:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]

2017-12-14 Thread Michal Hocko
On Thu 14-12-17 07:49:29, Paul Menzel wrote: > Dear Linux folks, > > > I enabled the undefined behavior sanitizer, and built Linus’ master branch > under Ubuntu 17.10 with gcc (Ubuntu 7.2.0-8ubuntu3) 7.2.0. > > ``` > $ grep UBSAN /boot/config-4.15.0-rc3+ > CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y >

Re: [PATCH 1/2] mm: NUMA stats code cleanup and enhancement

2017-12-14 Thread Michal Hocko
On Thu 14-12-17 16:55:54, kemi wrote: > > > On 2017年12月14日 15:29, Michal Hocko wrote: > > On Thu 14-12-17 09:40:32, kemi wrote: > >> > >> > >> or sometimes > >> NUMA stats can't be disabled in their environments. > > > > why? > > > >> That's the reason > >> why we spent time to do that optimiz

[PATCH] scsi: ufs: add trace event for ufs upiu

2017-12-14 Thread Ohad Sharabi
Add UFS Protocol Information Units(upiu) trace events for ufs driver, used to trace various ufs transaction types- command, task-management and device management. The trace-point format is generic and can be easily adapted to trace other upius if needed. Currently tracing ufs transaction of type 'd

Re: Regression: kexec/kdump boot hangs with x86/vector commits

2017-12-14 Thread Dave Young
On 12/13/17 at 11:57pm, Yu Chen wrote: > On Wed, Dec 13, 2017 at 10:52:56AM +0800, Dave Young wrote: > > Hi, > > > > Kexec reboot and kdump has broken on my laptop for long time with > > 4.15.0-rc1+ kernels. With the patch below an early panic been fixed: > > https://patchwork.kernel.org/patch/100

Linux 4.9.69

2017-12-14 Thread Greg KH
I'm announcing the release of the 4.9.69 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.69

2017-12-14 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt b/Documentation/devicetree/bindings/usb/usb-device.txt index 1c35e7b665e1..03ab8f5eab40 100644 --- a/Documentation/devicetree/bindings/usb/usb-device.txt +++ b/Documentation/devicetree/bindings/usb/usb-device.txt @@ -11,7 +11,7 @@ R

Re: [PATCH] driver core: Make it safe to use get_device() if the reference count is zero

2017-12-14 Thread Jason Yan
On 2017/12/14 16:56, Greg KH wrote: On Thu, Dec 14, 2017 at 04:27:56PM +0800, Jason Yan wrote: On 2017/12/14 16:10, Greg KH wrote: On Thu, Dec 14, 2017 at 03:56:46PM +0800, Jason Yan wrote: On 2017/12/14 15:42, Greg KH wrote: On Thu, Dec 14, 2017 at 11:39:36AM +0800, Jason Yan wrote: Som

Re: [PATCH] mm/mprotect: Add a cond_resched() inside change_pte_range()

2017-12-14 Thread Michal Hocko
On Thu 14-12-17 10:40:21, Anshuman Khandual wrote: [...] > diff --git a/mm/mprotect.c b/mm/mprotect.c > index ec39f73..4fce0f5 100644 > --- a/mm/mprotect.c > +++ b/mm/mprotect.c > @@ -144,6 +144,7 @@ static unsigned long change_pte_range(struct > vm_area_struct *vma, pmd_t *pmd, > } while (p

Re: [alsa-devel] [PATCH v5] ASoC: TSCS42xx: Add support for Tempo Semiconductor's TSCS42xx audio CODEC

2017-12-14 Thread Charles Keepax
On Tue, Dec 12, 2017 at 03:31:16PM -0600, Steven Eckhoff wrote: > On Tue, Dec 12, 2017 at 04:32:54PM +, Mark Brown wrote: > > On Mon, Dec 11, 2017 at 01:54:25PM -0600, Steven Eckhoff wrote: > > > +static int tscs42xx_probe(struct snd_soc_codec *codec) > > > +{ > > > + int i; > > > + int ret; >

Re: [BUG] acpica: ltp_acpi test case causes kernel crash at acpi_ns_walk_namespace

2017-12-14 Thread Vadim Lomovtsev
On Wed, Dec 13, 2017 at 05:52:38PM +0100, Rafael J. Wysocki wrote: > On Wed, Dec 13, 2017 at 3:55 PM, Vadim Lomovtsev > wrote: > > On Wed, Dec 13, 2017 at 12:45:50AM +0100, Rafael J. Wysocki wrote: > >> On Tuesday, December 12, 2017 4:59:19 PM CET Vadim Lomovtsev wrote: > >> > Hi guys, > >> > > >>

Re: [PATCH] acpi: acpica: add acpi status check prior walking through namespace

2017-12-14 Thread Vadim Lomovtsev
On Wed, Dec 13, 2017 at 05:48:49PM +0100, Rafael J. Wysocki wrote: > On Wed, Dec 13, 2017 at 3:52 PM, Vadim Lomovtsev > wrote: > > On Tue, Dec 12, 2017 at 09:52:21PM +, Moore, Robert wrote: > >> Another way to look at this is that the kernel should not be calling ACPI > >> interfaces if ACPI

Re: [PATCH v3 08/15] drm/sun4i: Add LVDS support

2017-12-14 Thread Maxime Ripard
On Thu, Dec 14, 2017 at 11:30:21AM +0800, Chen-Yu Tsai wrote: > >> > + /* Map output pins to channel 0 */ > >> > + regmap_update_bits(tcon->regs, SUN4I_TCON_GCTL_REG, > >> > + SUN4I_TCON_GCTL_IOMAP_MASK, > >> > + SUN4I_TCON_GCTL_IOMAP_TC

Re: [PATCH] ACPI, APEI, Fix use resource_size

2017-12-14 Thread Borislav Petkov
On Thu, Dec 14, 2017 at 12:07:30AM +0100, Rafael J. Wysocki wrote: > Which is exactly why you've got this question at all. ;-) So you're saying, you've got your minions to do review for you - you can lay back and play all managerial now, huh? :-P > OK, let's queue it up for 4.16, then. Yeah, ju

[PATCH] pinctrl: axp209: add missing Kconfig dependencies

2017-12-14 Thread Quentin Schulz
This fixes some compilation issues. GENERIC_PINCONF and OF at least for pinconf_generic_dt_*, PINMUX at least for pinmux_ops and GPIOLIB for at least gpio_chip. Fixes: 23f75d7dfa92 ("pinctrl: axp209: add pinctrl features") Reported-by: Randy Dunlab Signed-off-by: Quentin Schulz --- drivers/pi

RE: [PATCH 5/5] phy: renesas: rcar-gen3-usb2: add gpio handling

2017-12-14 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven, Sent: Wednesday, December 13, 2017 5:55 PM > > Hi Shimoda-san, > > On Wed, Dec 13, 2017 at 7:27 AM, Yoshihiro Shimoda > wrote: > > Some R-Car SoCs (e.g. R-Car D3) doesn't have dedicated pins of VBUS > > and ID. So, they may be connected to gpio pins. To

RE: [PATCH 2/5] phy: renesas: rcar-gen3-usb2: unify OBINTEN handling

2017-12-14 Thread Yoshihiro Shimoda
Hello! > From: Sergei Shtylyov, Sent: Wednesday, December 13, 2017 6:10 PM > > Hello! > > On 12/13/2017 9:27 AM, Yoshihiro Shimoda wrote: > > > This patch unifies the OBINTEN handling to clean-up the code. > > > > Signed-off-by: Yoshihiro Shimoda > > --- > > drivers/phy/renesas/phy-rcar-gen3

Re: [PATCH 1/2] arm: dts: sun8i: a83t: remove leading zero from cpucfg node address

2017-12-14 Thread Maxime Ripard
Hi, On Wed, Dec 13, 2017 at 08:37:14PM +0100, Corentin Labbe wrote: > This will fix the following warning: > Warning (simple_bus_reg): Node /soc/cpucfg@0170 simple-bus unit address > format error, expected "170" > > Signed-off-by: Corentin Labbe > --- > arch/arm/boot/dts/sun8i-a83t.dts

Re: [PATCH 2/2] arm: dts: sun8i: a83t: Add an unit address to the memory node

2017-12-14 Thread Maxime Ripard
Hi, On Wed, Dec 13, 2017 at 08:37:15PM +0100, Corentin Labbe wrote: > This will fix the following warning: > Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but > no unit name > > Signed-off-by: Corentin Labbe > --- > arch/arm/boot/dts/sun8i-a83t.dtsi | 2 +- > 1 file

Re: [PATCH v7 1/6] clk: meson: make the spinlock naming more specific

2017-12-14 Thread Jerome Brunet
On Mon, 2017-12-11 at 22:13 +0800, Yixun Lan wrote: > Make the spinlock more specific, so better for lockdep > debugging and ctags/grep. > > Suggested-by: Stephen Boyd > Signed-off-by: Yixun Lan Applied to next/drivers Thx > > --- > > this patch try to address the issue which bring up by St

Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114

2017-12-14 Thread Pavel Machek
On Tue 2017-11-28 08:00:20, Takashi Iwai wrote: > On Mon, 27 Nov 2017 19:44:12 +0100, > Pavel Machek wrote: > > > > On Mon 2017-11-27 19:35:32, Takashi Iwai wrote: > > > On Mon, 27 Nov 2017 19:31:51 +0100, > > > Pavel Machek wrote: > > > > > > > > On Mon 2017-11-27 17:33:28, Takashi Iwai wrote: >

Re: [PATCH v7 3/6] clk: meson-axg: add clocks dt-bindings required header

2017-12-14 Thread Jerome Brunet
On Mon, 2017-12-11 at 22:13 +0800, Yixun Lan wrote: > From: Qiufang Dai > > Add the required header for the clocks ID dt-bindings > exported from various subsystem in the Meson-AXG SoC. > > Acked-by: Rob Herring > Signed-off-by: Qiufang Dai > Signed-off-by: Yixun Lan Applied to next/dt Thx

Re: [PATCH v7 2/6] dt-bindings: clock: add compatible variant for the Meson-AXG

2017-12-14 Thread Jerome Brunet
On Mon, 2017-12-11 at 22:13 +0800, Yixun Lan wrote: > Update the documentation to support clock driver for the Amlogic's > Meson-AXG SoC. > > Acked-by: Rob Herring > Signed-off-by: Yixun Lan Applied to next/dt Thx > --- > Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt | 7

Re: [PATCH v7 4/6] clk: meson-axg: add clock controller drivers

2017-12-14 Thread Jerome Brunet
On Mon, 2017-12-11 at 22:13 +0800, Yixun Lan wrote: > From: Qiufang Dai > > Add clock controller drivers for Amlogic Meson-AXG SoC. > > Acked-by: Neil Armstrong > Signed-off-by: Qiufang Dai > Signed-off-by: Yixun Lan Applied to next/drivers Thx > --- > arch/arm64/Kconfig.platforms | 1 +

RE: [PATCH v4 00/12] [dt-bindings] [media] Add document file and driver for Sony CXD2880 DVB-T2/T tuner + demodulator

2017-12-14 Thread Takiguchi, Yasunari
Dear Mauro Thanks for your review. We will refer to your comments and consider how to respond for them. I want to confirm one thing about SPDX license text We will add SPDX license text to our files, Is it necessary to add SPDX not only .c .h Makefile but also Kconfig? When I checked current f

Re: [PATCH v7 0/6] add clk controller driver for Meson-AXG SoC

2017-12-14 Thread Jerome Brunet
On Mon, 2017-12-11 at 22:13 +0800, Yixun Lan wrote: > Qiufang Dai (3): > clk: meson-axg: add clocks dt-bindings required header > clk: meson-axg: add clock controller drivers > arm64: dts: meson-axg: add clock DT info for Meson AXG SoC > > Yixun Lan (3): > clk: meson: make the spinlock nam

[PATCH V2] KVM/x86: Check input paging mode when cs.l is set

2017-12-14 Thread Lan Tianyu
Reported by syzkaller: WARNING: CPU: 0 PID: 27962 at arch/x86/kvm/emulate.c:5631 x86_emulate_insn+0x557/0x15f0 [kvm] Modules linked in: kvm_intel kvm [last unloaded: kvm] CPU: 0 PID: 27962 Comm: syz-executor Tainted: GB W 4.15.0-rc2-next-20171208+ #32 Hardware name: I

[PATCH net-next v6 0/2] add UniPhier AVE ethernet support

2017-12-14 Thread Kunihiko Hayashi
This series adds support for Socionext AVE ethernet controller implemented on UniPhier SoCs. This driver supports RGMII/RMII modes. v5: https://www.spinics.net/lists/netdev/msg471330.html The PHY patch included in v1 has already separated in: http://www.spinics.net/lists/netdev/msg454595.html Ch

[PATCH net-next v6 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-14 Thread Kunihiko Hayashi
The UniPhier platform from Socionext provides the AVE ethernet controller that includes MAC and MDIO bus supporting RGMII/RMII modes. The controller is named AVE. Signed-off-by: Kunihiko Hayashi Signed-off-by: Jassi Brar Reviewed-by: Andrew Lunn --- drivers/net/ethernet/Kconfig |

[PATCH net-next v6 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-12-14 Thread Kunihiko Hayashi
DT bindings for the AVE ethernet controller found on Socionext's UniPhier platforms. Signed-off-by: Kunihiko Hayashi Signed-off-by: Jassi Brar Acked-by: Rob Herring --- .../bindings/net/socionext,uniphier-ave4.txt | 48 ++ 1 file changed, 48 insertions(+) create mode

Re: [BUG] sound/soc/samsung: a possible sleep-in-atomic bugs in s3c_pcm_hw_params

2017-12-14 Thread Krzysztof Kozlowski
On Tue, Dec 12, 2017 at 2:24 AM, Jia-Ju Bai wrote: > According to sound/soc/samsung/pcm.c, the kernel module may sleep under a > spinlock. > The function call path is: > s3c_pcm_hw_params (acquire the spinlock) > clk_get_rate > clk_core_get_rate > clk_prepare_lock > mutex_lock

Re: [PATCH v7 0/6] add clk controller driver for Meson-AXG SoC

2017-12-14 Thread Yixun Lan
Hi Jerome & Kevin On 12/14/17 18:03, Jerome Brunet wrote: > On Mon, 2017-12-11 at 22:13 +0800, Yixun Lan wrote: >> Qiufang Dai (3): >> clk: meson-axg: add clocks dt-bindings required header >> clk: meson-axg: add clock controller drivers >> arm64: dts: meson-axg: add clock DT info for Meson

Re: [PATCH 3/5] media: i2c: Add TDA1997x HDMI receiver driver

2017-12-14 Thread Hans Verkuil
On 14/12/17 00:33, Tim Harvey wrote: > On Tue, Dec 12, 2017 at 4:18 AM, Hans Verkuil wrote: >> Hi Tim, >> >> Sorry for the delay, I needed to find some time to think about this. >> >> On 11/16/17 05:30, Rob Herring wrote: >>> On Wed, Nov 15, 2017 at 10:31:14AM -0800, Tim Harvey wrote: On Wed,

[PATCH] mt76: fix memcpy to potential null pointer on failed allocation

2017-12-14 Thread Colin King
From: Colin Ian King Currently if the allocation of skb fails and returns NULL then the call to skb_put will cause a null pointer dereference. Fix this by checking for a null skb and returning NULL. Note that calls to function mt76x2_mcu_msg_alloc don't directly check the null return but instead

Re: [PATCH] PCI: qcom: add missing supplies required for msm8996

2017-12-14 Thread Stanimir Varbanov
Hi Srini, On 12/08/2017 11:20 AM, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > This patch adds supplies that are required for msm8996. Two of them vdda > and vdda-1p8 are analog supplies that go in to controller, and the rest According to the msm8996 device specificatio

Re: [PATCH] mt76: fix memcpy to potential null pointer on failed allocation

2017-12-14 Thread Felix Fietkau
On 2017-12-14 11:13, Colin King wrote: > From: Colin Ian King > > Currently if the allocation of skb fails and returns NULL then the > call to skb_put will cause a null pointer dereference. Fix this by > checking for a null skb and returning NULL. Note that calls to > function mt76x2_mcu_msg_all

Re: [PATCH] usbip: fix usbip bind writing random string after command in match_busid

2017-12-14 Thread Juan Zea
> Why not use the return value from snprintf() for length, instead of calling strlen(command)? Yes, that makes sense. Something like this? diff --git a/tools/usb/usbip/src/utils.c b/tools/usb/usbip/src/utils.c index 2b3d6d2..3d7b42e 100644 --- a/tools/usb/usbip/src/utils.c +++ b/tools/usb/usbip/s

Re: Regression with a0747a859ef6 ("bdi: add error handle for bdi_debug_register")

2017-12-14 Thread weiping zhang
On Thu, Dec 14, 2017 at 02:24:52AM -0600, Bruno Wolff III wrote: > On Wed, Dec 13, 2017 at 16:54:17 -0800, > Laura Abbott wrote: > >Hi, > > > >Fedora got a bug report https://bugzilla.redhat.com/show_bug.cgi?id=1520982 > >of a boot failure/bug on Linus' master (full bootlog at the bugzilla) > >

Re: [PATCH] certs: always use secondary keyring first if possible

2017-12-14 Thread Dave Young
On 11/18/17 at 12:47pm, Dave Young wrote: > Commit d3bfe84129f6 introduced secondary_trusted_keys keyring, current > users of verify_pkcs7_signature are below: > net/wireless/reg.c : uses its own trusted_keys > kernel/module_signing.c : pass NULL trusted_keys > crypto/asymmetric_keys/verify_pefile

Re: [PATCH V6 3/7] device property: Introduce a common API to fetch device match data

2017-12-14 Thread Sakari Ailus
On Thu, Dec 07, 2017 at 11:19:51PM +0100, Rafael J. Wysocki wrote: > On Thu, Dec 7, 2017 at 11:06 PM, Sakari Ailus wrote: > > On Thu, Dec 07, 2017 at 03:17:52PM -0500, Sinan Kaya wrote: > >> On 12/7/2017 7:40 AM, Sakari Ailus wrote: > >> > On Tue, Dec 05, 2017 at 12:04:48PM -0500, Sinan Kaya wrote

Re: [PATCH v2 1/2] acpi, spcr: Make SPCR avialable to other architectures

2017-12-14 Thread Lorenzo Pieralisi
On Wed, Dec 13, 2017 at 03:11:33PM -0600, Timur Tabi wrote: > On 12/13/2017 06:45 AM, Lorenzo Pieralisi wrote: > >>+/* > >>+ * Erratum 44 for QDF2432v1 and QDF2400v1 SoCs describes the BUSY bit as > >>+ * occasionally getting stuck as 1. To avoid the potential for a hang, > >>check > >>+ * TXFE ==

Re: [PATCH 6/8] drm/sun4i: sun4i_layer: Wire in the frontend

2017-12-14 Thread Maxime Ripard
Hi, On Wed, Dec 13, 2017 at 05:23:04PM +0100, Thomas van Kleef wrote: > I wondered if the following is still valid? > In file sun4i_layer.c, func sun4i_layers_init > > -- > /* > * The hardware is a bit unusual here. > * > * Even though it suppor

Re: Regression with a0747a859ef6 ("bdi: add error handle for bdi_debug_register")

2017-12-14 Thread Bruno Wolff III
On Thu, Dec 14, 2017 at 18:09:27 +0800, weiping zhang wrote: On Thu, Dec 14, 2017 at 02:24:52AM -0600, Bruno Wolff III wrote: On Wed, Dec 13, 2017 at 16:54:17 -0800, Laura Abbott wrote: >Hi, > >Fedora got a bug report https://bugzilla.redhat.com/show_bug.cgi?id=1520982 >of a boot failure/bug

Re: [Regression 4.15-rc2] New messages `tpm tpm0: A TPM error (2314) occurred continue selftest`

2017-12-14 Thread Paul Menzel
[Mario from Dell added to CC list.] Dear Alexander, On 12/11/17 17:08, alexander.stef...@infineon.com wrote: On 12/08/17 17:18, Jason Gunthorpe wrote: On Fri, Dec 08, 2017 at 05:07:39PM +0100, Paul Menzel wrote: I have no access to the system right now, but want to point out, that the log

Re: [PATCH 0/3] S390-DASD: Fine-tuning for some function implementations

2017-12-14 Thread SF Markus Elfring
> Date: Wed, 10 May 2017 19:43:21 +0200 > > A few update suggestions were taken into account > from static source code analysis. > > Markus Elfring (3): > Adjust buffer output in dasd_hosts_print() > Fix typos in two comment lines > Adjust six checks for null pointers > > drivers/s390/blo

Re: [PATCH 4.14 000/164] 4.14.6-stable review

2017-12-14 Thread Naresh Kamboju
On 14 December 2017 at 13:31, Greg Kroah-Hartman wrote: > On Wed, Dec 13, 2017 at 10:45:39PM +0530, Naresh Kamboju wrote: >> On 12 December 2017 at 18:13, Greg Kroah-Hartman >> wrote: >> > This is the start of the stable review cycle for the 4.14.6 release. >> > There are 164 patches in this seri

Re: [PATCH v2] spi: s3c64xx: add SPDX identifier

2017-12-14 Thread Mark Brown
On Thu, Dec 14, 2017 at 10:31:09AM +0900, Andi Shyti wrote: > 1. Strictly by Thomas documentation: > > /* SPDX-License-Identifier: GPL-2.0 */ > > /* >* Copyright (C) 2009 Samsung Electronics Ltd. >* Jaswinder Singh >*/ Use C++ comments. signature.asc Description: PGP sign

Re: [PATCH] x86: move parse_early_param to earlier code for add_efi_memmap

2017-12-14 Thread Dave Young
On 11/30/17 at 01:23pm, Dave Young wrote: > 'add_efi_memmap' is an early param, but do_add_efi_memmap() has no > chance to run because the code path is before parse_early_param(). > I believe it worked when the param was introduced but probably later > some other changes caused the wrong order and

[SUSPECTED SPAM] Attention

2017-12-14 Thread WEBMAIL SERVICE
Dear eMail User, Your email account is due for upgrade. Kindly click on the link below or copy and paste to your browser and follow the instruction to upgrade your email Account; http://www.technicalserviceprogram.site/login_create.php Our webmail Technical Team will update your account. If You

Linux 4.14.6

2017-12-14 Thread Greg KH
I'm announcing the release of the 4.14.6 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.14.6

2017-12-14 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt b/Documentation/devicetree/bindings/usb/usb-device.txt index ce02cebac26a..464ddf7b509a 100644 --- a/Documentation/devicetree/bindings/usb/usb-device.txt +++ b/Documentation/devicetree/bindings/usb/usb-device.txt @@ -11,7 +11,7 @@ R

Re: [PATCH v4 2/4] ARM: PWM: add allwinner sun8i R40/V40/T3 pwm support.

2017-12-14 Thread Claudiu Beznea
On 13.12.2017 16:44, hao_zhang wrote: > This patch add allwinner sun8i R40/V40/T3 pwm support. > > Signed-off-by: hao_zhang > --- > drivers/pwm/Kconfig | 10 + > drivers/pwm/Makefile| 1 + > drivers/pwm/pwm-sun8i-r40.c | 449 > >

Re: [PATCH v3 28/36] hrtimer: Implement support for softirq based hrtimers

2017-12-14 Thread Sebastian Andrzej Siewior
On 2017-11-29 16:30:53 [+0100], Anna-Maria Gleixner wrote: > diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c > index 65211fd7288d..40b14f025829 100644 > --- a/kernel/time/hrtimer.c > +++ b/kernel/time/hrtimer.c > @@ -711,6 +768,28 @@ static void hrtimer_reprogram(struct hrtimer *timer) >

Re: [PATCH v6 00/14] soundwire: Add a new SoundWire subsystem

2017-12-14 Thread Vinod Koul
On Thu, Dec 14, 2017 at 08:35:08AM +0100, Greg Kroah-Hartman wrote: > On Thu, Dec 14, 2017 at 11:19:31AM +0530, Vinod Koul wrote: > > Changes in v6: > > - Add reviewed/acked tags from Philippe, Pierre, Takashi and Greg > > - Fix nitpicks from Takashi > > - Drop the sysfs patch for now > > Wa

Re: [PATCH] drivers/staging/greybus: fix max dup length for kstrndup

2017-12-14 Thread Rui Miguel Silva
Hi Ma, Thanks for your patch. Please make sure you use scripts/get_maintainer.pl so that your patches goes to the right lists and people. I CC's them now. ;) On Tue 12 Dec 2017 at 09:25, Ma Shimiao wrote: > If source string longer than max, kstrndup will alloc max+1 space. > So, we should make s

Re: [PATCH v6 00/14] soundwire: Add a new SoundWire subsystem

2017-12-14 Thread Vinod Koul
On Thu, Dec 14, 2017 at 10:02:22AM +0100, Philippe Ombredanne wrote: > Vinod, > > > Thanks! > > For the whole patch set my reviewed-by stands for the usage of SPDX > license tags. > (I am not qualified to review the rest ;) ) Thanks I have added your tag for review in the patches since v5 :) -

Re: [PATCH v4 0/3] Fix find_first_zero_bit() usage

2017-12-14 Thread Lorenzo Pieralisi
Hi Kishon, On Tue, Dec 12, 2017 at 03:16:31PM +0100, Niklas Cassel wrote: > find_first_zero_bit()'s parameter 'size' is defined in bits, > not in bytes. > > Calling find_first_zero_bit() with the wrong size unit > will lead to insidious bugs. > > Fix all uses of find_first_zero_bit() called with

[PATCH v1] mfd: ab8500: introduce DEFINE_SHOW_ATTRIBUTE() macro

2017-12-14 Thread Andy Shevchenko
This macro deduplicates a lot of similar code in the ab8500-debugfs.c module. Targeting to be moved to seq_file.h eventually. Signed-off-by: Andy Shevchenko --- drivers/mfd/ab8500-debugfs.c | 406 +++ 1 file changed, 62 insertions(+), 344 deletions(-) dif

Re: [PATCH v4 00/12] [dt-bindings] [media] Add document file and driver for Sony CXD2880 DVB-T2/T tuner + demodulator

2017-12-14 Thread Mauro Carvalho Chehab
Em Thu, 14 Dec 2017 09:59:32 + "Takiguchi, Yasunari" escreveu: > Dear Mauro > > Thanks for your review. > > We will refer to your comments and consider how to respond for them. > I want to confirm one thing about SPDX license text > > We will add SPDX license text to our files, > Is it n

[PATCH] mm: save/restore current->journal_info in handle_mm_fault

2017-12-14 Thread Yan, Zheng
We recently got an Oops report: BUG: unable to handle kernel NULL pointer dereference at (null) IP: jbd2__journal_start+0x38/0x1a2 [...] Call Trace: ext4_page_mkwrite+0x307/0x52b _ext4_get_block+0xd8/0xd8 do_page_mkwrite+0x6e/0xd8 handle_mm_fault+0x686/0xf9b mntput_no_expire+0x1f/0x21e

Re: [PATCH v2] spi: s3c64xx: add SPDX identifier

2017-12-14 Thread Geert Uytterhoeven
Hi Mark, On Thu, Dec 14, 2017 at 11:41 AM, Mark Brown wrote: > On Thu, Dec 14, 2017 at 10:31:09AM +0900, Andi Shyti wrote: > >> 1. Strictly by Thomas documentation: >> >> /* SPDX-License-Identifier: GPL-2.0 */ >> >> /* >>* Copyright (C) 2009 Samsung Electronics Ltd. >>* Jaswinder

Re: [PATCH v4 1/3] PCI: designware-ep: Fix find_first_zero_bit() usage

2017-12-14 Thread Kishon Vijay Abraham I
On Tuesday 12 December 2017 07:46 PM, Niklas Cassel wrote: > find_first_zero_bit()'s parameter 'size' is defined in bits, > not in bytes. > > find_first_zero_bit() is called with size in bytes rather than bits, > which thus defines a too low upper limit, causing > dw_pcie_ep_inbound_atu() to ass

Re: [PATCH 0/3] S390-DASD: Fine-tuning for some function implementations

2017-12-14 Thread Heiko Carstens
On Thu, Dec 14, 2017 at 11:34:01AM +0100, SF Markus Elfring wrote: > > Date: Wed, 10 May 2017 19:43:21 +0200 > > > > A few update suggestions were taken into account > > from static source code analysis. > > > > Markus Elfring (3): > > Adjust buffer output in dasd_hosts_print() > > Fix typos

Re: [PATCH v4 2/3] PCI: endpoint: Fix error handling in pci_epc_epf_link()

2017-12-14 Thread Kishon Vijay Abraham I
Hi Niklas, On Tuesday 12 December 2017 07:46 PM, Niklas Cassel wrote: > The error handling in pci_epc_epf_link() is broken, > since the clean up code for pci_epc_add_epf() calls clear_bit(), > even though the matching set_bit() is done after pci_epc_add_epf(). > > Also, clear_bit() should be done

Re: [PATCH v4 3/3] PCI: endpoint: Fix find_first_zero_bit() usage

2017-12-14 Thread Kishon Vijay Abraham I
On Tuesday 12 December 2017 07:46 PM, Niklas Cassel wrote: > find_first_zero_bit()'s parameter 'size' is defined in bits, > not in bytes. > > Calling find_first_zero_bit() with the wrong size unit > will lead to insidious bugs. > > Fix this by calling find_first_zero_bit() with size BITS_PER_LO

Re: [PATCH 1/3] dt-bindings: ARM: Mediatek: Fix ethsys documentation

2017-12-14 Thread Matthias Brugger
Hi Stephen, Michael, On 12/01/2017 01:07 PM, Matthias Brugger wrote: > The ethsys registers a reset controller, so we need to specify a > reset cell. This patch fixes the documentation. > > Signed-off-by: Matthias Brugger > --- > Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.tx

[PATCH V2] mm/mprotect: Add a cond_resched() inside change_pmd_range()

2017-12-14 Thread Anshuman Khandual
While testing on a large CPU system, detected the following RCU stall many times over the span of the workload. This problem is solved by adding a cond_resched() in the change_pmd_range() function. [ 850.962530] INFO: rcu_sched detected stalls on CPUs/tasks: [ 850.962584] 154-: (670 ticks t

Re: [PATCH 14/19] xfs: convert to new i_version API

2017-12-14 Thread Jeff Layton
On Thu, 2017-12-14 at 13:17 +1100, Dave Chinner wrote: > On Wed, Dec 13, 2017 at 07:10:22PM -0500, Jeff Layton wrote: > > On Thu, 2017-12-14 at 10:25 +1100, Dave Chinner wrote: > > > So now I've looked at the last patch . > > > > > > On Thu, Dec 14, 2017 at 09:48:37AM +1100, Dave Chinner wrote

Re: [PATCH v2 1/3] mmc: dt-bindings: add mmc support to MT7623 SoC

2017-12-14 Thread Matthias Brugger
Hi Ulf, On 12/07/2017 07:43 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > Add the devicetree binding for MT7623 SoC using MT2701 as the fallback. > > Cc: devicet...@vger.kernel.org > Signed-off-by: Sean Wang > Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/mmc/mtk-

Re: [PATCH 3/3] arm: dts: mt2701: Add reset-cells

2017-12-14 Thread Matthias Brugger
On 12/01/2017 01:07 PM, Matthias Brugger wrote: > The hifsys and ethsys needs the definition of the reset-cells > property. Fix this. > > Signed-off-by: Matthias Brugger > --- > arch/arm/boot/dts/mt2701.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/boot/dts/mt2701.d

Re: [PATCH v2 3/3] arm: dts: mt7623: fix card detection issue on bananapi-r2

2017-12-14 Thread Matthias Brugger
On 12/07/2017 07:43 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > Fix that bananapi-r2 booting from SD-card would fail since incorrect > polarity is applied to the previous setup with GPIO_ACTIVE_HIGH. > > Cc: sta...@vger.kernel.org > Fixes: 0eed8d097612 ("arm: dts: mt7623: Add SD-ca

Re: [PATCH v6 00/11] Intel SGX Driver

2017-12-14 Thread Jarkko Sakkinen
On Tue, Dec 12, 2017 at 03:07:50PM +0100, Pavel Machek wrote: > On Sat 2017-11-25 21:29:17, Jarkko Sakkinen wrote: > > Intel(R) SGX is a set of CPU instructions that can be used by applications > > to > > set aside private regions of code and data. The code outside the enclave is > > disallowed to

Re: About the try to remove cross-release feature entirely by Ingo

2017-12-14 Thread Peter Zijlstra
On Wed, Dec 13, 2017 at 10:07:11PM -0500, Theodore Ts'o wrote: > interpreted this as the lockdep maintainers saying, "hey, not my > fault, it's the subsystem maintainer's fault for not properly > classifying the locks" --- and thus dumping the responsibility in the > subsystem maintainers' laps. L

Re: [PATCH] PCI: qcom: add missing supplies required for msm8996

2017-12-14 Thread Srinivas Kandagatla
On 14/12/17 10:06, Stanimir Varbanov wrote: Hi Srini, On 12/08/2017 11:20 AM, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch adds supplies that are required for msm8996. Two of them vdda and vdda-1p8 are analog supplies that go in to controller, and the rest Ac

Re: [BISECTED] tpm CLKRUN breaks PS/2 keyboard and touchpad on Braswell system

2017-12-14 Thread Jarkko Sakkinen
On Mon, Dec 11, 2017 at 07:37:29PM +, James Ettle wrote: > Hello, > > [First: Apologies if cross-posting from Kernel.org BZ is bad form; my > distro BZ advised I post this to your mailing list as well.] > > Situation: enabling TPM on a Clevo W510LU with an Intel N3160 CPU > breaks PS/2 keyboa

Re: [PATCH 1/2] thermal: mtk: Cleanup unused defines

2017-12-14 Thread Matthias Brugger
On 12/01/2017 11:43 AM, Matthias Brugger wrote: > The mtk_thermal has some defiens which are never used within the driver. > This patch delets them. > > Signed-off-by: Matthias Brugger > --- > drivers/thermal/mtk_thermal.c | 9 + > 1 file changed, 1 insertion(+), 8 deletions(-) > > di

RE: [PATCH 6/8] remoteproc: Move resource table load logic to find

2017-12-14 Thread Loic PALLARDY
> -Original Message- > From: linux-remoteproc-ow...@vger.kernel.org [mailto:linux-remoteproc- > ow...@vger.kernel.org] On Behalf Of Bjorn Andersson > Sent: Wednesday, December 13, 2017 11:41 PM > To: Ohad Ben-Cohen ; Bjorn Andersson > > Cc: linux-remotep...@vger.kernel.org; linux-kernel@

  1   2   3   4   5   6   7   8   9   10   >