Re: [PATCH 0/5] Prepare devicetrees for the new FSL QSPI driver

2018-12-15 Thread Shawn Guo
On Sat, Dec 15, 2018 at 10:04:55AM +, Schrempf Frieder wrote: > I can confirm, that the series does only remove or add properties to the > devicetree, that are currently not used by the driver. Therefore it won't > break > anything. Okay, applied the series. Shawn

Re: [PATCH 3/3] arm64: dts: ls1046a: add qdma device tree nodes

2018-12-15 Thread Shawn Guo
On Fri, Dec 14, 2018 at 10:30:15AM +, Peng Ma wrote: > Hi shawnguo, > > I send this series patch to > http://patchwork.ozlabs.org/project/devicetree-bindings/list/ > But I did not find patchs on devicetree patchwork, could I send patchs again. You do not need to. I have sent the series for

Re: [PATCH] l2tp: Add protocol field decompression

2018-12-15 Thread David Miller
From: Sam Protsenko Date: Fri, 14 Dec 2018 19:59:21 +0200 > When Protocol Field Compression (PFC) is enabled, the "Protocol" field > in PPP packet will be received without leading 0x00. See section 6.5 in > RFC 1661 for details. So let's decompress protocol field if needed, the > same way it's do

Re: [PATCH] clk: vc5: Initialize src in vc5_mux_set_parent()

2018-12-15 Thread Laurent Pinchart
Hi Stephen, On Friday, 14 December 2018 23:49:59 EET Stephen Boyd wrote: > It seems that it may be possible to get to the regmap update call > without ever initializing this variable, so just set it to 0 to be safe. This can't happen as the probe() function would have failed first. I'd thus add

Re: [PATCH v6] gpu: ipu-csi: Swap fields according to input/output field types

2018-12-15 Thread kbuild test robot
/Steve-Longerbeam/gpu-ipu-csi-Swap-fields-according-to-input-output-field-types/20181215-135741 config: nds32-allmodconfig (attached as .config) compiler: nds32le-linux-gcc (GCC) 6.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [PATCH v3] staging: android: ion: Add implementation of dma_buf_vmap and dma_buf_vunmap

2018-12-15 Thread Alexey Skidanov
On 12/16/18 7:20 AM, Liam Mark wrote: > On Tue, 6 Feb 2018, Alexey Skidanov wrote: > >> >> >> On 02/07/2018 01:56 AM, Laura Abbott wrote: >>> On 01/31/2018 10:10 PM, Alexey Skidanov wrote: On 01/31/2018 03:00 PM, Greg KH wrote: > On Wed, Jan 31, 2018 at 02:03:42PM +0200, Alexey Sk

linux-next: Signed-off-by missing for commit in the block tree

2018-12-15 Thread Stephen Rothwell
Hi Jens, Commit 6f7ceaa0559b ("block: remove the bioset_integrity_free export") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgpdmXVC5B_nh.pgp Description: OpenPGP digital signature

linux-next: Signed-off-by missing for commit in the v4l-dvb-next tree

2018-12-15 Thread Stephen Rothwell
Hi Mauro, Commit 7ab9b77a9410 ("media: staging/intel-ipu3: Add dual pipe support") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgpfv6BZpmFw_.pgp Description: OpenPGP digital signature

linux-next: Signed-off-by missing for commit in the nfs-anna tree

2018-12-15 Thread Stephen Rothwell
Hi all, Commit 748d6fd8d297 ("NFS: nfs_compare_mount_options always compare auth flavors.") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgpe1D6STw0Ny.pgp Description: OpenPGP digital signature

Re: [linux-next] Request to add auxdisplay tree

2018-12-15 Thread Stephen Rothwell
Hi Miguel, On Fri, 14 Dec 2018 17:11:09 +0100 Miguel Ojeda wrote: > > Can you please add the auxdisplay tree into linux-next? > > https://github.com/ojeda/linux.git auxdisplay > > It is extremely low volume, but from time to time there is a patch. Added from Monday. Out of interest, will

Re: [PATCH v3] staging: android: ion: Add implementation of dma_buf_vmap and dma_buf_vunmap

2018-12-15 Thread Liam Mark
On Tue, 6 Feb 2018, Alexey Skidanov wrote: > > > On 02/07/2018 01:56 AM, Laura Abbott wrote: > > On 01/31/2018 10:10 PM, Alexey Skidanov wrote: > >> > >> On 01/31/2018 03:00 PM, Greg KH wrote: > >>> On Wed, Jan 31, 2018 at 02:03:42PM +0200, Alexey Skidanov wrote: > Any driver may access sha

Re: [PATCH v2] x86, kbuild: revert macrofying inline assembly code

2018-12-15 Thread Nadav Amit
> On Dec 15, 2018, at 6:50 PM, Masahiro Yamada > wrote: > > Revert the following 9 commits: > > [1] 5bdcd510c2ac ("x86/jump-labels: Macrofy inline assembly code to >work around GCC inlining bugs") > >This was partially reverted because it made good cleanups >irrespective of the inl

