Re: [PATCH v3 1/4] clk: core: clarify the check for runtime PM

2018-12-19 Thread Miquel Raynal
Hi Stephen, Stephen Boyd wrote on Tue, 18 Dec 2018 16:03:29 -0800: > Quoting Miquel Raynal (2018-12-04 11:24:37) > > Currently, the core->dev entry is populated only if runtime PM is > > enabled. Doing so prevents accessing the device structure in any > > case. > > > > Keep the same logic but

Re: [PATCH v4 00/18] mfd: demodularization of non-modular drivers

2018-12-19 Thread Lee Jones
To all recipients (therefore, not a top post ;D ), So far, so good. Please keep the reviews coming. On Mon, 17 Dec 2018, Paul Gortmaker wrote: > [v3 --> v4: delete now unused exit fcn from wm835x core; add more acks > now all in chrono order, re-test.] > > [v2 --> v3: drop diasemi commits as

Re: [PATCH v3] powerpc: implement CONFIG_DEBUG_VIRTUAL

2018-12-19 Thread Michael Ellerman
Christophe Leroy writes: > On 12/19/2018 06:57 AM, Christophe Leroy wrote: ... > > In fact the solution is the following: > > diff --git a/arch/powerpc/mm/pgtable_32.c b/arch/powerpc/mm/pgtable_32.c > index 4fc77a99c9bf..60401af2bc8f 100644 > --- a/arch/powerpc/mm/pgtable_32.c > +++

Re: Patch "block/loop: fix deadlock after loop_set_status" has been added to the 3.18-stable tree

2018-12-19 Thread Greg KH
On Tue, Dec 18, 2018 at 07:45:51PM -0500, Sasha Levin wrote: > This is a note to let you know that I've just added the patch titled > > block/loop: fix deadlock after loop_set_status > > to the 3.18-stable tree which can be found at: > >

Re: [PATCH v2] media: uvcvideo: Fix 'type' check leading to overflow

2018-12-19 Thread Laurent Pinchart
Hi Alistair, Thank you for the patch. On Wednesday, 19 December 2018 03:32:48 EET Alistair Strachan wrote: > From: Laurent Pinchart Are you sure you don't want to keep authorship ? I've merely reviewed v1 and proposed an alternative implementation :-) Let me know what you would prefer and

[PATCH 0/12] scsi: arcmsr: update for ccb structure address can above 4GB

2018-12-19 Thread Ching Huang
>From Ching Huang This patch series are against to mkp's 4.21/scsi-queue. 1. Rename acb structure member roundup_ccbsize to ioqueue_size 2. Rename arcmsr_free_mu to arcmsr_free_io_queue 3. Merge arcmsr_alloc_io_queue to arcmsr_alloc_ccb_pool 4. Update arcmsr_alloc_ccb_pool for ccb buffer

Re: [PATCH] drm/xen-front: Make shmem backed display buffer coherent

2018-12-19 Thread Oleksandr Andrushchenko
On 12/18/18 9:20 PM, Noralf Trønnes wrote: Den 27.11.2018 11.32, skrev Oleksandr Andrushchenko: From: Oleksandr Andrushchenko When GEM backing storage is allocated with drm_gem_get_pages the backing pages may be cached, thus making it possible that the backend sees only partial content of

Re: [PATCH v5 2/2] media: usb: pwc: Don't use coherent DMA buffers for ISO transfer

2018-12-19 Thread Tomasz Figa
On Wed, Dec 19, 2018 at 4:51 PM Christoph Hellwig wrote: > > On Tue, Dec 18, 2018 at 06:48:03PM +0900, Tomasz Figa wrote: > > > So as I said you can call dma_alloc_attrs with DMA_ATTR_NON_CONSISTENT > > > in a loop with a suitably small chunk size, then stuff the results into > > > a scatterlist

[PATCH V3] cacheinfo: Keep the old value if of_property_read_u32 fails

2018-12-19 Thread Huacai Chen
Commit 448a5a552f336bd7b847b1951 ("drivers: base: cacheinfo: use OF property_read_u32 instead of get_property,read_number") makes cache size and number_of_sets be 0 if DT doesn't provide there values. I think this is unreasonable so make them keep the old values, which is the same as old kernels.

[PATCH 1/12] scsi: arcmsr: Rename acb structure member roundup_ccbsize to ioqueue_size

2018-12-19 Thread Ching Huang
>From Ching Huang Rename acb structure member roundup_ccbsize to ioqueue_size Signed-off-by: Ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h index 9c397a2..256fe9a 100755 --- a/drivers/scsi/arcmsr/arcmsr.h +++ b/drivers/scsi/arcmsr/arcmsr.h @@ -739,7

Re: [PATCH net v3 0/2] net: mvpp2: phylink validate fixes

2018-12-19 Thread Antoine Tenart
Hi David, On Tue, Dec 18, 2018 at 04:42:52PM -0800, David Miller wrote: > From: Antoine Tenart > Date: Mon, 17 Dec 2018 15:56:04 +0100 > > > This small series introduces 2 fixes for the phylink validate function > > of the Marvell PPv2 Ethernet driver. > > > > Since v2: > > - Added an

[PATCH 2/12] scsi: arcmsr: Rename arcmsr_free_mu to arcmsr_free_io_queue

2018-12-19 Thread Ching Huang
>From Ching Huang Rename arcmsr_free_mu to arcmsr_free_io_queue Signed-off-by: Ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index f3a7855..f831c13 100755 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scsi/arcmsr/arcmsr_hba.c @@ -223,7

