[PATCH] Fix explanation of lower bits in the SPARSEMEM mem_map pointer

2018-01-18 Thread Petr Tesarik
The comment is confusing. On the one hand, it refers to 32-bit alignment (struct page alignment on 32-bit platforms), but this would only guarantee that the 2 lowest bits must be zero. On the other hand, it claims that at least 3 bits are available, and 3 bits are actually used. This is not

Re: [RFC PATCH] blk-mq: fixup RESTART when queue becomes idle

2018-01-18 Thread Ming Lei
On Thu, Jan 18, 2018 at 09:02:45PM -0700, Jens Axboe wrote: > On 1/18/18 7:32 PM, Ming Lei wrote: > > On Thu, Jan 18, 2018 at 01:11:01PM -0700, Jens Axboe wrote: > >> On 1/18/18 11:47 AM, Bart Van Assche wrote: > This is all very tiresome. > >>> > >>> Yes, this is tiresome. It is very

答复: 答复: 答复: [PATCH v6] mfd: Add support for RTS5250S power saving

2018-01-18 Thread 冯锐
> On Wed, Dec 27, 2017 at 05:37:50PM -0600, Bjorn Helgaas wrote: > > On Tue, Dec 19, 2017 at 08:15:24AM +, 冯锐 wrote: > > > > On Fri, Dec 15, 2017 at 09:42:45AM +, 冯锐 wrote: > > > > > > [+cc Hans, Dave, linux-pci] > > > > > > > > > > > > On Thu, Sep 07, 2017 at 04:26:39PM +0800, > > > > > >

Re: [PATCH 4.4 045/115] sched/deadline: Throttle a constrained deadline task activated after the deadline

2018-01-18 Thread Greg Kroah-Hartman
On Fri, Jan 19, 2018 at 01:00:45AM +, Ben Hutchings wrote: > On Mon, 2017-12-18 at 16:48 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me > > know. > > > > -- > > > > From: Daniel Bristot de Oliveira

Re: [PATCH] xhci:Fix NULL pointer in xhci debugfs

2018-01-18 Thread Mathias Nyman
On 19.01.2018 04:13, Zhengjun Xing wrote: Commit dde634057da7 ("xhci: Fix use-after-free in xhci debugfs") causes a null pointer dereference while fixing xhci-debugfs usage of ring pointers that were freed during hibernate. The fix passed addresses to ring pointers instead, but forgot to do

Re: [PATCH v4] perf report: Fix regression when decoding intelPT traces

2018-01-18 Thread Adrian Hunter
On 18/01/18 18:29, Arnaldo Carvalho de Melo wrote: > Em Wed, Jan 10, 2018 at 01:31:52PM -0700, Mathieu Poirier escreveu: >> Commit (93d10af26bb7 perf tools: Optimize sample parsing for ordered >> events) breaks intelPT trace decoding by invariably returning an error if >> the event type isn't a

[git pull] drm fixes for 4.15 final

2018-01-18 Thread Dave Airlie
Hi Linus, This is a set of drm regression fixes that I'd like to get into 4.15 final, but I understand if it's too much too late, and am happy to drop these into -next and make people chase the stable monkey. The i915 change fixes a display corruption problem introduced in 4.15, the nouveau

Re: [PATCH v5 0/2] kprobes: improve error handling when arming/disarming kprobes

2018-01-18 Thread Masami Hiramatsu
Hi Ingo, Could you pick this to tip tree? Thank you, On Wed, 10 Jan 2018 00:51:22 +0100 Jessica Yu wrote: > Hi, > > This patchset attempts to improve error handling when arming or disarming > ftrace-based kprobes. The current behavior is to simply WARN when ftrace >

Re: [patch v17 2/4] drivers: jtag: Add Aspeed SoC 24xx and 25xx families JTAG master driver

2018-01-18 Thread kbuild test robot
Hi Oleksandr, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.15-rc8] [cannot apply to next-20180118] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [PATCH] general protection fault in sock_has_perm

2018-01-18 Thread Greg KH
On Thu, Jan 18, 2018 at 01:58:45PM -0800, Mark Salyzyn wrote: > general protection fault: [#1] PREEMPT SMP KASAN > CPU: 1 PID: 14233 Comm: syz-executor2 Not tainted 4.4.112-g5f6325b #28 > task: 8801d1095f00 task.stack: 8800b595 > RIP: 0010:[] [] > sock_has_perm+0x1fe/0x3e0

Re: FW: [PATCH v20 2/4] mailbox: mediatek: Add Mediatek CMDQ driver

2018-01-18 Thread Jassi Brar
On Mon, Jan 8, 2018 at 2:08 PM, houlong wei wrote: > Hi Jassi, > > Sorry for reply so late. > According to previous discussion, there are two methods to move > dma_map_single() outside of spin_lock. > (1) put in mtk-cmdq-helper.c, as described by HS on 2017-02-09. > >

Re: [BUG 4.15-rc7] IRQ matrix management errors

2018-01-18 Thread Thomas Gleixner
On Wed, 17 Jan 2018, Keith Busch wrote: > On Wed, Jan 17, 2018 at 04:01:47PM +0100, Thomas Gleixner wrote: > > Which device is allocating gazillions of non-managed interrupts? > > I believe that would be the i40e. :) So enterprise grade insanity was spot on. Can you please provide the output of

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

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Hi, This is the patch series (version 5) of Sony CXD2880 DVB-T2/T tuner + demodulator driver.The driver supports DVB-API and interfaces through SPI. We have tested the driver on Raspberry Pi 3 and got picture and sound from a media

