Re: [PATCH] r8152: disable rx checksum offload on Dell TB dock

2017-11-22 Thread Greg KH
On Thu, Nov 23, 2017 at 01:38:38AM -0500, Kai-Heng Feng wrote: > r8153 on Dell TB dock corrupts rx packets. > > The root cause is not found yet, but disabling rx checksumming can > workaround the issue. We can use this connection to decide if it's > a Dell TB dock: > Realtek r8153 <-> SMSC hub <->

Re: mm/percpu.c: use smarter memory allocation for struct pcpu_alloc_info (crisv32 hang)

2017-11-22 Thread Jesper Nilsson
On Wed, Nov 22, 2017 at 03:17:00PM -0500, Nicolas Pitre wrote: > On Wed, 22 Nov 2017, Jesper Nilsson wrote: > > > On Mon, Nov 20, 2017 at 10:50:46PM -0500, Nicolas Pitre wrote: > > > On Mon, 20 Nov 2017, Guenter Roeck wrote: > > > > On Mon, Nov 20, 2017 at 07:28:21PM -0500, Nicolas Pitre wrote: >

[PATCH 4/6] ARM: dts: keystone-k2g-evm: Add QSPI DT node.

2017-11-22 Thread Vignesh R
66AK2G EVM has a s25fl512s flash connected to QSPI. Add DT nodes for the same. Signed-off-by: Vignesh R --- arch/arm/boot/dts/keystone-k2g-evm.dts | 59 ++ 1 file changed, 59 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/k

[PATCH 2/6] ARM: dts: keystone-k2g-evm: Fix botched up merge

2017-11-22 Thread Vignesh R
spi1 and ecap0 pinmuxes ended up under root node instead of k2g_pinctrl node. Fix this by moving them under k2g_pinctrl node. Signed-off-by: Vignesh R --- arch/arm/boot/dts/keystone-k2g-evm.dts | 30 ++ 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/a

[PATCH 0/6] 66AK2G: Add DT nodes for few peripherals

2017-11-22 Thread Vignesh R
This patch series adds DT nodes for bunch of peripherials on 66AK2G EVM and 66AK2G ICE boards. Tested on 66AK2G EVM and ICE boards Vignesh R (6): ARM: dts: keystone-k2g: Add QSPI DT entry ARM: dts: keystone-k2g-evm: Fix botched up merge ARM: dts: keystone-k2g: Move ti,non-removable propert

[PATCH 6/6] ARM: configs: keystone_defconfig: Enable few peripheral drivers

2017-11-22 Thread Vignesh R
Enable drivers for QSPI, LEDS, gpio-decoder that are present on 66AK2G EVM and 66AK2G ICE boards. Signed-off-by: Vignesh R --- arch/arm/configs/keystone_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/configs/keystone_defconfig b/arch/arm/configs/keystone_defconfig

[PATCH 1/6] ARM: dts: keystone-k2g: Add QSPI DT entry

2017-11-22 Thread Vignesh R
Add DT node for Cadence QSPI IP present in 66AK2G SoC. Signed-off-by: Vignesh R --- arch/arm/boot/dts/keystone-k2g.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi index 8f313ff406b9..01d29320b04c

[PATCH 5/6] ARM: dts: keystone-k2g-ice: Add DT nodes for few peripherals

2017-11-22 Thread Vignesh R
Add DT nodes for QSPI, on board LEDS, MMC, I2C, PCA IO expander, gpio-decoder and regulators on K2G ICE board. Thanks to Franklin S Cooper Jr for initial work on few peripherals. Signed-off-by: Franklin S Cooper Jr Signed-off-by: Vignesh R --- arch/arm/boot/dts/keystone-k2g-ice.dts | 336

RE: [PATCH v18 0/6] drm/i915/gvt: Dma-buf support for GVT-g

2017-11-22 Thread Zhang, Tina
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Zhenyu Wang > Sent: Thursday, November 23, 2017 2:13 PM > To: Gerd Hoffmann > Cc: Tian, Kevin ; alex.william...@redhat.com; intel- > g...@lists.freedesktop.org; joonas.lahti...@

[PATCH 3/6] ARM: dts: keystone-k2g: Move ti,non-removable property to board dts

2017-11-22 Thread Vignesh R
On 66AK2G EVM mmc1 is connected to emmc whereas 66AK2G ICE baord has SD card slot connected to mmc1. Therefore move emmc specific ti,non-removable property from SoC file to EVM's dts file. Signed-off-by: Vignesh R --- arch/arm/boot/dts/keystone-k2g-evm.dts | 1 + arch/arm/boot/dts/keystone-k2g.d

[PATCH] drm/i915: Avoid enum conversion warning

2017-11-22 Thread Nick Desaulniers
Fixes the following enum conversion warning: drivers/gpu/drm/i915/intel_ddi.c:1481:30: error: implicit conversion from enumeration type 'enum port' to different enumeration type 'enum intel_dpll_id' [-Werror,-Wenum-conversion] enum intel_dpll_id pll_id = port; ~~

Re: [PATCH] ALSA: hda: Add Raven PCI ID