Re: [PATCH v2 3/3] sched/fair: fix unnecessary increase of balance interval

2018-12-19 Thread Vincent Guittot
On Tue, 18 Dec 2018 at 15:09, Valentin Schneider wrote: > > On 18/12/2018 13:23, Vincent Guittot wrote: > [...] > >> Ah, I think I get it: you're saying that this balance_interval increase > >> is done because it is always assumed we do an active balance with > >> busiest->nr_running > 1 &&

Re: [PATCH V5 1/3] misc/pvpanic: return 0 for empty body register function

2018-12-19 Thread Greg KH
On Wed, Dec 19, 2018 at 04:04:50PM +0800, Peng Hao wrote: > Return 0 for empty body register function normally. > > Signed-off-by: Peng Hao > --- > v4 --> v5 : handle all typo "drvier/driver" in funtion name. > > v3 --> v4 : use pcim* function instead of pci* function. > handle

Re: [RESEND PATCH v5 1/6] perf: Introduce ioctl to communicate driver configuration to kernel

2018-12-19 Thread Greg KH
On Mon, Dec 17, 2018 at 10:21:41AM -0700, Mathieu Poirier wrote: > Adding a new IOCTL command to communicate PMU specific configuration to > PMU kernel drivers. This can be anything a PMU might need for > configuration that doesn't fit in the perf_event_attr structure, such > as the CoreSight

[PATCH V2] scsi: lpfc: Switch memcpy_fromio() to __read32_copy()

2018-12-19 Thread Huacai Chen
In commit bc73905abf770192 ("[SCSI] lpfc 8.3.16: SLI Additions, updates, and code cleanup"), lpfc_memcpy_to_slim() have switched memcpy_toio() to __write32_copy() in order to prevent unaligned 64 bit copy. Recently, we found that lpfc_memcpy_from_slim() have similar issues, so let it switch

[PATCH 3/12] scsi: arcmsr: Merge arcmsr_alloc_io_queue to arcmsr_alloc_ccb_pool

2018-12-19 Thread Ching Huang
>From Ching Huang Merge arcmsr_alloc_io_queue to arcmsr_alloc_ccb_pool Signed-off-by: Ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index f831c13..e1c75ca 100755 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scsi/arcmsr/arcmsr_hba.c @@

Re: [RESEND] PM / Domains: remove define_genpd_open_function() and define_genpd_debugfs_fops()

2018-12-19 Thread Greg Kroah-Hartman
On Mon, Dec 17, 2018 at 09:19:07AM +0100, Ulf Hansson wrote: > On Sat, 15 Dec 2018 at 09:45, Yangtao Li wrote: > > > > We already have the DEFINE_SHOW_ATTRIBUTE, There is no need to define > > such a macro, so remove define_genpd_open_function and > > define_genpd_debugfs_fops. > > > > Convert

RE: linux-next: build warnings after merge of the wireless-drivers-next tree

2018-12-19 Thread Grumbach, Emmanuel
> > Stephen Rothwell writes: > > > On Fri, 30 Nov 2018 12:05:55 +1100 Stephen Rothwell > wrote: > >> > >> After merging the wireless-drivers-next tree, today's linux-next > >> build > >> (x86_64 allmodconfig) produced these warnings: > >> > >> drivers/net/wireless/intel/iwlwifi/iwl-drv.c: In

Re: [RESEND PATCH v5 2/6] perf/core: Use ioctl to communicate driver configuration to kernel

2018-12-19 Thread Greg KH
On Mon, Dec 17, 2018 at 10:21:42AM -0700, Mathieu Poirier wrote: > This patch adds the mechanic needed for user space to send PMU specific > configuration to the kernel driver using an ioctl() command. That way > events can keep track of options that don't fit in the perf_event_attr > structure

Re: [PATCH v2 1/3] sched/fair: fix rounding issue for asym packing

2018-12-19 Thread Vincent Guittot
On Tue, 18 Dec 2018 at 18:32, Valentin Schneider wrote: > > On 14/12/2018 16:01, Vincent Guittot wrote: > > When check_asym_packing() is triggered, the imbalance is set to : > > busiest_stat.avg_load * busiest_stat.group_capacity / SCHED_CAPACITY_SCALE > > busiest_stat.avg_load also comes from a

[PATCH 4/12] scsi: arcmsr: Update arcmsr_alloc_ccb_pool for ccb buffer address can above 4GB

2018-12-19 Thread Ching Huang
>From Ching Huang Update arcmsr_alloc_ccb_pool for ccb buffer address can above 4GB Signed-off-by: Ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h index 256fe9a..9041edc 100755 --- a/drivers/scsi/arcmsr/arcmsr.h +++ b/drivers/scsi/arcmsr/arcmsr.h @@

[PATCH] checkpatch.pl: Improve WARNING on Kconfig help

2018-12-19 Thread Igor Stoppa
The checkpatch.pl script complains when the help section of a Kconfig entry is too short, but it doesn't really explain what it is looking for. Instead, it gives a generic warning that one should consider writing a paragraph. But what it *really* checks is that the help section is at least

Re: [PATCH] ARM: dts: imx6sl: correct PWM ipg clock source

2018-12-19 Thread Uwe Kleine-König
[Cc: += linux-pwm] Hello, On Wed, Dec 19, 2018 at 05:41:31AM +, Anson Huang wrote: > From i.MX6SL Reference Manual, the PWMx's ipg clock > for registers access is from perclk, correct them. I assume this is related to the patch "pwm: imx: add ipg clock operation"? This patch doesn't fix a

