Re: [RFC PATCH 1/2] dt-bindings: pwm: imx: Allow switching PWM output between PWM and GPIO

2018-08-22 Thread Michal Vokáč
On 22.8.2018 08:14, Lothar Waßmann wrote: Michal Vokáč wrote: Output of the PWM block of i.MX SoCs is always zero volts when the block is disabled. This can caue issues when inverted PWM polarity is needed. With inverted polarity a duty cycle = 0% corresponds to solid high level on the output.

Re: [PATCH v9 22/22] s390: doc: detailed specifications for AP virtualization

2018-08-22 Thread Harald Freudenberger
On 21.08.2018 17:53, Cornelia Huck wrote: > On Tue, 21 Aug 2018 11:00:00 +0200 > Harald Freudenberger wrote: > >> On 20.08.2018 18:03, Cornelia Huck wrote: >>> On Mon, 13 Aug 2018 17:48:19 -0400 >>> Tony Krowiak wrote: +* AP Instructions: + + There are three AP instructions:

Re: [PATCH] mm,page_alloc: PF_WQ_WORKER threads must sleep at should_reclaim_retry().

2018-08-22 Thread Michal Hocko
On Wed 22-08-18 06:07:40, Tetsuo Handa wrote: > On 2018/08/03 15:16, Michal Hocko wrote: [...] > >> Now that Roman's cgroup aware OOM killer patchset will be dropped from > >> linux-next.git , > >> linux-next.git will get the sleeping point removed. Please send this patch > >> to linux-next.git .

Re: [PATCH] IB/ucm: fix UCM link error

