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

2017-10-19 Thread Hans Verkuil
On 10/18/2017 02:04 PM, Hans Verkuil wrote: > Hi Tim, > > Here is my review of this v2: > > On 10/12/17 06:45, Tim Harvey wrote: >> Add support for the TDA1997x HDMI receivers. >> >> Cc: Hans Verkuil >> Signed-off-by: Tim Harvey >> --- >> v2: >> - implement dv timings enum/cap >> - remove dep

Re: [PATCH 0/2] [media] rc/keymaps: add support for two RCs of hisilicon boards.

2017-10-19 Thread Hans Verkuil
On 10/18/2017 12:54 PM, Jiancheng Xue wrote: > Add support for two remote controllers of hisilicon boards. > > Younian Wang (2): > [media] rc/keymaps: add support for RC of hisilicon TV demo boards > [media] rc/keymaps: add support for RC of hisilicon poplar board > > drivers/media/rc/keymap

[PATCH v2 1/4] completion: Add support for initializing completion with lockdep_map

2017-10-19 Thread Byungchul Park
Sometimes, we want to initialize completions with sparate lockdep maps to assign lock classes under control. For example, the workqueue code manages lockdep maps, as it can classify lockdep maps properly. Provided a function for that purpose. Signed-off-by: Byungchul Park --- include/linux/compl

[PATCH v2 0/4] Fix false positives by cross-release feature

2017-10-19 Thread Byungchul Park
I attached this patchset into another thread for patches fixing a performance regression by cross-release, so that the cross-release can be re-enabled easily as the last, after fixing false positives as well. Changes from v1 - Separate a patch removing white space Byungchul Park (4): completion

[PATCH v2 4/4] lockdep: Assign a lock_class per gendisk used for wait_for_completion()

2017-10-19 Thread Byungchul Park
Darrick and Dave Chinner posted the following warning: > == > WARNING: possible circular locking dependency detected > 4.14.0-rc1-fixes #1 Tainted: GW > -- > loop0/31693 is trying to acq

Re: [PATCH 01/11] Initialize the mapping of KASan shadow memory

2017-10-19 Thread Liuwenliang (Lamb)
On 2017.10.12 7:43AM Dmitry Osipenko [mailto:dig...@gmail.com] wrote: >Shouldn't all __pgprot's contain L_PTE_MT_WRITETHROUGH ? > >[...] > >-- >Dmitry Thanks for your review. I'm sorry that my replay is so late. I don't think L_PTE_MT_WRITETHROUGH is need for all arm soc. So I think kasan's mapp

[PATCH v2 2/4] lockdep: Remove unnecessary acquisitions wrt workqueue flush

2017-10-19 Thread Byungchul Park
The workqueue added manual acquisitions to catch deadlock cases. Now crossrelease was introduced, some of those are redundant, since wait_for_completion() already includes the acquisition for itself. Removed it. Signed-off-by: Byungchul Park --- include/linux/workqueue.h | 4 ++-- kernel/workqu

[PATCH v2 3/4] genhd.h: Remove trailing white space

2017-10-19 Thread Byungchul Park
Trailing white space is not accepted in kernel coding style. Remove them. Signed-off-by: Byungchul Park --- include/linux/genhd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/genhd.h b/include/linux/genhd.h index ea652bf..6d85a75 100644 --- a/include/linu

Re: [PATCH 1/2] misc: rtsx: Move Realtek Card Reader Driver to misc

2017-10-19 Thread Arnd Bergmann
On Thu, Oct 19, 2017 at 5:22 AM, wrote: > From: Rui Feng > > Because Realtek PCIE card reader driver is a pcie driver, > and it bridges mmc subsystem and memstick subsystem, it's > not a mfd driver. Greg and Lee Jones had a discussion about > where to put the driver, the result is that misc is a

Re: [PATCH 0/9] Intel Processor Trace virtulization enabling

2017-10-19 Thread Paolo Bonzini
On 19/10/2017 07:54, Kang, Luwei wrote: >>> Get it. I have feedback to hardware architect. I hope it can be applied but >>> it may need wait a long time. >> Note that the hardware need not do anything. However it would be nice if >> the SDM can define a bit _for the hypervisors_ to >> enforce th

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-19 Thread Michal Hocko
On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: > On Fri, Oct 13, 2017 at 02:00:12PM +0200, Michal Hocko wrote: > > From: Michal Hocko > > > > Michael has noticed that the memory offline tries to migrate kernel code > > pages when doing > > echo 0 > /sys/devices/system/memory/memory0/online > > >

Re: [PATCH 0/2] [media] rc/keymaps: add support for two RCs of hisilicon boards.

2017-10-19 Thread Jiancheng Xue
Hi Hans, On 2017/10/19 15:01, Hans Verkuil wrote: > On 10/18/2017 12:54 PM, Jiancheng Xue wrote: >> Add support for two remote controllers of hisilicon boards. >> >> Younian Wang (2): >> [media] rc/keymaps: add support for RC of hisilicon TV demo boards >> [media] rc/keymaps: add support for R

[PATCH v3 2/2] platform/x86: silead_dmi: Add silead,home-button property to some tablets

2017-10-19 Thread Hans de Goede
Add "silead,home-button" property to entries for tablets which have a capacitive home button (typically a windows logo on the front). This new property is checked for by the new capacitive home button support in the silead touchscreen driver. Signed-off-by: Hans de Goede --- drivers/platform/x8

[PATCH v3 1/2] Input: silead - Add support for capactive home button found on some x86 tablets

2017-10-19 Thread Hans de Goede
On some x86 tablets with a silead touchscreen the windows logo on the front is a capacitive home button. Touching this button results in a touch with bits 12-15 of the Y coordinates set, while normally only the lower 12 are used. Detect this and report a KEY_LEFTMETA press when this happens. Note

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