[PATCH 0/3] can: flexcan: add imx8qm support

2018-12-19 Thread Joakim Zhang
This patch set intends to add Flexcan support for i.MX8QM platform which defaultly supports CAN FD protocol. Although BRS enabled by system reset when the driver sets CAN FD mode, now this patch serial does not support BRS in the driver. And then I will send patch to enable BRS by changing the

[PATCH 2/3] can: flexcan: add CAN FD mode support

2018-12-19 Thread Joakim Zhang
From: Dong Aisheng This patch intends to add CAN FD mode support in driver, it means that payload size can extend up to 64 bytes. NOTE: Bit rate switch (BRS) enabled by system reset when it enables CAN FD mode. So CAN hardware has support BRS, but now driver has not support it due to bit timing

[PATCH 1/3] can: rx-offload: add CANFD support based on offload

2018-12-19 Thread Joakim Zhang
From: Dong Aisheng Using struct canfd_frame instead of can_frame to add support for CAN FD mode in offload. FlexCAN controller will set the is_canfd variable when it supports CAN FD mode. Signed-off-by: Dong Aisheng Signed-off-by: Joakim Zhang --- drivers/net/can/rx-offload.c | 16

[PATCH 3/3] can: flexcan: add imx8qm support

2018-12-19 Thread Joakim Zhang
From: Dong Aisheng The Flexcan on i.MX8QM supports CAN FD protocol. Signed-off-by: Dong Aisheng Signed-off-by: Joakim Zhang --- drivers/net/can/flexcan.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c index

Re: [PATCH 35/63] perf trace: Allow specifying a set of events to add in perfconfig

2018-12-19 Thread Namhyung Kim
Hi Arnaldo, On Tue, Dec 18, 2018 at 07:07:05PM -0300, Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > To add augmented_raw_syscalls to the events speficied by the user, or be > the only one if no events were specified by the user, one can add this > to perfconfig: > > #

Re: x86/sgx: uapi change proposal

2018-12-19 Thread Jethro Beekman
On 2018-12-19 13:28, Jarkko Sakkinen wrote: I have pretty much figured out how to change the driver implementation from VMA based to file based. Most of the code in the driver can be reused with not that enormous changes. I think it is a clue that the architecture is somewhat right because

Re: [PATCH V2 3/9] x86/jump_label: Move checking code away from __jump_label_transform()

2018-12-19 Thread Jiri Kosina
On Tue, 18 Dec 2018, Daniel Bristot de Oliveira wrote: > This patch creates a new functions I am not a native speaker, but this doesn't sound like proper english to me. > to check the current code before updating a jump_entry. It should also be stated that this is equivalent code

[PATCH 5/12] scsi: arcmsr: Update for ACB_ADAPTER_TYPE_A that ccb address can above 4GB

2018-12-19 Thread Ching Huang
>From Ching Huang Update for ACB_ADAPTER_TYPE_A that ccb address can above 4GB Signed-off-by: Ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index 5353dbb..2ff1c9a 100755 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++

RE: [PATCH] ARM: dts: imx6sl: correct PWM ipg clock source

2018-12-19 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > From: Uwe Kleine-König [mailto:u.kleine-koe...@pengutronix.de] > Sent: 2018年12月19日 16:37 > To: Anson Huang > Cc: shawn...@kernel.org; s.ha...@pengutronix.de; ker...@pengutronix.de; > Fabio Estevam ; robh...@kernel.org; >

Re: [PATCH V2 5/9] x86/alternative: Split text_poke_bp() into tree steps

2018-12-19 Thread Jiri Kosina
On Tue, 18 Dec 2018, Daniel Bristot de Oliveira wrote: > text_poke_bp() updates instructions on live kernel on SMP in three steps: > 1) add a int3 trap to the address that will be patched > 2) update all but the first byte of the patched range > 3) replace the first byte (int3) by the first

[PATCH 6/12] scsi: arcmsr: Update for ACB_ADAPTER_TYPE_B that ccb address can above 4GB

2018-12-19 Thread Ching Huang
>From Ching Huang Update for ACB_ADAPTER_TYPE_B that ccb address can above 4GB Signed-off-by: Ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index 2ff1c9a..3d2727c 100755 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++

BUG_ON() hit in drivers/md/raid5.c

