Re: [PATCH v2 03/12] PCI: aardvark: Add PHY support

2018-12-13 Thread Marek Behun
Hi Miquel, are there already patches for the A37xx comphy driver? On Wed, 12 Dec 2018 11:21:33 +0100 Miquel Raynal wrote: > The IP needs its PHY to be properly configured to work. While the PHY > is usually already configured by the bootloader, we will need this > feature when adding S2RAM

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

2018-12-13 Thread Shawn Guo
On Thu, Dec 13, 2018 at 09:45:04AM +, Schrempf Frieder wrote: > + Shawn, Sascha > > On 10.12.18 17:31, Schrempf Frieder wrote: > > Hi FSL/ARM maintainers, > > > > On 10.12.18 17:26, Schrempf Frieder wrote: > >> From: Frieder Schrempf > >> > >> We have prepared a new driver for the FSL QSPI

Re: [PATCH] usb: gadget: musb: fix short isoc packets with inventra dma for pandaboard es

2018-12-13 Thread Paul Elder
On Tue, Oct 09, 2018 at 02:32:20AM -0400, Paul Elder wrote: > Handling short packets (length < max packet size) in the Inventra DMA > engine in the MUSB driver causes the MUSB DMA controller to hang. An > example of a problem that is caused by this problem is when streaming > video out of a UVC

Re: [PATCH] Linux: Implement membarrier function

2018-12-13 Thread Paul E. McKenney
On Thu, Dec 13, 2018 at 10:49:49AM -0500, Alan Stern wrote: > On Wed, 12 Dec 2018, Paul E. McKenney wrote: > > > > Well, what are you trying to accomplish? Do you want to find an > > > argument similar to the one I posted for the 6-CPU test to show that > > > this test should be forbidden? > >

Re: [PATCH] ASoC: rsnd: Add r8a774c0 support

2018-12-13 Thread Kuninori Morimoto
Hi Fabrizio > Document RZ/G2E (R8A774C0) SoC bindings. > > Signed-off-by: Fabrizio Castro > --- Acked-by: Kuninori Morimoto > Documentation/devicetree/bindings/sound/renesas,rsnd.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: ASoC: About graph node issue without 'reg' property

2018-12-13 Thread Kuninori Morimoto
Hi Hayashi-san Sorry for my buggy patch. I and Tony could confirm that my posted patch can solve this issue. I will re-post it again as v3 patch-series. I'm happy if you can test it (and give it Tested-by). https://patchwork.kernel.org/patch/10727943/ > [1 ] > On Thu, Dec 13, 2018 at

Re: [PATCH] selftests: Fix test errors related to lib.mk khdr target

2018-12-13 Thread shuah
On 12/13/18 4:40 PM, Paolo Bonzini wrote: On 13/12/18 23:50, shuah wrote: Looks good.  Could you please provide a topic branch so that we can avoid conflicts between our trees at the next merge window. Thanks. The topic branch is

[GIT PULL] XArray for 4.20-rc7

2018-12-13 Thread Matthew Wilcox
(hope I did the git tag correctly this time) The following changes since commit cf76c364a1e1e5224af80edf70a1e3023e1fcf8c: Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2018-12-05 17:06:31 -0800) are available in the Git repository at:

Re: [PATCH -next] audit: remove duplicated include from audit.c

2018-12-13 Thread Paul Moore
On Sun, Dec 9, 2018 at 1:25 AM YueHaibing wrote: > Remove duplicated include. > > Signed-off-by: YueHaibing > --- > kernel/audit.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/kernel/audit.c b/kernel/audit.c > index a0a4544..632d360 100644 > --- a/kernel/audit.c > +++

Re: [PATCH] selftests: Fix test errors related to lib.mk khdr target

2018-12-13 Thread Paolo Bonzini
On 13/12/18 23:50, shuah wrote: >> >> Looks good.  Could you please provide a topic branch so that we can >> avoid conflicts between our trees at the next merge window. >> > > Thanks. The topic branch is > > git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next > > I will apply

[PATCH v2] proc/sysctl: don't return ENOMEM on lookup when a table is unregistering