2018-08-22 Thread Arnd Bergmann
On Wed, Aug 22, 2018 at 5:18 AM Jason Gunthorpe wrote: > > On Tue, Aug 21, 2018 at 04:20:44PM +0200, Arnd Bergmann wrote: > > Building UCM with CONFIG_INFINIBAND_USER_ACCESS=m results in a > > set of link errors including: > > > > drivers/infiniband/core/ucm.o: In function `ib_ucm_event_handler':

Re: [PATCH] soc: ti: pm33xx: Enable DS0 for the platforms on which it is functional

2018-08-22 Thread Johan Hovold
On Wed, Aug 22, 2018 at 11:02:31AM +0530, Keerthy wrote: > Enable DS0 for only those platforms on which it is functional > > Signed-off-by: Keerthy > --- > arch/arm/mach-omap2/pm33xx-core.c| 5 + > drivers/soc/ti/pm33xx.c | 9 + > include/linux/platform_data/pm33xx.h

Re: [PATCH] soc: ti: pm33xx: Enable DS0 for the platforms on which it is functional

2018-08-22 Thread Johan Hovold
On Wed, Aug 22, 2018 at 09:34:09AM +0200, Johan Hovold wrote: > On Wed, Aug 22, 2018 at 11:02:31AM +0530, Keerthy wrote: > > Enable DS0 for only those platforms on which it is functional > > > > Signed-off-by: Keerthy > > --- > > arch/arm/mach-omap2/pm33xx-core.c| 5 + > > drivers/soc/ti

[PATCH 14/14] ata: ahci_xgene: add second argument of ahci_platform_get_resources()

2018-08-22 Thread Kunihiko Hayashi
Adding a flag to indicate whether acqiring the optional resources as the second argument of ahci_platform_get_resources(), add the argument as initial value 0. Cc: Hans de Goede Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_xgene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 11/14] ata: ahci_st: add second argument of ahci_platform_get_resources()

2018-08-22 Thread Kunihiko Hayashi
Adding a flag to indicate whether acqiring the optional resources as the second argument of ahci_platform_get_resources(), add the argument as initial value 0. Cc: Hans de Goede Cc: Patrice Chotard Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_st.c | 2 +- 1 file changed, 1 insertion(+)

[PATCH 13/14] ata: ahci_tegra: add second argument of ahci_platform_get_resources()

2018-08-22 Thread Kunihiko Hayashi
Adding a flag to indicate whether acqiring the optional resources as the second argument of ahci_platform_get_resources(), add the argument as initial value 0. Cc: Hans de Goede Cc: Thierry Reding Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_tegra.c | 2 +- 1 file changed, 1 insertion(

[PATCH 05/14] ata: ahci_dm816: add second argument of ahci_platform_get_resources()

2018-08-22 Thread Kunihiko Hayashi
Adding a flag to indicate whether acqiring the optional resources as the second argument of ahci_platform_get_resources(), add the argument as initial value 0. Cc: Hans de Goede Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_dm816.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 09/14] ata: ahci_qoriq: add second argument of ahci_platform_get_resources()

2018-08-22 Thread Kunihiko Hayashi
Adding a flag to indicate whether acqiring the optional resources as the second argument of ahci_platform_get_resources(), add the argument as initial value 0. Cc: Hans de Goede Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_qoriq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 01/14] ata: ahci-platform: add reset control support and the flag to specify using reset

2018-08-22 Thread Kunihiko Hayashi
Add support to get and control a list of resets for the device as optional and shared. These resets must be kept de-asserted until the device is enabled. This is specified as shared because some SoCs like UniPhier series have common reset controls with all ahci controller instances. However, acco

[PATCH 06/14] ata: ahci_imx: add second argument of ahci_platform_get_resources()

2018-08-22 Thread Kunihiko Hayashi
Adding a flag to indicate whether acqiring the optional resources as the second argument of ahci_platform_get_resources(), add the argument as initial value 0. Cc: Hans de Goede Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH 08/14] ata: ahci_mvebu: add second argument of ahci_platform_get_resources()

2018-08-22 Thread Kunihiko Hayashi
Adding a flag to indicate whether acqiring the optional resources as the second argument of ahci_platform_get_resources(), add the argument as initial value 0. Cc: Hans de Goede Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_mvebu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 04/14] ata: ahci_da850: add second argument of ahci_platform_get_resources()

2018-08-22 Thread Kunihiko Hayashi
Adding a flag to indicate whether acqiring the optional resources as the second argument of ahci_platform_get_resources(), add the argument as initial value 0. Cc: Hans de Goede Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_da850.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 10/14] ata: ahci_seattle: add second argument of ahci_platform_get_resources()

2018-08-22 Thread Kunihiko Hayashi
Adding a flag to indicate whether acqiring the optional resources as the second argument of ahci_platform_get_resources(), add the argument as initial value 0. Cc: Hans de Goede Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_seattle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 12/14] ata: ahci_sunxi: add second argument of ahci_platform_get_resources()

2018-08-22 Thread Kunihiko Hayashi
Adding a flag to indicate whether acqiring the optional resources as the second argument of ahci_platform_get_resources(), add the argument as initial value 0. Cc: Hans de Goede Cc: Maxime Ripard Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_sunxi.c | 2 +- 1 file changed, 1 insertion(+

[PATCH 07/14] ata: ahci_brcm: add second argument of ahci_platform_get_resources()

2018-08-22 Thread Kunihiko Hayashi
Adding a flag to indicate whether acqiring the optional resources as the second argument of ahci_platform_get_resources(), add the argument as initial value 0. Cc: Hans de Goede Cc: Matthias Brugger Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_mtk.c | 2 +- 1 file changed, 1 insertion(

[PATCH 02/14] ata: ahci_brcm: add second argument of ahci_platform_get_resources()

2018-08-22 Thread Kunihiko Hayashi
Adding a flag to indicate whether acqiring the optional resources as the second argument of ahci_platform_get_resources(), add the argument as initial value 0. Cc: Hans de Goede Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_brcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

Re: [PATCH v9 22/22] s390: doc: detailed specifications for AP virtualization

2018-08-22 Thread Cornelia Huck
On Tue, 21 Aug 2018 20:54:49 +0200 Halil Pasic wrote: > On 08/20/2018 10:16 PM, Tony Krowiak wrote: > >> Does the SIE complain if you specify a control > >> domain that the host does not have access to (I'd guess so)? > > > > The SIE does not complain if you specify a domain to which the host 

[PATCH 00/14] ata: ahci-platform: add reset control support except for existing drivers

2018-08-22 Thread Kunihiko Hayashi
Add support to get and control a list of resets for the device, and add the flag indicating whether to use the reset. Existing drivers set 0 to this flags. This series solves the issue of the previous patch [1] that was already reverted [2]. [1] https://www.spinics.net/lists/linux-ide/msg55299.htm

[PATCH 03/14] ata: ahci_ceva: add second argument of ahci_platform_get_resources()

2018-08-22 Thread Kunihiko Hayashi
Adding a flag to indicate whether acqiring the optional resources as the second argument of ahci_platform_get_resources(), add the argument as initial value 0. Cc: Hans de Goede Signed-off-by: Kunihiko Hayashi --- drivers/ata/ahci_ceva.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[RESEND PATCH v2] acpi/processor: Fix the return value of acpi_processor_ids_walk()

2018-08-22 Thread Dou Liyang
ACPI driver should make sure all the processor IDs in their ACPI Namespace are unique. the driver performs a depth-first walk of the namespace tree and calls the acpi_processor_ids_walk() to check the duplicate IDs. But, the acpi_processor_ids_walk() mistakes the return value. If a processor is ch

[PATCH] x86/kvm/vmx: Fix GPF on reading vmentry_l1d_flush

2018-08-22 Thread MINOURA Makoto / 箕浦 真
When EPT is not enabled, reading /sys/module/kvm_intel/parameters/vmentry_l1d_flush causes general protection fault in vmentry_l1d_flush_get() due to access beyond the end of the array vmentry_l1d_param[]. Signed-off-by: Minoura Makoto --- arch/x86/include/asm/vmx.h | 1 + arch/x86/kvm/vmx.c

Re: [RFC v2 2/2] mm/memory_hotplug: Shrink spanned pages when offlining memory

2018-08-22 Thread Oscar Salvador
On Tue, Aug 21, 2018 at 03:17:10PM +0200, David Hildenbrand wrote: > > add_device_memory is in charge of > > I wouldn't use the terminology of onlining/offlining here. That applies > rather to memory that is exposed to the rest of the system (e.g. buddy > allocator, has underlying memory block dev

Re: [PATCH 1/2] workqueue: skip lockdep wq dependency in cancel_work_sync()

2018-08-22 Thread Byungchul Park
On Wed, Aug 22, 2018 at 09:07:23AM +0200, Johannes Berg wrote: > On Wed, 2018-08-22 at 14:47 +0900, Byungchul Park wrote: > > On Wed, Aug 22, 2018 at 06:02:23AM +0200, Johannes Berg wrote: > > > On Wed, 2018-08-22 at 11:45 +0900, Byungchul Park wrote: > > > > > > > That should've been adjusted as

Re: [PATCH v2 0/2] mm: soft-offline: fix race against page allocation

2018-08-22 Thread Michal Hocko
On Wed 22-08-18 01:37:48, Naoya Horiguchi wrote: > On Wed, Aug 15, 2018 at 03:43:34PM -0700, Andrew Morton wrote: > > On Tue, 17 Jul 2018 14:32:30 +0900 Naoya Horiguchi > > wrote: > > > > > I've updated the patchset based on feedbacks: > > > > > > - updated comments (from Andrew), > > > - moved

Re: [PATCH v2] mfd: arizona: Correct calling of runtime_put_sync

2018-08-22 Thread Charles Keepax
On Tue, Aug 21, 2018 at 07:52:44PM +0530, sapthagiri.bara...@gmail.com wrote: > From: Sapthagiri Baratam > > Don't call runtime_put_sync when clk32k_ref is ARIZONA_32KZ_MCLK2 > as there is no corresponding runtime_get_sync call. > > MCLK1 is not in the AoD power domain so if it is used as 32kHz

RE: [PATCH V5 00/10] mmc: add support for sdhci 4.0

2018-08-22 Thread 张春艳
On Thu, 16 Aug 2018 at 15:54, Chunyan Zhang wrote: > > From the SD host controller version 4.0 on, SDHCI implementation either > is version 3 compatible or version 4 mode. This patch-set covers those > changes which are common for SDHCI 4.0 version, regardless of whether > they are used with SD or

[PATCH] KVM: s390: vsie: Consolidate CRYCB validation

2018-08-22 Thread Pierre Morel
Currently when shadowing the CRYCB on SIE entrance, the validation tests the following: - accept only FORMAT1 or FORMAT2 - test if MSAext facility (76) is installed - accept the CRYCB if no keys are used - verifies that the CRYCB format1 is inside a page - verifies that the CRYCB origin is not 0 T

Re: [RFC v2 2/2] mm/memory_hotplug: Shrink spanned pages when offlining memory

2018-08-22 Thread David Hildenbrand
On 22.08.2018 09:50, Oscar Salvador wrote: > On Tue, Aug 21, 2018 at 03:17:10PM +0200, David Hildenbrand wrote: >>> add_device_memory is in charge of >> >> I wouldn't use the terminology of onlining/offlining here. That applies >> rather to memory that is exposed to the rest of the system (e.g. bud

Re: SEV guest regression in 4.18

2018-08-22 Thread Borislav Petkov
Dropping Pavel as it bounces. On Tue, Aug 21, 2018 at 11:07:38AM -0500, Brijesh Singh wrote: > The tsc_early_init() is called before setup_arch() -> init_mem_mapping. Ok, I see it, thanks for explaining. So back to your original ideas - I'm wondering whether we should define a chunk of memory wh

Re: [PATCH] staging: rtl8188eu: Fix spelling mistake

2018-08-22 Thread Dan Carpenter
On Tue, Aug 21, 2018 at 07:14:28AM +0530, Bhaskar Singh wrote: > This patch fix spelling mistakes in TODO. > Btw, it helps when you say which word you're changing, otherwise it takes a while to spot the difference. We changed "HGz" to "GHz". Probably someone smarter than I am would have spotted

Re: [PATCH] soc: ti: pm33xx: Enable DS0 for the platforms on which it is functional

2018-08-22 Thread J, KEERTHY
On 8/22/2018 1:07 PM, Johan Hovold wrote: On Wed, Aug 22, 2018 at 09:34:09AM +0200, Johan Hovold wrote: On Wed, Aug 22, 2018 at 11:02:31AM +0530, Keerthy wrote: Enable DS0 for only those platforms on which it is functional Signed-off-by: Keerthy --- arch/arm/mach-omap2/pm33xx-core.c|

Re: [PATCH] KVM: s390: vsie: Consolidate CRYCB validation

2018-08-22 Thread David Hildenbrand
On 22.08.2018 10:08, Pierre Morel wrote: > Currently when shadowing the CRYCB on SIE entrance, the validation > tests the following: > - accept only FORMAT1 or FORMAT2 > - test if MSAext facility (76) is installed > - accept the CRYCB if no keys are used > - verifies that the CRYCB format1 is insid

Waiting for the photos

2018-08-22 Thread Lucy Karlson
Do you have needs to change or cut out background for you photos? Do you have needs to retouch or enhance your photos? We are an image team of 10 editors, who can help you for those photo work needs. Please contact us for further info. Thanks, Lucy Karlson

Re: [PATCH] x86/kvm/vmx: Fix GPF on reading vmentry_l1d_flush

2018-08-22 Thread Jinpu Wang
> From: MINOURA Makoto / 箕浦 真 > Date: 2018年8月22日周三 上午9:50 > Subject: [PATCH] x86/kvm/vmx: Fix GPF on reading vmentry_l1d_flush > To: > Cc: > > > > When EPT is not enabled, reading > /sys/module/kvm_intel/parameters/vmentry_l1d_flush causes > general protection fault in vmentry_l1d_flush_get() du

[PATCH v4 0/4] Fix debug macros and their usages

2018-08-22 Thread Nishad Kamdar
This patchset fixes the four debug macros N_MSG, ERR_MSG, INIT_MSG and IRQ_MSG. Each patch fixes one particular macro and its usages. For N_MSG, replaces printk with dev_ without __func__ or __LINE__ or current->comm and current->pid. Removes the do {} while(0) loop for the single statement macro.

[PATCH v4 1/4] staging: mt7621-mmc: Fix debug macro N_MSG

2018-08-22 Thread Nishad Kamdar
This patch fixes the debug macro N_MSG. Replaces printk with dev_ without __func__ or __LINE__ or current->comm and current->pid. Removes the do {} while(0) loop for the single statement macro. Issue found by checkpatch. Signed-off-by: Nishad Kamdar --- drivers/staging/mt7621-mmc/dbg.h | 11

Re: [PATCH] KVM: s390: vsie: Consolidate CRYCB validation

2018-08-22 Thread Pierre Morel
On 22/08/2018 10:25, David Hildenbrand wrote: On 22.08.2018 10:08, Pierre Morel wrote: Currently when shadowing the CRYCB on SIE entrance, the validation tests the following: - accept only FORMAT1 or FORMAT2 - test if MSAext facility (76) is installed - accept the CRYCB if no keys are used - ver

[PATCH v4 2/4] staging: mt7621-mmc: Fix debug macro ERR_MSG and its usages

2018-08-22 Thread Nishad Kamdar
Replace all usages of ERR_MSG with with dev_ without __func__ or __LINE__ or current->comm and current->pid. Remove the do {} while(0) loop for the single statement macro. Drop ERR_MSG from dbg.h. Issue found by checkpatch. Signed-off-by: Nishad Kamdar --- drivers/staging/mt7621-mmc/dbg.h | 6

Re: [PATCH] soc: ti: pm33xx: Enable DS0 for the platforms on which it is functional

2018-08-22 Thread Johan Hovold
On Wed, Aug 22, 2018 at 01:50:29PM +0530, J, KEERTHY wrote: > > > On 8/22/2018 1:07 PM, Johan Hovold wrote: > > On Wed, Aug 22, 2018 at 09:34:09AM +0200, Johan Hovold wrote: > >> On Wed, Aug 22, 2018 at 11:02:31AM +0530, Keerthy wrote: > >>> Enable DS0 for only those platforms on which it is func

Re: [PATCH] KVM: s390: vsie: Consolidate CRYCB validation

2018-08-22 Thread David Hildenbrand
On 22.08.2018 10:41, Pierre Morel wrote: > On 22/08/2018 10:25, David Hildenbrand wrote: >> On 22.08.2018 10:08, Pierre Morel wrote: >>> Currently when shadowing the CRYCB on SIE entrance, the validation >>> tests the following: >>> - accept only FORMAT1 or FORMAT2 >>> - test if MSAext facility (76

[PATCH v4 3/4] staging: mt7621-mmc: Remove macro INIT_MSG and its usages

2018-08-22 Thread Nishad Kamdar
Removed all usages of INIT_MSG and dropped it from dbg.h. Signed-off-by: Nishad Kamdar --- drivers/staging/mt7621-mmc/dbg.h | 7 --- drivers/staging/mt7621-mmc/sd.c | 16 2 files changed, 23 deletions(-) diff --git a/drivers/staging/mt7621-mmc/dbg.h b/drivers/staging/mt76

Re: [PATCH 1/1] perf/x86/intel: make error messages less confusing

2018-08-22 Thread Peter Zijlstra
On Tue, Aug 21, 2018 at 04:05:22PM -0700, Eduardo Valentin wrote: > On Tue, Aug 21, 2018 at 03:09:37PM -0700, Andi Kleen wrote: > > On Tue, Aug 21, 2018 at 02:15:28PM -0700, Eduardo Valentin wrote: > > > [ 0.100114] Performance Events: unsupported p6 CPU model 85 no PMU > > > driver, software eve

[PATCH v4 4/4] staging: mt7621-mmc: Fix debug macro IRQ_MSG and its usages

2018-08-22 Thread Nishad Kamdar
Replace all usages of IRQ_MSG with with dev_ without __func__ or __LINE__ or current->comm and current->pid. Remove the do {} while(0) loop for the single statement macro. Drop IRQ_MSG from dbg.h. Issue found by checkpatch. Signed-off-by: Nishad Kamdar --- drivers/staging/mt7621-mmc/dbg.h | 12 -

Compliment of the day to you Dear Friend.

2018-08-22 Thread Mrs. Amina Kadi
Compliment of the day to you Dear Friend. Dear Friend. I am Mrs. Amina Kadi. am sending this brief letter to solicit your partnership to transfer $5.5 million US Dollars. I shall send you more information and procedures when I receive positive response from you. Mrs. Amina Kadi

[PATCH] ovl: set I_CREATING on inode being created

2018-08-22 Thread Miklos Szeredi
...otherwise there will be list corruption due to inode_sb_list_add() being called for inode already on the sb list. Signed-off-by: Miklos Szeredi Fixes: e950564b97fd ("vfs: don't evict uninitialized inode") --- This missed the 4.19 overlay pull request, because it fixes a bug introduced by patch

[PATCH] clk: ti: fix OF child-node lookup

2018-08-22 Thread Johan Hovold
Fix child-node lookup which by using the wrong OF helper was searching the whole tree depth-first, something which could end up matching an unrelated node. Also fix the related node-reference leaks. Fixes: 5b385a45e001 ("clk: ti: add support for clkctrl aliases") Signed-off-by: Johan Hovold ---

Re: [PATCH] staging: rtl8188eu: Fix spelling mistake

2018-08-22 Thread Bhaskar Singh
On Wed, Aug 22, 2018 at 11:16:36AM +0300, Dan Carpenter wrote: > On Tue, Aug 21, 2018 at 07:14:28AM +0530, Bhaskar Singh wrote: > > This patch fix spelling mistakes in TODO. > > > > Btw, it helps when you say which word you're changing, otherwise it > takes a while to spot the difference. We cha

Re: general protection fault in finish_task_switch (2)

2018-08-22 Thread Peter Zijlstra
On Tue, Aug 21, 2018 at 02:28:02PM -0700, syzbot wrote: > syzbot has found a reproducer for the following crash on: > > HEAD commit:778a33959a8a Merge tag 'please-pull-noboot' of git://git.k.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=14a5385a40

Re: [PATCH v4 1/4] staging: mt7621-mmc: Fix debug macro N_MSG

2018-08-22 Thread Dan Carpenter
On Wed, Aug 22, 2018 at 02:04:55PM +0530, Nishad Kamdar wrote: > This patch fixes the debug macro N_MSG. Replaces printk with > dev_ without __func__ or __LINE__ or current->comm and > current->pid. Removes the do {} while(0) loop for the single > statement macro. Issue found by checkpatch. > > Si

Re: [PATCH 8/9] psi: pressure stall information for CPU, memory, and IO

2018-08-22 Thread Peter Zijlstra
On Tue, Aug 21, 2018 at 04:11:15PM -0400, Johannes Weiner wrote: > On Fri, Aug 03, 2018 at 07:21:39PM +0200, Peter Zijlstra wrote: > > On Wed, Aug 01, 2018 at 11:19:57AM -0400, Johannes Weiner wrote: > > > + time = READ_ONCE(groupc->times[s]); > > > + /* > > > +

Re: [PATCH v4 2/4] staging: mt7621-mmc: Fix debug macro ERR_MSG and its usages

2018-08-22 Thread Dan Carpenter
On Wed, Aug 22, 2018 at 02:13:07PM +0530, Nishad Kamdar wrote: > diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c > index 04d23cc7cd4a..6b2c72fc61f2 100644 > --- a/drivers/staging/mt7621-mmc/sd.c > +++ b/drivers/staging/mt7621-mmc/sd.c > @@ -466,7 +466,8 @@ static void

Re: [PATCH 8/9] psi: pressure stall information for CPU, memory, and IO

2018-08-22 Thread Peter Zijlstra
On Tue, Aug 21, 2018 at 03:44:13PM -0400, Johannes Weiner wrote: > > > + for (s = PSI_NONIDLE; s >= 0; s--) { > > > + u32 time, delta; > > > + > > > + time = READ_ONCE(groupc->times[s]); > > > + /* > > > + * In addition to al

Re: general protection fault in finish_task_switch (2)

2018-08-22 Thread Paolo Bonzini
On 22/08/2018 11:08, Peter Zijlstra wrote: >> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1002396140 > >> RIP: 0010:__fire_sched_in_preempt_notifiers kernel/sched/core.c:2481 > That repro thing does something dodgy with KVM, which then corrupts the > premption notifier thing. I'm

Re: [PATCH] staging: rtl8188eu: Fix spelling mistake

2018-08-22 Thread Dan Carpenter
On Wed, Aug 22, 2018 at 02:35:32PM +0530, Bhaskar Singh wrote: > On Wed, Aug 22, 2018 at 11:16:36AM +0300, Dan Carpenter wrote: > > On Tue, Aug 21, 2018 at 07:14:28AM +0530, Bhaskar Singh wrote: > > > This patch fix spelling mistakes in TODO. > > > > > > > Btw, it helps when you say which word yo

Re: [PATCH 00/14] ata: ahci-platform: add reset control support except for existing drivers

2018-08-22 Thread Hans de Goede
Hi, On 22-08-18 09:36, Kunihiko Hayashi wrote: Add support to get and control a list of resets for the device, and add the flag indicating whether to use the reset. Existing drivers set 0 to this flags. This series solves the issue of the previous patch [1] that was already reverted [2]. [1] ht

Howto prevent kernel from evicting code pages ever? (to avoid disk thrashing when about to run out of RAM)

2018-08-22 Thread Marcus Linsner
Hi. How to make the kernel keep(lock?) all code pages in RAM so that kswapd0 won't evict them when the system is under low memory conditions ? The purpose of this is to prevent the kernel from causing lots of disk reads(effectively freezing the whole system) when about to run out of RAM, even when

[RFC PATCH 5/5] mm/memory_hotplug: Simplify node_states_check_changes_offline

2018-08-22 Thread Oscar Salvador
From: Oscar Salvador This patch tries to simplify node_states_check_changes_offline and make the code more understandable by: - Removing the if (N_MEMORY == N_NORMAL_MEMORY) wrong statement - Removing the if (N_MEMORY == N_HIGH_MEMORY) wrong statement - Re-structure the code a bit - Removing con

[RFC PATCH 2/5] mm/memory_hotplug: Avoid node_set/clear_state(N_HIGH_MEMORY) when !CONFIG_HIGHMEM

2018-08-22 Thread Oscar Salvador
From: Oscar Salvador Currently, when !CONFIG_HIGHMEM, status_change_nid_high is being set to status_change_nid_normal, but on such systems, N_HIGH_MEMORY equals N_NORMAL_MEMORY. That means that if status_change_nid_normal is not -1, we will perform two calls to node_set_state for the same memory

[RFC PATCH 3/5] mm/memory_hotplug: Simplify node_states_check_changes_online

2018-08-22 Thread Oscar Salvador
From: Oscar Salvador While looking at node_states_check_changes_online, I saw some confusing things I am not sure how it was supposed to work. Right after entering the function, we find this: if (N_MEMORY == N_NORMAL_MEMORY) zone_last = ZONE_MOVABLE; This, unless I am missing something

[RFC PATCH 4/5] mm/memory_hotplug: Tidy up node_states_clear_node

2018-08-22 Thread Oscar Salvador
From: Oscar Salvador node_states_clear has the following if statements: if ((N_MEMORY != N_NORMAL_MEMORY) && (arg->status_change_nid_high >= 0)) ... if ((N_MEMORY != N_HIGH_MEMORY) && (arg->status_change_nid >= 0)) ... N_MEMORY can never be equal to neither N_NORMAL_MEM

[RFC PATCH 1/5] mm/memory_hotplug: Spare unnecessary calls to node_set_state

2018-08-22 Thread Oscar Salvador
From: Oscar Salvador In node_states_check_changes_online, we check if the node will have to be set for any of the N_*_MEMORY states after the pages have been onlined. Later on, we perform the activation in node_states_set_node. Currently, in node_states_set_node we set the node to N_MEMORY uncon

[RFC PATCH 0/5] Clean up node_states_check_changes_online/offline

2018-08-22 Thread Oscar Salvador
From: Oscar Salvador This patchset clean ups node_states_check_changes_online/offline functions together with node_states_set/clear_node functions. The main reason behind this patchset is that currently, these functions are suboptimal and confusing. For example, they contain wrong statements li

Re: [PATCH 01/14] ata: ahci-platform: add reset control support and the flag to specify using reset

2018-08-22 Thread Sergei Shtylyov
Hello! On 8/22/2018 10:36 AM, Kunihiko Hayashi wrote: Add support to get and control a list of resets for the device as optional and shared. These resets must be kept de-asserted until the device is enabled. This is specified as shared because some SoCs like UniPhier series have common reset c

Re: [PATCH 03/11] i2c: use SPDX identifier for Renesas drivers

2018-08-22 Thread Simon Horman
On Wed, Aug 22, 2018 at 12:02:16AM +0200, Wolfram Sang wrote: > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman

[GIT PULL] More power management updates for v4.19-rc1

2018-08-22 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-4.19-rc1-2 with top-most commit 01ac7c4c2e035bc8d0d47dc880bbc25bf562a648 Merge branches 'pm-cpufreq', 'pm-pci' and 'pm-sleep' on top of commit b018fc9800557bd14a40d69501e19c340eb2c521

[GIT PULL] More ACPI updates for v4.19-rc1

2018-08-22 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-4.19-rc1-2 with top-most commit d1f3ab5b13c03b6f32d5379cd3cd5c7e50ce612c Merge branch 'acpi-pmic' on top of commit 2c20443ec221dcb76484b30933593e8ecd836bbd Merge tag 'acpi-4.19-rc1'

Re: [PATCH v9 12/22] s390: vfio-ap: sysfs interfaces to configure control domains

2018-08-22 Thread Cornelia Huck
On Wed, 22 Aug 2018 01:18:20 +0200 Halil Pasic wrote: > On 08/21/2018 07:07 PM, Tony Krowiak wrote: > > This convention has been enforced by the kernel since v1. This is also > > enforced by both the LPAR as well as in z/VM. The following is from the > > PR/SM Planning Guide: > > > > Control Dom

[PATCH] ARM: dts: stm32: update rtc st,syscfg property on stm32h743

2018-08-22 Thread Amelie Delaunay
To fit with latest rtc driver updates, rtc st,syscfg property must contain the control register offset of pwrcfg and the mask corresponding to the DBP (Disable Backup Protection) bit. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32h743.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 de

Re: [PATCH v2] PCI: dwc: fix scheduling while atomic issues

2018-08-22 Thread Gustavo Pimentel
Hi Jisheng On 21/08/2018 07:15, Jisheng Zhang wrote: > When programming inbound/outbound atu, we call usleep_range() after > each checking PCIE_ATU_ENABLE bit. Unfortunately, the atu programming > can be called in atomic context: > > inbound atu programming could be called through > pci_epc_write

Re: [PATCH 0/2] Add SDHI support to r8a774a1

2018-08-22 Thread Ulf Hansson
On 14 August 2018 at 14:34, Fabrizio Castro wrote: > Dear All, > > this series aims at documenting SDHI support for RZ/G2M (a.k.a. R8A774A1). > > Cheers, > Fab > > Fabrizio Castro (2): > mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1 > mmc: renesas_sdhi: Add r8a774a1 support > > Document

Re: [PATCH v2 1/1] mmc: dw_mmc: hi3798cv200: add MMC_CAP_CMD23 cap

2018-08-22 Thread Ulf Hansson
On 20 August 2018 at 15:04, Igor Opaniuk wrote: > Enable access to the RPMB on the on-board eMMC of the > Poplar board. > > Signed-off-by: Igor Opaniuk Thanks, queued for v.4.20! Kind regards Uffe > --- > > v2: > - as there are three dwmmc blocks integrated on Hi3798CV200 SoC with > identical

Re: [PATCH] mmc: jz4740: Drop dependency on MACH_JZ4740/80

2018-08-22 Thread Ulf Hansson
On 21 August 2018 at 15:03, Paul Cercueil wrote: > Depending on MACH_JZ4740 | MACH_JZ4780 prevent us from creating a generic > kernel that works on more than one MIPS board. Instead, we just depend on > MIPS being set. > > Signed-off-by: Paul Cercueil Thanks, queued for v4.20! Kind regards Uffe

Re: [PATCH v4 0/2] Add ACPI support to IPROC SDHCI

2018-08-22 Thread Ulf Hansson
On 5 August 2018 at 09:52, Srinath Mannam wrote: > This patch series adds > - Feature to get generic device properties in the > place of DT properties. > - ACPI support to IPROC SDHCI varients > > This patch series is based off v4.18-rc3 > > Changes from v3: > - Replaced separate device

Re: [PATCH] mmc: jz4740: Add support for the JZ4725B

2018-08-22 Thread Ulf Hansson
On 21 August 2018 at 17:21, Paul Cercueil wrote: > The JZ4725B is the first JZ SoC version that introduced a 32-bit IMASK > register, not the JZ4750. > > Signed-off-by: Paul Cercueil Thanks, queued for v4.20! Kind regards Uffe > --- > Documentation/devicetree/bindings/mmc/jz4740.txt | 1 + >

[PATCH v1] KVM: s390: store DXC/VXC in fpc on DATA/Vector-processing exceptions

2018-08-22 Thread David Hildenbrand
When DATA exceptions and vector-processing exceptions (program interrupts) are injected, the DXC/VXC is also to be stored in the fpc, if AFP is enabled in CR0. This can happen inside KVM when reinjecting an interrupt during program interrupt intercepts. These are triggered for example when debuggi

[PATCH] regulator: regmap helpers - support overlapping linear ranges

2018-08-22 Thread Matti Vaittinen
Don't give up voltage mapping if first range with suitable min/max uV does not provide the wanted voltage. Signed-off-by: Matti Vaittinen --- We may have HW which handles regulator voltage setting like: LDO5 voltage reg: bit [3] voltage range selection bit [2:0] voltage selection where: If D[3]

[RESEND PATCH v4 0/6] arm64/mm: Move swapper_pg_dir to rodata

2018-08-22 Thread Jun Yao
The set_init_mm_pgd() is reimplemented using assembly in order to avoid being instrumented by kasan. Test following configs with CONFIG_RANDOMIZE_BASE/UNMAP_KERNEL_AT_EL0/ CONFIG_ARM64_SW_TTBR0_PAN/CONFIG_KASAN_OUTLINE enabled on qemu: 1. CONFIG_ARM64_4K_PAGES/CONFIG_ARM64_VA_BITS_48

[RESEND PATCH v4 2/6] arm64/mm: Pass ttbr1 as a parameter to __enable_mmu().

2018-08-22 Thread Jun Yao
The kernel sets up the initial page table in the init_pg_dir. However, it will create the final page table in the swapper_pg_dir during the initialization process. We need to let __enable_mmu() know which page table to use. Signed-off-by: Jun Yao --- arch/arm64/kernel/head.S | 21 --

[RESEND PATCH v4 1/6] arm64/mm: Introduce the init_pg_dir.

2018-08-22 Thread Jun Yao
To make the swapper_pg_dir read only, we will move it to the rodata section. And force the kernel to set up the initial page table in the init_pg_dir. After generating all levels page table, we copy only the top level into the swapper_pg_dir during paging_init(). Signed-off-by: Jun Yao --- arch/

[RESEND PATCH v4 4/6] arm64/mm: Create the final page table directly in swapper_pg_dir.

2018-08-22 Thread Jun Yao
As the initial page table is created in the init_pg_dir, we can set up the final page table directly in the swapper_pg_dir. And it only contains the top level page table, so we can reduce it to a page size. Signed-off-by: Jun Yao --- arch/arm64/kernel/vmlinux.lds.S | 2 +- arch/arm64/mm/mmu.c

[RESEND PATCH v4 3/6] arm64/mm: Create the initial page table in the init_pg_dir.

2018-08-22 Thread Jun Yao
Create the initial page table in the init_pg_dir. And before calling kasan_early_init(), we update the init_mm.pgd by introducing set_init_mm_pgd(). This will ensure that pgd_offset_k() works correctly. When the final page table is created, we redirect the init_mm.pgd to the swapper_pg_dir. Signed

[RESEND PATCH v4 6/6] arm64/mm: Move {idmap_pg_dir .. swapper_pg_dir} to rodata section.

2018-08-22 Thread Jun Yao
Move the idmap_pg_dir/tramp_pg_dir/reserved_ttbr0/swapper_pg_dir to the rodata section. When the kernel is initialized, the idmap_pg_dir, tramp_pg_dir and reserved_ttbr0 will not change. And it's safe to move them to rodata section. Signed-off-by: Jun Yao --- arch/arm64/kernel/vmlinux.lds.S | 39

Re: [PATCH 1/9] CHROMIUM: v4l: Add H264 low-level decoder API compound controls.

2018-08-22 Thread Tomasz Figa
On Wed, Aug 22, 2018 at 6:16 PM Maxime Ripard wrote: > > Hi, > > On Tue, Aug 21, 2018 at 01:58:38PM -0300, Ezequiel Garcia wrote: > > On Wed, 2018-06-13 at 16:07 +0200, Maxime Ripard wrote: > > > From: Pawel Osciak > > > > > > Signed-off-by: Pawel Osciak > > > Reviewed-by: Wu-cheng Li > > > Tes

[RESEND PATCH v4 5/6] arm64/mm: Populate the swapper_pg_dir by fixmap.

2018-08-22 Thread Jun Yao
Since we will move the swapper_pg_dir to rodata section, we need a way to update it. The fixmap can handle it. When the swapper_pg_dir needs to be updated, we map it dynamically. The map will be canceled after the update is complete. In this way, we can defend against KSMA(Kernel Space Mirror Attac

Re: [PATCH] ARM: use choice for kernel unwinders

2018-08-22 Thread Arnd Bergmann
On Wed, Aug 22, 2018 at 12:24 AM Stefan Agner wrote: > > While in theory multiple unwinders could be compiled in, it does > not make sense in practise. Use a choice to make the unwinder > selection mutually exclusive and mandatory. > > Already before this commit it has not been possible to deselec

Re: [PATCH 00/14] ata: ahci-platform: add reset control support except for existing drivers

2018-08-22 Thread Kunihiko Hayashi
Hi Hans, Thank you for your comment. On Wed, 22 Aug 2018 11:27:18 +0200 wrote: > Hi, > > On 22-08-18 09:36, Kunihiko Hayashi wrote: > > Add support to get and control a list of resets for the device, and > > add the flag indicating whether to use the reset. Existing drivers > > set 0 to this f

Re: [PATCH 01/14] ata: ahci-platform: add reset control support and the flag to specify using reset

2018-08-22 Thread Kunihiko Hayashi
Hi Sergei, On Wed, 22 Aug 2018 12:34:30 +0300 wrote: > Hello! > > On 8/22/2018 10:36 AM, Kunihiko Hayashi wrote: > > > Add support to get and control a list of resets for the device > > as optional and shared. These resets must be kept de-asserted until > > the device is enabled. > > > This is

[no subject]

2018-08-22 Thread системы администратор
-- внимания; Ваши сообщения превысил лимит памяти, который составляет 5 Гб, определенных администратором, который в настоящее время работает на 10.9GB, Вы не сможете отправить или получить новую почту, пока вы повторно не проверить ваш почтовый ящик почты. Чтобы восстановить работоспособно

Re: [PATCH v9 22/22] s390: doc: detailed specifications for AP virtualization

2018-08-22 Thread Cornelia Huck
On Wed, 22 Aug 2018 09:04:13 +0200 Harald Freudenberger wrote: > Well, sooner or later this has to work. Yesterday we tested the control > domain thing with trying to pull some simple data from a 'controlled' domain > to the TKE - doesn't work with a Linux LPAR. I will investigate the details >

Re: [PATCH] dt-binding: arm/cpus.txt: fix dynamic-power-coefficient unit

2018-08-22 Thread Punit Agrawal
Hi Vincent, Thanks for the patch. One comment about the choice of units below. Vincent Guittot writes: > The unit of dynamic-power-coefficient is described as mW/MHz/uV^2 whereas > its usage in the code assumes that unit is mW/GHz/V^2 Instead of choosing GHz as the base, I'd prefer to use uW/M

Re: [PATCH v9 22/22] s390: doc: detailed specifications for AP virtualization

2018-08-22 Thread Harald Freudenberger
... about control domains Talked with the s390 firmware guys. The convention that the control domain mask is a superset of the usage domain mask is only true for 1st level guests. It is absolutely valid to run a kvm guest with restricted control domain mask bitmap in the CRYCB. It is valid to hav

[PATCH v4 RESEND 0/5] KVM: x86: hyperv: PV IPI support for Windows guests

2018-08-22 Thread Vitaly Kuznetsov
Changes since v4: - Adjust KVM_CAP_HYPERV_SEND_IPI's number [158] - Add Roman's Reviewed-bys Using hypercall for sending IPIs is faster because this allows to specify any number of vCPUs (even > 64 with sparse CPU set), the whole procedure will take only one VMEXIT. Same as PV TLB flush, this all

[PATCH v4 RESEND 2/5] KVM: x86: hyperv: optimize 'all cpus' case in kvm_hv_flush_tlb()

2018-08-22 Thread Vitaly Kuznetsov
We can use 'NULL' to represent 'all cpus' case in kvm_make_vcpus_request_mask() and avoid building vCPU mask with all vCPUs. Suggested-by: Radim Krčmář Signed-off-by: Vitaly Kuznetsov Reviewed-by: Roman Kagan --- arch/x86/kvm/hyperv.c | 42 +++--- virt/kvm/k

[PATCH v4 RESEND 1/5] KVM: x86: hyperv: enforce vp_index < KVM_MAX_VCPUS

2018-08-22 Thread Vitaly Kuznetsov
Hyper-V TLFS (5.0b) states: > Virtual processors are identified by using an index (VP index). The > maximum number of virtual processors per partition supported by the > current implementation of the hypervisor can be obtained through CPUID > leaf 0x4005. A virtual processor index must be less

[PATCH v4 RESEND 5/5] KVM: x86: hyperv: implement PV IPI send hypercalls

2018-08-22 Thread Vitaly Kuznetsov
Using hypercall for sending IPIs is faster because this allows to specify any number of vCPUs (even > 64 with sparse CPU set), the whole procedure will take only one VMEXIT. Current Hyper-V TLFS (v5.0b) claims that HvCallSendSyntheticClusterIpi hypercall can't be 'fast' (passing parameters through

[PATCH v4 RESEND 3/5] KVM: x86: hyperv: use get_vcpu_by_vpidx() in kvm_hv_flush_tlb()

2018-08-22 Thread Vitaly Kuznetsov
VP_INDEX almost always matches VCPU id and get_vcpu_by_vpidx() is fast, use it instead of traversing full vCPU list every time. To support the change split off get_vcpu_idx_by_vpidx() from get_vcpu_by_vpidx(). Signed-off-by: Vitaly Kuznetsov Reviewed-by: Roman Kagan --- arch/x86/kvm/hyperv.c |

[PATCH v4 RESEND 4/5] x86/hyper-v: rename ipi_arg_{ex,non_ex} structures

2018-08-22 Thread Vitaly Kuznetsov
These structures are going to be used from KVM code so let's make their names reflect their Hyper-V origin. Signed-off-by: Vitaly Kuznetsov Reviewed-by: Roman Kagan --- arch/x86/hyperv/hv_apic.c | 12 ++-- arch/x86/include/asm/hyperv-tlfs.h | 16 +--- 2 files change

  1   2   3   4   5   >