Re: [PATCH v2] kvm: Map PFN-type memory regions as writable (if possible)

2018-01-18 Thread Paolo Bonzini
On 17/01/2018 19:18, KarimAllah Ahmed wrote: > For EPT-violations that are triggered by a read, the pages are also mapped > with > write permissions (if their memory region is also writable). That would avoid > getting yet another fault on the same page when a write occurs. > > This optimization

Re: [PATCH 1/7] staging: ccree: remove ccree from staging tree

2018-01-18 Thread Gilad Ben-Yossef
On Sat, Jan 13, 2018 at 3:21 PM, Greg Kroah-Hartman wrote: > On Thu, Jan 11, 2018 at 09:17:08AM +, Gilad Ben-Yossef wrote: >> Remove the ccree driver from the staging tree in preparation to >> introducing it in the crypto tree. >> >> Signed-off-by: Gilad Ben-Yossef

[tip:x86/cache] x86/intel_rdt: Add two new resources for L2 Code and Data Prioritization (CDP)

2018-01-18 Thread tip-bot for Fenghua Yu
Commit-ID: def10853930a82456ab862a3a8292a3a16c386e7 Gitweb: https://git.kernel.org/tip/def10853930a82456ab862a3a8292a3a16c386e7 Author: Fenghua Yu AuthorDate: Wed, 20 Dec 2017 14:57:22 -0800 Committer: Thomas Gleixner CommitDate: Thu, 18 Jan

[PATCH v5 02/12] [media] cxd2880-spi: Add support for CXD2880 SPI interface

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is the SPI adapter part of the driver for the Sony CXD2880 DVB-T2/T tuner + demodulator. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto Signed-off-by: Hideki

[PATCH v5 03/12] [media] cxd2880: Add common files for the driver

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi These are common files for the driver for the Sony CXD2880 DVB-T2/T tuner + demodulator. These contains helper functions for the driver. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto

[tip:x86/cache] x86/intel_rdt: Enumerate L2 Code and Data Prioritization (CDP) feature

2018-01-18 Thread tip-bot for Fenghua Yu
Commit-ID: a511e7935378ef1f321456a90beae2a2632d3d83 Gitweb: https://git.kernel.org/tip/a511e7935378ef1f321456a90beae2a2632d3d83 Author: Fenghua Yu AuthorDate: Wed, 20 Dec 2017 14:57:21 -0800 Committer: Thomas Gleixner CommitDate: Thu, 18 Jan

[tip:x86/cache] x86/intel_rdt: Add L2CDP support in documentation

2018-01-18 Thread tip-bot for Fenghua Yu
Commit-ID: aa55d5a4bd919f26fce519c470d11a58541c6aa7 Gitweb: https://git.kernel.org/tip/aa55d5a4bd919f26fce519c470d11a58541c6aa7 Author: Fenghua Yu AuthorDate: Wed, 20 Dec 2017 14:57:20 -0800 Committer: Thomas Gleixner CommitDate: Thu, 18 Jan

[PATCH RFC 0/2] mmc: sdhci-msm: Configuring IO_PAD support for sdhci-msm

2018-01-18 Thread Vijay Viswanath
>From the HPG: In some platform, SDCC controller can be connected to either an eMMC device or an SD card. The PADs for SD card are dual-voltage that support 3v/1.8v. Those PADs have a control signal (io_pad_pwr_switch/mode18 ) that indicates whether the PAD works in 3v or 1.8v. For SD usage the

[PATCH RFC 2/2] mmc: sdhci-msm: support voltage pad switching

2018-01-18 Thread Vijay Viswanath
From: Krishna Konda The PADs for sdhc controller are dual-voltage that support 3v/1.8v. Those PADs have a control signal (io_pad_pwr_switch/mode18 ) that indicates whether the PAD works in 3v or 1.8v. SDHC core on msm platforms should have IO_PAD_PWR_SWITCH bit set/unset

[PATCH RFC 1/2] mmc: sdhci-msm: Add support to store supported vdd-io voltages

2018-01-18 Thread Vijay Viswanath
During probe check whether the vdd-io regulator of sdhc platform device can support 1.8V and 3V and store this information as a capability of platform device. Signed-off-by: Vijay Viswanath --- drivers/mmc/host/sdhci-msm.c | 38 ++ 1

Re: [PATCH BUGFIX/IMPROVEMENT 0/2] block, bfq: two pending patches

2018-01-18 Thread Paolo Valente
> Il giorno 13 gen 2018, alle ore 12:05, Paolo Valente > ha scritto: > > Hi Jens, > here are again the two pending patches you asked me to resend [1]. One > of them, fixing read-starvation problems, was accompanied by a cover > letter. I'm pasting the content of that

Re: [PATCH v3 10/16] mmc: tmio: remove TMIO_MMC_WRPROTECT_DISABLE