2018-12-13 Thread Ivan Delalande
proc_sys_lookup can fail with ENOMEM instead of ENOENT when the corresponding sysctl table is being unregistered. In our case we see this upon opening /proc/sys/net/*/conf files while network interfaces are being deleted, which confuses our configuration daemon. The problem was successfully

Re: [PATCH] binder: fix use-after-free due to ksys_close() during fdget()

2018-12-13 Thread Todd Kjos
I need to make a change to this patch, so please ignore this version. I'll send a v2 soon. On Thu, Dec 13, 2018 at 1:04 PM Todd Kjos wrote: > > 44d8047f1d8 ("binder: use standard functions to allocate fds") > exposed a pre-existing issue in the binder driver. > > fdget() is used in ksys_ioctl()

[PATCH v2 3/4] RISC-V: Remove per cpu clocksource

2018-12-13 Thread Atish Patra
There is only one clocksource in RISC-V. The boot cpu initializes that clocksource. No need to keep a percpu data structure. Signed-off-by: Atish Patra Reviewed-by: Palmer Dabbelt --- drivers/clocksource/riscv_timer.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH v2 2/4] RISC-V: Support per-hart timebase-frequency

2018-12-13 Thread Atish Patra
Follow the updated DT specs and read the timebase-frequency from the boot cpu. Keep the old DT reading as well for backward compatibility. This patch is rework of old patch from Palmer. Signed-off-by: Atish Patra --- arch/riscv/kernel/time.c | 9 +

[PATCH v2 0/4] Timer code cleanup.

2018-12-13 Thread Atish Patra
This patch series provides an assorted timer cleanups in RISC-V. Changes from v1->v2: 1. Updated commit text in 1/4. 2. Added a timebase check for each cpu. 3. Added a warning for invalid hartid 4/4. Atish Patra (3): RISC-V: Support per-hart timebase-frequency RISC-V: Remove per cpu

[PATCH v2 1/4] dt-bindings: Correct RISC-V's timebase-frequency

2018-12-13 Thread Atish Patra
From: Palmer Dabbelt In RISC-V systems, timebase-frequency is per cpu instead of one instance for entire SOC as there is a individual timer per each CPU. Fix the DT binding accordingly. Signed-off-by: Palmer Dabbelt Signed-off-by: Christoph Hellwig [Atish: Update the commit text]

[PATCH v2 4/4] RISC-V: Fix non-smp kernel boot on SMP systems

2018-12-13 Thread Atish Patra
Currently, clocksource registration happens for an invalid cpu for non-smp kernels. This lead to kernel panic as cpu hotplug registration will fail for those cpus. Do not proceed if hartid is invalid. Take this opprtunity to print appropriate error strings for different failure cases.

Re: [PATCH v14 10/11] livepatch: Remove ordering and refuse loading conflicting patches

2018-12-13 Thread Josh Poimboeuf
On Thu, Nov 29, 2018 at 10:44:30AM +0100, Petr Mladek wrote: > The atomic replace and cumulative patches were introduced as a more secure > way to handle dependent patches. They simplify the logic: > > + Any new cumulative patch is supposed to take over shadow variables > and changes made

[PATCH v3] x86/speculation: Add support for STIBP always-on preferred mode

2018-12-13 Thread Lendacky, Thomas
Different AMD processors may have different implementations of STIBP. When STIBP is conditionally enabled, some implementations would benefit from having STIBP always on instead of toggling the STIBP bit through MSR writes. This preference is advertised through a CPUID feature bit. When

[PATCH 1/3] ARM: dts: cyclone5: Add stmmac ptp_ref clock

2018-12-13 Thread dwesterg
From: Dalon Westergreen Add the ptp_ref clock to gmac0 / gmac1 specifying the default clk of osc1. The stmmac driver defaults the ptp_ref clock to the main stmmac clock if ptp_ref is not provided. This is inappropriate for the Cyclone5 or Arria5 devices. Signed-off-by: Dalon Westergreen ---

[PATCH 3/3] ARM64: dts: stratix10: Add stmmac ptp_ref clock

2018-12-13 Thread dwesterg
From: Dalon Westergreen Add the default stmmac ptp_ref clock for stratix10. The stmmac driver defaults the ptp_ref clock to the main stmmac clock if the ptp_ref clock is not set in the devicetree. This is inappropriate for the stratix10. The default ptp_ref clock is

[PATCH 2/3] ARM: dts: arria10: Add stmmac ptp_ref clock

2018-12-13 Thread dwesterg
From: Dalon Westergreen Add the default stmmac ptp_ref clock for arria10. The stmmac driver defaults the ptp_ref clock to the main stmmac clock if the ptp_ref clock is not set in the devicetree. This is inappropriate for the arria10 device. The default ptp_ref clock is peri_emac_ptp_clk.

Re: [PATCH v14 08/11] livepatch: Remove Nop structures when unused

2018-12-13 Thread Josh Poimboeuf
On Thu, Nov 29, 2018 at 10:44:28AM +0100, Petr Mladek wrote: > +static void __klp_free_funcs(struct klp_object *obj, bool free_all) > { > - struct klp_func *func; > + struct klp_func *func, *tmp_func; > + > + klp_for_each_func_safe(obj, func, tmp_func) { > + if (!free_all

Re: ubifs: fix page_count in ->ubifs_migrate_page()

2018-12-13 Thread Dave Chinner
On Thu, Dec 13, 2018 at 03:23:37PM +0100, Richard Weinberger wrote: > Hello zhangjun, > > thanks a lot for bringing this up! > > Am Mittwoch, 12. Dezember 2018, 15:13:57 CET schrieb zhangjun: > > Because the PagePrivate() in UBIFS is different meanings, > > alloc_cma() will fail when one dirty

Re: [PATCH 1/4] ARM: dts: aspeed: Add sensors devices for Facebook

2018-12-13 Thread Joel Stanley
On Fri, 14 Dec 2018 at 06:23, Vijay Khemka wrote: > > Added ADC and other sensor devices in Facebook Tiogapass device tree. > > Signed-off-by: Vijay Khemka > --- > .../dts/aspeed-bmc-facebook-tiogapass.dts | 33 +-- > 1 file changed, 31 insertions(+), 2 deletions(-) > > diff

Re: [PATCH v14 07/11] livepatch: Add atomic replace

2018-12-13 Thread Josh Poimboeuf
On Thu, Nov 29, 2018 at 10:44:27AM +0100, Petr Mladek wrote: > @@ -146,6 +150,7 @@ struct klp_object { > * struct klp_patch - patch structure for live patching > * @mod: reference to the live patch module > * @objs:object entries for kernel objects to be patched > + * @replace:

[PATCH] drm: Remove complete task from TODO documentation

2018-12-13 Thread Shayenne da Luz Moura
This patch remove the follow complete task from TODO documentation: drm_mode_config.crtc_idr is misnamed, since it contains all KMS object. Should be renamed to drm_mode_config.object_idr. Signed-off-by: Shayenne da Luz Moura --- Documentation/gpu/todo.rst | 3 --- 1 file changed, 3

[PATCH] kernel/dma/direct: Do not include SME mask in the DMA supported check

2018-12-13 Thread Lendacky, Thomas
The dma_direct_supported() function intends to check the DMA mask against specific values. However, the phys_to_dma() function includes the SME encryption mask, which defeats the intended purpose of the check. This results in drivers that support less than 48-bit DMA (SME encryption mask is bit

Re: [PATCH] selftests: Fix test errors related to lib.mk khdr target

2018-12-13 Thread shuah
On 12/13/18 3:40 PM, Paolo Bonzini wrote: On 13/12/18 21:00, sh...@kernel.org wrote: From: Shuah Khan Commit b2d35fa5fc80 ("selftests: add headers_install to lib.mk") added khdr target to run headers_install target from the main Makefile. The logic uses KSFT_KHDR_INSTALL and top_srcdir as

Re: [PATCH v3] mm, memcg: fix reclaim deadlock with writeback

2018-12-13 Thread Liu Bo
On Thu, Dec 13, 2018 at 10:22:21AM +0100, Michal Hocko wrote: > From: Michal Hocko > > Liu Bo has experienced a deadlock between memcg (legacy) reclaim and the > ext4 writeback > task1: > [] wait_on_page_bit+0x82/0xa0 > [] shrink_page_list+0x907/0x960 > [] shrink_inactive_list+0x2c7/0x680 > []

Re: [PATCH v14 05/11] livepatch: Simplify API by removing registration step

2018-12-13 Thread Josh Poimboeuf
On Thu, Nov 29, 2018 at 10:44:25AM +0100, Petr Mladek wrote: > @@ -309,40 +297,33 @@ static ssize_t enabled_store(struct kobject *kobj, > struct kobj_attribute *attr, > > mutex_lock(_mutex); > > - if (!klp_is_patch_registered(patch)) { > - /* > - * Module

[PATCH v2] clk: qcom: Leave mmss noc on for 8998

2018-12-13 Thread Jeffrey Hugo
Similar to other qcom targets, gcc_mmss_noc_cfg_ahb_clk should not be disabled. Any mmss access depends on this clock, and its been observed that enabling mmssnoc_axi_rpm_clk with rpmcc results in an implicit access to mmss and will crash the system if gcc_mmss_noc_cfg_ahb_clk is disabled.

Re: [PATCH] selftests: Fix test errors related to lib.mk khdr target

2018-12-13 Thread Paolo Bonzini
On 13/12/18 21:00, sh...@kernel.org wrote: > From: Shuah Khan > > Commit b2d35fa5fc80 ("selftests: add headers_install to lib.mk") added > khdr target to run headers_install target from the main Makefile. The > logic uses KSFT_KHDR_INSTALL and top_srcdir as controls to initialize > variables and

Re: [PATCH v14 03/11] livepatch: Consolidate klp_free functions

2018-12-13 Thread Josh Poimboeuf
On Mon, Dec 03, 2018 at 03:59:57PM +0100, Miroslav Benes wrote: > On Thu, 29 Nov 2018, Petr Mladek wrote: > > > -static int klp_init_patch(struct klp_patch *patch) > > +/* Init operations that must succeed before klp_free_patch() can be > > called. */ > > +static int