2018-12-19 Thread Kai Heng Feng
Hi Dan, There are two different BUG_ON() incidents get recently reported on Launchpad [1]. The first one is BUG_ON(dev->written) in ops_run_biodrain(). The second one (comment #23) is BUG_ON(!test_bit(R5_UPTODATE, >flags)) in handle_parity_checks5(). I am not familiar with raid 5 so I am not

[PATCH 1/1] task_stack: make code generic for getting end of stack.

2018-12-19 Thread Maninder Singh
currently code provides end of stack by considering stack grows downwards. Make it useful for architectures where stack grows upward. Although CONFIG_THREAD_INFO_IN_TASK is selected only for architectures where stack grows downward. Signed-off-by: Maninder Singh Signed-off-by: Vaneet Narang

Re: [PATCH v3] binder: implement binderfs

2018-12-19 Thread Greg KH
On Fri, Dec 14, 2018 at 01:11:14PM +0100, Christian Brauner wrote: > As discussed at Linux Plumbers Conference 2018 in Vancouver [1] this is the > implementation of binderfs. Looks good to me, thanks so much for doing this, now queued up! greg k-h

[PATCH 7/12] scsi: arcmsr: Update for ACB_ADAPTER_TYPE_C that ccb address can above 4GB

2018-12-19 Thread Ching Huang
>From Ching Huang Update for ACB_ADAPTER_TYPE_C that ccb address can above 4GB Signed-off-by: Ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index 3d2727c..39f3cd0 100755 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++

Re: [GIT PULL 1/3] stm class: Fix a module refcount leak in policy creation error path

2018-12-19 Thread Greg Kroah-Hartman
On Fri, Dec 14, 2018 at 05:53:45PM +0200, Alexander Shishkin wrote: > Commit ccddbbf4ef27 ("stm class: Introduce framing protocol drivers") I don't see that commit id in Linus's tree, are you sure it is correct? thanks, greg k-h

Re: [RFC][PATCH] printk: increase devkmsg write() ratelimit

2018-12-19 Thread Petr Mladek
On Tue 2018-12-18 12:37:48, Steven Rostedt wrote: > On Tue, 18 Dec 2018 18:21:09 +0100 > Peter Zijlstra wrote: > > > On Wed, Dec 19, 2018 at 01:52:17AM +0900, Sergey Senozhatsky wrote: > > > On (12/18/18 16:24), Borislav Petkov wrote: > > > > On Wed, Dec 19, 2018 at 12:14:55AM +0900, Sergey

Re: [PATCH V2 3/9] x86/jump_label: Move checking code away from __jump_label_transform()

2018-12-19 Thread Thomas Gleixner
On Wed, 19 Dec 2018, Jiri Kosina wrote: > On Tue, 18 Dec 2018, Daniel Bristot de Oliveira wrote: > > > This patch creates a new functions > > I am not a native speaker, but this doesn't sound like proper english to > me. Aside of that 'This patch' is wrong to begin with. See

[PATCH 8/12] scsi: arcmsr: Update for ACB_ADAPTER_TYPE_D that ccb address can above 4GB

2018-12-19 Thread Ching Huang
>From Ching Huang Update for ACB_ADAPTER_TYPE_D that ccb address can above 4GB Signed-off-by: Ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index 39f3cd0..8cc2134 100755 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++

Re: [PATCH] ARM: dts: imx6sl: correct PWM ipg clock source

2018-12-19 Thread Uwe Kleine-König
Hello, On Wed, Dec 19, 2018 at 08:44:13AM +, Anson Huang wrote: > i.MX6SL current setting has no issue, because the ipg_clk_s is from perclk > which is always > ON, but it does NOT match the clock info in reference manual, while other > i.MX6 SoCs > are having correct clock settings for PWM

[PATCH 9/12] scsi: arcmsr: Add an option of set dma_mask_64 for ACB_ADAPTER_TYPE_A

2018-12-19 Thread Ching Huang
>From Ching Huang Add an option of set dma_mask_64 for ACB_ADAPTER_TYPE_A Signed-off-by: Ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index 8cc2134..45f1374 100755 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scsi/arcmsr/arcmsr_hba.c

Re: [PATCH V4 2/4] rtc: add i.MX system controller RTC support

2018-12-19 Thread Alexandre Belloni
Hello, On 29/11/2018 01:50:11+, Anson Huang wrote: > i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller > inside, the system controller is in charge of controlling power, > clock and secure rtc etc.. > > This patch adds i.MX system controller RTC driver support, > Linux kernel

[PATCH 10/12] scsi: arcmsr: Separate 'set dma mask' as a function

2018-12-19 Thread Ching Huang
>From Ching Huang Separate 'set dma mask' as a function Signed-off-by: Ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index 45f1374..30dff6c 100755 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scsi/arcmsr/arcmsr_hba.c @@ -927,6 +927,31

[PATCH] regulator: mcp16502: Fix missing n_voltages setting

2018-12-19 Thread Axel Lin
The n_voltages setting is not set, fix it. Signed-off-by: Axel Lin --- drivers/regulator/mcp16502.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/mcp16502.c b/drivers/regulator/mcp16502.c index 25d7b433fafd..ec5b6836a20c 100644 --- a/drivers/regulator/mcp16502.c +++

[PATCH 11/12] scsi: arcmsr: Fix suspend/resume of ACB_ADAPTER_TYPE_B

2018-12-19 Thread Ching Huang
>From Ching Huang Fix suspend/resume of ACB_ADAPTER_TYPE_B Signed-off-by: Ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index 30dff6c..9f85d5a 100755 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scsi/arcmsr/arcmsr_hba.c @@ -1110,12

[PATCH 12/12] scsi: arcmsr: Update driver version to v1.40.00.10-20181217

2018-12-19 Thread Ching Huang
>From Ching Huang Update driver version to v1.40.00.10-20181217 Signed-off-by: Ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h index 9041edc..a94c513 100755 --- a/drivers/scsi/arcmsr/arcmsr.h +++ b/drivers/scsi/arcmsr/arcmsr.h @@ -49,7 +49,7 @@ struct

Re: general protection fault in put_pid

2018-12-19 Thread Manfred Spraul
Hello Dmitry, On 12/12/18 11:55 AM, Dmitry Vyukov wrote: On Tue, Dec 11, 2018 at 9:23 PM syzbot wrote: Hello, syzbot found the following crash on: HEAD commit:f5d582777bcb Merge branch 'for-linus' of git://git.kernel... git tree: upstream console output:

You should read will before reply, Honourable Barrister Aziz Dake..

2018-12-19 Thread Aziz Dake
Attn: Sir/Madam I am Honourable Barrister Aziz the personal resident Attorney here in Burkina Faso to Late Mr. Muammar Muhammad Abu Minyar al-Gaddafi of Libya c. 1942 – 20 October 2011. My client Late Mr. Muammar Muhammad Abu Minyar al-Gaddafi c. 1942 – 20 October 2011, was having a deposit sum

Re: [PATCH V1] mmc: cqhci: DMA Configuration prior to CQE

2018-12-19 Thread Adrian Hunter
On 14/12/18 8:21 PM, Sowjanya Komatineni wrote: > eMMC-5.1 JESD85-B51 Spec (Section 6.6.39), mentions DMA selection There is no JESD85-B51. I presume you mean JESD84-B51, but I can't find any reference to DMA in 6.6.39. All the host controller relevant material seems to be in Annex B. Can you

RE: [PATCH 12/25] clocksource/drivers/arc_timer: Utilize generic sched_clock

2018-12-19 Thread Alexey Brodkin
Hi Sasha, > -Original Message- > From: Sasha Levin [mailto:sas...@kernel.org] > Sent: Wednesday, December 19, 2018 4:25 AM > To: Sasha Levin ; Daniel Lezcano > ; Alexey Brodkin ; > t...@linutronix.de > Cc: linux-kernel@vger.kernel.org; Daniel Lezcano ; > Vineet Gupta ; > Thomas Gleixner

Re: [Xen-devel] [PATCH v2 1/1] xen/blkback: rework connect_ring() to avoid inconsistent xenstore 'ring-page-order' set by malicious blkfront

2018-12-19 Thread Roger Pau Monné
On Tue, Dec 18, 2018 at 11:29:16PM +0800, Dongli Zhang wrote: > > > On 12/18/2018 11:13 PM, Roger Pau Monné wrote: > > On Tue, Dec 18, 2018 at 07:31:59PM +0800, Dongli Zhang wrote: > >> Hi Roger, > >> > >> On 12/18/2018 05:33 PM, Roger Pau Monné wrote: > >>> On Tue, Dec 18, 2018 at 08:55:38AM

Re: [PATCH] genwqe: Fix size check

2018-12-19 Thread Greg Kroah-Hartman
On Wed, Dec 12, 2018 at 03:36:57PM +0100, Christian Borntraeger wrote: > On 12.12.2018 15:18, haver wrote: > > Hi Christian, > > > > On 2018-12-12 14:45, Christian Borntraeger wrote: > >> Calling the test program genwqe_cksum with the default buffer size of > >> 2MB triggers the following kernel

Re: x86/sgx: uapi change proposal

2018-12-19 Thread Jarkko Sakkinen
On Wed, Dec 19, 2018 at 08:41:12AM +, Jethro Beekman wrote: > One weird thing is the departure from the normal mmap behavior that the > memory mapping persists even if the original fd is closed. (See man mmap: > "closing the file descriptor does not unmap the region.") The mmapped region and

Re: [PATCH 2/3] dt-bindings: display: bridge: lvds-transmitter: add pwdn-gpios

2018-12-19 Thread Andrzej Hajda
On 19.12.2018 00:19, Peter Rosin wrote: > Add optional property to specify a power-down GPIO. > The pwdn-gpios name is already in use by the thine,thc63lvdm83d > binding, so go with that. > > Signed-off-by: Peter Rosin > --- > Documentation/devicetree/bindings/display/bridge/lvds-transmitter.txt

Re: [PATCH 13/18] mfd: wm831x-spi: Make it explicitly non-modular

2018-12-19 Thread Charles Keepax
On Mon, Dec 17, 2018 at 03:31:23PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_WM831X_SPI > drivers/mfd/Kconfig:bool "Wolfson Microelectronics WM831x/2x PMICs with > SPI" > > ...meaning that it currently is

Re: [PATCH 14/18] mfd: wm831x-i2c: Make it explicitly non-modular

2018-12-19 Thread Charles Keepax
On Mon, Dec 17, 2018 at 03:31:24PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_WM831X_I2C > drivers/mfd/Kconfig:bool "Wolfson Microelectronics WM831x/2x PMICs with > I2C" > > ...meaning that it currently is

Re: [PATCH 15/18] mfd: wm831x-core: drop unused module infrastructure from non-modular code

2018-12-19 Thread Charles Keepax
On Mon, Dec 17, 2018 at 03:31:25PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_WM831X > drivers/mfd/Kconfig:bool > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove

Re: [PATCH 16/18] mfd: wm8350-i2c: Make it explicitly non-modular

2018-12-19 Thread Charles Keepax
On Mon, Dec 17, 2018 at 03:31:26PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_WM8350_I2C > drivers/mfd/Kconfig:bool "Wolfson Microelectronics WM8350 with I2C" > > ...meaning that it currently is not being

Re: [PATCH 57/63] perf beauty mmap: Print PROT_READ before PROT_EXEC to match strace output

2018-12-19 Thread Namhyung Kim
On Tue, Dec 18, 2018 at 07:07:27PM -0300, Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Helps with comparing 'strace' and 'perf trace' output, for mutual > regression testing. > > Cc: Adrian Hunter > Cc: Jiri Olsa > Cc: Luis Cláudio Gonçalves > Cc: Namhyung Kim > Cc:

Re: [PATCH 17/18] mfd: wm8350-core: drop unused module infrastructure from non-modular code

2018-12-19 Thread Charles Keepax
On Mon, Dec 17, 2018 at 03:31:27PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_WM8350 > drivers/mfd/Kconfig:bool > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove

[PATCH] staging: android: ion: add buffer flag update ioctl

2018-12-19 Thread Zeng Tao
In some usecases, the buffer cached attribute is not determined at allocation time, it's determined just before the real cpu mapping. And from the memory view of point, a buffer should not have the cached attribute util is really mapped by the cpu. So in this patch, we introduced the new ioctl

Re: [PATCH 18/18] mfd: wm8400-core: Make it explicitly non-modular

2018-12-19 Thread Charles Keepax
On Mon, Dec 17, 2018 at 03:31:28PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_WM8400 > drivers/mfd/Kconfig:bool "Wolfson Microelectronics WM8400" > > ...meaning that it currently is not being built as a

Re: [RESEND] PM / Domains: remove define_genpd_open_function() and define_genpd_debugfs_fops()

2018-12-19 Thread Rafael J. Wysocki
On Wed, Dec 19, 2018 at 9:32 AM Greg Kroah-Hartman wrote: > > On Mon, Dec 17, 2018 at 09:19:07AM +0100, Ulf Hansson wrote: > > On Sat, 15 Dec 2018 at 09:45, Yangtao Li wrote: > > > > > > We already have the DEFINE_SHOW_ATTRIBUTE, There is no need to define > > > such a macro, so remove

Re: [v4] mmc: mediatek: Add MMC_CAP_SDIO_IRQ support

2018-12-19 Thread Ulf Hansson
On Tue, 18 Dec 2018 at 13:33, Jjian Zhou wrote: > > From: jjian zhou > > This patch enables support SDIO IRQs. It enables > MMC_CAP_SDIO_IRQ & MMC_CAP2_SDIO_IRQ_NOTHREAD > and implement the ->ack_sdio_irq callback. > > Signed-off-by: Jjian Zhou > Signed-off-by: Chaotian Jing > Signed-off-by:

Re: [RESEND] PM / Domains: remove define_genpd_open_function() and define_genpd_debugfs_fops()

2018-12-19 Thread Ulf Hansson
On Wed, 19 Dec 2018 at 10:17, Rafael J. Wysocki wrote: > > On Wed, Dec 19, 2018 at 9:32 AM Greg Kroah-Hartman > wrote: > > > > On Mon, Dec 17, 2018 at 09:19:07AM +0100, Ulf Hansson wrote: > > > On Sat, 15 Dec 2018 at 09:45, Yangtao Li wrote: > > > > > > > > We already have the

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

2018-12-19 Thread Jarkko Sakkinen
On Fri, Dec 14, 2018 at 01:57:29PM -0800, Sean Christopherson wrote: > 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

Re: [PATCHv3 4/4] misc: pci_endpoint_test: Add the layerscape EP device support

2018-12-19 Thread Greg KH
On Mon, Dec 03, 2018 at 06:35:05PM +0800, Xiaowei Bao wrote: > Add the layerscape EP device support in pci_endpoint_test driver. > > Signed-off-by: Xiaowei Bao > --- > v2: > - no change > v3: > - no change > > drivers/misc/pci_endpoint_test.c |2 ++ > 1 files changed, 2 insertions(+), 0

Re: [PATCH] sysfs: Disable lockdep for driver bind/unbind files

2018-12-19 Thread Daniel Vetter
On Wed, Dec 19, 2018 at 8:01 AM Greg Kroah-Hartman wrote: > > On Tue, Dec 18, 2018 at 09:14:43PM +0100, Daniel Vetter wrote: > > This is the much more correct fix for my earlier attempt at: > > > > https://lkml.org/lkml/2018/12/10/118 > > > > Short recap: > > > > - There's not actually a locking

[PATCH] hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable.

2018-12-19 Thread Buland Singh
The kernel command parameter 'hpet_mmap' never takes effect due to missing '=' character in the __setup() code of hpet_mmap_enable and the memory map of the HPET registers never get expose to userspace. Signed-off-by: Buland Singh --- drivers/char/hpet.c | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH] sysfs: Disable lockdep for driver bind/unbind files