2018-01-18 Thread Lee Jones
On Thu, 18 Jan 2018, Masahiro Yamada wrote: > The use of this flag has been replaced with MMC_CAP2_NO_WRITE_PROTECT. > No platform defines this flag any more. Remove. > > Signed-off-by: Masahiro Yamada > --- > > Changes in v3: > - newly added > > Changes in

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

2018-01-18 Thread Yasunari
From: Yasunari Takiguchi Hi, This is the patch series (version 5) of Sony CXD2880 DVB-T2/T tuner + demodulator driver.The driver supports DVB-API and interfaces through SPI. We have tested the driver on Raspberry Pi 3 and got picture and sound from a media

Re: [PATCH] mmc: sh_mmcif: remove redundant initialization of 'opc'

2018-01-18 Thread Ulf Hansson
On 17 January 2018 at 14:41, Colin King wrote: > From: Colin Ian King > > Variable opc is initialized with a value that is never read, opc > is later re-assigned a newer value, hence the initialization can > be removed. > > Cleans up clang

[GIT PULL] MMC fixes for v.4.15-rc9

2018-01-18 Thread Ulf Hansson
Hi Linus, Here's a PR with one MMC fixes intended for v4.15-rc9. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 2bd7b4aacdb6efa5ccd4749c365c171b884791d2: mmc: s3mci: mark debug_regs[] as

Re: [PATCH v5 3/3] platform/chrome: Register cros_ec_accel_legacy driver

2018-01-18 Thread Gwendal Grignou
On Thu, Dec 7, 2017 at 1:31 AM, Lee Jones wrote: > On Fri, 01 Dec 2017, Gwendal Grignou wrote: > >> Checked against 3bf98755f9c670c5c10ca05cba22848d65117cb2 (CHROMIUM: >> iio: accel: Add cros_ec_accel_legacy driver) >> >> Fixup f2b141a242e59017dbc774dc916748670a41da0b

Re: [mm 4.15-rc8] Random oopses under memory pressure.

2018-01-18 Thread Tetsuo Handa
Tetsuo Handa wrote: > OK. I missed the mark. I overlooked that 4.11 already has this problem. > > I needed to bisect between 4.10 and 4.11, and I got plausible culprit. > > I haven't completed bisecting between b4fb8f66f1ae2e16 and c470abd4fde40ea6, > but > b4fb8f66f1ae2e16 ("mm, page_alloc:

Re: [PATCH v3 00/16] mmc: tmio: another batch of TMIO MMC fixes and cleanups