Re: [PATCH v2] clk: qcom: Drop unused 8998 clock

2018-12-13 Thread Jeffrey Hugo
On 12/13/2018 12:38 PM, Stephen Boyd wrote: Quoting Jeffrey Hugo (2018-12-13 09:09:09) gcc_lpass_trig_clk is not used downstream, therefore there is no reason to expect it to be needed for clients. Let's remove it because messing with the clock has been observed to cause Linux hangs when the

Re: [PATCH] arch: arm: socfpga: arria10: Add stmmac ptp_ref clock to socdk devicetree

2018-12-13 Thread Dalon Westergreen
On Thu, 2018-12-13 at 15:56 -0600, Dinh Nguyen wrote: > > On 12/13/18 2:59 PM, dwest...@gmail.com wrote: > > From: Dalon Westergreen > > > > Add the stmmac ptp_ref clock as it is configured in the arria10 socdk. > > The stmmac driver defaults the ptp_ref clock to the main stmmac clock > > if

Re: [PATCH v14 05/11] livepatch: Simplify API by removing registration step

2018-12-13 Thread Josh Poimboeuf
On Thu, Dec 06, 2018 at 09:36:06AM -0500, Joe Lawrence wrote: > On 12/06/2018 05:14 AM, Petr Mladek wrote: > > On Thu 2018-12-06 10:23:40, Miroslav Benes wrote: > >> On Thu, 6 Dec 2018, Petr Mladek wrote: > >> > >>> On Wed 2018-12-05 14:32:53, Joe Lawrence wrote: > > diff --git

