Re: [RFC PATCH 1/4] dt-bindings: add bindings for USB physical connector

2017-10-19 Thread Andrzej Hajda
Hi Laurent, Thank you for the review. On 18.10.2017 17:11, Laurent Pinchart wrote: > Hi Andrzej, > > Thank you for the patch. > > On Thursday, 28 September 2017 16:07:27 EEST Andrzej Hajda wrote: >> These bindings allows to describe most known standard USB connectors >> and it should be possible

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 >

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

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

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

[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

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

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

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

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

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

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,

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

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

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

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

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

Re: [PATCH v6 2/5] clocksource: stm32: convert driver to timer_of

2017-10-19 Thread Daniel Lezcano
On 18/10/2017 21:32, Benjamin Gaignard wrote: > 2017-10-18 20:31 GMT+02:00 Thomas Gleixner : >> On Wed, 18 Oct 2017, Benjamin Gaignard wrote: >> >>> Convert driver to use timer_of helpers. This allow to remove >>> custom proprietary structure. >>> >>> Increase min delta value

Re: [PATCH 4/8] mm: Only drain per-cpu pagevecs once per pagevec usage

2017-10-19 Thread Vlastimil Babka
On 10/18/2017 09:59 AM, Mel Gorman wrote: > When a pagevec is initialised on the stack, it is generally used multiple > times over a range of pages, looking up entries and then releasing them. > On each pagevec_release, the per-cpu deferred LRU pagevecs are drained > on the grounds the page being

Re: [alsa-devel] [PATCH 06/14] soundwire: Add IO transfer

2017-10-19 Thread Takashi Iwai
On Thu, 19 Oct 2017 05:03:22 +0200, Vinod Koul wrote: > > +static inline int find_error_code(unsigned int sdw_ret) > +{ > + switch (sdw_ret) { > + case SDW_CMD_OK: > + return 0; > + > + case SDW_CMD_IGNORED: > + return -ENODATA; > + > + case

Re: [PATCH v3 2/7] ACPI: Enable PPTT support on ARM64

2017-10-19 Thread Lorenzo Pieralisi
On Wed, Oct 18, 2017 at 12:38:46PM -0500, Jeremy Linton wrote: > On 10/18/2017 11:47 AM, Lorenzo Pieralisi wrote: > >On Thu, Oct 12, 2017 at 02:48:51PM -0500, Jeremy Linton wrote: > >>Now that we have a PPTT parser, in preparation for its use > >>on arm64, lets build it. > >> > >>Signed-off-by:

Re: [PATCH v2] clk: tegra: Use readl_relaxed_poll_timeout_atomic in tegra210_clock_init

2017-10-19 Thread Nicolin Chen
On Fri, Sep 15, 2017 at 12:10:13PM -0700, Nicolin Chen wrote: > Below is the call trace of tegra210_init_pllu() function: > start_kernel() > -> time_init() > --> of_clk_init() > ---> tegra210_clock_init() > > tegra210_pll_init() > -> tegra210_init_pllu() > > Because the

Re: kernel/module: Delete an error message for a failed memory allocation in add_module_usage()

2017-10-19 Thread Jessica Yu
+++ SF Markus Elfring [06/10/17 17:12 +0200]: From: Markus Elfring Date: Fri, 6 Oct 2017 16:27:26 +0200 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

Re: [PATCH 4.4 15/50] tty: goldfish: Fix a parameter of a call to free_irq

2017-10-19 Thread Greg Kroah-Hartman
On Mon, Oct 16, 2017 at 08:46:06PM +0100, Ben Hutchings wrote: > On Fri, 2017-10-06 at 10:53 +0200, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me > > know. > > > > -- > > > > From: Christophe JAILLET

Re: [PATCH v7 3/4] usb: dwc3: of-simple: Add support to get resets for the device

2017-10-19 Thread Felipe Balbi
Philipp Zabel writes: > From: Vivek Gautam > > Add support to get a list of resets available for the device. > These resets must be kept de-asserted until the device is > in use. > > Cc: Felipe Balbi > Signed-off-by: Vivek

Re: [PATCH v7 2/2] crypto: s5p-sss: Add HASH support for Exynos

2017-10-19 Thread Krzysztof Kozlowski
On Tue, Oct 17, 2017 at 1:28 PM, Kamil Konieczny wrote: > Add support for MD5, SHA1, SHA256 hash algorithms for Exynos HW. > It uses the crypto framework asynchronous hash api. > It is based on omap-sham.c driver. > S5P has some HW differencies and is not

[PATCH] initramfs: use time64_t timestamps

2017-10-19 Thread Arnd Bergmann
The cpio format uses a 32-bit number to encode file timestamps, which breaks initramfs support in 2038. This reinterprets the timestamp as unsigned, to give us another 68 years and avoids breaking until 2106. Signed-off-by: Arnd Bergmann --- init/initramfs.c | 10 +- 1

Re: [PATCH v7 02/10] arm: dts: sunxi: Restore EMAC changes

2017-10-19 Thread Maxime Ripard
On Wed, Oct 18, 2017 at 08:50:49PM +0200, Corentin Labbe wrote: > On Wed, Oct 18, 2017 at 06:44:50PM +0200, Andrew Lunn wrote: > > On Wed, Oct 18, 2017 at 01:44:50PM +0200, Corentin Labbe wrote: > > > The original dwmac-sun8i DT bindings have some issue on how to handle > > > integrated PHY and

[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

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

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

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

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

[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

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

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

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

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

[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

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 >

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

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

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 11:01:56AM +0200, Thomas Gleixner wrote: > 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

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:52 AM, Greg Kroah-Hartman wrote: > On Thu, Oct 19, 2017 at 10:49:47AM +0200, Geert Uytterhoeven wrote: >> On Thu, Oct 19, 2017 at 10:38 AM, Greg Kroah-Hartman >> wrote: >> > It's good to have SPDX

Re: [PATCH v2 2/2] extcon: add optional debounce-timeout-ms attribute

2017-10-19 Thread Raveendra Padasalagi
Thanks Chanwoo Choi for the comments. Will revise the patch. Regards, Raveendra On Thu, Oct 19, 2017 at 10:52 AM, Chanwoo Choi wrote: > On 2017년 10월 19일 13:59, Chanwoo Choi wrote: >> Hi, >> >> On 2017년 10월 19일 12:26, Raveendra Padasalagi wrote: >>> Add changes to capture

Re: [PATCH] mm: page_vma_mapped: ensure pmd is loaded with READ_ONCE outside of lock

2017-10-19 Thread Greg KH
On Tue, Oct 17, 2017 at 12:15:17PM +0100, Will Deacon wrote: > [Commit a7b100953aa33a5bbdc3e5e7f2241b9c0704606e upstream] > > Loading the pmd without holding the pmd_lock exposes us to races with > concurrent updaters of the page tables but, worse still, it also allows > the compiler to cache the

Re: [PATCH 4/8] mm: Only drain per-cpu pagevecs once per pagevec usage

2017-10-19 Thread Mel Gorman
On Thu, Oct 19, 2017 at 11:12:52AM +0200, Vlastimil Babka wrote: > On 10/18/2017 09:59 AM, Mel Gorman wrote: > > When a pagevec is initialised on the stack, it is generally used multiple > > times over a range of pages, looking up entries and then releasing them. > > On each pagevec_release, the

Re: [PATCH v2] clk: tegra: Use readl_relaxed_poll_timeout_atomic in tegra210_clock_init

2017-10-19 Thread Thierry Reding
On Thu, Oct 19, 2017 at 02:29:20AM -0700, Nicolin Chen wrote: > On Fri, Sep 15, 2017 at 12:10:13PM -0700, Nicolin Chen wrote: > > Below is the call trace of tegra210_init_pllu() function: > > start_kernel() > > -> time_init() > > --> of_clk_init() > > ---> tegra210_clock_init() > > >

[PATCH] tomoyo: fix timestamping for y2038

2017-10-19 Thread Arnd Bergmann
Tomoyo uses an open-coded version of time_to_tm() to create a timestamp from the current time as read by get_seconds(). This will overflow and give wrong results on 32-bit systems in 2038. To correct this, this changes the code to use ktime_get_real_seconds() and the generic time64_to_tm()

[PATCH] nfds: avoid gettimeofday for nfssvc_boot time

2017-10-19 Thread Arnd Bergmann
do_gettimeofday() is deprecated and we should generally use time64_t based functions instead. In case of nfsd, all three users of nfssvc_boot only use the initial time as a unique token, and are not affected by it overflowing, so they are not affected by the y2038 overflow. This converts the

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

2017-10-19 Thread Sean Wang
On Thu, 2017-10-19 at 11:02 +0200, Alexandre Belloni wrote: > 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,

Re: [PATCH v9 13/29] x86/insn-eval: Add utility functions to get segment selector

2017-10-19 Thread Ricardo Neri
On Wed, Oct 18, 2017 at 10:29:43PM +0200, Borislav Petkov wrote: > On Tue, Oct 17, 2017 at 01:31:52PM -0700, Ricardo Neri wrote: > > I apologize for the inconvenience, I have verified that may mail client > > works properly this time. I double-checked that it did not wrap. > > But did you try

[PATCH] tracing: Fix code comment in trace.c

2017-10-19 Thread Chunyu Hu
Naming in code comments for tracing_snapshot, tracing_snapshot_alloc and trace_pid_filter_add_remove_task don't match the real function names. And latency_trace has been removed from tracing directory. Fix them. Fixes: cab5037 ("tracing/ftrace: Enable snapshot function trigger") Fixes: 886b5b7

[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

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

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

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

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

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

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 >

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

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

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

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

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

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

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,

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

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

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

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

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

2017-10-19 Thread Daniel Lezcano
On 18/10/2017 22: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

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

2017-10-19 Thread Marc Kleine-Budde
On 10/19/2017 07:07 AM, Sekhar Nori wrote: Sounds reasonable. What's the status of this series? >>> >>> I have had some offline discussions with Franklin on this, and I am not >>> fully convinced that DT is the way to go here (although I don't have the >>> agreement with Franklin there). >>

Re: [PATCH 6/8] mm: Remove cold parameter for release_pages

2017-10-19 Thread Vlastimil Babka
On 10/18/2017 09:59 AM, Mel Gorman wrote: > All callers of release_pages claim the pages being released are cache hot. > As no one cares about the hotness of pages being released to the allocator, > just ditch the parameter. > > No performance impact is expected as the overhead is marginal. The

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

2017-10-19 Thread Daniel Lezcano
On 19/10/2017 11:18, Thomas Gleixner wrote: > On Thu, 19 Oct 2017, Daniel Lezcano wrote: >> On 18/10/2017 22: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

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

2017-10-19 Thread Felipe Balbi
Hi, Greg Kroah-Hartman writes: > 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

Re: [PATCH 1/2] PCI: dwc: dra7xx: Create functional dependency between PCIe and PHY

2017-10-19 Thread Roger Quadros
Hi, On 18/10/17 15:12, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 10 October 2017 01:29 PM, Roger Quadros wrote: >> On 10/10/17 10:42, Kishon Vijay Abraham I wrote: >>> Roger, >>> >>> On Tuesday 10 October 2017 12:49 PM, Roger Quadros wrote: On 09/10/17 12:03, Kishon Vijay Abraham I

Re: [PATCH v7 1/2] crypto: s5p-sss: change spaces into tabs in defines

2017-10-19 Thread Krzysztof Kozlowski
On Tue, Oct 17, 2017 at 1:28 PM, Kamil Konieczny wrote: > change spaces into tabs in defines > > Signed-off-by: Kamil Konieczny > --- > drivers/crypto/s5p-sss.c | 190 > +++ > 1 file

[PATCH 3/4] document: change the document for the extended movable_node

2017-10-19 Thread Chao Fan
Add the document for the change of extended movable_node=nn[KMG]@ss[KMG]. Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Signed-off-by: Chao Fan --- Documentation/admin-guide/kernel-parameters.txt | 9 + 1 file changed, 9 insertions(+) diff

[PATCH 0/4] kaslr: extend movable_node to movable_node=nn[KMG]@ss[KMG]

2017-10-19 Thread Chao Fan
Here is a problem: Here is a machine with several NUMA nodes and some of them are hot-pluggable. It's not good for kernel to be extracted in the memory region of movable node. But in current code, I print the address choosen by kaslr and found it may be placed in movable node sometimes. To solve

[PATCH 4/4] kaslr: clean up a useless variable and some usless space

2017-10-19 Thread Chao Fan
There are two same variable "rc" in this function. One is in the circulation, the other is out of the circulation. The one out will never be used, so drop it. Signed-off-by: Chao Fan --- arch/x86/boot/compressed/kaslr.c | 5 ++--- 1 file changed, 2 insertions(+), 3

RE: [PATCH 1/3] iommu/vt-d: Missing checks for pasid tables if allocation fails

2017-10-19 Thread Liu, Yi L
> -Original Message- > From: iommu-boun...@lists.linux-foundation.org [mailto:iommu- > boun...@lists.linux-foundation.org] On Behalf Of Lu Baolu > Sent: Thursday, October 19, 2017 8:39 AM > To: j...@8bytes.org; dw...@infradead.org > Cc: io...@lists.linux-foundation.org;

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

2017-10-19 Thread Jan Glauber
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 | 8 +++- 1 file changed, 7 insertions(+), 1

Re: [PATCHv3 6/7] symbol lookup: use new kernel and module dereference functions

2017-10-19 Thread Sergey Senozhatsky
Sorry for the delay and thanks for taking a look. I'll try to re-spin the patch set by the end of this week/early next week. On (10/04/17 13:53), Petr Mladek wrote: [..] > Note that kallsyms_lookup() and module_address_lookup() is used > in many other situations. we dereference only things

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

Re: [PATCHv3 1/7] switch dereference_function_descriptor() to `unsigned long'

2017-10-19 Thread Sergey Senozhatsky
On (10/04/17 10:24), Petr Mladek wrote: [..] > To make it clear. All these comments are not a big deal and I do > not want to invalidate all the acked-by and tested-by just because > of them. > > But please, consider removing this change if we need to do > another iteration of this patchset. IMHO,

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

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 >

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

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

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

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

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 >

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

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

  1   2   3   4   5   6   7   8   9   10   >