2018-12-19 Thread Rafael J. Wysocki
On Wed, Dec 19, 2018 at 8:01 AM Greg Kroah-Hartman wrote: > > On Tue, Dec 18, 2018 at 09:14:43PM +0100, Daniel Vetter wrote: > > This is the much more correct fix for my earlier attempt at: > > > > https://lkml.org/lkml/2018/12/10/118 > > > > Short recap: > > > > - There's not actually a locking

Re: [PATCH net] net: mvneta: fix operation for 64K PAGE_SIZE

2018-12-19 Thread Marcin Wojtas
Hi Jisheng, śr., 19 gru 2018 o 04:11 Jisheng Zhang napisał(a): > > > On Mon, 17 Dec 2018 08:37:35 +0100 Thomas Petazzoni wrote: > > > Hello Marcin, > > > > On Mon, 17 Dec 2018 00:25:58 +0100, Marcin Wojtas wrote: > > > > > Thanks. Indeed, the patch is valid as a fix for current version of SW > >

Re: [PATCH v2 1/3] PM/pm_runtime: move autosuspend on hrtimer

2018-12-19 Thread Ulf Hansson
On Fri, 14 Dec 2018 at 15:22, Vincent Guittot wrote: > > pm runtime uses the timer infrastructure for autosuspend. This implies that > the minimum time before autosuspending a device is in the range > of 1 tick included to 2 ticks excluded > -On arm64 this means between 4ms and 8ms with default