Re: [PATCH v2] Compiler Attributes: don't pollute userspace with macro definitions

2018-12-13 Thread Nick Desaulniers
>> compiling error >> showing "unknown type name ‘__gnu_inline’" will pop up, if userspace >> somehow includes . Oops. > If not, I can pick it up in compiler-attributes tree linux-next. That's probably the best, unless we'd like this fix in mainline ASAP? Moving the __KERNEL__ guard should not

Re: [PATCH v5 1/1] signal: add pidfd_send_signal() syscall

2018-12-13 Thread Serge E. Hallyn
On Sat, Dec 08, 2018 at 06:40:59AM +0100, Christian Brauner wrote: > The kill() syscall operates on process identifiers (pid). After a process > has exited its pid can be reused by another process. If a caller sends a > signal to a reused pid it will end up signaling the wrong process. This >

Re: [PATCH v3 1/2] power: supply: add input voltage limit property

2018-12-13 Thread Pavel Machek
Hi! > This is part of the Pixel C's thermal management strategy to effectively > limit the input power to 5V 3A when the screen is on. When the screen is > on, the display, the CPU, and the GPU all contribute more heat to the > system than while the screen is off, and we made a tradeoff to

Re: [PATCH v14 04/11] livepatch: Refuse to unload only livepatches available during a forced transition

2018-12-13 Thread Josh Poimboeuf
I have trouble parsing the subject. How about? How about: Don't block the removal of patches loaded after a forced transition Or Track 'forced' on a per-patch basis ? -- Josh

Re: [PATCH] arm64: dts: qcom: sdm845: Add Q6V5 MSS node

2018-12-13 Thread Doug Anderson
Hi, On Tue, Nov 27, 2018 at 12:58 AM Sibi Sankar wrote: > > This patch adds Q6V5 MSS remoteproc node for SDM845 SoCs. > > Signed-off-by: Sibi Sankar > --- > > The remoteproc mss node depends on the following bindings: > https://patchwork.kernel.org/patch/10490559/ - rpmhp dt bindings This is

Re: [PATCH v14 03/11] livepatch: Consolidate klp_free functions