2017-11-22 Thread Takashi Iwai
On Thu, 23 Nov 2017 13:47:44 +0100, Vijendar Mukunda wrote: > > This commit adds PCI ID for Raven platform > > Signed-off-by: Vijendar Mukunda > --- > sound/pci/hda/hda_intel.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c > in

Re: [PATCH v7 08/13] regmap: add SLIMbus support

2017-11-22 Thread Charles Keepax
On Wed, Nov 15, 2017 at 02:10:38PM +, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > This patch adds support to read/write slimbus value elements. > Currently it only supports byte read/write. Adding this support in > regmap would give codec drivers more flexibility whe

Re: [PATCH v2] powerpc: fix boot on BOOK3S_32 with CONFIG_STRICT_KERNEL_RWX

2017-11-22 Thread Christophe LEROY
Le 22/11/2017 à 12:48, Michael Ellerman a écrit : Christophe LEROY writes: Le 22/11/2017 à 00:07, Balbir Singh a écrit : On Wed, Nov 22, 2017 at 1:28 AM, Christophe Leroy wrote: On powerpc32, patch_instruction() is called by apply_feature_fixups() which is called from early_init() There

RE: No check of the size passed to unmap_single in swiotlb

2017-11-22 Thread Eric Yang
> -Original Message- > From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: Wednesday, November 22, 2017 9:15 PM > To: Eric Yang ; Konrad Rzeszutek Wilk > ; io...@lists.linux-foundation.org > Cc: Daniel Borkmann ; Kees Cook > ; Geert Uytterhoeven ; > Greg Kroah-Hartman ; linux- > ker.

Re: Add fine grained sampled metrics for perf script

2017-11-22 Thread Jiri Olsa
On Fri, Nov 17, 2017 at 01:42:57PM -0800, Andi Kleen wrote: SNIP > TopDown: > > Note TopDown requires disabling SMT if you have it enabled (e.g. by offlining > the extra CPUs), because SMT would require sampling per core, which is not > supported. > > $ perf record -e '{ref-cycles,topdown-fetc

Re: [PATCH v7 02/13] dt-bindings: Add SLIMbus bindings