2018-01-18 Thread Ulf Hansson
On 17 January 2018 at 17:28, Masahiro Yamada wrote: > > In the previous batch (https://lkml.org/lkml/2017/11/24/428) > I sent 22 patches for TMIO MMC. > > 14 patches were applied, the rest is under discussion. > > This series consists of 16 patches. > > Patch 1-4:

Re: [PATCH 3/3] pinctrl: sx150x: add a static gpio/pinctrl pin range mapping

2018-01-18 Thread Peter Rosin
On 2018-01-18 08:58, Linus Walleij wrote: > On Wed, Jan 17, 2018 at 2:34 PM, Peter Rosin wrote: > >> Without such a range, gpiolib fails with -EPROBE_DEFER, pending the >> addition of the range. So, without a range, gpiolib will keep >> deferring indefinitely. >> >> Fixes:

Re: [PATCH 0/1] Re: kernel BUG at fs/userfaultfd.c:LINE!

2018-01-18 Thread Pavel Machek
On Wed 2018-01-17 15:26:31, Eric Biggers wrote: > On Wed, Jan 17, 2018 at 09:56:29AM +0100, Pavel Machek wrote: > > Hi! > > > > > > Andrea Arcangeli (1): > > > > userfaultfd: clear the vma->vm_userfaultfd_ctx if UFFD_EVENT_FORK > > > > fails > > > > > > > > fs/userfaultfd.c | 20

Re: [PATCH v3 01/12] iommu/rockchip: Prohibiat unbind and remove

2018-01-18 Thread JeffyChen
Hi Tomasz, Thanks for your reply. and just found i forgot to add iommu clocks for other rockchip platforms(rk3399 already has that)...will also do that in the next version. On 01/18/2018 12:17 PM, Tomasz Figa wrote: On Thu, Jan 18, 2018 at 12:25 AM, Jeffy Chen

Re: FW: [PATCH v20 2/4] mailbox: mediatek: Add Mediatek CMDQ driver

2018-01-18 Thread houlong wei
Hi Jassi, There is one request for one GCE h/w buffer which contains a list of registers operation. I will resubmit a version and please review again. Thanks, Houlong On Thu, 2018-01-18 at 16:01 +0800, Jassi Brar wrote: > On Mon, Jan 8, 2018 at 2:08 PM, houlong wei

Re: [PATCH 1/6] backlight: Nuke unused backlight.props.state states

2018-01-18 Thread Lee Jones
On Wed, 17 Jan 2018, Daniel Thompson wrote: > On 17/01/18 14:01, Daniel Vetter wrote: > > The backlight power state handling is supremely confusing. We have: > > - props.power, using FB_BLANK_* defines > > - props.fb_blank, using the same, but deprecated int favour of > >props.state > > -

[tip:x86/cache] x86/intel_rdt: Update documentation

2018-01-18 Thread tip-bot for Fenghua Yu
Commit-ID: 0ff8e080b18d1d2dbe5c866d5f31c27ab806a785 Gitweb: https://git.kernel.org/tip/0ff8e080b18d1d2dbe5c866d5f31c27ab806a785 Author: Fenghua Yu AuthorDate: Wed, 20 Dec 2017 14:57:19 -0800 Committer: Thomas Gleixner CommitDate: Thu, 18 Jan

[PATCH v2] ION: Sys_heap: fix the incorrect pool->gfp_mask setting

2018-01-18 Thread Zeng Tao
The gfp_mask low order pool is overlapped by the high order inside the loop, so the gfp_mask of all pools are set to high_order_gfp_flags. And all the allcations will have no __GFP_RECLAIM flag, we will easily get the allocation failure problem with memory presure. Changes since v1: 1. fix the

Re: [PATCH v2 07/11] arm64: Add skeleton to harden the branch predictor against aliasing attacks

2018-01-18 Thread Yisheng Xie
Hi Will, On 2018/1/17 18:07, Will Deacon wrote: > On Wed, Jan 17, 2018 at 12:10:33PM +0800, Yisheng Xie wrote: >> Hi Will, >> >> On 2018/1/5 21:12, Will Deacon wrote: >>> diff --git a/arch/arm64/mm/context.c b/arch/arm64/mm/context.c >>> index 5f7097d0cd12..d99b36555a16 100644 >>> ---

[PATCH v5 01/12] [dt-bindings] [media] Add document file for CXD2880 SPI I/F

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is the document file for Sony CXD2880 DVB-T2/T tuner + demodulator. It contains the description of the SPI adapter binding. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto

[tip:x86/cache] x86/intel_rdt: Add command line parameter to control L2_CDP

2018-01-18 Thread tip-bot for Fenghua Yu
Commit-ID: 31516de306c0c9235156cdc7acb976ea21f1f646 Gitweb: https://git.kernel.org/tip/31516de306c0c9235156cdc7acb976ea21f1f646 Author: Fenghua Yu AuthorDate: Wed, 20 Dec 2017 14:57:24 -0800 Committer: Thomas Gleixner CommitDate: Thu, 18 Jan

[tip:x86/cache] x86/intel_rdt: Enable L2 CDP in MSR IA32_L2_QOS_CFG

2018-01-18 Thread tip-bot for Fenghua Yu
Commit-ID: 99adde9b370de8e07ef76630c6f60dbf586cdf0e Gitweb: https://git.kernel.org/tip/99adde9b370de8e07ef76630c6f60dbf586cdf0e Author: Fenghua Yu AuthorDate: Wed, 20 Dec 2017 14:57:23 -0800 Committer: Thomas Gleixner CommitDate: Thu, 18 Jan

Re: [BUG 4.15-rc7] IRQ matrix management errors

2018-01-18 Thread Keith Busch
On Thu, Jan 18, 2018 at 09:10:43AM +0100, Thomas Gleixner wrote: > Can you please provide the output of > > # cat /sys/kernel/debug/irq/irqs/$ONE_I40_IRQ # cat /sys/kernel/debug/irq/irqs/48 handler: handle_edge_irq device: :1a:00.0 status: 0x istate: 0x ddepth: 0

[PATCH v5 04/12] [media] cxd2880: Add spi device IO routines

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Add functions for initializing, reading and writing to the SPI device for the Sony CXD2880 DVB-T2/T tuner + demodulator. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto

[PATCH v5 09/12] [media] cxd2880: Add DVB-T monitor functions

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Provide monitor functions (DVB-T) for the Sony CXD2880 DVB-T2/T tuner + demodulator driver. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto Signed-off-by: Hideki

[PATCH v5 11/12] [media] cxd2880: Add DVB-T2 monitor functions

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Provide monitor functions (DVB-T2) for the Sony CXD2880 DVB-T2/T tuner + demodulator driver. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto Signed-off-by: Hideki

Re: [PATCH] irqdomain: provide useful debugging information for irq domain

2018-01-18 Thread Marc Zyngier
On 18/01/18 01:53, Yang, Shunyong wrote: > Hi, Marc > > On Wed, 2018-01-17 at 10:43 +, Marc Zyngier wrote: >> On 17/01/18 10:20, Yang, Shunyong wrote: >>> >>> Hi, Thomas and Marc, >>> >>> On Wed, 2018-01-17 at 11:01 +0100, Thomas Gleixner wrote: On Wed, 17 Jan 2018, Yang, Shunyong

[PATCH v5 12/12] [media] cxd2880: Add all Makefile, Kconfig files and Update MAINTAINERS file for the driver

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is the Makefile, Kconfig files of driver and MAINTAINERS file update about the driver for the Sony CXD2880 DVB-T2/T tuner + demodulator. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto

[PATCH v2] f2fs: stop gc/discard thread after fs shutdown

2018-01-18 Thread Chao Yu
Once filesystem shuts down, daemons like gc/discard thread should be aware of it, and do exit, in addtion, drop all cached pending discard commands and turn off real-time discard mode. Signed-off-by: Chao Yu --- v2: - fix to stop daemons with the right way. fs/f2fs/f2fs.h

Re: [PATCH] tcmu: Fix trailing semicolon

2018-01-18 Thread Nicholas A. Bellinger
On Tue, 2018-01-16 at 10:25 -0600, Michael Christie wrote: > On 01/16/2018 09:34 AM, Luis de Bethencourt wrote: > > The trailing semicolon is an empty statement that does no operation. > > It is completely stripped out by the compiler. Removing it since it doesn't > > do > > anything. > > > >

Re: [PATCH] [RESEND] scsi: ips: fix firmware timestamps for 32-bit

2018-01-18 Thread Finn Thain
On Wed, 17 Jan 2018, Arnd Bergmann wrote: > do_gettimeofday() is deprecated since it will stop working in 2038 on > 32-bit platforms. The firmware interface here actually supports times > until year 25500, so we should use longer timestamps. > I think that reasoning is flawed. If the firmware

Re: Suspend/resume with FTRACE enabled doesn’t work anymore

2018-01-18 Thread Paul Menzel
Dear Steven, On 01/17/18 17:25, Steven Rostedt wrote: On Wed, 17 Jan 2018 11:19:43 -0500 Steven Rostedt wrote: On Wed, 17 Jan 2018 11:10:31 -0500 Steven Rostedt wrote: It's been fixed, and the the patch is in Linus's tree already:

Re: [PATCH] perf:util:dso: Using O_CLOEXEC in do_open

2018-01-18 Thread Jiri Olsa
On Mon, Jan 15, 2018 at 01:04:48PM +0800, Wang YanQing wrote: > I meet strange behavior with below commands on my gentoo box: > 1:perf kmem record > 2:CTRL-C to stop 1 > 3:perf report > 4:"Enter", "Enter", "Run scripts for all samples", > "event_analyzing_sample". > > Then perf report: > " > No

Re: [PATCH v2] KVM: s390: wire up bpb feature

2018-01-18 Thread Cornelia Huck
On Wed, 17 Jan 2018 14:44:34 +0100 Christian Borntraeger wrote: > The new firmware interfaces for branch prediction behaviour changes > are transparently available for the guest. Nevertheless, there is > new state attached that should be migrated and properly resetted. >

Re: [PATCH v2 1/3] Revert "do_SAK: Don't recursively take the tasklist_lock"

2018-01-18 Thread Kirill Tkhai
On 17.01.2018 20:18, Eric W. Biederman wrote: > Kirill Tkhai writes: > >> This reverts commit 20ac94378de5. >> >> send_sig() does not take tasklist_lock for a long time, >> so this commit and the problem it solves are not relevant >> anymore. >> >> Also, the problem of

Re: [PATCH v6 04/36] earlycon: add reg-offset to physical address before mapping

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > It will get the wrong virtual address because port->mapbase is not added > the correct reg-offset yet. We have to update it before earlycon_map() > is called > >

Re: [PATCH 3/3] pinctrl: sx150x: add a static gpio/pinctrl pin range mapping

2018-01-18 Thread Linus Walleij
On Thu, Jan 18, 2018 at 9:19 AM, Peter Rosin wrote: > On 2018-01-18 08:58, Linus Walleij wrote: >> On Wed, Jan 17, 2018 at 2:34 PM, Peter Rosin wrote: >> >>> Without such a range, gpiolib fails with -EPROBE_DEFER, pending the >>> addition of the range. So,

[PATCH v5 05/12] [media] cxd2880: Add tuner part of the driver

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This part of the driver has the main routines to handle the tuner and demodulator functionality. The tnrdmd_mon.* files have monitor functions for the driver. This is part of the Sony CXD2880 DVB-T2/T tuner + demodulator driver.

[PATCH v5 07/12] [media] cxd2880: Add top level of the driver

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This provides the main dvb frontend operation functions for the Sony CXD2880 DVB-T2/T tuner + demodulator driver. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto

[PATCH v5 08/12] [media] cxd2880: Add DVB-T control functions the driver

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Provide definitions, interfaces and functions needed for DVB-T of the Sony CXD2880 DVB-T2/T tuner + demodulator driver. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto

Re: ipv6 redefinition build issue with 4.15-rc8

2018-01-18 Thread Jonas Bonn
On 01/17/2018 11:34 PM, Daniel Wagner wrote: On 01/17/2018 11:20 PM, Hauke Mehrtens wrote: Do we want to do any changes to the kernel header files? I do not know of any clean workaround to make this work, we can probably hack something for connman, but I think it is not worth the trouble.

[BUG] skcipher: Test 1 failed (invalid result) on encryption for cts(virtio_crypto_aes_cbc)

2018-01-18 Thread Corentin Labbe
Hello When modprobing tcrypt on a qemu virtual machine, I get the following trace in dmesg: skcipher: Test 1 failed (invalid result) on encryption for cts(virtio_crypto_aes_cbc) Regards Corentin Labbe

Re: [PATCH v2 01/16] drivers: pwm: core: use a single of xlate function

2018-01-18 Thread Claudiu Beznea
On 18.01.2018 01:14, Brian Norris wrote: > On Tue, Jan 16, 2018 at 10:24:59AM +0200, Claudiu Beznea wrote: >> Please explain me further. From this I understand, as a general rule, >> that the device tree binaries from, e.g. 3 years ago, should be >> compatible with, e.g. the current version of

Re: [PATCH v2 03/16] pwm: cros-ec: update documentation regarding pwm-cells

2018-01-18 Thread Claudiu Beznea
On 18.01.2018 01:10, Brian Norris wrote: > On Wed, Jan 17, 2018 at 10:29:53AM +0200, Claudiu Beznea wrote: >> With these changes, if pwm-cells=1 then only PWM-channel will be parsed, > > I'm not sure if I'm understanding you correctly but...no. If cells is 1, > then your driver change just

Schnelle Kredite

2018-01-18 Thread Paz Ysea Euro Betulio
Darlehen Angebot bei 3%, zögern Sie nicht, uns für weitere Informationen zu kontaktieren

Re: [PATCH 2/6] backlight/generic-bl: remove DRIVER1 state

2018-01-18 Thread Daniel Thompson
On 17/01/18 17:13, Daniel Vetter wrote: On Wed, Jan 17, 2018 at 04:44:00PM +, Daniel Thompson wrote: On 17/01/18 14:01, Daniel Vetter wrote: Nothing in the entire tree ever sets this, which means this is dead code. Remove it. Cc: Lee Jones Cc: Daniel Thompson

Re: [PATCH] kbuild: fix W= option checks for extra DTC warnings

2018-01-18 Thread Arnd Bergmann
On Thu, Jan 18, 2018 at 4:31 AM, Masahiro Yamada wrote: > Kbuild supports 3 levels of extra warnings, and multiple levels can > be combined, like W=12, W=123. It was added by commit a6de553da01c > ("kbuild: Allow to combine multiple W= levels"). > > From the log of

Re: [PATCH V5 1/8] perf/x86/intel/uncore: customized event_read for client IMC uncore

2018-01-18 Thread Thomas Gleixner
On Mon, 15 Jan 2018, kan.li...@intel.com wrote: > From: Kan Liang > > There are two free running counters for client IMC uncore. The custom > event_init() function hardcode their index to 'UNCORE_PMC_IDX_FIXED' and > 'UNCORE_PMC_IDX_FIXED + 1'. To support the

Re: [PATCH 0/3] perf tools: Get rid of unused 'swapped' parameter from perf_event__synthesize_sample()

2018-01-18 Thread Jiri Olsa
On Tue, Jan 16, 2018 at 03:14:49PM +0200, Adrian Hunter wrote: > Hi > > Here is a minor tidy-up for perf_event__synthesize_sample(). > > > Adrian Hunter (3): > perf intel-pt/bts: Do not swap when synthesizing samples > perf tools: Ensure reserved member of PERF_SAMPLE_CPU is zero in

Re: [PATCH 3/6] s390: add options to change branch prediction behaviour for the kernel

2018-01-18 Thread Cornelia Huck
On Wed, 17 Jan 2018 10:48:36 +0100 Martin Schwidefsky wrote: > Add the PPA instruction to the system entry and exit path to switch > the kernel to a different branch prediction behaviour. The instructions > are added via CPU alternatives and can be disabled with the

Re: [PATCH v6 03/36] sparc: io: To use the define of ioremap_[nocache|wc|wb] in asm-generic/io.h

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > It will be built failed if commit id: d25ea659 is selected. This patch > can fix this build error. > > Signed-off-by: Greentime Hu The change is

Re: [PATCH v6 05/36] nds32: Assembly macros and definitions

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch includes assembly macros, bit field definitions used in .S > files across arch/nds32/. > > Signed-off-by: Vincent Chen > Signed-off-by:

[PATCH v5 06/12] [media] cxd2880: Add integration layer for the driver

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi These functions monitor the driver and watch for task completion. This is part of the Sony CXD2880 DVB-T2/T tuner + demodulator driver. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto

[PATCH v5 10/12] [media] cxd2880: Add DVB-T2 control functions for the driver

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Provide definitions, interfaces and functions needed for DVB-T2 of the Sony CXD2880 DVB-T2/T tuner + demodulator driver. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto

Re: [PATCH 1/2] crypto: Implement a generic crypto statistics

2018-01-18 Thread LABBE Corentin
On Fri, Jan 12, 2018 at 10:11:18AM +0100, Stephan Mueller wrote: > Am Freitag, 12. Januar 2018, 10:07:30 CET schrieb LABBE Corentin: > > > > > + __u64 stat_hash_tlen; > > > > > > > > }; > > > > > > What I am slightly unsure here is: how should user space detect whether > > > these

