[PATCH 11/12] efi/apple-properties: Use memremap() instead of ioremap()

2018-03-08 Thread Ard Biesheuvel
From: Andy Shevchenko The memory we are accessing through virtual address has no IO side effects. Moreover, for IO memory we have to use special accessors, which we don't use. Due to above, convert the driver to use memremap() instead of ioremap().

[PATCH 12/12] efi: make const array 'apple' static

2018-03-08 Thread Ard Biesheuvel
From: Colin Ian King Don't populate the const read-only array 'buf' on the stack but instead make it static. Makes the object code smaller by 64 bytes: Before: textdata bss dec hex filename 9264 1 1692812441

[PATCH 10/12] efi: reorder pr_notice() with add_device_randomness() call

2018-03-08 Thread Ard Biesheuvel
Currently, when we receive a random seed from the EFI stub, we call add_device_randomness() to incorporate it into the entropy pool, and issue a pr_notice() saying we are about to do that, e.g., [0.00] efi: RNG=0x87ff92cf18 [0.00] random: fast init done [0.00] efi:

[PATCH 04/12] efi/x86: Fix trailing semicolons

2018-03-08 Thread Ard Biesheuvel
From: Luis de Bethencourt The trailing semicolon is an empty statement that does no operation. Removing them since they don't do anything. Signed-off-by: Luis de Bethencourt Signed-off-by: Ard Biesheuvel ---

Re: linux-next: manual merge of the mfd tree with Linus' tree