2017-11-22 Thread Charles Keepax
On Wed, Nov 15, 2017 at 11:15:00PM -0600, Rob Herring wrote: > On Wed, Nov 15, 2017 at 02:10:32PM +, srinivas.kandaga...@linaro.org > wrote: > > From: Sagar Dharia > > > > SLIMbus (Serial Low Power Interchip Media Bus) is a specification > > developed by MIPI (Mobile Industry Processor Inter

enum conversion warnings

2017-11-22 Thread Nick Desaulniers
pulling down tot, I'm seeing: CC [M] drivers/gpu/drm/i915/intel_ddi.o drivers/gpu/drm/i915/intel_ddi.c:1481:30: error: implicit conversion from enumeration type 'enum port' to different enumeration type 'enum intel_dpll_id' [-Werror,-Wenum-conversion] enum intel_dpll_id pll_id = port;

Re: [PATCH 1/2] ALSA: pcm: add SNDRV_PCM_FORMAT_{S, U}20_4

2017-11-22 Thread Takashi Sakamoto
On Nov 23 2017 08:44, Maciej S. Szmigiero wrote: On 23.11.2017 00:27, Takashi Sakamoto wrote: On Nov 23 2017 04:17, Maciej S. Szmigiero wrote: (..) --- a/include/uapi/sound/asound.h +++ b/include/uapi/sound/asound.h @@ -236,7 +236,11 @@ typedef int __bitwise snd_pcm_format_t;   #define    SND

Re: [PATCH 4.14 00/18] 4.14.2-stable review

2017-11-22 Thread Greg Kroah-Hartman
On Wed, Nov 22, 2017 at 01:34:13PM -0800, Guenter Roeck wrote: > On Wed, Nov 22, 2017 at 11:12:24AM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.2 release. > > There are 18 patches in this series, all will be posted as a response > > to this one. I

Creating cyclecounter and lock member in timecounter structure [ Was Re: [RFC 1/4] drm/i915/perf: Add support to correlate GPU timestamp with system time]

2017-11-22 Thread Sagar Arun Kamble
Hi, We needed inputs on possible optimization that can be done to timecounter/cyclecounter structures/usage. This mail is in response to review of patch https://patchwork.freedesktop.org/patch/188448/. As Chris's observation below, about dozen of timecounter users in the kernel have below str

Re: [PATCH 00/23] [v4] KAISER: unmap most of the kernel from userspace page tables

2017-11-22 Thread Ingo Molnar
* Ingo Molnar wrote: > > 32-bit x86 defconfig still doesn't build: > > arch/x86/events/intel/ds.c: In function ‘dsalloc’: > arch/x86/events/intel/ds.c:296:6: error: implicit declaration of function > ‘kaiser_add_mapping’; did you mean ‘kgid_has_mapping’? > [-Werror=implicit-function-declar

constant conversion warning in umip

2017-11-22 Thread Nick Desaulniers
Pulling down ToT, I'm seeing the following warning when building with clang: CC arch/x86/lib/insn.o arch/x86/lib/insn-eval.c:780:10: error: implicit conversion from 'int' to 'char' changes value from 132 to -124 [-Werror,-Wconstant-conversion] return INSN_CODE_SEG_PARAMS(4,

Re: [Outreachy kernel] Re: [PATCH] net: usb: hso.c: remove unneeded DRIVER_LICENSE #define

2017-11-22 Thread Julia Lawall
On Thu, 23 Nov 2017, Greg Kroah-Hartman wrote: > On Wed, Nov 22, 2017 at 10:20:49PM +0100, Julia Lawall wrote: > > > > > > On Wed, 22 Nov 2017, Joe Perches wrote: > > > > > On Fri, 2017-11-17 at 15:19 +0100, Greg Kroah-Hartman wrote: > > > > There is no need to #define the license of the driver,

Re: [PATCH 4.14 00/18] 4.14.2-stable review

2017-11-22 Thread Antoine Tenart
Hi Kevin, On Wed, Nov 22, 2017 at 03:43:51PM -0800, Kevin Hilman wrote: > kernelci.org bot writes: > > > stable-rc/linux-4.14.y boot: 100 boots: 3 failed, 96 passed with 1 > > untried/unknown (v4.14.1-19-g6d0448582cf7) > > > > Full Boot Summary: > > https://kernelci.org/boot/all/job/stable-rc/

Re: [Outreachy kernel] Re: [PATCH] net: usb: hso.c: remove unneeded DRIVER_LICENSE #define

2017-11-22 Thread Greg Kroah-Hartman
On Wed, Nov 22, 2017 at 10:20:49PM +0100, Julia Lawall wrote: > > > On Wed, 22 Nov 2017, Joe Perches wrote: > > > On Fri, 2017-11-17 at 15:19 +0100, Greg Kroah-Hartman wrote: > > > There is no need to #define the license of the driver, just put it in > > > the MODULE_LICENSE() line directly as a

Re: [PATCH 3.18 00/12] 3.18.84-stable review

2017-11-22 Thread Greg Kroah-Hartman
On Wed, Nov 22, 2017 at 03:49:03PM -0800, Kevin Hilman wrote: > kernelci.org bot writes: > > > stable-rc/linux-3.18.y boot: 44 boots: 2 failed, 42 passed > > (v3.18.83-12-g09d9c198f334) > > > > Full Boot Summary: > > https://kernelci.org/boot/all/job/stable-rc/branch/linux-3.18.y/kernel/v3.18.8

Re: [PATCH v7 07/13] slimbus: Add support for 'clock-pause' feature

2017-11-22 Thread Charles Keepax
On Wed, Nov 15, 2017 at 02:10:37PM +, srinivas.kandaga...@linaro.org wrote: > From: Sagar Dharia > > Per slimbus specification, a reconfiguration sequence known as > 'clock pause' needs to be broadcast over the bus while entering low- > power mode. Clock-pause is initiated by the controller d

Re: [PATCH 00/23] [v4] KAISER: unmap most of the kernel from userspace page tables

2017-11-22 Thread Ingo Molnar
32-bit x86 defconfig still doesn't build: arch/x86/events/intel/ds.c: In function ‘dsalloc’: arch/x86/events/intel/ds.c:296:6: error: implicit declaration of function ‘kaiser_add_mapping’; did you mean ‘kgid_has_mapping’? [-Werror=implicit-function-declaration] Also, could you please use pro

Re: usb/media/em28xx: use-after-free in dvb_unregister_frontend

2017-11-22 Thread Matthias Schwarzott
Am 21.11.2017 um 14:51 schrieb Andrey Konovalov: > Hi! > Hi Andrey, > I've got the following report while fuzzing the kernel with syzkaller. > > On commit e1d1ea549b57790a3d8cf6300e6ef86118d692a3 (4.15-rc1). > > em28xx 1-1:9.0: Disconnecting > tc90522 1-0015: Toshiba TC90522 attached. > qm1d1c0

Re: [PATCH 00/23] [v4] KAISER: unmap most of the kernel from userspace page tables

2017-11-22 Thread Ingo Molnar
* Dave Hansen wrote: > Thanks, everyone for all the reviews thus far. I hope I managed to > address all the feedback given so far, except for the TODOs of > course. This is a pretty minor update compared to v1->v2. > > These patches are all on this tip branch: > > > https://git.kernel

[PATCH] ALSA: hda: Add Raven PCI ID

2017-11-22 Thread Vijendar Mukunda
This commit adds PCI ID for Raven platform Signed-off-by: Vijendar Mukunda --- sound/pci/hda/hda_intel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 01eb1dc..9c7d479 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/h

Re: [GIT PULL] RTC for 4.15

2017-11-22 Thread Linus Torvalds
On Tue, Nov 21, 2017 at 5:28 AM, Alexandre Belloni wrote: > > The last minute change is only a documentation update to avoid further > bug reports. (And also a small commit message reword). This is _really_ annoying. I'm checking that pull requests have been in linux-next, and that rewording of

[tip:x86/urgent] x86/entry/64: Add missing irqflags tracing to native_load_gs_index()

2017-11-22 Thread tip-bot for Andy Lutomirski
Commit-ID: ca37e57bbe0cf1455ea3e84eb89ed04a132d59e1 Gitweb: https://git.kernel.org/tip/ca37e57bbe0cf1455ea3e84eb89ed04a132d59e1 Author: Andy Lutomirski AuthorDate: Wed, 22 Nov 2017 20:39:16 -0800 Committer: Ingo Molnar CommitDate: Thu, 23 Nov 2017 07:54:25 +0100 x86/entry/64: Add missi

[PATCH] fat: Fix sb_rdonly() change

2017-11-22 Thread OGAWA Hirofumi
Ouch forgot to add stable@ -- commit bc98a42c1f7d0f886c0c1b75a92a004976a46d9f introduced bug. Cc: Signed-off-by: OGAWA Hirofumi --- fs/fat/inode.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/fat/inode.c~fat-fix-sb_rdonly-fix fs/fat/inode.c --- linux/fs/fat/inode.c~

Re: [PATCH v2 00/18] Entry stack switching

2017-11-22 Thread Ingo Molnar
* Ingo Molnar wrote: > > * Ingo Molnar wrote: > > > > Anyway, I booted your config (more or less -- I munged it through > > > virtme-configkernel --update first) with 17 vCPUs and it seems fine. > > > Is the issue reliable enough to bisect? > > > > Ok, it should be bisectable, will try to bi

Re: [PATCH v6 36/37] tracing: Add inter-event blurb to HIST_TRIGGERS config option

2017-11-22 Thread Namhyung Kim
On Fri, Nov 17, 2017 at 02:33:15PM -0600, Tom Zanussi wrote: > So that users know that inter-event tracing is supported as part of > the HIST_TRIGGERS option, include text to that effect in the help > text. > > Signed-off-by: Tom Zanussi > --- > kernel/trace/Kconfig | 3 +++ > 1 file changed, 3

Re: [PATCH 00/18] arm64: Unmap the kernel whilst running in userspace (KAISER)

2017-11-22 Thread Ard Biesheuvel
> On 22 Nov 2017, at 23:37, Pavel Machek wrote: > > Hi! > > If I'm willing to do timing attacks to defeat KASLR... what prevents > me from using CPU caches to do that? > Because it is impossible to get a cache hit on an access to an unmapped address? >>> >>> Um, n

[PATCH] fat: Fix sb_rdonly() change

2017-11-22 Thread OGAWA Hirofumi
commit bc98a42c1f7d0f886c0c1b75a92a004976a46d9f introduced bug. Signed-off-by: OGAWA Hirofumi --- fs/fat/inode.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/fat/inode.c~fat-fix-sb_rdonly-fix fs/fat/inode.c --- linux/fs/fat/inode.c~fat-fix-sb_rdonly-fix 2017-11-23 15:

Re: [PATCH v2 00/18] Entry stack switching

2017-11-22 Thread Ingo Molnar
* Ingo Molnar wrote: > > Anyway, I booted your config (more or less -- I munged it through > > virtme-configkernel --update first) with 17 vCPUs and it seems fine. > > Is the issue reliable enough to bisect? > > Ok, it should be bisectable, will try to bisect it. The latestest entry-stack code

Re: [PATCH 7/7] ASoC: wm8994: mark expected switch fall-throughs

2017-11-22 Thread Charles Keepax
On Wed, Nov 08, 2017 at 02:04:43PM -0600, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Addresses-Coverity-ID: 402005 > Signed-off-by: Gustavo A. R. Silva > --- Acked-by: Charles Keepax Thanks, Ch

[PATCH] r8152: disable rx checksum offload on Dell TB dock

2017-11-22 Thread Kai-Heng Feng
r8153 on Dell TB dock corrupts rx packets. The root cause is not found yet, but disabling rx checksumming can workaround the issue. We can use this connection to decide if it's a Dell TB dock: Realtek r8153 <-> SMSC hub <-> ASMedia XHCI controller BugLink: https://bugs.launchpad.net/bugs/1729674

Re: [PATCH 3/3] autofs - fix AT_NO_AUTOMOUNT not being honored

2017-11-22 Thread Ian Kent
On 23/11/17 12:49, NeilBrown wrote: > On Thu, Nov 23 2017, Ian Kent wrote: > >> On 23/11/17 10:21, NeilBrown wrote: >>> On Thu, Nov 23 2017, Ian Kent wrote: >>> Hey Neil, I'm looking at this again because RH QE have complained about a regression test failing with a kernel that has t

Re: [v4,2/3] drivers: hwmon: Add W83773G driver

2017-11-22 Thread Joel Stanley
On Sun, Nov 19, 2017 at 2:45 AM, Guenter Roeck wrote: > On Mon, Nov 13, 2017 at 11:27:33AM +0800, Lei YU wrote: >> Nuvoton W83773G is a hardware monitor IC providing one local >> temperature and two remote temperature sensors. >> >> Signed-off-by: Lei YU > > Applied to hwmon-next. Where does hwm

[GIT PULL] final round of SCSI updates for the 4.14+ merge window

2017-11-22 Thread James Bottomley
Two basic fixes: one for the sparse problem with the blacklist flags and another for a hang forever in bnx2i. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Chad Dupuis (1): scsi: bnx2fc: Fix hung task messages w

Re: [PATCH v3 0/4] vm: add a syscall to map a process memory into a pipe

2017-11-22 Thread Mike Rapoport
On Wed, Nov 22, 2017 at 09:43:31PM +0100, Michael Kerrisk (man-pages) wrote: > Hi Mike, > > On 22 November 2017 at 20:36, Mike Rapoport wrote: > > Hi, > > > > This patches introduces new process_vmsplice system call that combines > > functionality of process_vm_read and vmsplice. > > > > It allow

Re: [PATCH v6 31/37] tracing: Add 'last error' error facility for hist triggers

2017-11-22 Thread Namhyung Kim
On Fri, Nov 17, 2017 at 02:33:10PM -0600, Tom Zanussi wrote: > With the addition of variables and actions, it's become necessary to > provide more detailed error information to users about syntax errors. > > Add a 'last error' facility accessible via the erroring event's 'hist' > file. Reading th

Re: [PATCH v2 00/18] Entry stack switching

2017-11-22 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Tue, Nov 21, 2017 at 10:22 PM, Ingo Molnar wrote: > > > > * Andy Lutomirski wrote: > > > >> This sets up stack switching, including for SYSCALL. I think it's > >> in decent shape. > >> > >> Known issues: > >> - I think we're going to want a way to turn the stack

Re: [PATCH v18 0/6] drm/i915/gvt: Dma-buf support for GVT-g

2017-11-22 Thread Zhenyu Wang
On 2017.11.15 11:49:00 +0100, Gerd Hoffmann wrote: > On Wed, Nov 15, 2017 at 05:11:49PM +0800, Tina Zhang wrote: > > v17->v18: > > 1) unmap vgpu's opregion when destroying vgpu. > > 2) update comments for VFIO_DEVICE_GET_GFX_DMABUF. (Alex) > > > This patch set adds the dma-buf support for intel GV