Re: [PATCH 2/2 v3] lib: debugobjects: touch watchdog to avoid softlockup when !CONFIG_PREEMPT

2018-01-18 Thread Thomas Gleixner
On Thu, 18 Jan 2018, Yang Shi wrote: > On 1/17/18 4:21 AM, Thomas Gleixner wrote: > > There are two things which can be done here: > > > > 1) The collected objects can be put on a global free list and work > > scheduled to free them piecewise. > > I don't get your point here. objects free

Re: [BUG 4.15-rc7] IRQ matrix management errors

2018-01-18 Thread Thomas Gleixner
On Thu, 18 Jan 2018, Keith Busch wrote: > On Thu, Jan 18, 2018 at 09:10:43AM +0100, Thomas Gleixner wrote: > > Can you please provide the output of > > > > # cat /sys/kernel/debug/irq/irqs/$ONE_I40_IRQ > > # cat /sys/kernel/debug/irq/irqs/48 > handler: handle_edge_irq > device: :1a:00.0

[PATCH] f2fs: drop page cache after fs shutdown

2018-01-18 Thread Chao Yu
Don't remain dirtied page cache in f2fs after shutdown, it can mitigate memory pressure of whole system, in order to keep other modules working properly. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 7 +-- fs/f2fs/data.c | 12 ++-- fs/f2fs/node.c