Re: [PATCH v2] kobject: add kernel/uevent_features sysfs file

2018-12-19 Thread Greg KH
On Fri, Dec 07, 2018 at 01:28:52PM +0100, Peter Rajnoha wrote: > On 12/7/18 1:01 PM, Greg KH wrote: > > On Fri, Dec 07, 2018 at 12:46:07PM +0100, Peter Rajnoha wrote: > >> This patch adds /sys/kernel/uevent_features file which currently lists > >> 'synthargs' string to denote that the kernel is

[PATCH v3 1/6] usb: uvc: include videodev2.h in g_uvc.h

2018-12-19 Thread Paul Elder
V4L2_EVENT_PRIVATE_START is used in g_uvc.h but is defined in videodev2.h, which is not included and causes a compiler warning: linux/usb/g_uvc.h:15:28: error: ‘V4L2_EVENT_PRIVATE_START’ undeclared here (not in a function) #define UVC_EVENT_FIRST (V4L2_EVENT_PRIVATE_START + 0) Include

[PATCH v3 0/6] usb: gadget: add mechanism to asynchronously validate data stage of ctrl out request

2018-12-19 Thread Paul Elder
This patch series adds a mechanism to allow asynchronously validating the data stage of a control OUT request, and for stalling or suceeding the request accordingly. This mechanism is implemented for MUSB, and is used by UVC. At the same time, UVC packages the setup stage and data stage data