Re: [PATCH] arch, mm: introduce arch_tlb_gather_mmu_lazy

2017-11-22 Thread Minchan Kim
On Wed, Nov 22, 2017 at 07:30:50PM +, Will Deacon wrote: > Hi Michal, > > On Mon, Nov 20, 2017 at 05:04:22PM +0100, Michal Hocko wrote: > > On Mon 20-11-17 14:24:44, Will Deacon wrote: > > > On Thu, Nov 16, 2017 at 10:20:42AM +0100, Michal Hocko wrote: > > > > On Wed 15-11-17 17:33:32, Will De

RE: [PATCH AUTOSEL for 4.9 37/54] RDMA/qedr: Fix RDMA CM loopback

2017-11-22 Thread Amrani, Ram
> From: Ram Amrani > > [ Upstream commit af2b14b8b8ae21b0047a52c767ac8b44f435a280 ] > > The loopback logic in RDMA CM packets compares Ethernet addresses and > was accidently inverse. > > Signed-off-by: Ram Amrani > Signed-off-by: Ariel Elior > Signed-off-by: Doug Ledford > Signed-off-by: Sa

Re: [PATCH] Use more flexible pattern matching for CPU identification for mapfile.csv

2017-11-22 Thread Ravi Bangoria
Hi William, On 11/23/2017 12:56 AM, Arnaldo Carvalho de Melo wrote: Em Wed, Nov 22, 2017 at 11:08:49AM -0500, William Cohen escreveu: The powerpc cpuid information includes chip revision information. Changes between chip revisions are usually minor bug fixes and usually do not affect the operat