2018-12-13 Thread Josh Poimboeuf
On Thu, Nov 29, 2018 at 10:44:23AM +0100, Petr Mladek wrote: > +static void klp_free_funcs(struct klp_object *obj) > { > struct klp_func *func; > > - for (func = obj->funcs; func->old_name && func != limit; func++) > - kobject_put(>kobj); > + klp_for_each_func(obj,

Re: [PATCH 0/6] media: sun6i: Separate H3 compatible from A31

2018-12-13 Thread sakari . ailus
Hi Chen-Yu, On Fri, Nov 30, 2018 at 03:58:43PM +0800, Chen-Yu Tsai wrote: > The CSI (camera sensor interface) controller found on the H3 (and H5) > is a reduced version of the one found on the A31. It only has 1 channel, > instead of 4 channels supporting time-multiplexed BT.656 on the A31. >

Re: [PATCH] debugobjects: Move printk out of db lock critical sections

2018-12-13 Thread Waiman Long
On 12/12/2018 11:35 PM, Dmitry Safonov wrote: > Hi Waiman, > > On 12/12/18 10:28 PM, Waiman Long wrote: >> The db->lock is a raw spinlock and so the lock hold time is supposed >> to be short. This will not be the case when printk() is being involved >> in some of the critical sections. In order to

Re: [PATCH v2] ubifs: fix page_count in ->ubifs_migrate_page()

2018-12-13 Thread Richard Weinberger
Am Donnerstag, 13. Dezember 2018, 23:00:00 CET schrieb Kirill A. Shutemov: > > Let's wait a few days to give Kirill a chance to review, then I'll apply > > the patch. > > I don't remmeber much context now... > > Could you remind me why ubifs doesn't take additional pin when sets > PG_private?

Re: [PATCH 02/11] staging: iio: adt7316: invert the logic of the check for an ldac pin

2018-12-13 Thread Jeremy Fertic
On Wed, Dec 12, 2018 at 11:19:49AM +0300, Dan Carpenter wrote: > On Tue, Dec 11, 2018 at 05:54:54PM -0700, Jeremy Fertic wrote: > > ADT7316_DA_EN_VIA_DAC_LDCA is set when the dac and ldac registers are being > > used to update the dacs instead of the ldac pin. ADT7516_SEL_AIN3 is an adc > > input

Re: [PATCH] dt-bindings: remoteproc: qcom: Add power-domain bindings for Q6V5

2018-12-13 Thread Doug Anderson
Hi, On Tue, Nov 20, 2018 at 1:08 PM Sibi Sankar wrote: > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt > b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt > index 14947562bc67..bd9f4882fcf0 100644 > ---

RE: [PATCH] clk: imx: Make the i.MX8MQ CCM clock driver CLK_IMX8MQ dependant

2018-12-13 Thread Stephen Boyd
Quoting Aisheng Dong (2018-12-13 08:51:18) > [...] > > > > --- a/drivers/clk/imx/Makefile > > > +++ b/drivers/clk/imx/Makefile > > > @@ -34,5 +34,6 @@ obj-$(CONFIG_SOC_IMX6SX) += clk-imx6sx.o > > > obj-$(CONFIG_SOC_IMX6UL) += clk-imx6ul.o > > > obj-$(CONFIG_SOC_IMX7D) += clk-imx7d.o > > >

Re: [PATCH 2/2] debugobjects: Print warnings outside bucket lock

2018-12-13 Thread Waiman Long
On 12/12/2018 11:34 PM, Dmitry Safonov wrote: > Whenever debugobjects finds invalid pattern during life time of a kernel > object such as: > - Activation of uninitialized objects > - Initialization of active objects > - Usage of freed/destroyed objects > it prints a warning and tries to make

Re: [PATCH v3] mm, memcg: fix reclaim deadlock with writeback

2018-12-13 Thread Johannes Weiner
On Thu, Dec 13, 2018 at 10:22:21AM +0100, Michal Hocko wrote: > From: Michal Hocko > > Liu Bo has experienced a deadlock between memcg (legacy) reclaim and the > ext4 writeback > task1: > [] wait_on_page_bit+0x82/0xa0 > [] shrink_page_list+0x907/0x960 > [] shrink_inactive_list+0x2c7/0x680 > []

[ANNOUNCE] 3.18.129-rt110

2018-12-13 Thread Tom Zanussi
Hello RT Folks! I'm pleased to announce the 3.18.129-rt110 stable release. This release is just an update to the new stable 3.18.129 version and no RT specific changes have been made. You can get this release via the git tree at:

Re: [PATCH v2] Compiler Attributes: don't pollute userspace with macro definitions

2018-12-13 Thread Miguel Ojeda
On Thu, Dec 13, 2018 at 10:59 PM Miguel Ojeda wrote: > > What do you think? [Cc'ing Nick et. al. as well.] Cheers, Miguel

Re: [PATCH 04/11] staging: iio: adt7316: fix handling of dac high resolution option

2018-12-13 Thread Jeremy Fertic
On Wed, Dec 12, 2018 at 11:23:16AM +0300, Dan Carpenter wrote: > On Tue, Dec 11, 2018 at 05:54:56PM -0700, Jeremy Fertic wrote: > > @@ -651,10 +649,12 @@ static ssize_t > > adt7316_store_da_high_resolution(struct device *dev, > > u8 config3; > > int ret; > > > > + if (chip->id ==

Re: [PATCH] debugobjects: Move printk out of db lock critical sections

2018-12-13 Thread Waiman Long
On 12/12/2018 06:39 PM, Andrew Morton wrote: > On Wed, 12 Dec 2018 17:28:14 -0500 Waiman Long wrote: > >> The db->lock is a raw spinlock and so the lock hold time is supposed >> to be short. This will not be the case when printk() is being involved >> in some of the critical sections. In order to

Re: [PATCH v2] ubifs: fix page_count in ->ubifs_migrate_page()

2018-12-13 Thread Kirill A. Shutemov
On Thu, Dec 13, 2018 at 10:36:47PM +0100, Richard Weinberger wrote: > Am Donnerstag, 13. Dezember 2018, 20:20:17 CET schrieb zhangjun: > > Because the PagePrivate() in UBIFS is different meanings, > > ...has different meanings... > > I'll fix up that myself after applying your patch. No need to

[PATCH v2] debugobjects: Move printk out of db lock critical sections

2018-12-13 Thread Waiman Long
The db->lock is a raw spinlock and so the lock hold time is supposed to be short. This will not be the case when printk() is being involved in some of the critical sections. In order to avoid the long hold time, in case some messages need to be printed, all the debug_object_is_on_stack() and

Re: [PATCH v2] Compiler Attributes: don't pollute userspace with macro definitions

2018-12-13 Thread Miguel Ojeda
Hi Xiaozhou, Couple of comments. On Sun, Dec 9, 2018 at 4:27 AM Xiaozhou Liu wrote: > > v2: update commit message. This line should go below the "---", since it shouldn't be part of the commit message. > +#ifdef __KERNEL__ > + > #ifdef CONFIG_ENABLE_MUST_CHECK > #define __must_check

[PATCH v2] binder: implement binderfs

2018-12-13 Thread Christian Brauner
As discussed at Linux Plumbers Conference 2018 in Vancouver [1] this is the implementation of binderfs. /* Abstract */ binderfs is a backwards-compatible filesystem for Android's binder ipc mechanism. Each ipc namespace will mount a new binderfs instance. Mounting binderfs multiple times at

Re: [PATCH] dt-bindings: i2c: sh_mobile: Add r8a774c0 support

2018-12-13 Thread Peter Rosin
On 2018-12-13 21:19, Fabrizio Castro wrote: > Document RZ/G2E (R8A774C0) SoC bindings. > > Signed-off-by: Fabrizio Castro > --- > Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git

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

2018-12-13 Thread Michael S. Tsirkin
On Thu, Dec 13, 2018 at 04:18:40PM -0500, Konrad Rzeszutek Wilk wrote: > .giant snip.. > > > + npinned = get_user_pages_fast(uaddr, npages, write, pages); > > > + if (npinned != npages) > > > + goto err; > > > + > > > > As I said I have doubts about the whole approach, but this > >

Re: [PATCH] arch: arm: socfpga: arria10: Add stmmac ptp_ref clock to socdk devicetree

2018-12-13 Thread Dinh Nguyen
On 12/13/18 2:59 PM, dwest...@gmail.com wrote: > From: Dalon Westergreen > > Add the stmmac ptp_ref clock as it is configured in the arria10 socdk. > The stmmac driver defaults the ptp_ref clock to the main stmmac clock > if the ptp_ref clock is not set in the devicetree. This is

Re: use generic DMA mapping code in powerpc V4

2018-12-13 Thread Christian Zigotzky
On 13 December 2018 at 6:48PM, Christian Zigotzky wrote: On 13 December 2018 at 2:34PM, Christian Zigotzky wrote: On 13 December 2018 at 12:25PM, Christoph Hellwig wrote: On Thu, Dec 13, 2018 at 12:19:26PM +0100, Christian Zigotzky wrote: I tried it again but I get the following error

Re: [PATCH] scsi: qla2xxx: deadlock by configfs_depend_item

2018-12-13 Thread Anatoliy Glagolev
Any thoughts on this change? Thanks.

Re: [PATCH] jffs2: fix invocations of dbg_xattr() for dead jffs2_xattr_ref

2018-12-13 Thread Richard Weinberger
On Sun, Dec 9, 2018 at 7:52 AM Boris Brezillon wrote: > > On Sat, 20 Oct 2018 19:07:53 +0800 > Hou Tao wrote: > > > When jffs2_xattr_ref is dead, xref->ic or xref->xd will be invalid > > because these fields will be reused as xref->ino or xref->xid, > > so access xref->ic->ino or xref->xd->xid

Re: [PATCH 05/12] PCI: aardvark: add suspend to RAM support

2018-12-13 Thread Rafael J. Wysocki
On Thursday, December 13, 2018 3:30:00 PM CET Miquel Raynal wrote: > Hi Lorenzo, > > > > If that's really the case, then I can see how one device and it's > > > children are suspended and the irq for it is disabled but the providing > > > devices (clk, regulator, bus controller, etc.) are still

Re: [PATCH v3 perf, bpf-next 1/4] perf, bpf: Introduce PERF_RECORD_BPF_EVENT

2018-12-13 Thread Song Liu
> On Dec 13, 2018, at 10:45 AM, Peter Zijlstra wrote: > > On Wed, Dec 12, 2018 at 01:33:20PM -0500, Steven Rostedt wrote: >> On Wed, 12 Dec 2018 19:05:53 +0100 >> Peter Zijlstra wrote: >> >>> On Wed, Dec 12, 2018 at 05:09:17PM +, Song Liu wrote: > And while this tracks the bpf

Re: [PATCH v2 2/4] modules: Add new special vfree flags

2018-12-13 Thread Edgecombe, Rick P
On Thu, 2018-12-13 at 19:27 +, Nadav Amit wrote: > > On Dec 13, 2018, at 11:02 AM, Edgecombe, Rick P > > wrote: > > > > On Wed, 2018-12-12 at 23:40 +, Nadav Amit wrote: > > > > On Dec 11, 2018, at 4:03 PM, Rick Edgecombe > > > > wrote: > > > > > > > > Add new flags for handling freeing

Re: [Outreachy kernel] [RESEND PATCH v2] drm: Rename crtc_idr as object_idr to KMS cleanups

2018-12-13 Thread Daniel Vetter
On Thu, Dec 13, 2018 at 07:29:57PM -0200, Shayenne da Luz Moura wrote: > This patch solves this TODO task: > drm_mode_config.crtc_idr is misnamed, since it contains all KMS object. > Should be renamed to drm_mode_config.object_idr. > > Signed-off-by: Shayenne da Luz Moura > > --- > Changes in

Re: [PATCH] dt-bindings: display: renesas: du: Document r8a774c0 bindings

2018-12-13 Thread Laurent Pinchart
Hi Fabrizio, Thank you for the patch. On Thursday, 13 December 2018 22:20:45 EET Fabrizio Castro wrote: > Document the RZ/G2E (a.k.a. r8a774c0) SoC in the R-Car DU bindings. > > Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart and applied to my tree. > --- >

Re: [PATCH] drm: rcar-du: Add r8a774c0 device support

2018-12-13 Thread Laurent Pinchart
Hi Fabrizio, Thank you for the patch. On Thursday, 13 December 2018 22:23:27 EET Fabrizio Castro wrote: > Add support for the RZ/G2E (R8A774C0) SoC to the R-Car DU driver. > > Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart and applied to my tree. > --- >

Re: [PATCH] dt-bindings: display: renesas: lvds: Document r8a774c0 bindings

2018-12-13 Thread Laurent Pinchart
Hi Fabrizio, Thank you for the patch. On Thursday, 13 December 2018 22:20:54 EET Fabrizio Castro wrote: > The RZ/G2E (r8a774c0) supports two LVDS channels. Extend the binding to > support them. > > Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart and applied to my tree. > --- >

Re: [PATCH] drm: rcar-du: lvds: add R8A774C0 support

2018-12-13 Thread Laurent Pinchart
Hi Fabrizio, Thank you for the patch. On Thursday, 13 December 2018 22:23:36 EET Fabrizio Castro wrote: > The LVDS implementation on the RZ/G2E (a.k.a. R8A774C0) is very similar > to the one found on R-Car E3 (a.k.a. R8A77990), therefore add RZ/G2E > LVDS support to the LVDS encoder driver in a

Re: [PATCH v2] ubifs: fix page_count in ->ubifs_migrate_page()

2018-12-13 Thread Richard Weinberger
Am Donnerstag, 13. Dezember 2018, 20:20:17 CET schrieb zhangjun: > Because the PagePrivate() in UBIFS is different meanings, ...has different meanings... I'll fix up that myself after applying your patch. No need to send a v3. > alloc_cma() will fail when one dirty page cache located in > the

[RFC PATCH v4 0/5] x86: Add vDSO exception fixup for SGX

2018-12-13 Thread Sean Christopherson
Episode IV: The vDSO Strikes Back After a brief detour into ioctl-based fixup, the vDSO implementation is back. Relative to v2 (the previous vDSO RFC), patch 4/4 once again contains the vast majority of changes. __vdso_sgx_enter_enclave() is now written entirely in straight assembly.

[RFC PATCH v4 2/5] x86/fault: Add helper function to sanitize error code

2018-12-13 Thread Sean Christopherson
...to prepare for vDSO exception fixup, which will expose the error code to userspace and runs before set_signal_archinfo(), i.e. squashes the signal when fixup is successful. Signed-off-by: Sean Christopherson --- arch/x86/mm/fault.c | 26 ++ 1 file changed, 14

[RFC PATCH v4 5/5] x86/vdso: Add __vdso_sgx_enter_enclave() to wrap SGX enclave transitions

2018-12-13 Thread Sean Christopherson
Intel Software Guard Extensions (SGX) SGX introduces a new CPL3-only enclave mode that runs as a sort of black box shared object that is hosted by an untrusted normal CPL3 process. Enclave transitions have semantics that are a lovely blend of SYCALL, SYSRET and VM-Exit. In a non-faulting

[RFC PATCH v4 1/5] x86/vdso: Add support for exception fixup in vDSO functions

2018-12-13 Thread Sean Christopherson
The basic concept and implementation is very similar to the kernel's exception fixup mechanism. The key differences are that the kernel handler is hardcoded and the fixup entry addresses are relative to the overall table as opposed to individual entries. Hardcoding the kernel handler avoids the

[RFC PATCH v4 4/5] x86/traps: Attempt to fixup exceptions in vDSO before signaling

2018-12-13 Thread Sean Christopherson
Call fixup_vdso_exception() in all trap flows that generate signals to userspace immediately prior to generating any such signal. If the exception is fixed, return cleanly and do not generate a signal. The goal of vDSO fixup is not to fixup all faults, nor is it to avoid all signals, but rather

[RFC PATCH v4 3/5] x86/fault: Attempt to fixup unhandled #PF on ENCLU before signaling

2018-12-13 Thread Sean Christopherson
Call fixup_sgx_enclu_exception() in the SIGSEGV and SIGBUS paths of the page fault handler immediately prior to signaling. If the fault is fixed, return cleanly and do not generate a signal. In the SIGSEGV flow, make sure the error code passed to userspace has been sanitized. Suggested-by: Andy

[RESEND PATCH v2] drm: Rename crtc_idr as object_idr to KMS cleanups

2018-12-13 Thread Shayenne da Luz Moura
This patch solves this TODO task: drm_mode_config.crtc_idr is misnamed, since it contains all KMS object. Should be renamed to drm_mode_config.object_idr. Signed-off-by: Shayenne da Luz Moura --- Changes in v2: - Make commit message more clear and change header file

Re: [PATCH] [media] v4l: vsp1: Add RZ/G support

2018-12-13 Thread Laurent Pinchart
Hi Fabrizio, Thank you for the patch. On Thursday, 13 December 2018 22:20:24 EET Fabrizio Castro wrote: > Document RZ/G1 and RZ/G2 support. > > Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart And applied to my tree. > --- >

Re: [PATCH] dt-bindings: media: renesas-fcp: Add RZ/G2 support

2018-12-13 Thread Laurent Pinchart
Hi Fabrizio, Thank you for the patch. On Thursday, 13 December 2018 22:20:33 EET Fabrizio Castro wrote: > Document RZ/G2 support. > > Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart And applied to my tree. > --- > Documentation/devicetree/bindings/media/renesas,fcp.txt | 5

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

2018-12-13 Thread Konrad Rzeszutek Wilk
.giant snip.. > > + npinned = get_user_pages_fast(uaddr, npages, write, pages); > > + if (npinned != npages) > > + goto err; > > + > > As I said I have doubts about the whole approach, but this > implementation in particular isn't a good idea > as it keeps the page around forever. >

Re: [PATCH 15/52] fuse: map virtio_fs DAX window BAR

2018-12-13 Thread Vivek Goyal
On Thu, Dec 13, 2018 at 03:40:52PM -0500, Vivek Goyal wrote: > On Thu, Dec 13, 2018 at 12:15:51PM -0800, Dan Williams wrote: > > On Thu, Dec 13, 2018 at 12:09 PM Dr. David Alan Gilbert > > wrote: > > > > > > * Dan Williams (dan.j.willi...@intel.com) wrote: > > > > On Mon, Dec 10, 2018 at 9:22 AM

Re: [GIT PULL] fuse fixes for 4.20-rc7

2018-12-13 Thread pr-tracker-bot
The pull request you sent on Wed, 12 Dec 2018 10:33:17 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git > tags/fuse-fixes-4.20-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/70f4828201e3bc9a5ac52d1f7ede06e56194268a Thank you! --

Re: [GIT PULL] overlayfs fixes for 4.20-rc7

2018-12-13 Thread pr-tracker-bot
The pull request you sent on Wed, 12 Dec 2018 10:45:18 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git > tags/ovl-fixes-4.20-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e6333d72cb373239400969f5d10204c094a9712a Thank you! --

Re: [GIT PULL] MMC fixes for v4.20-rc7

2018-12-13 Thread pr-tracker-bot
The pull request you sent on Thu, 13 Dec 2018 11:57:28 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v4.20-rc5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e861e11c5900d21afe0c3a326d1303d6f92c9f6f Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL for v4.20-rc7] media fixes

2018-12-13 Thread pr-tracker-bot
The pull request you sent on Wed, 12 Dec 2018 13:54:03 -0200: > git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media > tags/media/v4.20-5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/14a996c383129525e55bab07e4857d08f6b61dda Thank you! --

Re: [PULL REQUEST] Please pull rdma.git

2018-12-13 Thread pr-tracker-bot
The pull request you sent on Thu, 13 Dec 2018 11:56:10 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e10db791bf73c1973f24591897e839db2eb3c804 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] sound fixes for 4.20-rc7

2018-12-13 Thread pr-tracker-bot
The pull request you sent on Thu, 13 Dec 2018 09:33:20 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git > tags/sound-4.20-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/52a7dc28a7b01cdd9ec349a943944dc49d20fc26 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] kselftest update for Linux 4.20-rc7

2018-12-13 Thread pr-tracker-bot
The pull request you sent on Thu, 13 Dec 2018 13:37:08 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest > tags/linux-kselftest-4.20-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/65e08c5e86311143f45c3e4389561af3107fc8f6 Thank you! --

Re: [GIT PULL] Thermal-SoC management fixes for v4.20-rc7

2018-12-13 Thread pr-tracker-bot
The pull request you sent on Thu, 13 Dec 2018 12:01:49 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/76a5cfb8e7c98ae0ea238910f97c17cb1f638918 Thank you! -- Deet-doot-dot, I am

[PATCH V1] arm64: tegra: SDMMC Clock change

2018-12-13 Thread Sowjanya Komatineni
SDMMC Clock source change for supporting max frequency of 200Mhz for Tegra194 Signed-off-by: Sowjanya Komatineni --- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi

Re: [PATCH v1] binder: implement binderfs

2018-12-13 Thread Greg Kroah-Hartman
On Thu, Dec 13, 2018 at 09:52:03PM +0100, Christian Brauner wrote: > On Thu, Dec 13, 2018 at 06:56:26PM +0100, Greg Kroah-Hartman wrote: > > On Wed, Dec 12, 2018 at 01:51:27PM +0100, Christian Brauner wrote: > > > > > Cc: Martijn Coenen > > > > > Cc: Todd Kjos > > > > > Cc: Greg Kroah-Hartman >

Hello.

2018-12-13 Thread DR.ABDUL MAJID
-- Greetings and how are you doing? I want you to be my partner in the transfer of the sum of $23.6 Million dollars discovered in my department in a Bank here in West Africa and I will give you more details on this when I get your reply but be rest assured that I will give you 40% of the

[ANNOUNCE] v4.19.8-rt6

2018-12-13 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v4.19.8-rt6 patch set. Changes since v4.19.8-rt5: - Move a state change in do_nanosleep() do avoid a warning in hrtimer_cancel(). - Disable tracing events on i915. The tracing events are using spin_locks() which is not working on -RT.

Re: [PATCH bpf-next v2] bpf: support raw tracepoints in modules

2018-12-13 Thread Martin Lau
On Thu, Dec 13, 2018 at 11:38:51AM -0800, Matt Mullins wrote: > On Thu, 2018-12-13 at 19:22 +, Martin Lau wrote: > > On Wed, Dec 12, 2018 at 04:42:37PM -0800, Matt Mullins wrote: > > > Distributions build drivers as modules, including network and filesystem > > > drivers which export numerous

linux-next: manual merge of the dma-mapping tree with the kbuild tree

2018-12-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the dma-mapping tree got a conflict in: arch/alpha/Kconfig between commit: 6630a8e50105 ("eisa: consolidate EISA Kconfig entry in drivers/eisa") from the kbuild tree and commit: 3731c3d4774e ("dma-mapping: always build the direct mapping code") from

[PATCH] binder: fix use-after-free due to ksys_close() during fdget()

2018-12-13 Thread Todd Kjos
44d8047f1d8 ("binder: use standard functions to allocate fds") exposed a pre-existing issue in the binder driver. fdget() is used in ksys_ioctl() as a performance optimization. One of the rules associated with fdget() is that ksys_close() must not be called between the fdget() and the fdput().

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