[PATCH v3 5/6] usb: musb: gadget: implement optional explicit status stage

2018-12-19 Thread Paul Elder
Implement the mechanism for optional explicit status stage for the MUSB driver. This allows a function driver to specify what to reply for the status stage. The functionality for an implicit status stage is retained. Signed-off-by: Paul Elder v1 Reviewed-by: Laurent Pinchart v1 Acked-by: Bin

INFO: rcu detected stall in sys_sendfile64

2018-12-19 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:ddfbab46539f Merge tag 'scsi-fixes' of git://git.kernel.or.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15b87fa340 kernel config: https://syzkaller.appspot.com/x/.config?x=861a3573f4e78ba1

[PATCH v3 2/6] usb: gadget: uvc: enqueue usb request in setup handler for control OUT

2018-12-19 Thread Paul Elder
Currently, for uvc class-specific control IN and OUT requests, in the setup handler a UVC_EVENT_SETUP with the setup control is enqueued to userspace. In response to this, the uvc function driver expects userspace to call ioctl UVCIOC_SEND_RESPONSE containing uvc request data. In the case of

[PATCH v3 6/6] usb: gadget: uvc: allow ioctl to send response in status stage

2018-12-19 Thread Paul Elder
We now have a mechanism to signal the UDC driver to reply to a control OUT request with STALL or ACK, and we have packaged the setup stage data and the data stage data of a control OUT request into a single UVC_EVENT_DATA for userspace to consume. The ioctl UVCIOC_SEND_RESPONSE in the case of a

[PATCH v3 4/6] usb: gadget: add mechanism to specify an explicit status stage

2018-12-19 Thread Paul Elder
A usb gadget function driver may or may not want to delay the status stage of a control OUT request. An instance it might want to is to asynchronously validate the data of a class-specific request. A function driver that wants an explicit status stage should set the newly added explicit_status

[PATCH v3 3/6] usb: gadget: uvc: package setup and data for control OUT requests

2018-12-19 Thread Paul Elder
Since "usb: gadget: uvc: enqueue uvc_request_data in setup handler for control OUT requests" it is no longer necessary for userspace to call ioctl UVCIOC_SEND_RESPONSE in response to receiving a UVC_EVENT_SETUP from the uvc function driver for a control OUT request. This change means that for

Re: [PATCH v3] binder: implement binderfs

2018-12-19 Thread Christian Brauner
On Wed, Dec 19, 2018 at 09:47:56AM +0100, Greg KH wrote: > On Fri, Dec 14, 2018 at 01:11:14PM +0100, Christian Brauner wrote: > > As discussed at Linux Plumbers Conference 2018 in Vancouver [1] this is the > > implementation of binderfs. > > > > Looks good to me, thanks so much for doing this,

Re: [RFC] Fix failure path in alloc_pid()