[PATCH] gfs2: Fix wrong error handling in init_gfs2_fs()

2017-11-22 Thread Tetsuo Handa
init_gfs2_fs() is calling e.g. calling unregister_shrinker() without register_shrinker() when an error occurred during initialization. Rename goto labels and call appropriate undo function. Signed-off-by: Tetsuo Handa --- fs/gfs2/main.c | 90 --

Re: [PATCH] ASoC: wm0010: Delete an error message for a failed memory allocation in wm0010_boot()

2017-11-22 Thread Charles Keepax
On Wed, Nov 22, 2017 at 05:27:11PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 22 Nov 2017 17:17:48 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus E

[ANNOUNCE] 3.2.95-rt133

2017-11-22 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.95-rt133 stable release. This release is just an update to the new stable 3.2.95 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.

Re: [PATCH 3/8] drm/mediatek: mt2701: switch to mfd probing.

2017-11-22 Thread CK Hu
Hi, Matthias: On Tue, 2017-11-14 at 22:41 +0100, Matthias Brugger wrote: > With the mtk-mmsys MFD device in place, we switch the probing for > mt2701 from device-tree to mfd. > > Signed-off-by: Matthias Brugger > --- > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 32 +---

[ANNOUNCE] 3.10.108-rt123

2017-11-22 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.10.108-rt123 stable release. This release is just an update to the new stable 3.10.108 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable

Re: [PATCH 1/8] drm/mediatek: Use regmap for register access

2017-11-22 Thread CK Hu
Hi, Matthias: On Tue, 2017-11-14 at 22:41 +0100, Matthias Brugger wrote: > The mmsys memory space is shared between the drm and the > clk driver. Use regmap to access it. > > Signed-off-by: Matthias Brugger Acked-by: CK Hu > --- > drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 ++-- > drivers/

[ANNOUNCE] 3.18.82-rt88

2017-11-22 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.18.82-rt88 stable release. This release is just an update to the new stable 3.18.82 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt

[PATCH] arm64: dts: Hi3660: Fix state id for 'CPU_NAP' state