Re: [PATCH 3/6] backlight/pandora: Stop using BL_CORE_DRIVER1

2018-01-18 Thread Daniel Thompson
On 17/01/18 21:38, Daniel Vetter wrote: Thanks a lot for your comments. On Wed, Jan 17, 2018 at 04:47:41PM +, Daniel Thompson wrote: On 17/01/18 14:01, Daniel Vetter wrote: Leaking driver internal tracking into the already massively confusing backlight power tracking is really confusing.

Re: [PATCH 1/7] staging: ccree: remove ccree from staging tree

2018-01-18 Thread Greg Kroah-Hartman
On Thu, Jan 18, 2018 at 10:39:11AM +0200, Gilad Ben-Yossef wrote: > On Sat, Jan 13, 2018 at 3:21 PM, Greg Kroah-Hartman > wrote: > > On Thu, Jan 11, 2018 at 09:17:08AM +, Gilad Ben-Yossef wrote: > >> Remove the ccree driver from the staging tree in preparation to >

Re: [PATCH] perf report: Provide libtraceevent with a kernel symbol resolver

2018-01-18 Thread Jiri Olsa
On Wed, Jan 17, 2018 at 12:48:12AM +0800, Wang YanQing wrote: > On Mon, Jan 15, 2018 at 11:06:11AM +0100, Jiri Olsa wrote: > > On Mon, Jan 15, 2018 at 12:47:32PM +0800, Wang YanQing wrote: > > > So that beautifiers wanting to resolve kernel function addresses to > > > names can do its work, and