2017-10-19 Thread Tim Harvey
On Wed, Oct 18, 2017 at 5:04 AM, Hans Verkuil wrote: > Hi Tim, > > Here is my review of this v2: > > On 10/12/17 06:45, Tim Harvey wrote: >> Add support for the TDA1997x HDMI receivers. >> >> + >> +/* >> + * Video Input formats >> + */ >> +struct vhref_values { >> + u16 href_start; >> + u

Re: [PATCH 0/2] [media] rc/keymaps: add support for two RCs of hisilicon boards.

2017-10-19 Thread Hans Verkuil
On 10/19/2017 09:12 AM, Jiancheng Xue wrote: > Hi Hans, > > On 2017/10/19 15:01, Hans Verkuil wrote: >> On 10/18/2017 12:54 PM, Jiancheng Xue wrote: >>> Add support for two remote controllers of hisilicon boards. >>> >>> Younian Wang (2): >>> [media] rc/keymaps: add support for RC of hisilicon T

Re: [PATCH resend] [media] uvcvideo: zero seq number when disabling stream

2017-10-19 Thread Hans Yang
Hi Laurent and Guennadi, On 2017年10月18日 16:52, Guennadi Liakhovetski wrote: Hi Laurent, On Mon, 16 Oct 2017, Laurent Pinchart wrote: Hi Hans, (CC'ing Guennadi Liakhovetski) Thank you for the patch. On Friday, 15 September 2017 09:27:51 EEST Hans Yang wrote: For bulk-based devices, when di

Re: [PATCH] f2fs: limit # of inmemory pages

2017-10-19 Thread Christoph Hellwig
On Wed, Oct 18, 2017 at 07:15:16PM -0700, Jaegeuk Kim wrote: > If some abnormal users try lots of atomic write operations, f2fs is able to > produce pinned pages in the main memory which affects system performance. > This patch limits that as 20% over total memory size, and if f2fs reaches > to the

Re: [PATCH 3/3] mm: oom: show unreclaimable slab info when unreclaimable slabs > user memory

2017-10-19 Thread Michal Hocko
On Tue 17-10-17 15:39:08, David Rientjes wrote: > On Wed, 18 Oct 2017, Yang Shi wrote: > > > > Yes, this should catch occurrences of "huge unreclaimable slabs", right? > > > > Yes, it sounds so. Although single "huge" unreclaimable slab might not > > result > > in excessive slabs use in a whole,

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-19 Thread Joonsoo Kim
On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: > > On Fri, Oct 13, 2017 at 02:00:12PM +0200, Michal Hocko wrote: > > > From: Michal Hocko > > > > > > Michael has noticed that the memory offline tries to migrate kernel code > > > pages

Re: [v6,1/2] pid: Replace pid bitmap implementation with IDR API

2017-10-19 Thread Andrei Vagin
Hi Gargi, This patch breaks CRIU, because it changes a meaning of ns_last_pid. == Run zdtm/static/env00 in h == DEP env00.d CCenv00.o LINK env00 Start test ./env00 --pidfile=env00.pid --outfile=env00.out --envname=ENV_00_TEST R

Re: [PATCH v2 1/1] arm: topology: remove cpu_efficiency

2017-10-19 Thread Vincent Guittot
Hi Dietmar, On 18 October 2017 at 12:37, Dietmar Eggemann wrote: > Hi Vincent, > > On 17/10/17 13:28, Vincent Guittot wrote: >> Hi Dietmar, >> >> On 12 October 2017 at 16:00, Dietmar Eggemann >> wrote: >>> Remove the 'cpu_efficiency/clock-frequency dt property' based solution >>> to set cpu cap

Re: [Update][PATCH v2 01/12] PM / core: Add NEVER_SKIP and SMART_PREPARE driver flags

2017-10-19 Thread Greg Kroah-Hartman
On Thu, Oct 19, 2017 at 01:17:31AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The motivation for this change is to provide a way to work around > a problem with the direct-complete mechanism used for avoiding > system suspend/resume handling for devices in runtime suspend. > >

Re: [PATCH 1/4][PoC][RFC] sched: Allow to get() and put() signal struct

2017-10-19 Thread Greg KH
On Wed, Oct 18, 2017 at 10:32:27PM +0200, Krzysztof Opasiak wrote: > Allow to get() and put() signal struct from different > parts of kernel core, not only from signal.c. That says what this does, but not _why_. Who would ever want to have access to these internal-only functions? thanks, greg k

[PATCH] perf test: use stat() to check type of file instead of readdir

2017-10-19 Thread Li Zhijian
according to man-page: http://man7.org/linux/man-pages/man3/readdir.3.html d_type is not supported by all filesystems - Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) have full support for returning the file type in d_type. All applications must properly han

Re: linux-next: manual merge of the usb-gadget tree with the usb tree

2017-10-19 Thread Felipe Balbi
Hi, Kees Cook writes: > On Wed, Oct 18, 2017 at 7:42 AM, Mark Brown wrote: >> Hi Felipe, >> >> Today's linux-next merge of the usb-gadget tree got a conflict in: >> >> drivers/usb/gadget/udc/snps_udc_core.c >> >> between commit: >> >> 29bce57723351f63d ("usb/gadget/snps_udc_core: Convert ti

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

2017-10-19 Thread Hans Verkuil
On 10/19/2017 09:20 AM, Tim Harvey wrote: > On Wed, Oct 18, 2017 at 5:04 AM, Hans Verkuil wrote: >> Hi Tim, >> >> Here is my review of this v2: >> >> On 10/12/17 06:45, Tim Harvey wrote: >>> Add support for the TDA1997x HDMI receivers. >>> > >>> + >>> +/* >>> + * Video Input formats >>> + */ >>>

Re: [PATCH 02/14] soundwire: Add SoundWire bus type

2017-10-19 Thread Takashi Iwai
On Thu, 19 Oct 2017 05:03:18 +0200, Vinod Koul wrote: > > --- /dev/null > +++ b/drivers/soundwire/Kconfig > @@ -0,0 +1,22 @@ > +# > +# SoundWire subsystem configuration > +# > + > +menuconfig SOUNDWIRE > + bool "SoundWire support" > + ---help--- > + SoundWire is a 2-Pin interface wit

Re: [linux-sunxi] [PATCH v2 5/5] ARM: sun8i: v40: enable USB host ports for Banana Pi M2 Berry

2017-10-19 Thread Chen-Yu Tsai
Hi, On Wed, Oct 18, 2017 at 9:06 PM, Icenowy Zheng wrote: > Banana Pi M2 Berry has an on-board USB Hub that provides 4 USB Type-A > ports, and it's connected to the USB1 port of the SoC. > > Enable it. What is the USB hub chip's model? If it's a USB 2.0 hub, then you don't need to enable the OHC

Re: [PATCH 3/4][PoC][RFC] Connect rlimit-events with process life cycle

2017-10-19 Thread Greg KH
On Wed, Oct 18, 2017 at 10:32:29PM +0200, Krzysztof Opasiak wrote: > Add rlimit-events call to process lifecycle to ensure that > we get notified whenever process dies (to cleanup our watch > levels) or forks (to implement watch levels inheritance). > > Signed-off-by: Krzysztof Opasiak > --- > k

Re: [PATCH 2/4][PoC][RFC] Add rlimit-events framework

2017-10-19 Thread Greg KH
Meta-comments on the code, I'm not commenting on the content, just normal code review things that I always see in kernel code... On Wed, Oct 18, 2017 at 10:32:28PM +0200, Krzysztof Opasiak wrote: > diff --git a/include/linux/rlimit_noti_kern.h > b/include/linux/rlimit_noti_kern.h > new file mode

Re: [PATCH v3] dmaengine: rcar-dmac: use TCRB instead of TCR for residue

2017-10-19 Thread Geert Uytterhoeven
On Thu, Oct 19, 2017 at 3:15 AM, Kuninori Morimoto wrote: > From: Hiroyuki Yokoyama > > SYS/RT/Audio DMAC includes independent data buffers for reading > and writing. Therefore, the read transfer counter and write transfer > counter have different values. > TCR indicates read counter, and TCRB in

Re: [linux-sunxi] [PATCH v2 0/5] Allwinner R40 USB host support (DT part)

2017-10-19 Thread Chen-Yu Tsai
On Wed, Oct 18, 2017 at 9:06 PM, Icenowy Zheng wrote: > This patchset adds support for the USB host ports on Allwiner R40, and > enable them on Banana Pi M2 Ultra and Berry boards. > > The first patch adds USB PHY and EHCI/OHCI nodes to the R40 DTSI. > > The second and third patch adds 5V regulato

[PATCH] platform/x86: silead_dmi: Fix GP-electronic T701 entry

2017-10-19 Thread Hans de Goede
The GP-electronic T701 has its LCD panel mounted upside-down, initially my plan was to fix this by transparently rotating the image in the i915 driver (my "drm/i915: Deal with upside-down mounted LCD" patch), but that approach has been rejected instead the kernel will now export a "panel orientatio

Re: Representative Request

2017-10-19 Thread Lutz Albrecht
Good day My name is Lutz Albrecht, an attorney, I have searched for several years to locate any possible relative of a late client of mine who died intestate but left a huge financial estate. I am contacting you because you have the same last name to present you as the beneficiary of the estate

Re: [PATCH v6 6/7] KVM: arm64: allow get exception information from userspace

2017-10-19 Thread gengdongjiu
On 2017/10/7 1:31, James Morse wrote: > Hi gengdongjiu, > > On 27/09/17 12:07, gengdongjiu wrote: >> On 2017/9/23 0:51, James Morse wrote: >>> If this wasn't a firmware-first notification, then you're right KVM hands >>> the >>> guest an asynchronous external abort. This could be considered a b

Re: [PATCH v5] mm, sysctl: make NUMA stats configurable

2017-10-19 Thread Michal Hocko
On Wed 18-10-17 09:42:07, Kemi Wang wrote: > This is the second step which introduces a tunable interface that allow > numa stats configurable for optimizing zone_statistics(), as suggested by > Dave Hansen and Ying Huang. > > ===

Re: [PATCH] clk: tegra: dfll: Fix drvdata overwriting issue

2017-10-19 Thread Peter De Schrijver
On Thu, Oct 12, 2017 at 04:09:59PM -0700, Nicolin Chen wrote: > Both tegra124-dfll and clk-dfll are using platform_set_drvdata > to set drvdata of the exact same pdev while they use different > pointers for the drvdata. Once the drvdata has been overwritten > by tegra124-dfll, clk-dfll will never g

Re: [PATCH V8 5/5] libata: Align DMA buffer to dma_get_cache_alignment()

2017-10-19 Thread Matt Redfearn
On 18/10/17 14:03, Tejun Heo wrote: On Tue, Oct 17, 2017 at 04:05:42PM +0800, Huacai Chen wrote: In non-coherent DMA mode, kernel uses cache flushing operations to maintain I/O coherency, so in ata_do_dev_read_id() the DMA buffer should be aligned to ARCH_DMA_MINALIGN. Otherwise, If a DMA buff

Re: [PATCH 6/7] gpio: brcmstb: consolidate interrupt domains

2017-10-19 Thread Gregory Fong
Hi Doug, On Wed, Oct 04, 2017 at 02:24:37PM -0700, Doug Berger wrote: > On 10/03/2017 08:03 PM, Gregory Fong wrote: > > On Fri, Sep 29, 2017 at 8:40 PM, Doug Berger wrote: > >> The GPIOLIB IRQ chip helpers were very appealing, but badly broke > >> the 1:1 mapping between a GPIO controller's devic

Re: [PATCH] virtio_balloon: fix deadlock on OOM

2017-10-19 Thread Wei Wang
On 10/19/2017 01:19 AM, Michael S. Tsirkin wrote: On Fri, Oct 13, 2017 at 11:06:23PM +0900, Tetsuo Handa wrote: Michael S. Tsirkin wrote: This is a replacement for [PATCH] virtio: avoid possible OOM lockup at virtballoon_oom_notify() but unlike that patch it actually deflates on oom eve

Re: [PATCH 08/10] PCI: dwc: artpec6: add support for endpoint mode

2017-10-19 Thread Christoph Hellwig
On Mon, Oct 16, 2017 at 06:43:26PM -0500, Bjorn Helgaas wrote: > understand it. I guess the idea is to build pcie-artpec6.o if either > CONFIG_PCIE_ARTPEC6_HOST or CONFIG_PCIE_ARTPEC6_EP is set (or both). > > Is this really the simplest way to express that in Kconfig? Both the > "if PCIE_ARTPEC6

Re: [Qemu-devel] [RFC 2/2] KVM: add virtio-pmem driver

2017-10-19 Thread Stefan Hajnoczi
On Wed, Oct 18, 2017 at 08:51:37AM -0700, Dan Williams wrote: > On Wed, Oct 18, 2017 at 6:03 AM, Stefan Hajnoczi wrote: > > On Tue, Oct 17, 2017 at 04:30:41AM -0400, Pankaj Gupta wrote: > >> > >> > > Are you saying do it as existing i.e ACPI pmem like interface? > >> > > The reason we have created

Re: [Qemu-devel] [RFC 2/2] KVM: add virtio-pmem driver

2017-10-19 Thread Christoph Hellwig
On Wed, Oct 18, 2017 at 08:51:37AM -0700, Dan Williams wrote: > This use case is not "Persistent Memory". Persistent Memory is > something you can map and make persistent with CPU instructions. > Anything that requires a driver call is device driver managed "Shared > Memory". How is this any diffe

Re: [PATCH] hwmon: (coretemp) remove duplicated coretemp for same core id

2017-10-19 Thread Thomas Gleixner
On Wed, 18 Oct 2017, Guenter Roeck wrote: > On 10/18/2017 07:28 PM, Shu Wang wrote: > > > > > > Fix kernel warning on my 4cpus 2core_id system. The cpu0 and cpu1 > > > > > > have same core_id 0, so both cpu0 and cpu1 will try to create file > > > > > > temp2_label when it's online. > > > > > > >

[PATCH 1/1] xen/time: do not decrease steal time after live migration on xen

2017-10-19 Thread Dongli Zhang
After guest live migration on xen, steal time in /proc/stat (cpustat[CPUTIME_STEAL]) might decrease because steal returned by xen_steal_lock() might be less than this_rq()->prev_steal_time which is derived from previous return value of xen_steal_clock(). For instance, steal time of each vcpu is 33

Re: [PATCH] HID: rmi: Check that a device is a RMI device before calling RMI functions

2017-10-19 Thread Jiri Kosina
On Wed, 18 Oct 2017, Hendrik Langer wrote: > Tested-by: Hendrik Langer > > Confirmed, the patch fixes the probem for me. > All freezes/Oops and rmi or input related error messages are gone. Even > keyboard and touchpad are working now! Thanks a lot for confirmation. Now queued in for-4.14/upst

Re: [PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ

2017-10-19 Thread Wei Wang
On 10/13/2017 09:38 PM, Michael S. Tsirkin wrote: On Thu, Oct 12, 2017 at 11:54:56AM +0800, Wei Wang wrote: But I think flushing is very fragile. You will easily run into races if one of the actors gets out of sync and keeps adding data. I think adding an ID in the free vq stream is a more robus

RE: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-10-19 Thread Ramesh Shanmugasundaram
> >>> On 08/18/2017 02:39 PM, Franklin S Cooper Jr wrote: > During test transmitting using CAN-FD at high bitrates (4 Mbps) > only resulted in errors. Scoping the signals I noticed that > only a single bit was being transmitted and with a bit more > investiga

Re: [PATCH 1/2] lockdep: Introduce CROSSRELEASE_STACK_TRACE and make it not unwind as default

2017-10-19 Thread Ingo Molnar
* Byungchul Park wrote: > On Thu, Oct 19, 2017 at 08:22:12AM +0200, Ingo Molnar wrote: > > There's no current crash regression that I know of - I'm just outlining the > > conditions of getting all this re-enabled in the next merge window. > > > > Instead of sending two series, could you please

Re: [PATCH v6 4/5] clocksource: stm32: add clocksource support

2017-10-19 Thread Benjamin Gaignard
2017-10-18 20:59 GMT+02:00 Thomas Gleixner : > On Wed, 18 Oct 2017, Benjamin Gaignard wrote: > >> Rework driver code to be able to implement clocksource and clockevent >> on the same hardware block. >> Before this patch only the counter of the hardware block was used to >> generate clock events. No

Re: [PATCH v4 06/12] fs/pipe.c: export create_pipe_files() and replace_fd()

2017-10-19 Thread Christoph Hellwig
On Mon, Oct 16, 2017 at 10:18:49PM +0300, Jarkko Sakkinen wrote: > Export create_pipe_files() and replace_fd() so that the SGX driver is > able to create stdin and stdout pipes. Err, no way.

Re: [PATCH] MAINTAINERS: update TPM driver infrastructure changes

2017-10-19 Thread Marc Zyngier
On 15/09/17 23:38, Jarkko Sakkinen wrote: > Signed-off-by: Jarkko Sakkinen > --- > CREDITS | 7 +++ > MAINTAINERS | 13 ++--- > 2 files changed, 9 insertions(+), 11 deletions(-) > > diff --git a/CREDITS b/CREDITS > index 5d09c26d69cd..dcd761885ea8 100644 > --- a/CREDITS > +++ b/

Re: [PATCH 1/2] lockdep: Introduce CROSSRELEASE_STACK_TRACE and make it not unwind as default

2017-10-19 Thread Ingo Molnar
* Byungchul Park wrote: > On Thu, Oct 19, 2017 at 03:11:12PM +0900, Byungchul Park wrote: > > On Thu, Oct 19, 2017 at 07:57:30AM +0200, Ingo Molnar wrote: > > > > > > * Byungchul Park wrote: > > > > > > > On Wed, Oct 18, 2017 at 12:09:44PM +0200, Ingo Molnar wrote: > > > > > BTW., have you at

Re: [PATCH 2/8] mm, truncate: Do not check mapping for every page being truncated

2017-10-19 Thread Jan Kara
On Wed 18-10-17 08:59:46, Mel Gorman wrote: > During truncation, the mapping has already been checked for shmem and dax > so it's known that workingset_update_node is required. This patch avoids > the checks on mapping for each page being truncated. In all other cases, > a lookup helper is used to

Re: [PATCH] mmc:host:sdhci-pci:V2-Addition of Arasan PCI controller with integrated phy.

2017-10-19 Thread Adrian Hunter
On 10/10/17 20:42, Atul Garg wrote: > The Arasan controller is based on a FPGA platform and has integrated phy > with specific phy registers used during the initialization and > management of different modes. The phy and the controller are integrated > and registers are very specific to Arasan. >

Re: [PATCH v6 0/3] livepatch callbacks

2017-10-19 Thread Jiri Kosina
On Fri, 13 Oct 2017, Joe Lawrence wrote: > Another turn of the livepatch callback crank. This version cleans up > some minor issues found in v5 and was rebased on top of Jiri's branches > listed below. > > Unfortunately, I didn't have time to test out Petr's suggestion to move > the pre-patch ca

Re: [PATCH 1/3] clocksource/mips-gic-timer: Fix rcu_sched timeouts from multithreading

2017-10-19 Thread Matt Redfearn
On 18/10/17 21:34, Thomas Gleixner wrote: On Wed, 11 Oct 2017, Matt Redfearn wrote: When the MIPS GIC clockevent code was written, it appears to have inherited the 0x300 cycle min delta from the MIPS CPU timer driver. This is suboptimal for two reasons. Firstly, the CPU timer counts once ever

Re: [PATCH 3/4] Staging: rtl8188eu: core: rtw_mlme_ext: Use list_for_each_entry_safe

2017-10-19 Thread Dan Carpenter
On Thu, Oct 19, 2017 at 01:01:39AM +0530, Srishti Sharma wrote: > This is a cleanup patch and doesn't change runtime behaviour. It > changes an open coded list traversal to use list_for_each_entry_safe. > Done using the following semantic patch by coccinelle. > > @r@ > struct list_head* l; > expre

Re: [PATCH] panel: display: Add support for Mitsubishi aa070mc01 TFT panel

2017-10-19 Thread Thierry Reding
On Fri, Sep 08, 2017 at 11:43:02AM +0200, Lukasz Majewski wrote: > This commit adds support for Mitsubishi aa070mc01 TFT panel working > with 8 bit ISP mode (pin 19 "mode" HIGH for 20 pin TFT connector). > > Signed-off-by: Lukasz Majewski > --- > drivers/gpu/drm/panel/panel-simple.c | 35 +++

Re: [PATCH 2/4] Staging: rtl8188eu: core: rtw_ap: Use list_for_each_entry_safe

2017-10-19 Thread Dan Carpenter
On Thu, Oct 19, 2017 at 01:01:14AM +0530, Srishti Sharma wrote: > This is a cleanup patch and doesn't change runtime behaviour. It > changes an open coded list traversal to use list_for_each_entry_safe. > Done using the following semantic patch by coccinelle. > > @r@ > struct list_head* l; > expre

Re: [linux-sunxi] [PATCH v2 6/8] ARM: dts: sun8i: a83t: Move mmc1 pinctrl setting to dtsi file

2017-10-19 Thread icenowy
在 2017-10-19 14:48,Chen-Yu Tsai 写道: On Wed, Oct 18, 2017 at 11:00 PM, Joonas Kylmälä wrote: Hi, Chen-Yu Tsai: mmc1 only has 1 possible pinmux setting. What if someone is using the MMC with bus width 1 and then using the remaining 3 pins for something else? I would very much like to see su

Re: [PATCH v6 4/5] clocksource: stm32: add clocksource support

2017-10-19 Thread Thomas Gleixner
On Thu, 19 Oct 2017, Benjamin Gaignard wrote: > 2017-10-18 20:59 GMT+02:00 Thomas Gleixner : > >> -static int stm32_clock_event_set_periodic(struct clock_event_device *evt) > >> +static int stm32_clock_event_set_next_event(unsigned long evt, > >> + struct clo

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-19 Thread Michal Hocko
On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: > On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > > On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: [...] > > > Hello, > > > > > > This patch will break the CMA user. As you mentioned, CMA allocation > > > itself isn't migrateable. So, afte

Re: [PATCH v2] pinctrl: mcp23s08: fix interrupt handling regression

2017-10-19 Thread Linus Walleij
On Wed, Oct 18, 2017 at 4:21 PM, Dmitry Mastykin wrote: > interrupt handling was broken with conversion to using regmap caching. > cached_gpio value was updated by boolean status instead of gpio reading. > > Fixes: 8f38910ba4f6 ("pinctrl: mcp23s08: switch to regmap caching") > Tested-by: Phil Rei

Re: [PATCH 1/3] clocksource/mips-gic-timer: Fix rcu_sched timeouts from multithreading

2017-10-19 Thread Thomas Gleixner
On Thu, 19 Oct 2017, Matt Redfearn wrote: > On 18/10/17 21:34, Thomas Gleixner wrote: > > On Wed, 11 Oct 2017, Matt Redfearn wrote: > > > Secondly, the fixed min delta ignores the fact that with MIPS > > > multithreading active, execution resource within a core is shared > > > between the hardware

Re: [PATCH] clk: tegra: dfll: Fix drvdata overwriting issue

2017-10-19 Thread Thierry Reding
On Thu, Oct 12, 2017 at 04:09:59PM -0700, Nicolin Chen wrote: > Both tegra124-dfll and clk-dfll are using platform_set_drvdata > to set drvdata of the exact same pdev while they use different > pointers for the drvdata. Once the drvdata has been overwritten > by tegra124-dfll, clk-dfll will never g

Re: [PATCH] arm64: defconfig: Enable Tegra PCI controller

2017-10-19 Thread Thierry Reding
On Wed, Oct 18, 2017 at 05:46:20PM +0300, Tuomas Tynkkynen wrote: > The driver has supported the 64-bit Tegra210 for a while now, so enable > it in the defconfig. > > Signed-off-by: Tuomas Tynkkynen > --- > I didn't personally test this but got a report from our distro users > that it works. > >

Re: [linux-sunxi] [PATCH v2 6/8] ARM: dts: sun8i: a83t: Move mmc1 pinctrl setting to dtsi file

2017-10-19 Thread Chen-Yu Tsai
On Thu, Oct 19, 2017 at 4:18 PM, wrote: > 在 2017-10-19 14:48,Chen-Yu Tsai 写道: >> >> On Wed, Oct 18, 2017 at 11:00 PM, Joonas Kylmälä >> wrote: >>> >>> Hi, >>> >>> Chen-Yu Tsai: mmc1 only has 1 possible pinmux setting. >>> >>> >>> What if someone is using the MMC with bus width 1 and th

Re: usb/net/rt2x00: warning in rt2800_eeprom_word_index

2017-10-19 Thread Dmitry Vyukov
On Mon, Oct 16, 2017 at 2:19 PM, Dmitry Vyukov wrote: > On Mon, Oct 16, 2017 at 11:40 AM, Stanislaw Gruszka > wrote: >> Hi Dmitry >> >> On Sat, Oct 14, 2017 at 04:38:03PM +0200, Dmitry Vyukov wrote: >>> On Thu, Oct 12, 2017 at 9:25 AM, Stanislaw Gruszka >>> wrote: >>> > Hi >>> > >>> > On Mon,

Distinguishing kernel bugs from invalid inputs

2017-10-19 Thread Dmitry Vyukov
Hello, As you may know we are doing some automated kernel testing with syzkaller fuzzer. For that we need to be able to distinguish kernel bugs (something to notify kernel mailing lists about) from console messages provoked by various invalid inputs to kernel (effectively EINVAL coming from user-s

Re: [PATCH v3 2/2] livepatch: add atomic replace

2017-10-19 Thread Miroslav Benes
On Wed, 18 Oct 2017, Josh Poimboeuf wrote: > On Wed, Oct 18, 2017 at 03:36:42PM +0200, Jiri Kosina wrote: > > On Wed, 18 Oct 2017, Miroslav Benes wrote: > > > > > 3. Drop immediate. It causes problems only and its advantages on x86_64 > > > are theoretical. You would still need to solve the inte

perf test vfs_getname failed

2017-10-19 Thread Li Zhijian
Hi Arnaldo i encounter some problem when running perf test, the details arelike below: - [lizj@rhel71 perf]$ sudo ./perf test vfs_getname -v 61: Add vfs_getname probe to get syscall args filenames : --- start --- test child forked, pid 5958 Failed to find 'result'

Re: [alsa-devel] [PATCH 02/14] soundwire: Add SoundWire bus type

2017-10-19 Thread Takashi Iwai
On Thu, 19 Oct 2017 09:40:06 +0200, Takashi Iwai wrote: > > On Thu, 19 Oct 2017 05:03:18 +0200, > Vinod Koul wrote: > > > > --- /dev/null > > +++ b/drivers/soundwire/Kconfig > > @@ -0,0 +1,22 @@ > > +# > > +# SoundWire subsystem configuration > > +# > > + > > +menuconfig SOUNDWIRE > > + bool "S

[PATCH] tracing: always define trace_{irq,preempt}_{enable_disable}

2017-10-19 Thread Arnd Bergmann
We get a build error in the irqsoff tracer in some configurations: kernel/trace/trace_irqsoff.c: In function 'trace_preempt_on': kernel/trace/trace_irqsoff.c:855:2: error: implicit declaration of function 'trace_preempt_enable_rcuidle'; did you mean 'trace_irq_enable_rcuidle'? [-Werror=implicit-

[RFC] mm/swap: Rename pagevec_lru_move_fn() as pagevec_lruvec_move_fn()

2017-10-19 Thread Anshuman Khandual
The function pagevec_lru_move_fn() actually moves pages from various per cpu pagevecs into per node lruvecs with a custom function which knows how to handle individual pages present in any given pagevec. Because it does movement between pagevecs and lruvecs as whole not to an individual list elemen

Re: [PATCH 0/12] PM / sleep: Driver flags for system suspend/resume

2017-10-19 Thread Ulf Hansson
On 18 October 2017 at 23:48, Rafael J. Wysocki wrote: > On Wednesday, October 18, 2017 9:45:11 PM CEST Grygorii Strashko wrote: >> >> On 10/18/2017 09:11 AM, Ulf Hansson wrote: > > [...] > >> >>> That's the point. We know pm_runtime_force_* works nicely for the >> >>> trivial middle-layer cases. >

Re: [PATCH v2 5/5] of/fdt: only store the device node basename in full_name

2017-10-19 Thread Pantelis Antoniou
Hi Frank, > On Oct 19, 2017, at 00:46 , Frank Rowand wrote: > > On 10/18/17 11:30, Rob Herring wrote: >> On Wed, Oct 18, 2017 at 10:53 AM, Pantelis Antoniou >> wrote: >>> On Wed, 2017-10-18 at 10:44 -0500, Rob Herring wrote: On Wed, Oct 18, 2017 at 10:12 AM, Alan Tull wrote: > On Tue,

[PATCH] mtd: nand: omap2: Fix subpage write

2017-10-19 Thread Roger Quadros
Since v4.12, NAND subpage writes were causing a NULL pointer dereference on OMAP platforms (omap2-nand) using OMAP_ECC_BCH4_CODE_HW, OMAP_ECC_BCH8_CODE_HW and OMAP_ECC_BCH16_CODE_HW. This is because for those ECC modes, omap_calculate_ecc_bch() generates ECC bytes for the entire (multi-sector) pag

Re: [PATCH] mmc: sdhci-cadence: use bitfield access macros for cleanup

2017-10-19 Thread Adrian Hunter
On 13/10/17 15:50, Masahiro Yamada wrote: > Accessing register fields generally need mask and shift part. > Defining them separately, like SDHCI_CDNS_HRS06_TUNE_{SHIFT,MASK}, > is tedious. > > Register fields can be always defined by GENMASK (or, BIT if it it > a single bit). They are nicely hand

Re: [PATCH] USB: add SPDX identifiers to all files in drivers/usb/

2017-10-19 Thread Geert Uytterhoeven
Hi Greg, On Thu, Oct 19, 2017 at 10:38 AM, Greg Kroah-Hartman wrote: > It's good to have SPDX identifiers in all files to make it easier to > audit the kernel tree for correct licenses. This patch adds these > identifiers to all files in drivers/usb/ based on a script and data from > Thomas Glei

Re: [PATCH] USB: add SPDX identifiers to all files in drivers/usb/

2017-10-19 Thread Thomas Gleixner
On Thu, 19 Oct 2017, Greg Kroah-Hartman wrote: > It's good to have SPDX identifiers in all files to make it easier to > audit the kernel tree for correct licenses. This patch adds these > identifiers to all files in drivers/usb/ based on a script and data from > Thomas Gleixner, Philippe Ombredan

[PATCH] mtd: spi-nor: fix style issue

2017-10-19 Thread Philipp Puschmann
Fixed a space coding style issue, found via checkpatch. Signed-off-by: Philipp Puschmann --- drivers/mtd/spi-nor/spi-nor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 19c000722cbc..386de64e5a86 100644 ---

Re: [PATCH] MAINTAINERS: Split Cavium EDAC entry and add myself

2017-10-19 Thread Borislav Petkov
On Thu, Oct 19, 2017 at 08:41:29AM +0200, Jan Glauber wrote: > Split the Cavium EDAC entry into MIPS and ARM drivers because > they have different maintainers and mailing lists. > > Add myself as additional maintainer to the ThunderX driver. > > Signed-off-by: Jan Glauber > --- > MAINTAINERS |

Re: [PATCH v2 5/5] of/fdt: only store the device node basename in full_name

2017-10-19 Thread Pantelis Antoniou
Hi Rob, > On Oct 18, 2017, at 21:30 , Rob Herring wrote: > > On Wed, Oct 18, 2017 at 10:53 AM, Pantelis Antoniou > wrote: >> On Wed, 2017-10-18 at 10:44 -0500, Rob Herring wrote: >>> On Wed, Oct 18, 2017 at 10:12 AM, Alan Tull wrote: On Tue, Oct 17, 2017 at 6:51 PM, Frank Rowand wr

Re: [PATCH] net: l2tp: mark expected switch fall-through

2017-10-19 Thread Guillaume Nault
On Tue, Oct 17, 2017 at 05:42:53PM -0500, Gustavo A. R. Silva wrote: > This code was tested by compilation only (GCC 7.2.0 was used). > No worry, this case really has to fall through. > diff --git a/net/l2tp/l2tp_netlink.c b/net/l2tp/l2tp_netlink.c > index 7135f46..f517942 100644 > --- a/net/l2tp

Re: [PATCH] USB: add SPDX identifiers to all files in drivers/usb/

2017-10-19 Thread Greg Kroah-Hartman
On Thu, Oct 19, 2017 at 10:49:47AM +0200, Geert Uytterhoeven wrote: > Hi Greg, > > On Thu, Oct 19, 2017 at 10:38 AM, Greg Kroah-Hartman > wrote: > > It's good to have SPDX identifiers in all files to make it easier to > > audit the kernel tree for correct licenses. This patch adds these > > iden

Re: [PATCH] wireless: iwlegacy: Convert timers to use timer_setup()

2017-10-19 Thread Stanislaw Gruszka
On Mon, Oct 16, 2017 at 04:37:44PM -0700, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Stanislaw Gruszka > Cc: Kalle Valo

Re: [alsa-devel] [PATCH 03/14] soundwire: Add Master registration

2017-10-19 Thread Takashi Iwai
On Thu, 19 Oct 2017 05:03:19 +0200, Vinod Koul wrote: > > +/** > + * sdw_add_bus_master: add a bus Master instance > + * > + * @bus: bus instance > + * > + * Initializes the bus instance, read properties and create child > + * devices. > + */ > +int sdw_add_bus_master(struct sdw_bus *bus) > +{ > +

[PATCH] mtd: spi-nor: Add support for mr25h128

2017-10-19 Thread Philipp Puschmann
Add Everspin mr25h128 16KB MRAM to the list of supported chips. Signed-off-by: Philipp Puschmann --- Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt | 1 + drivers/mtd/devices/m25p80.c| 1 + drivers/mtd/spi-nor/spi-nor.c | 1 + 3 file

Re: [PATCH V2 2/3] pseries/findnodes: Find nodes with memory for memoryless nodes

2017-10-19 Thread Michael Ellerman
Hi Michael, Michael Bringmann writes: > pseries/findnodes: On pseries systems which allow 'hot-add' of This isn't a powerpc or pseries patch, so the subject/prefix is wrong. Also because you're changing generic code you need to provide an explanation that makes sense in general, across all arch

Re: [PATCH] USB: add SPDX identifiers to all files in drivers/usb/

2017-10-19 Thread Greg Kroah-Hartman
On Thu, Oct 19, 2017 at 10:50:44AM +0200, Thomas Gleixner wrote: > On Thu, 19 Oct 2017, Greg Kroah-Hartman wrote: > > > It's good to have SPDX identifiers in all files to make it easier to > > audit the kernel tree for correct licenses. This patch adds these > > identifiers to all files in driver

Re: [PATCH] EDAC, sb_edac: fix missing break in switch

2017-10-19 Thread Borislav Petkov
On Mon, Oct 16, 2017 at 12:40:29PM -0500, Gustavo A. R. Silva wrote: > Add missing break statement in order to prevent the code from falling > through. > > Signed-off-by: Gustavo A. R. Silva > --- > drivers/edac/sb_edac.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/edac/sb_

Re: [PATCH] USB: add SPDX identifiers to all files in drivers/usb/

2017-10-19 Thread Greg Kroah-Hartman
On Thu, Oct 19, 2017 at 10:50:44AM +0200, Thomas Gleixner wrote: > On Thu, 19 Oct 2017, Greg Kroah-Hartman wrote: > > > It's good to have SPDX identifiers in all files to make it easier to > > audit the kernel tree for correct licenses. This patch adds these > > identifiers to all files in driver

Re: [PATCH] USB: add SPDX identifiers to all files in drivers/usb/

2017-10-19 Thread Thomas Gleixner
On Thu, 19 Oct 2017, Greg Kroah-Hartman wrote: > On Thu, Oct 19, 2017 at 10:50:44AM +0200, Thomas Gleixner wrote: > > The last discussion about this was to add the identifier as the first line > > of the file or as the second in case of files with a shebang in the first > > one. > > > > I think yo

Re: [alsa-devel] [PATCH 04/14] soundwire: Add MIPI DisCo property helpers

2017-10-19 Thread Takashi Iwai
On Thu, 19 Oct 2017 05:03:20 +0200, Vinod Koul wrote: > > diff --git a/drivers/soundwire/bus_type.c b/drivers/soundwire/bus_type.c > index a14d1de80afa..baad4ad3be44 100644 > --- a/drivers/soundwire/bus_type.c > +++ b/drivers/soundwire/bus_type.c > @@ -139,12 +139,28 @@ static int sdw_drv_probe(st

Re: [PATCH v2 2/4] rtc: mediatek: add driver for RTC on MT7622 SoC

2017-10-19 Thread Alexandre Belloni
On 19/10/2017 at 10:55:49 +0800, Sean Wang wrote: > Hi, both > > On Wed, 2017-10-18 at 14:57 +0200, Alexandre Belloni wrote: > > On 18/10/2017 at 19:12:06 +0800, Yingjoe Chen wrote: > > > On Tue, 2017-10-17 at 17:40 +0800, sean.w...@mediatek.com wrote: > > > > From: Sean Wang > > > > > > > > Thi

RE: [PATCH 1/2] lockdep: Introduce CROSSRELEASE_STACK_TRACE and make it not unwind as default

2017-10-19 Thread
> -Original Message- > From: Ingo Molnar [mailto:mingo.kernel@gmail.com] On Behalf Of Ingo > > > At the time, cross-release was falsely accused. AFAIK, cross-release has > > not crashed system yet. > > I'm talking about the crash fixed here: > > 8b405d5c5d09: locking/lockdep: Fix s

Re: [PATCH 7/7] gpio: brcmstb: implement suspend/resume/shutdown

2017-10-19 Thread Gregory Fong
Hi Doug, Nice description of the problem with dealing with a pending disabled wake interrupt and the solution. A few remarks: On Fri, Sep 29, 2017 at 08:40:57PM -0700, Doug Berger wrote: > diff --git a/drivers/gpio/gpio-brcmstb.c b/drivers/gpio/gpio-brcmstb.c > index 752a46ce3589..c964ed71a68d 1

[PATCH v4 2/2] crypto: stm32 - Support for STM32 CRYP crypto module

2017-10-19 Thread Fabien Dessenne
This module registers block cipher algorithms that make use of the STMicroelectronics STM32 crypto "CRYP1" hardware. The following algorithms are supported: - aes: ecb, cbc, ctr - des: ecb, cbc - tdes: ecb, cbc Signed-off-by: Fabien Dessenne --- drivers/crypto/stm32/Kconfig |9 + driver

  1   2   3   4   5   6   7   8   9   10   >