2017-11-22 Thread Leo Yan
Thanks a lot for Vincent Guittot careful work to find bug for 'CPU_NAP' idle state. From ftrace log we can observe CA73 CPUs can be easily waken up from 'CPU_NAP' state but the 'waken up' CPUs doesn't handle anything and sleep again; so there have tons of trace events for CA73 CPUs entering and exi

[PATCH RT 09/10] md/raid5: do not disable interrupts

2017-11-22 Thread Steven Rostedt
4.4.97-rt111-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974 |in_atomic(): 0, irqs_disabled(): 1, pid: 2992, name: lvm |CPU: 2 PID:

[PATCH RT 04/10] sched: Prevent task state corruption by spurious lock wakeup

2017-11-22 Thread Steven Rostedt
4.4.97-rt111-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner Mathias and others reported GDB failures on RT. The following scenario leads to task state corruption: CPU0CPU1 T1->sta

[PATCH RT 08/10] fs: convert two more BH_Uptodate_Lock related bitspinlocks

2017-11-22 Thread Steven Rostedt
4.4.97-rt111-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior We convert all BH_Uptodate_Lock based bit-spinlocks to use bh_uptodate_lock_irqsave() instead. Those two were introduced after the initial change in -RT and

[PATCH RT 06/10] sched/migrate disable: handle updated task-mask mg-dis section

2017-11-22 Thread Steven Rostedt
4.4.97-rt111-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior If task's cpumask changes while in the task is in a migrate_disable() section then we don't react on it after a migrate_enable(). It matters however if curr

[PATCH RT 00/10] Linux 4.4.97-rt111-rc2

2017-11-22 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 4.4.97-rt111-rc2. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release can

[PATCH RT 10/10] Linux 4.4.97-rt111-rc2

2017-11-22 Thread Steven Rostedt
4.4.97-rt111-rc2 stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (VMware)" --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index b3e668a8fb94..757d33fb65a3

[PATCH RT 01/10] timer/hrtimer: check properly for a running timer

2017-11-22 Thread Steven Rostedt
4.4.97-rt111-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior hrtimer_callback_running() checks only whether a timmer is running on a CPU in hardirq-context. This is okay for !RT. For RT environment we move most timers

[PATCH RT 05/10] sched: Remove TASK_ALL

2017-11-22 Thread Steven Rostedt
4.4.97-rt111-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra It's unused: $ git grep "\" | wc -l 1 And dangerous, kill the bugger. Cc: stable...@vger.kernel.org Acked-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel)

[PATCH RT 02/10] rtmutex: Make lock_killable work

2017-11-22 Thread Steven Rostedt
4.4.97-rt111-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner Locking an rt mutex killable does not work because signal handling is restricted to TASK_INTERRUPTIBLE. Use signal_pending_state() unconditionaly. Cc: rt-sta...@vge

[PATCH RT 03/10] random: avoid preempt_disable()ed section

2017-11-22 Thread Steven Rostedt
4.4.97-rt111-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior extract_crng() will use sleeping locks while in a preempt_disable() section due to get_cpu_var(). Work around it with local_locks. Cc: stable...@vger.kerne

[PATCH RT 5/7] locking/rt-mutex: fix deadlock in device mapper / block-IO