Re: [PATCH] fork,memcg: fix crash in free_thread_stack on memcg charge fail

2018-12-15 Thread Roman Gushchin
On Fri, Dec 14, 2018 at 11:17:26PM -0500, Rik van Riel wrote: > Changeset 9b6f7e163cd0 ("mm: rework memcg kernel stack accounting") > will result in fork failing if allocating a kernel stack for a task > in dup_task_struct exceeds the kernel memory allowance for that cgroup. > > Unfortunately, it

Re: [PATCH 5/7] riscv: dts: add initial support for the SiFive FU540-C000 SoC

2018-12-15 Thread kbuild test robot
Hi Paul, I love your patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v4.20-rc6 next-20181214] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/

[PATCH v2] x86, kbuild: revert macrofying inline assembly code

2018-12-15 Thread Masahiro Yamada
Revert the following 9 commits: [1] 5bdcd510c2ac ("x86/jump-labels: Macrofy inline assembly code to work around GCC inlining bugs") This was partially reverted because it made good cleanups irrespective of the inlining issue; the error message is still unneeded, and the conversion

Re: [PATCH] kbuild, x86: revert macros in extended asm workarounds

2018-12-15 Thread Nadav Amit
> On Dec 14, 2018, at 4:51 PM, Masahiro Yamada > wrote: > > Hi Peter, > > On Thu, Dec 13, 2018 at 7:53 PM Peter Zijlstra wrote: >> On Thu, Dec 13, 2018 at 06:17:41PM +0900, Masahiro Yamada wrote: >>> Revert the following commits: >>> >>> - 5bdcd510c2ac9efaf55c4cbd8d46421d8e2320cd >>> ("x86/j

Re: Fixing MIPS delay slot emulation weakness?

2018-12-15 Thread Rich Felker
On Sun, Dec 16, 2018 at 02:15:38AM +, Maciej W. Rozycki wrote: > On Sat, 15 Dec 2018, Rich Felker wrote: > > > > A possibly nicer way to accomplish more or less the same thing would > > > be to allocate the area with _install_special_mapping() and arrange to > > > keep a reference to the struc

[PATCH] uapi: linux/fs.h: update comment about reserved ioctl numbers

2018-12-15 Thread Dmitry V. Levin
As commit 72cd87576d1d8 ("block: Introduce BLKGETZONESZ ioctl") and commit 65e4e3eee83d7 ("block: Introduce BLKGETNRZONES ioctl") added two more ioctls of type 0x12, update the comment about ioctl numbers reserved for zoned block devices. Signed-off-by: Dmitry V. Levin --- include/uapi/linux/fs.

Re: Fixing MIPS delay slot emulation weakness?

2018-12-15 Thread Maciej W. Rozycki
On Sat, 15 Dec 2018, Rich Felker wrote: > > A possibly nicer way to accomplish more or less the same thing would > > be to allocate the area with _install_special_mapping() and arrange to > > keep a reference to the struct page around. > > > > The really nice but less compatible fix would be to l

Re: general protection fault in kvm_arch_vcpu_ioctl_run

2018-12-15 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:6531e115b7ab Merge branch 'akpm' (patches from Andrew) git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15d99b2b40 kernel config: https://syzkaller.appspot.com/x/.config?x=c8970c89a0ef

[PATCH] uapi: linux/blkzoned.h: fix BLKGETZONESZ and BLKGETNRZONES definitions

2018-12-15 Thread Dmitry V. Levin
According to the documentation in include/uapi/asm-generic/ioctl.h, _IOW means userspace is writing and kernel is reading, and _IOR means userspace is reading and kernel is writing. In case of these two ioctls, kernel is writing and userspace is reading, so they have to be _IOR instead of _IOW. F

[PATCH v2 2/2] trace nvme submit queue status

2018-12-15 Thread yupeng
export nvme disk name, queue id, sq_head, sq_tail to trace event usage example: go to the event directory: cd /sys/kernel/debug/tracing/events/nvme/nvme_sq filter by disk name: echo 'disk=="nvme1n1"' > filter enable the event: echo 1 > enable check results from trace_pipe: cat /sys/kernel/debug/tra

[PATCH v2 1/2] share nvme trace event helper functions with multiple nvme modules

2018-12-15 Thread yupeng
The trace.c could only be used by core.c, move it to a header file and then other nvme modules could also use it. This commit creates a new header file trace_common.h, which has all the functions of trace.c. It changes all functions to static functions, so any other modules could include it without

Re: [RFC PATCH 1/5] iommu: Add APIs for IOMMU PASID management

2018-12-15 Thread Lu Baolu
Hi, On 12/16/18 6:38 AM, Liu, Yi L wrote: From: Lu Baolu [mailto:baolu...@linux.intel.com] Sent: Sunday, November 11, 2018 10:45 PM Subject: [RFC PATCH 1/5] iommu: Add APIs for IOMMU PASID management This adds APIs for IOMMU drivers and device drivers to manage the PASIDs used for DMA transfer

Re: [PATCH] pinctrl: aspeed: Wrap -Woverride-init with cc-option

2018-12-15 Thread Linus Walleij
On Tue, Dec 11, 2018 at 1:05 AM Nathan Chancellor wrote: > Clang does not support this option: > > warning: unknown warning option '-Woverride-init'; did you mean > '-Woverride-module'? [-Wunknown-warning-option] > 1 warning generated. > > Signed-off-by: Nathan Chancellor Patch applied with the

Re: [PATCH] gpio: raspberrypi-exp: decrease refcount on firmware dt node

2018-12-15 Thread Linus Walleij
On Mon, Dec 10, 2018 at 5:50 PM Nicolas Saenz Julienne wrote: > We're getting a reference RPi's firmware node in order to be able to > communicate with it's driver. We should decrease the reference count on > the dt node after being done with it. > > Fixes: a98d90e7d588 ("gpio: raspberrypi-exp: D

Re: [PATCH v5 4/8] pinctrl: lochnagar: Add initial binding documentation

2018-12-15 Thread Linus Walleij
On Tue, Nov 20, 2018 at 3:16 PM Charles Keepax wrote: > Lochnagar is an evaluation and development board for Cirrus > Logic Smart CODEC and Amp devices. It allows the connection of > most Cirrus Logic devices on mini-cards, as well as allowing > connection of various application processor systems

Re: [PATCH] gpio: max7301: fix driver for use with CONFIG_VMAP_STACK

2018-12-15 Thread Linus Walleij
On Fri, Dec 7, 2018 at 2:07 PM Christophe Leroy wrote: > spi_read() and spi_write() require DMA-safe memory. When > CONFIG_VMAP_STACK is selected, those functions cannot be used > with buffers on stack. > > This patch replaces calls to spi_read() and spi_write() by > spi_write_then_read() which d

Re: Problem with late AMD microcode reload/feedback

2018-12-15 Thread Borislav Petkov
On Sun, Dec 16, 2018 at 12:46:05AM +0100, Rafał Miłecki wrote: > I'm trying to reload AMD Ryzen Mobile (fam17h) microcode doing: > echo 1 > /sys/devices/system/cpu/microcode/reload Also, I'd advise against using the late loading method but put the microcode in the initrd (which your distro should

Re: Problem with late AMD microcode reload/feedback

2018-12-15 Thread Borislav Petkov
On Sun, Dec 16, 2018 at 12:46:05AM +0100, Rafał Miłecki wrote: > [19.736770] microcode: [find_equiv_id] sig:8458000 That's your CPU's family/model/stepping: 0x0810f10 > [19.736772] microcode: [find_equiv_id] equiv_table->installed_cpu:8392466 > [19.736775] microcode: [find_equiv_id] equiv_table->

Problem with late AMD microcode reload/feedback

2018-12-15 Thread Rafał Miłecki
Hi, I'm trying to reload AMD Ryzen Mobile (fam17h) microcode doing: echo 1 > /sys/devices/system/cpu/microcode/reload The problem is I don't get any feedback. No error for the "echo" command, no a single new line in the "dmesg". I have no idea if microcode has been reloaded or not. I did a quick

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-12-15 Thread Dr. Greg
On Fri, Dec 14, 2018 at 04:06:27PM -0800, Sean Christopherson wrote: Good afternoon, I hope the weekend is going well for everyone. > On Fri, Dec 14, 2018 at 05:59:17PM -0600, Dr. Greg wrote: > > On Wed, Dec 12, 2018 at 08:00:36PM +0200, Jarkko Sakkinen wrote: > > > > Good evening, I hope the we

[PATCH] mailbox: imx: Fix clk handling in imx_mu_probe()

2018-12-15 Thread Alexey Khoroshilov
Handling of devm_clk_get() suggests that the driver should support lack of priv->clk. But imx_mu_probe() fails on clk_prepare_enable(NULL) in that case. The patch removes the try to enable absent clk and adds error handling for mbox_controller_register(). Found by Linux Driver Verification projec

Re: Fixing MIPS delay slot emulation weakness?

2018-12-15 Thread Rich Felker
On Sat, Dec 15, 2018 at 11:19:37AM -0800, Andy Lutomirski wrote: > Hi all- > > Some security researchers pointed out that writing to the delay slot > emulation page is a great exploit technique on MIPS. It was > introduced in: > > commit 432c6bacbd0c16ec210c43da411ccc3855c4c010 > Author: Paul Bu

RE: [RFC PATCH 1/5] iommu: Add APIs for IOMMU PASID management

2018-12-15 Thread Liu, Yi L
> From: Lu Baolu [mailto:baolu...@linux.intel.com] > Sent: Sunday, November 11, 2018 10:45 PM > Subject: [RFC PATCH 1/5] iommu: Add APIs for IOMMU PASID management > > This adds APIs for IOMMU drivers and device drivers to manage the PASIDs used > for > DMA transfer and translation. It bases on I

Re: [PATCH] sched/debug: Add tracepoint for RT throttling

2018-12-15 Thread kbuild test robot
Hi Benjamin, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.20-rc6 next-20181214] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linu

Re: [PATCH v3 7/9] arm64: defconfig: Enable FSL_MC_BUS and FSL_MC_DPIO

2018-12-15 Thread Stefan Wahren
Hi, > Olof Johansson hat am 13. Dezember 2018 um 07:48 geschrieben: > > > On Fri, Nov 09, 2018 at 06:05:24AM +, Horia Geanta wrote: > > On 11/9/2018 3:11 AM, Marc Gonzalez wrote: > > > Commit e8342cc7954e ("enable CAAM crypto engine on QorIQ DPAA2 SoCs") > > > enabled CRYPTO_DEV_FSL_DPAA2_C

Re: Fixing MIPS delay slot emulation weakness?

2018-12-15 Thread Paul Burton
Hi Andy, On Sat, Dec 15, 2018 at 11:19:37AM -0800, Andy Lutomirski wrote: > Some security researchers pointed out that writing to the delay slot > emulation page is a great exploit technique on MIPS. It was > introduced in: > > commit 432c6bacbd0c16ec210c43da411ccc3855c4c010 > Author: Paul Burto

[PATCH] ARM: Ensure that NEON code always compiles with Clang

2018-12-15 Thread Nathan Chancellor
While building arm32 allyesconfig, I ran into the following errors: arch/arm/lib/xor-neon.c:17:2: error: You should compile this file with '-mfloat-abi=softfp -mfpu=neon' In file included from lib/raid6/neon1.c:27: /home/nathan/cbl/prebuilt/lib/clang/8.0.0/include/arm_neon.h:28:2: error

Re: [PATCH net-next v3 0/4] net: mitigate retpoline overhead

2018-12-15 Thread David Miller
From: Paolo Abeni Date: Fri, 14 Dec 2018 11:51:56 +0100 > The spectre v2 counter-measures, aka retpolines, are a source of measurable > overhead[1]. We can partially address that when the function pointer refers to > a builtin symbol resorting to a list of tests vs well-known builtin function >

Re: [PATCH v2] net: macb: restart tx after tx used bit read

2018-12-15 Thread David Miller
From: Date: Fri, 14 Dec 2018 10:40:47 + > From: Claudiu Beznea > > On some platforms (currently detected only on SAMA5D4) TX might stuck > even the pachets are still present in DMA memories and TX start was > issued for them. This happens due to race condition between MACB driver > updating

[PATCH 1/1] efi: efi_guid_t must be 64-bit aligned

2018-12-15 Thread Heinrich Schuchardt
The UEFI Specification Version 2.7 Errata A defines: "EFI_GUID 128-bit buffer containing a unique identifier value. Unless otherwise specified, aligned on a 64-bit boundary." Before this patch efi_guid_t was 8-bit aligned. Signed-off-by: Heinrich Schuchardt --- include/linux/efi.h | 2 +- 1 fi

Re: [PATCH net-next 3/3] vhost: access vq metadata through kernel virtual address

2018-12-15 Thread David Miller
From: Jason Wang Date: Fri, 14 Dec 2018 11:57:35 +0800 > This is the price of all GUP users not only vhost itself. What's more > important, the goal is not to be left too much behind for other > backends like DPDK or AF_XDP (all of which are using GUP). +1

Re: [PATCH] dt-bindings: net: ravb: Add support for r8a774c0 SoC

2018-12-15 Thread David Miller
From: Fabrizio Castro Date: Thu, 13 Dec 2018 20:18:34 + > Document RZ/G2E (R8A774C0) SoC bindings. > > Signed-off-by: Fabrizio Castro Applied to net-next.

Time zones

2018-12-15 Thread Raymond Jennings
Is it possible to tell the kernel what time zone the RTC is in? Right now it appears to assume that it's always in UTC, and this causes a few headaches during the boot process. As it is I tried to file a bug to have openrc activate hwclock earlier, but it was rejected.

Re: [PATCH v8 20/22] tracing: Use hist trigger's var_ref array to destroy var_refs

2018-12-15 Thread Tom Zanussi
Hi Namhyung, On Sat, 2018-12-15 at 15:50 +0900, Namhyung Kim wrote: > Hi Tom and Masami, > > On Sat, Dec 15, 2018 at 2:29 AM Tom Zanussi > wrote: > > > > Hi Masami, > > > > On Sat, 2018-12-15 at 01:31 +0900, Masami Hiramatsu wrote: > > > On Mon, 10 Dec 2018 18:01:34 -0600 > > > Tom Zanussi wr

Re: [PATCH v2 6/8] socket: Add SO_TIMESTAMP[NS]_NEW

2018-12-15 Thread Deepa Dinamani
> > Also for the other comment. The reason the conditionals were not > > consistent is because they were not consistent to begin with. > > The only difference I see is an inversion of the test. Nesting order > is the same: > > int need_software_tstamp = sock_flag(sk, SOCK_RCVTSTAMP); >

<<>>

2018-12-15 Thread Peter Owen(Mr.)
Greetings!! Apologies should my message be a disturbance to you.My Name is Peter Owen a fund/Investment Manager with a high profile investment company.A huge Sum of funds has been diverted, representing 1.2% of Excess Magellan Capital Funds from the Investor Capital Project Funds. I am contactin

[PATCH] crypto: x86/chacha - avoid sleeping under kernel_fpu_begin()

2018-12-15 Thread Eric Biggers
From: Eric Biggers Passing atomic=true to skcipher_walk_virt() only makes the later skcipher_walk_done() calls use atomic memory allocations, not skcipher_walk_virt() itself. Thus, we have to move it outside of the preemption-disabled region (kernel_fpu_begin()/kernel_fpu_end()). (skcipher_walk

Re: [PATCH] ubifs: Get/put page when changing PG_private

2018-12-15 Thread zhangjun
On 2018/12/15 下午11:01, Richard Weinberger wrote: The page migration code assumes that a page with PG_private set has its page count elevated by 1. UBIFS never did this and therefore the migration code was unable to migrate some pages owned by UBIFS. The lead to situations where the CMA memory all

Re: [Lkcamp][PATCH] media: vimc: Add vimc-streamer for stream control

2018-12-15 Thread Helen Koike
Hi Lucas, Thank you for your patch, just some small comments below. On 12/15/18 2:46 PM, Lucas A. M. Magalhães wrote: > The previous code pipeline used the stack to walk on the graph and > process a frame. Basically the vimc-sensor entity starts a thread that > generates the frames and calls the

Re: [PATCH net v2] net: ipv4: do not handle duplicate fragments as overlapping

2018-12-15 Thread David Miller
From: Michal Kubecek Date: Thu, 13 Dec 2018 17:23:32 +0100 (CET) > Since commit 7969e5c40dfd ("ip: discard IPv4 datagrams with overlapping > segments.") IPv4 reassembly code drops the whole queue whenever an > overlapping fragment is received. However, the test is written in a way > which detects

Re: [PATCH 4.19 001/142] ipv4: ipv6: netfilter: Adjust the frag mem limit when truesize changes

2018-12-15 Thread jwiesner
On 2018-12-14 12:58, Greg Kroah-Hartman wrote: 4.19-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Wiesner [ Upstream commit ebaf39e6032faf77218220707fc3fa22487784e0 ] The patch under review should to be applied to 4.19-stable.

Re: [PATCH 4.14 01/89] ipv4: ipv6: netfilter: Adjust the frag mem limit when truesize changes

2018-12-15 Thread jwiesner
On 2018-12-14 12:59, Greg Kroah-Hartman wrote: 4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Wiesner [ Upstream commit ebaf39e6032faf77218220707fc3fa22487784e0 ] I am sorry for forgetting to mention (and to include a tag) that th

Re: [PATCH] vhost: return EINVAL if iovecs size does not match the message size

2018-12-15 Thread David Miller
From: Pavel Tikhomirov Date: Thu, 13 Dec 2018 17:53:50 +0300 > We've failed to copy and process vhost_iotlb_msg so let userspace at > least know about it. For instance before these patch the code below runs > without any error: ... > Signed-off-by: Pavel Tikhomirov Michael, will you be taking

Re: [PATCH net-next 0/3] vhost: accelerate metadata access through vmap()

2018-12-15 Thread David Miller
From: Jason Wang Date: Fri, 14 Dec 2018 12:29:54 +0800 > > On 2018/12/14 上午4:12, Michael S. Tsirkin wrote: >> On Thu, Dec 13, 2018 at 06:10:19PM +0800, Jason Wang wrote: >>> Hi: >>> >>> This series tries to access virtqueue metadata through kernel virtual >>> address instead of copy_user() frien

Re: [PATCH] power: supply: isp1704: switch to gpiod API

2018-12-15 Thread Pavel Machek
On Thu 2018-12-13 02:38:58, Sebastian Reichel wrote: > This migrates isp1704 driver from old GPIO API to new descriptor > based GPIO API and drops useless platform data as a side-effect. > > Migration is simple, since all mainline users are DT based and > DT API does not change. Out of tree users

Re: WARNING in ovl_instantiate

2018-12-15 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:d14b746c6c1c Add linux-next specific files for 20181214 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=143f9a1540 kernel config: https://syzkaller.appspot.com/x/.config?x=1da6d2d18

Re: [PATCH 1/1] net-next/hinic:optmize rx refill buffer mechanism

2018-12-15 Thread David Miller
From: Xue Chaojing Date: Sun, 9 Dec 2018 19:14:19 + > There is no need to schedule a different tasklet for refill, > This patch remove it. > > Suggested-by: Neil Horman > Signed-off-by: Xue Chaojing I completely agree with Neil's analysis. You should never receive a packet if refilling t

Re: [PATCH net-next] tcp: minor optimization for calculating packets_out in tcp connect

2018-12-15 Thread David Miller
From: Eric Dumazet Date: Sat, 15 Dec 2018 04:59:00 -0800 > > > On 12/15/2018 01:33 AM, Yafang Shao wrote: >> When we building a syn packet, the tcp_skb_pcount(skb) is always 1, >> which is set in tcp_init_nondata_skb(). >> Regarding the syn_data, it is set through >> memcpy(syn_data->cb, syn->c

Re: [PATCH 22/52] Create a list of free memory ranges

2018-12-15 Thread kbuild test robot
Hi Vivek, I love your patch! Yet something to improve: [auto build test ERROR on fuse/for-next] [also build test ERROR on v4.20-rc6] [cannot apply to next-20181214] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0da

Re: [PATCH] ipconfig: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-15 Thread David Miller
From: Yangtao Li Date: Sat, 15 Dec 2018 02:19:53 -0500 > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li Applied.

Re: [PATCH] cxgb4: remove DEFINE_SIMPLE_DEBUGFS_FILE()

2018-12-15 Thread David Miller
From: Yangtao Li Date: Sat, 15 Dec 2018 02:59:30 -0500 > We already have the DEFINE_SHOW_ATTRIBUTE. There is no need to define > such a macro, so remove DEFINE_SIMPLE_DEBUGFS_FILE. Also use the > DEFINE_SHOW_ATTRIBUTE macro to simplify some code. > > Signed-off-by: Yangtao Li Applied.

Fixing MIPS delay slot emulation weakness?

2018-12-15 Thread Andy Lutomirski
Hi all- Some security researchers pointed out that writing to the delay slot emulation page is a great exploit technique on MIPS. It was introduced in: commit 432c6bacbd0c16ec210c43da411ccc3855c4c010 Author: Paul Burton Date: Fri Jul 8 11:06:19 2016 +0100 MIPS: Use per-mm page to execute

Re: [PATCH v2 3/3] fat: New inline functions to determine the FAT variant (32, 16 or 12)

2018-12-15 Thread OGAWA Hirofumi
Carmeli Tamir writes: > This patch introduces 3 new inline functions - IS_FAT12, IS_FAT16 and > IS_FAT32, and replaces every occurrence in the code in which the FS > variant (whether this is FAT12, FAT16 or FAT32) was previously checked > using msdos_sb_info->fat_bits. Could you use lower case

Re: [PATCH v2 2/3] fat: Moved MAX_FAT to fat.h and changed it to inline function

2018-12-15 Thread OGAWA Hirofumi
Carmeli Tamir writes: > MAX_FAT is useless in msdos_fs.h, since it uses the MSDOS_SB function > that is defined in fat.h. So really, this macro can be only called > from code that already includes fat.h. > > Hence, this patch moves it to fat.h, right after MSDOS_SB is defined. > I also changed it

Re: [Lkcamp][PATCH] media: vimc: Add vimc-streamer for stream control

2018-12-15 Thread Mauro Carvalho Chehab
Em Sat, 15 Dec 2018 16:38:41 -0200 Helen Koike escreveu: > Hi Mauro, > > On 12/15/18 4:01 PM, Mauro Carvalho Chehab wrote: > > Hi Lucas, > > > > > > Em Sat, 15 Dec 2018 14:46:31 -0200 > > Lucas A. M. Magalhães escreveu: > > > >> The previous code pipeline used the stack to walk on the grap

Re: [RFC PATCH 4/4] x86/TSC: Use RDTSCP

2018-12-15 Thread Andy Lutomirski
On Fri, Dec 14, 2018 at 5:39 AM David Laight wrote: > > From: Borislav Petkov > > Sent: 12 December 2018 18:45 > ... > > > The property I want for RDTSC ordering is much weaker: I want it to be > > > ordered like a load. Imagine that, instead of an on-chip TSC, the TSC > > > is literally a locat

Re: [PATCH v2 1/4] vmalloc: New flags for safe vfree on special perms

2018-12-15 Thread Andy Lutomirski
On Wed, Dec 12, 2018 at 2:01 PM Edgecombe, Rick P wrote: > > On Wed, 2018-12-12 at 11:57 -0800, Andy Lutomirski wrote: > > On Wed, Dec 12, 2018 at 11:50 AM Edgecombe, Rick P > > wrote: > > > > > > On Tue, 2018-12-11 at 18:20 -0800, Andy Lutomirski wrote: > > > > On Tue, Dec 11, 2018 at 4:12 PM Ri

Re: [PATCH v2 6/8] socket: Add SO_TIMESTAMP[NS]_NEW

2018-12-15 Thread Willem de Bruijn
> 3 reasons for not doing this: > > 1. We do not want to break userspace. If we move this to > linux/socket.h all the userspace programs now have to include > linux/socket.h or get this definition through a new libc. > 2. All the socket options are together in the file asm/socket.h. It > doesn't se

Re: BUG: sleeping function called from invalid context at mm/slab.h:LINE (4)

2018-12-15 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:d14b746c6c1c Add linux-next specific files for 20181214 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=129bc94340 kernel config: https://syzkaller.appspot.com/x/.config?x=1da6d2d18

Re: [Lkcamp][PATCH] media: vimc: Add vimc-streamer for stream control

2018-12-15 Thread Helen Koike
Hi Mauro, On 12/15/18 4:01 PM, Mauro Carvalho Chehab wrote: > Hi Lucas, > > > Em Sat, 15 Dec 2018 14:46:31 -0200 > Lucas A. M. Magalhães escreveu: > >> The previous code pipeline used the stack to walk on the graph and >> process a frame. Basically the vimc-sensor entity starts a thread that >

Re: [PATCH v2 3/3] spi: meson-axg: add a linear clock divider support

2018-12-15 Thread kbuild test robot
Hi Sunny, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on spi/for-next] [also build test WARNING on v4.20-rc6 next-20181214] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/

Re: [PATCH] Allow hwrng to initialize crng.

2018-12-15 Thread Michael Niewöhner
On Sat, 2018-12-15 at 18:11 +0100, Michael Niewöhner wrote: > On Thu, 2018-12-13 at 12:50 +0800, Louis Collard wrote: > > On Sun, Nov 18, 2018 at 4:15 AM Michael Niewöhner > > wrote: > > > > > > Hi Louis, > > > > > > On Wed, 2018-09-26 at 11:24 +0800, Louis Collard wrote: > > > > Some systems, f

Re: [Lkcamp][PATCH] media: vimc: Add vimc-streamer for stream control

2018-12-15 Thread Mauro Carvalho Chehab
Hi Lucas, Em Sat, 15 Dec 2018 14:46:31 -0200 Lucas A. M. Magalhães escreveu: > The previous code pipeline used the stack to walk on the graph and > process a frame. Basically the vimc-sensor entity starts a thread that > generates the frames and calls the propagate_process function to send > th

Re: MAINTAINERS: Update my email address

2018-12-15 Thread Boris Brezillon
On Mon, 2018-12-03 at 10:23:15 UTC, Boris Brezillon wrote: > Use my korg address instead of the bootlin one. > > Signed-off-by: Boris Brezillon Applied to http://git.infradead.org/linux-mtd.git mtd/next. Boris

Re: [15/15] dma-mapping: bypass indirect calls for dma-direct

2018-12-15 Thread Guenter Roeck
Hi, On Fri, Dec 07, 2018 at 11:07:20AM -0800, Christoph Hellwig wrote: > Avoid expensive indirect calls in the fast path DMA mapping > operations by directly calling the dma_direct_* ops if we are using > the directly mapped DMA operations. > This patch results in arm64 boot failures. Reverting

Re: [PATCH 2/2] checkpatch: add Co-developed-by to signature tags

2018-12-15 Thread Joe Perches
On Fri, 2018-12-14 at 12:16 -0800, Andrew Morton wrote: > On Fri, 14 Dec 2018 18:35:28 +0100 Jorge Ramirez-Ortiz > wrote: > > > As per Documentation/process/submitting-patches, Co-developed-by is a > > valid signature. > > > > I'm with Joe - I find this tag kinda useless and duplicative. But

Attention Please !!!

2018-12-15 Thread MR RECHARD THOMAS
-- Greetings Please forgive me for stressing you with my predicaments as I know that this letter may come to you as big surprise. Actually, I came across your E-mail from my personal search afterward I decided to email you directly believing that you will be honest to fulfill my final wish before

Re: [PATCH 3/3] arm64: tegra: p2972: Enable the CPU, GPU and AUX thermal zones

2018-12-15 Thread Eduardo Valentin
On Fri, Nov 23, 2018 at 01:18:39PM +0100, Thierry Reding wrote: > From: Thierry Reding > > Enable these thermal zones to be able to monitor their temperatures and > control the fan to cool down the system if necessary. > > Signed-off-by: Thierry Reding Acked-by: Eduardo Valentin As mentioned

Re: [PATCH 2/3] arm64: tegra: Add thermal zones on Tegra194

2018-12-15 Thread Eduardo Valentin
On Fri, Nov 23, 2018 at 01:18:38PM +0100, Thierry Reding wrote: > From: Thierry Reding > > The NVIDIA Tegra194 SoC defines six thermal zones. Define all of them in > device tree. > > Signed-off-by: Thierry Reding Acked-by: Eduardo Valentin The patch 1 I added in my -linus branch. > --- > a

Re: [PATCH 4.19 000/142] 4.19.10-stable review

2018-12-15 Thread Greg Kroah-Hartman
On Sat, Dec 15, 2018 at 11:01:02AM -0600, Dan Rue wrote: > On Fri, Dec 14, 2018 at 12:58:05PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.10 release. > > There are 142 patches in this series, all will be posted as a response > > to this one. If an

Re: [PATCH] Allow hwrng to initialize crng.

2018-12-15 Thread Michael Niewöhner
On Thu, 2018-12-13 at 12:50 +0800, Louis Collard wrote: > On Sun, Nov 18, 2018 at 4:15 AM Michael Niewöhner > wrote: > > > > Hi Louis, > > > > On Wed, 2018-09-26 at 11:24 +0800, Louis Collard wrote: > > > Some systems, for example embedded systems, do not generate > > > enough entropy on boot th

Re: [PATCH 4.19 000/142] 4.19.10-stable review

2018-12-15 Thread Dan Rue
On Fri, Dec 14, 2018 at 12:58:05PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.10 release. > There are 142 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Re: [PATCH 4.14 00/89] 4.14.89-stable review

2018-12-15 Thread Dan Rue
On Fri, Dec 14, 2018 at 12:59:13PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.89 release. > There are 89 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: [PATCH 1/9] staging: rtl8188eu: cleanup declarations in rtw_mlme_ext.c

2018-12-15 Thread Joe Perches
On Sat, 2018-12-15 at 17:46 +0100, Michael Straube wrote: > Replace tabs with spaces and/or remove spaces in declarations. > Remove unused/commented declarations, remove unnecessary comment, > remove blank lines between declarations and add missing lines after > declarations. Also clears some line

Re: [PATCH v2 6/8] socket: Add SO_TIMESTAMP[NS]_NEW

2018-12-15 Thread Deepa Dinamani
On Sat, Dec 15, 2018 at 7:12 AM Willem de Bruijn wrote: > > On Fri, Dec 14, 2018 at 8:07 PM Deepa Dinamani wrote: > > > > > > diff --git a/arch/alpha/include/uapi/asm/socket.h > > > > b/arch/alpha/include/uapi/asm/socket.h > > > > index 00e45c80e574..352e3dc0b3d9 100644 > > > > --- a/arch/alpha/

Re: [PATCH 4.9 00/51] 4.9.146-stable review

2018-12-15 Thread Dan Rue
On Fri, Dec 14, 2018 at 01:00:02PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.146 release. > There are 51 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

[PATCH 2/9] staging: rtl8188eu: remove unnecessary parentheses in rtw_mlme_ext.c

2018-12-15 Thread Michael Straube
Remove unnecessary parentheses reported by checkpatch. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 324 +- 1 file changed, 162 insertions(+), 162 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c b/drivers/staging/rtl

[PATCH 4/9] staging: rtl8188eu: convert unsigned char arrays to u8

2018-12-15 Thread Michael Straube
Covert unsigned char arrays to u8 and make them static and/or const where possible. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 18 ++--- .../staging/rtl8188eu/core/rtw_wlan_util.c| 26 +-- drivers/staging/rtl8188eu/include/rtw_m

[PATCH 6/9] staging: rtl8188eu: simplify null array initializations

2018-12-15 Thread Michael Straube
Simplfy initialization of null arrays to improve readability and save some lines. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 4 ++-- drivers/staging/rtl8188eu/core/rtw_xmit.c | 6 ++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/dr

[PATCH 5/9] staging: rtl8188eu: constify arrays in rtw_wlan_util.c

2018-12-15 Thread Michael Straube
The values of these arrays are never changed, so make them const. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_wlan_util.c b/drivers/staging/rtl8188e

[Lkcamp][PATCH] media: vimc: Add vimc-streamer for stream control

2018-12-15 Thread Lucas A . M . Magalhães
The previous code pipeline used the stack to walk on the graph and process a frame. Basically the vimc-sensor entity starts a thread that generates the frames and calls the propagate_process function to send this frame to each entity linked with a sink pad. The propagate_process will call the proce

[PATCH 1/9] staging: rtl8188eu: cleanup declarations in rtw_mlme_ext.c

2018-12-15 Thread Michael Straube
Replace tabs with spaces and/or remove spaces in declarations. Remove unused/commented declarations, remove unnecessary comment, remove blank lines between declarations and add missing lines after declarations. Also clears some line over 80 characters checkpatch warnings. Signed-off-by: Michael St

[PATCH 3/9] staging: rtl8188eu: remove unused arrays WFD_OUI and WMM_INFO_OUI

2018-12-15 Thread Michael Straube
The arrays WFD_OUI and WMM_INFO_OUI are not used anywhere, so remove them. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c| 2 -- drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/

[PATCH 7/9] staging: rtl8188eu: change return type of is_basicrate() to bool

2018-12-15 Thread Michael Straube
The function is_basicrate() returns true or false, so change the return type from int to bool. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_wlan_util.c b/d

[PATCH 8/9] staging: rtl8188eu: add spaces aroubd '&' in rtw_mlme_ext.c

2018-12-15 Thread Michael Straube
Add spaces around '&' to follow kernel coding style. Reported by ceckpatch. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 92 ++- 1 file changed, 47 insertions(+), 45 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c b/

[PATCH 9/9] staging: rtl8188eu: cleanup brace coding style issues

2018-12-15 Thread Michael Straube
Cleanup brace coding style issues reported by checkpatch. ERROR: space required before the open brace '{' WARNING: braces {} are not necessary for single statement blocks CHECK: Unbalanced braces around else statement Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_cmd.c

Re: [PATCH 4.4 00/88] 4.4.168-stable review

2018-12-15 Thread Dan Rue
On Fri, Dec 14, 2018 at 12:59:34PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.168 release. > There are 88 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: dt-bindings: watchdog: update bindings for MT7629 SoC

2018-12-15 Thread Guenter Roeck
On Wed, Nov 07, 2018 at 03:10:36PM +0800, Ryder Lee wrote: > This updates dt-binding documentation for MT7629 SoC > > Signed-off-by: Ryder Lee Reviewed-by: Guenter Roeck > --- > Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Do

  1   2   3   >