Re: [RFC PATCH 1/2] pinctrl: add consumer variant for gpio request

2018-01-18 Thread Linus Walleij
On Mon, Jan 15, 2018 at 5:22 PM, Ludovic Desroches wrote: > Add a consumer variant to GPIO request relative functions. The goal > is to fix the bad ownership, which is arbitrary set to > "range->name:gpio", of a GPIO. For this patch on its own (apart from the

[PATCH] clk: mux: document clk_mux table field

2018-01-18 Thread Jerome Brunet
The table field is missing in the documentation of clk_mux. Add a small blurb explaining what it is Signed-off-by: Jerome Brunet --- include/linux/clk-provider.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h

Re: [PATCH v6 00/36] Andes(nds32) Linux Kernel Port

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > This is the 6th version patchset to add the Linux kernel port for Andes(nds32) > processors. Almost all of the feedbacks from v5 patchseries has been > addressed. > Thanks to everyone who provided feedback on the previous

Re: [RESEND PATCH V2 3/4] perf/x86/intel: drain PEBS buffer in event read

2018-01-18 Thread Jiri Olsa
On Tue, Jan 16, 2018 at 01:49:13PM -0500, Liang, Kan wrote: > > > On 1/11/2018 10:45 AM, Jiri Olsa wrote: > > On Thu, Jan 11, 2018 at 10:21:25AM -0500, Liang, Kan wrote: > > > > SNIP > > > > > > > > > > hum, but the PEBS drain is specific just for > > > > PERF_X86_EVENT_AUTO_RELOAD events,

Re: [PATCH 1/1] ARM: dts: sunxi: Add Olimex A20-SOM204-EVB board

2018-01-18 Thread Maxime Ripard
Hi! On Mon, Jan 15, 2018 at 12:07:34PM +0200, Stefan Mavrodiev wrote: > > > +/dts-v1/; > > > +#include "sun7i-a20.dtsi" > > > +#include "sunxi-common-regulators.dtsi" > > > + > > > + > > > +#include > > > +#include > > > +#include > > > + > > > +/ { > > > + model = "Olimex A20-SOM204-EVB"; > >

Re: [PATCH] workqueue: Handle race between wake up and rebind

2018-01-18 Thread Neeraj Upadhyay
On 01/18/2018 08:32 AM, Lai Jiangshan wrote: On Wed, Jan 17, 2018 at 4:08 AM, Neeraj Upadhyay wrote: On 01/16/2018 11:05 PM, Tejun Heo wrote: Hello, Neeraj. On Mon, Jan 15, 2018 at 02:08:12PM +0530, Neeraj Upadhyay wrote: - kworker/0:0 gets chance to run on cpu1;

Re: [PATCH v2 1/3] Revert "do_SAK: Don't recursively take the tasklist_lock"

2018-01-18 Thread Kirill Tkhai
On 17.01.2018 20:49, Eric W. Biederman wrote: > Oleg Nesterov writes: > >> On 01/17, Eric W. Biederman wrote: >> >>> Kirill Tkhai writes: >>> This reverts commit 20ac94378de5. send_sig() does not take tasklist_lock for a long time, so

Re: [PATCH] crypto: ux500/hash: Add empty export and import

2018-01-18 Thread Linus Walleij
On Tue, Jan 16, 2018 at 5:32 PM, Kamil Konieczny wrote: > Crypto framework will require async hash export/import, so add empty > functions to prevent OOPS. > > Signed-off-by: Kamil Konieczny Acked-by: Linus Walleij

Re: [PATCH 23/35] x86/speculation: Add basic speculation control code

2018-01-18 Thread Andy Lutomirski
On Thu, Jan 18, 2018 at 5:41 PM, Andrea Arcangeli wrote: > Hello, > > On Thu, Jan 18, 2018 at 03:25:25PM -0800, Andy Lutomirski wrote: >> I read the whitepaper that documented the new MSRs a couple days ago >> and I'm now completely unable to find it. If anyone could send

Re: [PATCH 30/35] x86/speculation: Use Indirect Branch Prediction Barrier in context switch

2018-01-18 Thread Kevin Easton
On Thu, Jan 18, 2018 at 04:38:32PM -0800, Tim Chen wrote: > On 01/18/2018 05:48 AM, Peter Zijlstra wrote: > > > >+/* > >+ * Avoid user/user BTB poisoning by flushing the branch > >predictor > >+ * when switching between processes. This stops one process from >

RE: [PATCH 23/35] x86/speculation: Add basic speculation control code

2018-01-18 Thread Van De Ven, Arjan
> Enabling IBRS does not prevent software from controlling the predicted > targets of indirect branches of unrelated software executed later at > the same predictor mode (for example, between two different user > applications, or two different virtual machines). Such isolation can > be ensured

Re: [PATCH v5 4/4] PCI/DPC: Enumerate the devices after DPC trigger event

2018-01-18 Thread poza
On 2018-01-19 07:13, Keith Busch wrote: On Thu, Jan 18, 2018 at 11:35:59AM -0500, Sinan Kaya wrote: On 1/18/2018 12:32 AM, p...@codeaurora.org wrote: > On 2018-01-18 08:26, Keith Busch wrote: >> On Wed, Jan 17, 2018 at 08:27:39AM -0800, Sinan Kaya wrote: >>> On 1/17/2018 5:37 AM, Oza Pawandeep

Re: linux-next: build warning after merge of the crypto tree

2018-01-18 Thread Harsh Jain
Hi Herbert, It's an indentation issue. Seems checkpatch and default compile options does not report this warning. How would you like to take the fix. Should I sent whole series again with fix or only indentation patch. On 19-01-2018 07:19, Stephen Rothwell wrote: > Hi Herbert, > > After

Re: [PATCH v5 3/4] PCI/DPC: Unify and plumb error handling into DPC

2018-01-18 Thread poza
On 2018-01-18 23:33, Sinan Kaya wrote: On 1/18/2018 1:00 PM, p...@codeaurora.org wrote: I think you would put into include/linux/pci.h only if there is an external use of constant outside of drivers/pci directory. Otherwise, you should keep the setting inside one of the header files in

[PATCH] printk: drop redundant devkmsg_log_str memsets

2018-01-18 Thread Sergey Senozhatsky
We copy in null terminated strings "on" and "off", no need to zero out devkmsg_log_str in control_devkmsg(). Signed-off-by: Sergey Senozhatsky --- kernel/printk/printk.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git

Re: [PATCH v5 3/4] PCI/DPC: Unify and plumb error handling into DPC

2018-01-18 Thread Sinan Kaya
On 1/18/2018 11:23 PM, p...@codeaurora.org wrote: > On 2018-01-18 23:33, Sinan Kaya wrote: >> On 1/18/2018 1:00 PM, p...@codeaurora.org wrote: I think you would put into include/linux/pci.h only if there is an external use of constant outside of drivers/pci directory. Otherwise, you

Re: [PATCH] print kdump kernel loaded status in stack dump

2018-01-18 Thread Dave Young
On 01/18/18 at 01:57pm, Steven Rostedt wrote: > On Thu, 18 Jan 2018 10:02:17 -0800 > Andi Kleen wrote: > > > Dave Young writes: > > > printk("%sHardware name: %s\n", > > > log_lvl, dump_stack_arch_desc_str); > > > + if

Re: [PATCH 3/6] s390: add options to change branch prediction behaviour for the kernel

2018-01-18 Thread QingFeng Hao
在 2018/1/17 17:48, Martin Schwidefsky 写道: Add the PPA instruction to the system entry and exit path to switch the kernel to a different branch prediction behaviour. The instructions are added via CPU alternatives and can be disabled with the "nospec" or the "nobp=0" kernel parameter. If the

Re: [PATCH V5 2/2] nvme-pci: fixup the timeout case when reset is ongoing

2018-01-18 Thread Keith Busch
On Thu, Jan 18, 2018 at 06:10:02PM +0800, Jianchao Wang wrote: > + * - When the ctrl.state is NVME_CTRL_RESETTING, the expired > + * request should come from the previous work and we handle > + * it as nvme_cancel_request. > + * - When the ctrl.state is

<    2   3   4   5   6   7   8   9   10   11   >