2017-11-22 Thread Steven Rostedt
4.9.61-rt52-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka When some block device driver creates a bio and submits it to another block device driver, the bio is added to current->bio_list (in order to avoid unbounded recursion

[PATCH RT 7/7] Linux 4.9.61-rt52-rc2

2017-11-22 Thread Steven Rostedt
4.9.61-rt52-rc2 stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (VMware)" --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 75493460c41f..abc788780895 1

[PATCH RT 2/7] fs/dcache: disable preemption on i_dir_seqs write side

2017-11-22 Thread Steven Rostedt
4.9.61-rt52-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior i_dir_seq is an opencoded seqcounter. Based on the code it looks like we could have two writers in parallel despite the fact that the d_lock is held. The pro

[PATCH RT 6/7] md/raid5: do not disable interrupts

2017-11-22 Thread Steven Rostedt
4.9.61-rt52-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974 |in_atomic(): 0, irqs_disabled(): 1, pid: 2992, name: lvm |CPU: 2 PID: 2

[PATCH RT 4/7] fs: convert two more BH_Uptodate_Lock related bitspinlocks

2017-11-22 Thread Steven Rostedt
4.9.61-rt52-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior We convert all BH_Uptodate_Lock based bit-spinlocks to use bh_uptodate_lock_irqsave() instead. Those two were introduced after the initial change in -RT and

[PATCH RT 0/7] Linux 4.9.61-rt52-rc2

2017-11-22 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 4.9.61-rt52-rc2. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release cand

[PATCH RT 1/7] drivers/zram: fix zcomp_stream_get() smp_processor_id() use in preemptible code

2017-11-22 Thread Steven Rostedt
4.9.61-rt52-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith Use get_local_ptr() instead this_cpu_ptr() to avoid a warning regarding smp_processor_id() in preemptible code. raw_cpu_ptr() would be fine, too because the per-CPU dat

[PATCH RT 3/7] tpm_tis: fix stall after iowrite*()s

2017-11-22 Thread Steven Rostedt
4.9.61-rt52-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Haris Okanovic ioread8() operations to TPM MMIO addresses can stall the cpu when immediately following a sequence of iowrite*()'s to the same region. For example, cyclitest measures

Re: [PATCH v6 29/37] tracing: Add cpu field for hist triggers

2017-11-22 Thread Namhyung Kim
On Fri, Nov 17, 2017 at 02:33:08PM -0600, Tom Zanussi wrote: > A common key to use in a histogram is the cpuid - add a new cpu > 'synthetic' field for that purpose. This field is named cpu rather > than $cpu or $common_cpu because 'cpu' already exists as a special > filter field and it makes more

Re: [PATCH v7 0/5] fw_cfg: add DMA operations & etc/vmcoreinfo support

2017-11-22 Thread Michael S. Tsirkin
On Mon, Nov 20, 2017 at 10:55:14AM +0100, Marc-André Lureau wrote: > Hi, > > This series adds DMA operations support to the qemu fw_cfg kernel > module and populates "etc/vmcoreinfo" with vmcoreinfo location > details. > > Note: the support for this entry handling has been merged for upcoming > q

[PATCH 2/2] scripts: leaking_addresses: help screen updates

2017-11-22 Thread kaiwan . billimoria
The current leaking_addresses.pl script only supports showing "leaked" 64-bit kernel virtual addresses. This patch modifies the "help" screen in the following manner: - the '--raw', '--suppress-dmesg', '--squash-by-path' and '--squash-by-filename' option switches are only meaningful when the '--i

[PATCH 1/2] scripts: leaking_addresses: add support for 32-bit kernel addresses

2017-11-22 Thread kaiwan . billimoria
The current leaking_addresses.pl script only supports showing "leaked" 64-bit kernel virtual addresses. This patch adds support for showing "leaked" 32-bit kernel virtual addresses. It also takes into account Tobin's feedback on the previous iteration. (Note: this patch is meant to apply on the 'le

Re: [dm-devel] new patchset to eliminate DM's use of BIOSET_NEED_RESCUER

2017-11-22 Thread NeilBrown
On Wed, Nov 22 2017, Mikulas Patocka wrote: > On Wed, 22 Nov 2017, NeilBrown wrote: > >> On Tue, Nov 21 2017, Mikulas Patocka wrote: >> >> > On Tue, 21 Nov 2017, Mike Snitzer wrote: >> > >> >> On Tue, Nov 21 2017 at 4:23pm -0500, >> >> Mikulas Patocka wrote: >> >> >> >> > This is not correct:

Re: [PATCH v6 27/37] tracing: Add 'onmax' hist trigger action support

2017-11-22 Thread Namhyung Kim
On Fri, Nov 17, 2017 at 02:33:06PM -0600, Tom Zanussi wrote: > Add an 'onmax(var).save(field,...)' hist trigger action which is > invoked whenever an event exceeds the current maximum. > > The end result is that the trace event fields or variables specified > as the onmax.save() params will be sav

Re: [PATCH 1/2] serial: 8250_fintek: Return -EINVAL on invalid configuration

2017-11-22 Thread Lukas Wunner
On Wed, Nov 22, 2017 at 11:30:39PM +0100, Ricardo Ribalda Delgado wrote: > ping? Both patches went into 4.15. Thanks, Lukas

Re: [PATCH 0/4] staging: lustre: fixed some signedness warns from sparse

2017-11-22 Thread Tobin C. Harding
On Wed, Nov 22, 2017 at 08:38:27PM +0100, Stefano Manni wrote: > Fixed some signedness warnings from sparse on lustre. > > Stefano Manni (4): > staging: lustre: fixed signedness of some socklnd params > staging: lustre: fixed signedness of llite > staging: lustre: fixed signedness of lov >

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

2017-11-22 Thread Tim Harvey
On Wed, Nov 15, 2017 at 8:30 PM, Rob Herring wrote: > On Wed, Nov 15, 2017 at 10:31:14AM -0800, Tim Harvey wrote: >> On Wed, Nov 15, 2017 at 7:52 AM, Rob Herring wrote: >> > On Thu, Nov 09, 2017 at 10:45:34AM -0800, Tim Harvey wrote: >> >> Add support for the TDA1997x HDMI receivers. >> >> >> >>

Re: [PATCH 3/3] autofs - fix AT_NO_AUTOMOUNT not being honored

2017-11-22 Thread NeilBrown
On Thu, Nov 23 2017, Ian Kent wrote: > On 23/11/17 10:21, NeilBrown wrote: >> On Thu, Nov 23 2017, Ian Kent wrote: >> >>> >>> Hey Neil, I'm looking at this again because RH QE have complained about >>> a regression test failing with a kernel that has this change. >>> >>> Maybe I'm just dumb but I

[PATCH] x86/entry/64: Add missing irqflags tracing to native_load_gs_index()

2017-11-22 Thread Andy Lutomirski
Running this code with IRQs enabled (where dummy_lock is a spinlock): static void check_load_gs_index(void) { /* This will fail. */ load_gs_index(0x); spin_lock(&dummy_lock); spin_unlock(&dummy_lock); } Will generate a lockdep warning. The issue is that the a

Re: [PATCH 2/5] media: dt-bindings: Add bindings for TDA1997X

2017-11-22 Thread Tim Harvey
On Tue, Nov 21, 2017 at 11:36 PM, Sakari Ailus wrote: > Hi Tim, > > On Thu, Nov 09, 2017 at 10:45:33AM -0800, Tim Harvey wrote: >> Cc: Rob Herring >> Signed-off-by: Tim Harvey >> --- >> v3: >> - fix typo >> >> v2: >> - add vendor prefix and remove _ from vidout-portcfg >> - remove _ from labe

Re: [tip:x86/urgent] x86/mm/kasan: Don't use vmemmap_populate() to initialize shadow

2017-11-22 Thread Andy Lutomirski
On Tue, Nov 21, 2017 at 11:46 PM, tip-bot for Andrey Ryabinin wrote: > Commit-ID: f68d62a56708b0c19dca7a998f408510f2fbc3a8 > Gitweb: > https://git.kernel.org/tip/f68d62a56708b0c19dca7a998f408510f2fbc3a8 > Author: Andrey Ryabinin > AuthorDate: Wed, 15 Nov 2017 17:36:35 -0800 > Committer:

Re: kernel CI: printk loglevels in kernel boot logs?

2017-11-22 Thread Sergey Senozhatsky
Hello, On (11/23/17 11:14), Fengguang Wu wrote: > > > Thanks. Since the 0day scripts can already parse that format (code > > > is listed below), we should quickly benefit from that feature when > > > it's mainlined. > > > > okay... who's going to send the patch? kernelCI folks? > > > > I have so

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

2017-11-22 Thread Tim Harvey
On Mon, Nov 20, 2017 at 7:39 AM, Hans Verkuil wrote: > Hi Tim, > > Some more review comments: > > On 11/09/2017 07:45 PM, Tim Harvey wrote: >> Add support for the TDA1997x HDMI receivers. >> + */ >> +struct color_matrix_coefs { >> + const char *name; >> + /* Input offsets */ >> + s16

Re: [PATCH v3] kbuild: Set KBUILD_CFLAGS before incl. arch Makefile

2017-11-22 Thread Masahiro Yamada
Hi. 2017-11-18 13:09 GMT+09:00 Masahiro Yamada : > 2017-11-16 5:42 GMT+09:00 Nick Desaulniers : >> From: Chris Fries >> >> Set the clang KBUILD_CFLAGS up before including arch/ Makefiles, >> so that ld-options (etc.) can work correctly. >> >> This fixes errors with clang such as ld-options trying

Re: [PATCH 4/6] mmc: tmio: move mmc_host_ops to struct tmio_mmc_host from static data

2017-11-22 Thread Masahiro Yamada
2017-11-21 5:48 GMT+09:00 Wolfram Sang : > >> + struct mmc_host_ops mmc_host_ops; > > Just came to think of it: maybe a shorter name? > > host->ops > > is still nicely readable, I'd think... > I just thought it should be clear which ops, but nobody would be confused with "dma_ops". OK, I

Re: [PATCH net] net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts

2017-11-22 Thread Sunil Kovvuri
On Wed, Nov 22, 2017 at 9:27 PM, Eric Dumazet wrote: > On Wed, 2017-11-22 at 15:37 +0300, Aleksey Makarov wrote: >> From: Sunil Goutham >> >> This fixes a previous patch which missed some changes >> and due to which L3 checksum offload was getting enabled >> for IPv6 pkts. And HW is dropping thes

[git pull] drm for v4.15 (fixes/cleanups/one small feature)

2017-11-22 Thread Dave Airlie
Hi Linus, This is just some bits and pieces for the second half of the merge window, 1. Remove the MSM dt-bindings file Rob managed to push in the previous pull. 2. Add a property/edid quirk to denote HMD devices, I had these hanging around for a few weeks and Keith had done some work on them, th

Re: [PATCH 05/23] x86, kaiser: unmap kernel from userspace page tables (core patch)

2017-11-22 Thread Andy Lutomirski
On Wed, Nov 22, 2017 at 4:34 PM, Dave Hansen wrote: > > These actions when dealing with a user address *and* the > PGD has _PAGE_USER set. That way, in-kernel users of low addresses > typically used by userspace are not accidentally poisoned. This seems sane. > +/* > + * Take a PGD location (pg

Re: [PATCH v3 10/16] phy: qcom-qmp: Move register offsets to header file

2017-11-22 Thread Manu Gautam
Hi, On 11/22/2017 10:56 PM, Stephen Boyd wrote: > On 11/21/2017 01:23 AM, Manu Gautam wrote: >> New revision (v3) of QMP PHY uses different offsets >> for almost all of the registers. Hence, move these >> definitions to header file so that updated offsets >> can be added for QMP v3. >> >> Signed-

Re: [PATCH 4/4] cpufreq: Drop pointless return statement

2017-11-22 Thread Viresh Kumar
On 23-11-17, 01:30, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Drop a pointless return statement from cpufreq_unregister_governor(). > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq.c |1 - > 1 file changed, 1 deletion(-) > > Index: linux-pm/drivers/cpufreq

  1   2   3   4   5   6   7   8   9   10   >