2018-03-08 Thread Lee Jones
On Thu, 08 Mar 2018, Stephen Rothwell wrote: > Hi Lee, > > Today's linux-next merge of the mfd tree got a conflict in: > > drivers/mfd/syscon.c > > between commit: > > 3bafc09e7797 ("mfd: syscon: Add hardware spinlock support") > > from Linus' tree and commit: > > 34c90dcce6b1 ("mfd:

Re: [PATCH] reset: uniphier: add Pro4/Pro5/PXs2 audio systems reset control

2018-03-08 Thread Masahiro Yamada
2018-03-08 17:09 GMT+09:00 Katsuhiro Suzuki : > Add reset lines for audio subsystem (AIO) on UniPhier > Pro4/Pro5/PXs2 SoCs. > > Signed-off-by: Katsuhiro Suzuki > --- Acked-by: Masahiro Yamada >

Re: [PATCH] kbuild: Handle builtin dtb files containing hyphens

2018-03-08 Thread Masahiro Yamada
2018-03-08 16:09 GMT+09:00 James Hogan : > On Wed, Mar 07, 2018 at 03:19:11PM -0800, Frank Rowand wrote: >> On 03/07/18 12:25, James Hogan wrote: >> > On Wed, Mar 07, 2018 at 12:11:41PM -0800, Frank Rowand wrote: >> >> On 03/07/18 06:06, James Hogan wrote: >> >>> Quite a lot of

[PATCH] rcu: exp: Protect all sync_rcu_preempt_exp_done() with rcu_node lock

2018-03-08 Thread Boqun Feng
Currently some callsites of sync_rcu_preempt_exp_done() are not called with the corresponding rcu_node's ->lock held, which could introduces bugs as per Paul: o CPU 0 in sync_rcu_preempt_exp_done() reads ->exp_tasks and sees that it is NULL. o CPU 1 blocks within an RCU

[PATCH v5 10/19] tracing: probeevent: Return consumed bytes of dynamic area

2018-03-08 Thread Masami Hiramatsu
Cleanup string fetching routine so that returns the consumed bytes of dynamic area and store the string information as data_loc format instead of data_rloc. This simplifies the fetcharg loop. Signed-off-by: Masami Hiramatsu --- kernel/trace/trace_kprobe.c | 51

[PATCH v5 13/19] tracing: probeevent: Add symbol type

2018-03-08 Thread Masami Hiramatsu
Add "symbol" type to probeevent, which is an alias of u32 or u64 (depends on BITS_PER_LONG). This shows the result value in symbol+offset style. This type is only available with kprobe events. Signed-off-by: Masami Hiramatsu --- Changes in v2: - Add symbol type to README

[PATCH v5 14/19] x86: ptrace: Add function argument access API

2018-03-08 Thread Masami Hiramatsu
Add regs_get_argument() which returns N th argument of the function call. Note that this chooses most probably assignment, in some case it can be incorrect (e.g. passing data structure or floating point etc.) This is expected to be called from kprobes or ftrace with regs where the top of stack is

[PATCH v5 12/19] tracing: probeevent: Unify fetch_insn processing common part

2018-03-08 Thread Masami Hiramatsu
Unify the fetch_insn bottom process (from stage 2: dereference indirect data) from kprobe and uprobe events, since those are mostly same. Signed-off-by: Masami Hiramatsu --- kernel/trace/trace_kprobe.c | 47 +

Re: Atheros 1525/QCA6174 BT issue

2018-03-08 Thread Marcel Holtmann
Hi Takashi, > we've got a but report about the broken Atheros BT on the recent > kernels: > http://bugzilla.opensuse.org/show_bug.cgi?id=1082504 > > In short, btusb can't load the patch ar3k/AthrBT_0x0200.dfu, and > this could be worked around by the patch to move 0cf3:3004 blacklist >

Re: [RFC/RFT][PATCH v2 1/6] time: tick-sched: Reorganize idle tick management code

2018-03-08 Thread Rafael J. Wysocki
On Thursday, March 8, 2018 12:18:29 AM CET Frederic Weisbecker wrote: > On Tue, Mar 06, 2018 at 10:02:01AM +0100, Rafael J. Wysocki wrote: > > Index: linux-pm/kernel/time/tick-sched.c > > === > > ---

Re: KASAN poisoning for skb linear data

2018-03-08 Thread Dmitry Vyukov
On Mon, Jan 15, 2018 at 3:15 PM, Dmitry Vyukov wrote: > Hi, > > As far as I understand pskb_may_pull() plays important role in packet > parsing for all protocols. And we did custom fragmentation of packets > emitted via tun (IFF_NAPI_FRAGS). However, it seems that it does not

[tip:x86/pti] x86/microcode: Request microcode on the BSP

2018-03-08 Thread tip-bot for Borislav Petkov
Commit-ID: cfb52a5a09c8ae3a1dafb44ce549fde5b69e8117 Gitweb: https://git.kernel.org/tip/cfb52a5a09c8ae3a1dafb44ce549fde5b69e8117 Author: Borislav Petkov AuthorDate: Wed, 28 Feb 2018 11:28:45 +0100 Committer: Thomas Gleixner CommitDate: Thu, 8 Mar 2018

[tip:x86/pti] x86/microcode: Synchronize late microcode loading

2018-03-08 Thread tip-bot for Ashok Raj
Commit-ID: a5321aec6412b20b5ad15db2d6b916c05349dbff Gitweb: https://git.kernel.org/tip/a5321aec6412b20b5ad15db2d6b916c05349dbff Author: Ashok Raj AuthorDate: Wed, 28 Feb 2018 11:28:46 +0100 Committer: Thomas Gleixner CommitDate: Thu, 8 Mar 2018

[tip:x86/pti] x86/microcode: Get rid of struct apply_microcode_ctx

2018-03-08 Thread tip-bot for Borislav Petkov
Commit-ID: 854857f5944c59a881ff607b37ed9ed41d031a3b Gitweb: https://git.kernel.org/tip/854857f5944c59a881ff607b37ed9ed41d031a3b Author: Borislav Petkov AuthorDate: Wed, 28 Feb 2018 11:28:40 +0100 Committer: Thomas Gleixner CommitDate: Thu, 8 Mar 2018

[tip:x86/pti] x86/microcode/intel: Look into the patch cache first

2018-03-08 Thread tip-bot for Borislav Petkov
Commit-ID: d8c3b52c00a05036e0a6b315b4b17921a7b67997 Gitweb: https://git.kernel.org/tip/d8c3b52c00a05036e0a6b315b4b17921a7b67997 Author: Borislav Petkov AuthorDate: Wed, 28 Feb 2018 11:28:44 +0100 Committer: Thomas Gleixner CommitDate: Thu, 8 Mar 2018

[tip:x86/pti] x86/microcode: Do not upload microcode if CPUs are offline

2018-03-08 Thread tip-bot for Ashok Raj
Commit-ID: 30ec26da9967d0d785abc24073129a34c3211777 Gitweb: https://git.kernel.org/tip/30ec26da9967d0d785abc24073129a34c3211777 Author: Ashok Raj AuthorDate: Wed, 28 Feb 2018 11:28:43 +0100 Committer: Thomas Gleixner CommitDate: Thu, 8 Mar 2018

Re: [alsa-devel] [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-08 Thread Lukas Wunner
On Thu, Mar 08, 2018 at 05:10:23PM +0800, Kai-Heng Feng wrote: > Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option > "Switchable Graphics" (SG). > > When SG is enabled, we have: > 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) > 00:1f.3 Audio

[PATCH 0/2] rpmsg: use put_device() if device_register fail

2018-03-08 Thread Arvind Yadav
if device_register() returned an error! Always use put_device() to give up the reference initialized. unregister device for other return error. Arvind Yadav (2): [PATCH 1/2] rpmsg: glink: use put_device() if device_register fail [PATCH 2/2] rpmsg: smd: use put_device() if device_register

[PATCH v6 00/17] Rockchip ISP1 Driver

2018-03-08 Thread Jacob Chen
From: Jacob Chen changes in V6: - add mipi txrx phy support - remove bool and enum from uapi header - add buf_prepare op - correct some spelling problems - return all queued buffers when starting stream failed changes in V5: Sync with local changes, - fix

Re: [PATCHv5 3/5] mfd: motorola-cpcap: Add audio-codec support

2018-03-08 Thread Sebastian Reichel
Hi Lee, On Wed, Mar 07, 2018 at 04:32:11PM +, Lee Jones wrote: > On Fri, 23 Feb 2018, Sebastian Reichel wrote: > > +static const struct mfd_cell cpcap_mfd_devices[] = { [...] > > + }, { > > + .name = "cpcap-led", > > + .id= 4, > > +

Re: [PATCH v5 02/16] media: doc: add document for rkisp1 meta buffer format

2018-03-08 Thread Jacob Chen
Hi Hans, 2018-02-06 22:27 GMT+08:00 Hans Verkuil : > On 12/29/17 08:52, Shunqian Zheng wrote: >> From: Jacob Chen >> >> This commit add docuemnt for rkisp1 meta buffer format >> >> Signed-off-by: Jacob Chen >> --- >>

Re: Invalid /proc//fd/{0,1,2} symlinks with TIOCGPTPEER

2018-03-08 Thread Christian Brauner
On Wed, Mar 07, 2018 at 11:44:35AM -0800, Linus Torvalds wrote: > On Wed, Mar 7, 2018 at 8:17 AM, Christian Brauner > wrote: > > > > unshare --mount > > mount --bind /dev/pts/ptmx /dev/ptmx > > chmod 666 /dev/ptmx > > Oh. Why are you using a bind mount in the

[PATCH v5 08/19] tracing: probeevent: Introduce new argument fetching code

2018-03-08 Thread Masami Hiramatsu
Replace {k,u}probe event argument fetching framework with switch-case based. Currently that is implemented with structures, macros and chain of function-pointers, which is more complicated than necessary and may get a performance penalty by retpoline. This simplify that with an array of

[PATCH v5 11/19] tracing: probeevent: Append traceprobe_ for exported function

2018-03-08 Thread Masami Hiramatsu
Append traceprobe_ for exported function set_print_fmt() as same as other functions. Signed-off-by: Masami Hiramatsu --- kernel/trace/trace_kprobe.c |4 ++-- kernel/trace/trace_probe.c |2 +- kernel/trace/trace_probe.h |2 +- kernel/trace/trace_uprobe.c |4

[PATCH v5 07/19] tracing: probeevent: Remove NOKPROBE_SYMBOL from print functions

2018-03-08 Thread Masami Hiramatsu
Remove unneeded NOKPROBE_SYMBOL from print functions since the print functions are only used when printing out the trace data, and not from kprobe handler. Signed-off-by: Masami Hiramatsu --- kernel/trace/trace_probe.c |4 +--- 1 file changed, 1 insertion(+), 3

[PATCH v5 09/19] tracing: probeevent: Unify fetch type tables

2018-03-08 Thread Masami Hiramatsu
Unify {k,u}probe_fetch_type_table to probe_fetch_type_table because the main difference of those type tables (fetcharg methods) are gone. Now we can consolidate it. Signed-off-by: Masami Hiramatsu --- kernel/trace/trace_kprobe.c | 27 +-

[PATCH v5 06/19] tracing: probeevent: Cleanup argument field definition

2018-03-08 Thread Masami Hiramatsu
Cleanup event argument definition code in one place for maintenancability. Signed-off-by: Masami Hiramatsu --- kernel/trace/trace_kprobe.c | 32 kernel/trace/trace_probe.c | 21 + kernel/trace/trace_probe.h |2

Re: [PATCH net-next 00/23] net: hns3: HNS3 bug fixes & code improvements

2018-03-08 Thread lipeng (Y)
On 2018/3/8 13:00, David Miller wrote: Sorry, this is way too large of a patch series. Please keep your series to about a dozen or so changes. Anything longer puts an unreasonable burdon upon patch reviewers, and such a large series will often make it so that nearly all reviewers are

Re: [PATCH v5 2/3] USB3/DWC3: Add property "snps, incr-burst-type-adjustment" for INCR burst type

2018-03-08 Thread Shawn Guo
On Tue, Mar 06, 2018 at 04:59:10PM +0800, Ran Wang wrote: > Property "snps,incr-burst-type-adjustment = , ..." for USB3.0 DWC3. > When only one value means INCRx mode with fix burst type. > When more than one value, means undefined length burst mode, USB controller > can use the length less than

Re: [PATCH V2 5/7] thermal/drivers/cpu_cooling: Add idle cooling device documentation

2018-03-08 Thread Pavel Machek
Hi! > >> +Under certain circumstances, the SoC reaches a temperature exceeding > >> +the allocated power budget or the maximum temperature limit. The > > > > I don't understand. Power budget is in W, temperature is in > > kelvin. Temperature can't exceed power budget AFAICT. > > Yes, it is

Re: [PATCH] libnvdimm: remove redundant __func__ in dev_dbg

2018-03-08 Thread Johannes Thumshirn
On Tue, Mar 06, 2018 at 08:59:11AM -0800, Dan Williams wrote: > >> diff --git a/drivers/nvdimm/badrange.c b/drivers/nvdimm/badrange.c > >> index e068d72b4357..df17f1cd696d 100644 > >> --- a/drivers/nvdimm/badrange.c > >> +++ b/drivers/nvdimm/badrange.c > >> @@ -176,8 +176,7 @@ static void

Re: Atheros 1525/QCA6174 BT issue

2018-03-08 Thread Takashi Iwai
On Thu, 08 Mar 2018 10:06:51 +0100, Marcel Holtmann wrote: > > Hi Takashi, > > > we've got a but report about the broken Atheros BT on the recent > > kernels: > > http://bugzilla.opensuse.org/show_bug.cgi?id=1082504 > > > > In short, btusb can't load the patch ar3k/AthrBT_0x0200.dfu, and >

Re: [PATCH v5 4/4] sched/fair: update util_est only on util_avg updates

2018-03-08 Thread Peter Zijlstra
On Wed, Mar 07, 2018 at 11:38:52AM +0100, Peter Zijlstra wrote: > On Thu, Feb 22, 2018 at 05:01:53PM +, Patrick Bellasi wrote: > > @@ -5218,7 +5242,7 @@ static inline void util_est_enqueue(struct cfs_rq > > *cfs_rq, > > > > /* Update root cfs_rq's estimated utilization */ > >

Re: [PATCH] audit: set TIF_AUDIT_SYSCALL only if audit filter has been populated

2018-03-08 Thread Richard Guy Briggs
On 2018-03-07 18:43, Paul Moore wrote: > On Wed, Mar 7, 2018 at 6:41 PM, Paul Moore wrote: > > On Wed, Mar 7, 2018 at 11:48 AM, Jiri Kosina wrote: > >> On Wed, 7 Mar 2018, Andy Lutomirski wrote: > >>> Wow, this was a long time ago. > >> > >> Oh yeah; but it

Re: [PATCH] crypto/ecc: Remove stack VLA usage

2018-03-08 Thread Tudor Ambarus
Hi, Kees, On 03/07/2018 11:56 PM, Kees Cook wrote: On the quest to remove all VLAs from the kernel[1], this switches to a pair of kmalloc regions instead of using the stack. This also moves the get_random_bytes() after all allocations (and drops the needless "nbytes" variable). [1]

[PATCH v6 01/17] media: videodev2.h, v4l2-ioctl: add rkisp1 meta buffer format

2018-03-08 Thread Jacob Chen
From: Shunqian Zheng Add the Rockchip ISP1 specific processing parameter format V4L2_META_FMT_RK_ISP1_PARAMS and metadata format V4L2_META_FMT_RK_ISP1_STAT_3A for 3A. Signed-off-by: Shunqian Zheng Signed-off-by: Jacob Chen

Re: [PATCH v5 03/16] media: rkisp1: Add user space ABI definitions

2018-03-08 Thread Jacob Chen
Hi Hans, 2018-02-07 20:00 GMT+08:00 Hans Verkuil : > On 12/29/17 08:52, Shunqian Zheng wrote: >> From: Jeffy Chen >> >> Add the header for userspace > > General note: I saw four cases where this documentation referred to the > datasheet. Three

Re: Regression from efi: call get_event_log before ExitBootServices

2018-03-08 Thread Thiebaud Weksteen
--- drivers/firmware/efi/libstub/tpm.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/firmware/efi/libstub/tpm.c b/drivers/firmware/efi/libstub/tpm.c index da661bf8cb96..773afcd6a37c 100644 --- a/drivers/firmware/efi/libstub/tpm.c +++

Re: [PATCH v2 0/3] pinctrl: bcm2835: Add brcm,level property

2018-03-08 Thread Stefan Wahren
Hi Matheus, > Matheus Castello hat am 8. März 2018 um 01:12 > geschrieben: > > > Hi Stefan, > > On 03/07/2018 07:58 AM, Stefan Wahren wrote: > > Hi Matheus, > > > >> Matheus Castello hat am 5. März 2018 um 03:29 > >> geschrieben: > >> > >>

Re: [PATCH 6/6] lib/scatterlist: Drop order argument from sgl_free_n_order

2018-03-08 Thread Tvrtko Ursulin
Hi, On 07/03/18 18:30, James Bottomley wrote: On Wed, 2018-03-07 at 12:47 +, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Firstly, I don't see any justifiable benefit to churning this API, so why bother? but secondly this: Primarily because I wanted to extend

[PATCH] perf tools: update quipper information

2018-03-08 Thread Stephane Eranian
This patch updates the links to the Quipper library. It is now available from GitHub and has been updated. Reported-by: Lakshman Annadorai Signed-off-by: Stephane Eranian --- tools/perf/Documentation/perf.data-file-format.txt | 7 +-- 1 file

[PATCH] ASoC: uniphier: remove superfluous inclusion

2018-03-08 Thread Masahiro Yamada
None of aio-compress.c depends on the syscon header. Signed-off-by: Masahiro Yamada Acked-by: Katsuhiro Suzuki --- sound/soc/uniphier/aio-compress.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH v2 net] net: xfrm: use preempt-safe this_cpu_read() in ipcomp_alloc_tfms()

2018-03-08 Thread Herbert Xu
On Wed, Mar 07, 2018 at 02:42:53PM -0800, Greg Hackmann wrote: > f7c83bcbfaf5 ("net: xfrm: use __this_cpu_read per-cpu helper") added a > __this_cpu_read() call inside ipcomp_alloc_tfms(). > > At the time, __this_cpu_read() required the caller to either not care > about races or to handle

Re: [PATCH v2 1/2] ARM: dts: imx6: RDU2: Add RAVE SP device

2018-03-08 Thread Shawn Guo
On Thu, Mar 01, 2018 at 11:20:06AM -0800, Andrey Smirnov wrote: > With MFD and watchdog drivers for RAVE SP device support added by > 538ee27290fa ("mfd: Add driver for RAVE Supervisory Processor") and > c3bb33345721 ("watchdog: Add RAVE SP watchdog driver") add > corresponding DT node for RDU2. >

Re: [RFC PATCH] KVM: arm/arm64: vgic: change condition for level interrupt resampling

2018-03-08 Thread Auger Eric
Hi, On 08/03/18 08:01, Shunyong Yang wrote: > When resampling irqfds is enabled, level interrupt should be > de-asserted when resampling happens. On page 4-47 of GIC v3 > specification IHI0069D, it said, > "When the PE acknowledges an SGI, a PPI, or an SPI at the CPU > interface, the IRI changes

Re: [PATCH] device-dax: remove redundant __func__ in dev_dbg

2018-03-08 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham

[tip:x86/platform] x86/devicetree: Fix device IRQ settings in DT

2018-03-08 Thread tip-bot for Ivan Gorinov
Commit-ID: 0a5169add90e43ab45ab1ba34223b8583fcaf675 Gitweb: https://git.kernel.org/tip/0a5169add90e43ab45ab1ba34223b8583fcaf675 Author: Ivan Gorinov AuthorDate: Wed, 7 Mar 2018 11:46:53 -0800 Committer: Thomas Gleixner CommitDate: Thu, 8 Mar

Re: [PATCH v2] f2fs: add nowait aio support

2018-03-08 Thread Chao Yu
On 2018/3/8 15:21, Hyunchul Lee wrote: > From: Hyunchul Lee > > This patch adds nowait aio support[1]. > > Return EAGAIN if any of the following checks fail for direct I/O: > - i_rwsem is not lockable > - Blocks are not allocated at the write location > > And xfstests

Re: [RFC/RFT][PATCH v2 2/6] sched: idle: Do not stop the tick upfront in the idle loop

2018-03-08 Thread Rafael J. Wysocki
On Thursday, March 8, 2018 12:39:12 AM CET Frederic Weisbecker wrote: > On Tue, Mar 06, 2018 at 10:02:15AM +0100, Rafael J. Wysocki wrote: > > Index: linux-pm/kernel/sched/idle.c > > === > > --- linux-pm.orig/kernel/sched/idle.c > >

Re: [PATCH net-next 2/4] net: stmmac: use correct barrier between coherent memory and MMIO

2018-03-08 Thread Pavel Machek
On Wed 2018-03-07 12:42:49, David Miller wrote: > From: Niklas Cassel > Date: Wed, 7 Mar 2018 18:21:57 +0100 > > > Considering this, you can drop/revert: > > 95eb930a40a0 ("net: stmmac: use correct barrier between coherent memory and > > MMIO") > > or perhaps you want me

RE: [PATCH v4 4/6] vfio/type1: check dma map request is within a valid iova range

2018-03-08 Thread Shameerali Kolothum Thodi
> -Original Message- > From: Shameerali Kolothum Thodi > Sent: Monday, March 05, 2018 11:44 AM > To: 'Robin Murphy' ; Alex Williamson > > Cc: Auger Eric ; pmo...@linux.vnet.ibm.com; > k...@vger.kernel.org;

[PATCH v6 08/17] media: rkisp1: add capture device driver

2018-03-08 Thread Jacob Chen
From: Jacob Chen This is the capture device interface driver that provides the v4l2 user interface. Frames can be received from ISP1. Signed-off-by: Jacob Chen Signed-off-by: Shunqian Zheng Signed-off-by: Yichong

[PATCH v6 10/17] dt-bindings: Document the Rockchip ISP1 bindings

2018-03-08 Thread Jacob Chen
From: Jacob Chen Add DT bindings documentation for Rockchip ISP1 Signed-off-by: Jacob Chen Reviewed-by: Rob Herring --- .../devicetree/bindings/media/rockchip-isp1.txt| 69 ++ 1 file changed, 69

[PATCH v6 12/17] ARM: dts: rockchip: add isp node for rk3288

2018-03-08 Thread Jacob Chen
From: Jacob Chen rk3288 have a Embedded 13M ISP Signed-off-by: Jacob Chen --- arch/arm/boot/dts/rk3288.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi

[PATCH] reset: uniphier: add Pro4/Pro5/PXs2 audio systems reset control

2018-03-08 Thread Katsuhiro Suzuki
Add reset lines for audio subsystem (AIO) on UniPhier Pro4/Pro5/PXs2 SoCs. Signed-off-by: Katsuhiro Suzuki --- drivers/reset/reset-uniphier.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c

Re: [PATCH 1/2] mm/vmalloc: Add interfaces to free unused page table

2018-03-08 Thread Ingo Molnar
* Toshi Kani wrote: > On architectures with CONFIG_HAVE_ARCH_HUGE_VMAP set, ioremap() > may create pud/pmd mappings. Kernel panic was observed on arm64 > systems with Cortex-A75 in the following steps as described by > Hanjun Guo. > > 1. ioremap a 4K size, valid page table

Re: [PATCH] xfs: Correctly invert xfs_buftarg LRU isolation logic

2018-03-08 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: Invalid /proc//fd/{0,1,2} symlinks with TIOCGPTPEER

2018-03-08 Thread Christian Brauner
On Wed, Mar 07, 2018 at 01:30:52PM -0600, Eric W. Biederman wrote: > Christian Brauner writes: > > > Hey, > > > > We discovered a potential bug in the devpts implementation via > > TIOCGPTPEER ioctl()s today. We've tackled a similar problem already in: > > > >

Re: [PATCH 2/2] platform/x86: dell-*: Add interface for switchable graphics status query

2018-03-08 Thread Kai Heng Feng
On Mar 8, 2018, at 3:34 PM, mario.limoncie...@dell.com wrote: -Original Message- From: Kai-Heng Feng [mailto:kai.heng.f...@canonical.com] Sent: Thursday, March 8, 2018 3:12 PM To: mj...@srcf.ucam.org; pali.ro...@gmail.com; dvh...@infradead.org; a...@infradead.org; Limonciello, Mario

[PATCH v5 15/19] tracing: probeevent: Add $argN for accessing function args

2018-03-08 Thread Masami Hiramatsu
Add $argN special fetch variable for accessing function arguments. This allows user to trace the Nth argument easily at the function entry. Note that this returns most probably assignment of registers and stacks. In some case, it may not work well. If you need to access correct registers or

[PATCH] scsi: Replace sdev_printk with printk_deferred to avoid

2018-03-08 Thread Wen Yang
When scsi disks went wrong frequently, and with serial console attached, tasks may be blocked in the following flow for more than 10s: [ 557.369580] <> [] blkcg_print_blkgs+0x76/0xf0 》 wait for blkg->q->queue_lock [ 557.369581] [] cfqg_print_rwstat_recursive+0x36/0x40 [ 557.369583]

[PATCH v5 16/19] tracing: probeevent: Add array type support

2018-03-08 Thread Masami Hiramatsu
Add array type support for probe events. This allows user to get arraied types from memory address. The array type syntax is TYPE[N] Where TYPE is one of types (u8/16/32/64,s8/16/32/64, x8/16/32/64, symbol, string) and N is a fixed value less than 64. The string array type is a bit

[PATCH v5 17/19] selftests: ftrace: Add a testcase for symbol type

2018-03-08 Thread Masami Hiramatsu
Add a testcase for symbol type with kprobe event. This tests good/bad syntax combinations and also the traced data. If the kernel doesn't support symbol type, it skips the test as UNSUPPORTED. Signed-off-by: Masami Hiramatsu --- Changes in v3: - Use IP/PC register to test

[PATCH] clk: mvebu: armada-38x: add support for missing clocks

2018-03-08 Thread Richard Genoud
Clearfog boards can come with a CPU clocked at 1600MHz (commercial) or 1333MHz (industrial). They have also some dip-switches to select a different clock (666, 800, 1066, 1200). The funny thing is that the recovery button is on the MPP34 fq selector. So, when booting an industrial board with

[tip:x86/platform] x86/devicetree: Initialize device tree before using it

2018-03-08 Thread tip-bot for Ivan Gorinov
Commit-ID: 628df9dc5ad886b0a9b33c75a7b09710eb859ca1 Gitweb: https://git.kernel.org/tip/628df9dc5ad886b0a9b33c75a7b09710eb859ca1 Author: Ivan Gorinov AuthorDate: Wed, 7 Mar 2018 11:46:29 -0800 Committer: Thomas Gleixner CommitDate: Thu, 8 Mar

Re: [PATCH V2 2/3] efi: Introduce efi_rts_workqueue and some infrastructure to invoke all efi_runtime_services()

2018-03-08 Thread Miguel Ojeda
On Thu, Mar 8, 2018 at 5:22 AM, Prakhya, Sai Praneeth wrote: >> > +struct workqueue_struct *efi_rts_wq; >> > + >> > static bool disable_runtime; >> > static int __init setup_noefi(char *arg) { @@ -329,6 +331,19 @@ >> > static int __init efisubsys_init(void) >> >

[RFC PATCH] scsi: ufs: Add specific callback for setting DMA mask

2018-03-08 Thread Alim Akhtar
Currently DMA mask for UFS HCI is set by reading CAP register's [64AS] bit. Some HCI controller like Exynos support 36-bit bus address. This works perfectly fine with DMA mask set as 64 in case there is no IOMMU attached to HCI. In case if HCI is behind an IOMMU, setting DMA mask as 64 bit won't

Re: [PATCH] clk: fix phase reported being zero

2018-03-08 Thread Jerome Brunet
On Thu, 2018-02-15 at 11:19 +0100, Jerome Brunet wrote: > While introducing clk_core_set_phase_nolock, assigning core->phase was > mistakenly removed. Fixing this now > > Fixes: 9e4d04adeb1a ("clk: add clk_core_set_phase_nolock function") > Signed-off-by: Jerome Brunet

[PATCH v6 13/17] ARM: dts: rockchip: add rx0 mipi-phy for rk3288

2018-03-08 Thread Jacob Chen
From: Jacob Chen It's a Designware MIPI D-PHY, used by ISP in rk3288. Signed-off-by: Jacob Chen --- arch/arm/boot/dts/rk3288.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi

Re: [PATCH v2] f2fs: add nowait aio support

2018-03-08 Thread Chao Yu
On 2018/3/8 15:21, Hyunchul Lee wrote: > From: Hyunchul Lee > > This patch adds nowait aio support[1]. > > Return EAGAIN if any of the following checks fail for direct I/O: > - i_rwsem is not lockable > - Blocks are not allocated at the write location > > And xfstests

[PATCH v6 15/17] arm64: dts: rockchip: add isp0 node for rk3399

2018-03-08 Thread Jacob Chen
From: Shunqian Zheng rk3399 have two ISP, but we havn't test isp1, so just add isp0 at present. Signed-off-by: Shunqian Zheng Signed-off-by: Jacob Chen --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 15

Re: [RFC PATCH] usb: hcd: complete URBs in threaded-IRQ context instead of tasklet

2018-03-08 Thread Sebastian Andrzej Siewior
On 2018-02-27 14:39:34 [-0300], Mauro Carvalho Chehab wrote: > Hi Sebastian, Hi Mauro, > Sorry for taking some time to test it, has been busy those days... :) > Anyway, I tested it today. Didn't work. It keep losing data. Okay, this was unexpected. What I learned from the thread is that you use

[PATCH 08/12] x86/efi: Replace efi_pgd with efi_mm.pgd

2018-03-08 Thread Ard Biesheuvel
From: Sai Praneeth Since the previous patch added support for efi_mm, let's handle efi_pgd through efi_mm and remove global variable efi_pgd. Signed-off-by: Sai Praneeth Prakhya Cc: "Lee, Chun-Yi" Cc: Borislav

[PATCH 09/12] x86/efi: Use efi_switch_mm() rather than manually twiddling with %cr3

2018-03-08 Thread Ard Biesheuvel
From: Sai Praneeth Use helper function (efi_switch_mm()) to switch to/from efi_mm. We switch to efi_mm before calling 1. efi_set_virtual_address_map() and 2. Invoking any efi_runtime_service() Likewise, we need to switch back to previous mm (mm context stolen by

[PATCH 07/12] efi: Use efi_mm in x86 as well as ARM

2018-03-08 Thread Ard Biesheuvel
From: Sai Praneeth Presently, only ARM uses mm_struct to manage efi page tables and efi runtime region mappings. As this is the preferred approach, let's make this data structure common across architectures. Specially, for x86, using this data structure improves

Re: [PATCH] acpi, nfit: remove redundant __func__ in dev_dbg

2018-03-08 Thread Johannes Thumshirn
On Tue, Mar 06, 2018 at 08:52:21AM -0800, Dan Williams wrote: > > Oh, Johannes I noticed that here is one stray one still in > > drivers/acpi/nfit/mce.c. Do you mind pulling it into your patch to keep the > > drivers/acpi/nfit/* changes together? > > I'll fix this locally. Sorry for the late

Re: [PATCH v1 2/9] PCI/PM: Clear PCIe PME Status bit in core, not PCIe port driver

2018-03-08 Thread Lukas Wunner
On Wed, Mar 07, 2018 at 12:13:34AM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > fe31e69740ed ("PCI/PCIe: Clear Root PME Status bits early during system > resume") added a .resume_noirq() callback to the PCIe port driver to clear > the PME Status bit during resume to

[PATCH 03/12] efi/arm*: Stop printing addresses of virtual mappings

2018-03-08 Thread Ard Biesheuvel
With the recent %p -> %px changes, we now get something like this in the kernel boot log on ARM/arm64 EFI systems: Remapping and enabling EFI services. EFI remap 0x0087fb83 => (ptrval) EFI remap 0x0087fbdb => (ptrval) EFI remap

[PATCH 06/12] x86: efi: Replace GFP_ATOMIC with GFP_KERNEL in efi_query_variable_store

2018-03-08 Thread Ard Biesheuvel
From: Jia-Ju Bai The function kzalloc here is not called in atomic context. If nonblocking in efi_query_variable_store is true, namely it is in atomic context, efi_query_variable_store will return before this kzalloc is called. Thus GFP_ATOMIC is not necessary, and it can

[PATCH] clk: uniphier: add Pro4/Pro5/PXs2 audio system clock

2018-03-08 Thread Katsuhiro Suzuki
Add clock for audio subsystem (AIO) on UniPhier Pro4/Pro5/PXs2 SoCs. Signed-off-by: Katsuhiro Suzuki --- drivers/clk/uniphier/clk-uniphier-sys.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/clk/uniphier/clk-uniphier-sys.c

Re: [PATCH v2 1/3] vsprintf: Remove accidental VLA usage

2018-03-08 Thread Rasmus Villemoes
On 2018-03-08 04:30, Kees Cook wrote: > In the quest to remove all stack VLAs from the kernel[1], this introduces > a new "simple max" macro, and changes the "sym" array size calculation to > use it. The value is actually a fixed size, but since the max() macro uses > some extensive tricks for

Re: [PATCHv3] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4

2018-03-08 Thread Kishon Vijay Abraham I
Hi Tony, On Wednesday 07 March 2018 08:26 PM, Tony Lindgren wrote: > Let's add support for the GPIO controlled USB PHY on the MDM6600 modem. > It is used on some Motorola Mapphone series of phones and tablets such > as Droid 4. > > The MDM6600 is hardwired to the first OHCI port in the Droid 4

Atheros 1525/QCA6174 BT issue

2018-03-08 Thread Takashi Iwai
Hi, we've got a but report about the broken Atheros BT on the recent kernels: http://bugzilla.opensuse.org/show_bug.cgi?id=1082504 In short, btusb can't load the patch ar3k/AthrBT_0x0200.dfu, and this could be worked around by the patch to move 0cf3:3004 blacklist entry to use

Re: [PATCH] clk: uniphier: add Pro4/Pro5/PXs2 audio system clock

2018-03-08 Thread Masahiro Yamada
2018-03-08 17:23 GMT+09:00 Katsuhiro Suzuki : > Add clock for audio subsystem (AIO) on UniPhier > Pro4/Pro5/PXs2 SoCs. > > Signed-off-by: Katsuhiro Suzuki > --- Acked-by: Masahiro Yamada >

[PATCH] staging: ccree: remove ccree staging copy

2018-03-08 Thread Gilad Ben-Yossef
Now when the ccree driver has been accepted into the cryptodev tree we can remove the staging tree copy. Please note that this commit may cause a merge conflict with the cryptodev tree since we needed to disable the staging copy in order to get the new copy to compile but the resolution is

[PATCH v5 01/19] [BUGFIX] tracing: probeevent: Fix to support minus offset from symbol

2018-03-08 Thread Masami Hiramatsu
In Documentation/trace/kprobetrace.txt, it says @SYM[+|-offs] : Fetch memory at SYM +|- offs (SYM should be a data symbol) However, the parser doesn't parse minus offset correctly, since commit 2fba0c8867af ("tracing/kprobes: Fix probe offset to be unsigned") drops minus ("-") offset support

[PATCH v5 02/19] selftests: ftrace: Add probe event argument syntax testcase

2018-03-08 Thread Masami Hiramatsu
Add a testcase for probe event argument syntax which ensures the kprobe_events interface correctly parses given event arguments. Signed-off-by: Masami Hiramatsu --- .../ftrace/test.d/kprobe/kprobe_args_syntax.tc | 97 1 file changed, 97

[PATCH v5 00/19] tracing: probeevent: Improve fetcharg features

2018-03-08 Thread Masami Hiramatsu
Hi, This is the 5th version of the fetch-arg improvement series. This includes variable changes on fetcharg framework like, - Add fetcharg testcases (syntax, argN, symbol, string and array) and probepoint testcase. - Rewrite fetcharg framework with fetch_insn, switch-case based instead of

[PATCH v2] rcu: exp: Protect all sync_rcu_preempt_exp_done() with rcu_node lock

2018-03-08 Thread Boqun Feng
Currently some callsites of sync_rcu_preempt_exp_done() are not called with the corresponding rcu_node's ->lock held, which could introduces bugs as per Paul: o CPU 0 in sync_rcu_preempt_exp_done() reads ->exp_tasks and sees that it is NULL. o CPU 1 blocks within an RCU

[PATCH v5 03/19] selftests: ftrace: Add a testcase for string type with kprobe_event

2018-03-08 Thread Masami Hiramatsu
Add a testcase for string type with kprobe event. This tests good/bad syntax combinations and also the traced data is correct in several way. Signed-off-by: Masami Hiramatsu --- .../ftrace/test.d/kprobe/kprobe_args_string.tc | 46 1 file changed,

Re: [PATCH v2 2/2] ASoC: Add bindings for PCM1789

2018-03-08 Thread Mylène Josserand
Hello Rob, Thank you for the review. On Wed, 7 Mar 2018 16:30:48 -0600 Rob Herring wrote: > On Mon, Mar 05, 2018 at 01:48:17PM +0100, Mylène Josserand wrote: > > Add a device-tree binding for Texas Instrument's PCM1789 codec. > > For the moment, only I2C bus is supported but

Re: [PATCH v1 1/1] USB: serial: Add boundry check for read_urbs array access

2018-03-08 Thread Oliver Neukum
Am Mittwoch, den 07.03.2018, 13:41 -0800 schrieb sathyanarayanan kuppuswamy : > > On 03/07/2018 12:58 PM, Greg KH wrote: > > So I don't see why your check is needed, what other code path would ever > > call this function in a way that the bounds check would be needed? > void

Re: [PATCH v1 2/9] PCI/PM: Clear PCIe PME Status bit in core, not PCIe port driver

2018-03-08 Thread Rafael J. Wysocki
On Thursday, March 8, 2018 9:03:31 AM CET Lukas Wunner wrote: > On Wed, Mar 07, 2018 at 12:13:34AM -0600, Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > > > fe31e69740ed ("PCI/PCIe: Clear Root PME Status bits early during system > > resume") added a .resume_noirq()

[tip:x86/pti] x86/microcode/intel: Writeback and invalidate caches before updating microcode

2018-03-08 Thread tip-bot for Ashok Raj
Commit-ID: 91df9fdf51492aec9fed6b4cbd33160886740f47 Gitweb: https://git.kernel.org/tip/91df9fdf51492aec9fed6b4cbd33160886740f47 Author: Ashok Raj AuthorDate: Wed, 28 Feb 2018 11:28:42 +0100 Committer: Thomas Gleixner CommitDate: Thu, 8 Mar 2018

[tip:x86/pti] x86/microcode/intel: Check microcode revision before updating sibling threads

2018-03-08 Thread tip-bot for Ashok Raj
Commit-ID: c182d2b7d0ca48e0d6ff16f7d883161238c447ed Gitweb: https://git.kernel.org/tip/c182d2b7d0ca48e0d6ff16f7d883161238c447ed Author: Ashok Raj AuthorDate: Wed, 28 Feb 2018 11:28:41 +0100 Committer: Thomas Gleixner CommitDate: Thu, 8 Mar 2018

[tip:x86/pti] x86/spectre_v2: Don't check microcode versions when running under hypervisors

2018-03-08 Thread tip-bot for Konrad Rzeszutek Wilk
Commit-ID: 36268223c1e9981d6cfc33aff8520b3bde4b8114 Gitweb: https://git.kernel.org/tip/36268223c1e9981d6cfc33aff8520b3bde4b8114 Author: Konrad Rzeszutek Wilk AuthorDate: Mon, 26 Feb 2018 09:35:01 -0500 Committer: Thomas Gleixner CommitDate:

  1   2   3   4   5   6   7   8   9   10   >