2018-12-19 Thread Eric W. Biederman
Matthew Wilcox writes: > The failure path removes the allocated PIDs from the wrong namespace. > I believe this is correct, but have not tested it. Spotted by inspection, > do we have a test suite for PID namespaces? Some error injection, > perhaps? > > Fixes: 95846ecf9dac ("pid: replace pid

RE: [PATCHv3 4/4] misc: pci_endpoint_test: Add the layerscape EP device support

2018-12-19 Thread Xiaowei Bao
-Original Message- From: Greg KH Sent: 2018年12月19日 17:21 To: Xiaowei Bao Cc: bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; Leo Li ; kis...@ti.com; lorenzo.pieral...@arm.com; a...@arndb.de; M.h. Lian ; Mingkai Hu ; Roy Zang ;

[PATCH v3] f2fs: add bio cache for IPU

2018-12-19 Thread Chao Yu
SQLite in Wal mode may trigger sequential IPU write in db-wal file, after commit d1b3e72d5490 ("f2fs: submit bio of in-place-update pages"), we lost the chance of merging page in inner managed bio cache, result in submitting more small-sized IO. So let's add temporary bio in writepages() to cache

Re: [PATCH] sysfs: Disable lockdep for driver bind/unbind files

2018-12-19 Thread Rafael J. Wysocki
On Wed, Dec 19, 2018 at 10:24 AM Daniel Vetter wrote: > > On Wed, Dec 19, 2018 at 8:01 AM Greg Kroah-Hartman > wrote: > > > > On Tue, Dec 18, 2018 at 09:14:43PM +0100, Daniel Vetter wrote: > > > This is the much more correct fix for my earlier attempt at: > > > > > >

Re: [PATCH] cpuidle: New timer events oriented governor for tickless systems

2018-12-19 Thread Quentin Perret
On Tuesday 18 Dec 2018 at 16:31:13 (+0100), Rafael J. Wysocki wrote: > > > + /* > > > + * Count and sum the most recent idle duration values less > > > than > > > + * the target residency of the state selected so far, find > > > the > > > + *

Re: [PATCH v4 4/9] drm/rockchip/rockchip_drm_gem.c: Convert to use vm_insert_range

2018-12-19 Thread Russell King - ARM Linux
On Wed, Dec 19, 2018 at 09:01:09AM +0530, Souptick Joarder wrote: > On Tue, Dec 18, 2018 at 6:31 PM Russell King - ARM Linux > wrote: > > > > On Tue, Dec 18, 2018 at 06:24:29PM +0530, Souptick Joarder wrote: > > > On Tue, Dec 18, 2018 at 6:03 PM Russell King - ARM Linux > > > wrote: > > > > > >

Re: [PATCH v3] m68k: Fix memblock-related crashes

2018-12-19 Thread Geert Uytterhoeven
Hi Andreas, On Mon, Dec 17, 2018 at 8:34 PM Andreas Schwab wrote: > On Dez 17 2018, Andreas Schwab wrote: > > On Dez 13 2018, Andreas Schwab wrote: > >> I'm now getting this Oops: > >> > >> [ 65.39] Unable to handle kernel NULL pointer dereference at virtual > >> address (ptrval) > >> [

Re: x86/sgx: uapi change proposal

2018-12-19 Thread Jethro Beekman
On 2018-12-19 14:41, Jarkko Sakkinen wrote: On Wed, Dec 19, 2018 at 08:41:12AM +, Jethro Beekman wrote: One weird thing is the departure from the normal mmap behavior that the memory mapping persists even if the original fd is closed. (See man mmap: "closing the file descriptor does not

RE: [PATCH V4 2/4] rtc: add i.MX system controller RTC support

2018-12-19 Thread Anson Huang
Hi, Alexandre Best Regards! Anson Huang > -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@bootlin.com] > Sent: 2018年12月19日 16:54 > To: Anson Huang > Cc: a.zu...@towertech.it; robh...@kernel.org; mark.rutl...@arm.com; > catalin.mari...@arm.com; will.dea...@arm.com;

Re: [PATCH v2 1/1] MAINTAINERS: update list of qcom drivers

2018-12-19 Thread Amit Kucheria
On Tue, Dec 18, 2018 at 6:02 PM Joe Perches wrote: > > On Tue, 2018-12-18 at 15:29 +0530, Amit Kucheria wrote: > > Several drivers didn't have a specific maintainer (other than the > > subsystem maintainer). Add all drivers referring to qcom or msm to the > > list of supported drivers. > [] > >

Re: [RFC/RFT 01/10] i2c: add 'is_suspended' flag for i2c adapters

2018-12-19 Thread Geert Uytterhoeven
Hi Wolfram, On Wed, Dec 19, 2018 at 12:34 AM Wolfram Sang wrote: > > > + unsigned int is_suspended:1;/* owned by the I2C core */ > > > > When more stuff is added to this bit field (which always happens at > > some point) updates to all members of the bit field will have to use > > the same

Re: [PATCH v15 2/2] Add oom victim's memcg to the oom context information

2018-12-19 Thread Michal Hocko
On Wed 19-12-18 16:23:39, Tetsuo Handa wrote: > Andrew, will you fold below diff into "mm, oom: add oom victim's memcg to the > oom context information" ? > > >From add1e8daddbfc5186417dbc58e9e11e7614868f8 Mon Sep 17 00:00:00 2001 > From: Tetsuo Handa > Date: Wed, 19 Dec 2018 16:09:31 +0900 >

Re: [RESEND PATCH v5 4/6] coresight: Use PMU driver configuration for sink selection

2018-12-19 Thread Suzuki K Poulose
On 18/12/2018 17:34, Mathieu Poirier wrote: Good day Suzuki, On Tue, 18 Dec 2018 at 07:14, Suzuki K Poulose wrote: Hi Mathieu, On 17/12/2018 17:21, Mathieu Poirier wrote: This patch uses the PMU driver configuration held in event::hw::drv_config to select a sink for each event that is

[PATCH] ASoC: xlnx: change license header format style

2018-12-19 Thread Maruthi Srinivas Bayyavarapu
Changed License header from C to C++ style comment block. Signed-off-by: Maruthi Srinivas Bayyavarapu --- sound/soc/xilinx/xlnx_i2s.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/sound/soc/xilinx/xlnx_i2s.c b/sound/soc/xilinx/xlnx_i2s.c index

  1   2   3   4   5   6   7   8   9   10   >