Re: [PATCH] RDMA/smc: Replace ib_query_gid with rdma_get_gid_attr

2018-08-22 Thread Hans Wippel
On 08/18/2018 04:17 AM, Jason Gunthorpe wrote: All RDMA ULPs should be using rdma_get_gid_attr instead of ib_query_gid. Convert SMC to use the new API. In the process correct some confusion with gid_type - if attr->ndev is !NULL then gid_type can never be IB_GID_TYPE_IB by definition. IB_GID_TYP

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

2018-08-22 Thread Tony Lindgren
* J, KEERTHY [180822 11:11]: > On 8/22/2018 2:13 PM, Johan Hovold wrote: > > Yes, and a blacklist would make much more sense for something like this > > if where talking about specific boards. > > Black list is easier here? After thinking about this a bit more I think the boards supporting deep s

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

2018-08-22 Thread Tony Krowiak
On 08/21/2018 07:18 PM, Halil Pasic wrote: On 08/21/2018 07:07 PM, Tony Krowiak wrote: On 08/21/2018 11:25 AM, Cornelia Huck wrote: On Mon, 20 Aug 2018 13:41:32 -0400 Tony Krowiak wrote: On 08/20/2018 10:23 AM, Cornelia Huck wrote: On Mon, 13 Aug 2018 17:48:09 -0400 Tony Krowiak wrote:

Re: [PATCH 0/9] of: fix compatible-child-node lookups

2018-08-22 Thread Rob Herring
On Wed, Aug 22, 2018 at 5:57 AM Johan Hovold wrote: > > Several drivers currently use of_find_compatible_node() to lookup child > nodes while failing to notice that the of_find_ functions search the > entire tree depth-first and therefore can match unrelated (non-child) > nodes. That is not quite

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

2018-08-22 Thread Arnd Bergmann
On Wed, Aug 22, 2018 at 12:02 PM Arnd Bergmann wrote: > > 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.

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

2018-08-22 Thread Vincent Guittot
Hi Amit, On Wed, 22 Aug 2018 at 12:11, Punit Agrawal wrote: > > 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 un

Re: [PATCH v9 21/22] KVM: s390: CPU model support for AP virtualization

2018-08-22 Thread Pierre Morel
On 22/08/2018 13:19, David Hildenbrand wrote: On 13.08.2018 23:48, Tony Krowiak wrote: From: Tony Krowiak Introduces a new CPU model feature and two CPU model facilities to support AP virtualization for KVM guests. CPU model feature: The KVM_S390_VM_CPU_FEAT_AP feature indicates that AP inst

Re: [tip:perf/urgent] tools lib traceevent: Rename various pevent get/set/is APIs

2018-08-22 Thread Steven Rostedt
On Sat, 18 Aug 2018 04:53:45 -0700 "tip-bot for Tzvetomir Stoyanov (VMware)" wrote: > Commit-ID: 413af01c8d9d5d688df3244401cbddfe98bafe2a > Gitweb: > https://git.kernel.org/tip/413af01c8d9d5d688df3244401cbddfe98bafe2a > Author: Tzvetomir Stoyanov (VMware) > AuthorDate: Wed, 8 Aug 2018

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

2018-08-22 Thread Stefan Agner
On 22.08.2018 12:02, Arnd Bergmann wrote: > 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 befo

Re: [PATCH 3/9] drm/msm: fix OF child-node lookup

2018-08-22 Thread Rob Herring
On Wed, Aug 22, 2018 at 5:57 AM Johan Hovold wrote: > > Use the new of_get_compatible_child() helper to lookup the legacy > pwrlevels child node instead of using of_find_compatible_node(), which > searches the entire tree and thus can return an unrelated (i.e. > non-child) node. > > This also addr

Re: [PATCH 0/9] of: fix compatible-child-node lookups

2018-08-22 Thread Johan Hovold
On Wed, Aug 22, 2018 at 09:32:11AM -0500, Rob Herring wrote: > On Wed, Aug 22, 2018 at 5:57 AM Johan Hovold wrote: > > > > Several drivers currently use of_find_compatible_node() to lookup child > > nodes while failing to notice that the of_find_ functions search the > > entire tree depth-first an

Please confirm receipt!!!D

2018-08-22 Thread mariamchombo
My Dear Please I write you in trust and confidence of my interest to invest in Real Estates/Oil and Gas. I am Ex-wife of Ousted Zimbabwe finance minister Ignatius Chombo Seeking your Partnership to transfer the Sum of $120m in your country for investment plan. Ignatus Chombo is presently held

Re: [PATCH] ovl: set I_CREATING on inode being created

2018-08-22 Thread Linus Torvalds
On Wed, Aug 22, 2018 at 1:55 AM Miklos Szeredi wrote: > > + spin_lock(&inode->i_lock); > + inode->i_state |= I_CREATING; > + spin_unlock(&inode->i_lock); > + Why is that spinlock protection there? Isn't this a new inode that cannot possibly be reached any other way yet? NOTE!

[PATCH] KVM: VMX: fixes for vmentry_l1d_flush module parameter

2018-08-22 Thread Paolo Bonzini
Two bug fixes: 1) missing entries in the l1d_param array; this can cause a host crash if an access attempts to reach the missing entry. Future-proof the get function against any overflows as well. However, the two entries VMENTER_L1D_FLUSH_EPT_DISABLED and VMENTER_L1D_FLUSH_NOT_REQUIRED must not

[PATCH] ARM: tango: register pm ops only if running on tango hw

2018-08-22 Thread Paolo Pisati
In a multiplatform kernel, avoid invoking hardware specific pm ops, when running on a different SOC. Signed-off-by: Paolo Pisati --- arch/arm/mach-tango/pm.c| 5 + arch/arm/mach-tango/setup.c | 7 +++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-tango/

Team for mobile apps

2018-08-22 Thread Ray
Do you have needs for mobile apps design? We are the one who can help you. We are an India based software company. What we focus is mobile apps development. We have 125 staffs in office and have created over 350 apps so far. We work on many different platforms, such as iOS, Android and others.

Re: [PATCH RFC 2/3] proc/kpagecgroup: report also inode numbers of offline cgroups

2018-08-22 Thread Tejun Heo
Hello, On Mon, Aug 13, 2018 at 09:58:10AM +0300, Konstantin Khlebnikov wrote: > diff --git a/mm/memcontrol.c b/mm/memcontrol.c > index 19a4348974a4..7ef6ea9d5e4a 100644 > --- a/mm/memcontrol.c > +++ b/mm/memcontrol.c > @@ -333,6 +333,7 @@ struct cgroup_subsys_state > *mem_cgroup_css_from_page(str

Re: SEV guest regression in 4.18

2018-08-22 Thread Sean Christopherson
On Wed, Aug 22, 2018 at 10:14:17AM +0200, Borislav Petkov wrote: > 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

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

2018-08-22 Thread Arnd Bergmann
On Wed, Aug 22, 2018 at 4:38 PM Stefan Agner wrote: > On 22.08.2018 12:02, Arnd Bergmann wrote: > > On Wed, Aug 22, 2018 at 12:24 AM Stefan Agner wrote: > > > > Looks ok to me. I've added it to my randconfig test environment, you > > will hear from me within a day if I run into build regressions.

Re: [PATCH v9 21/22] KVM: s390: CPU model support for AP virtualization

2018-08-22 Thread David Hildenbrand
On 22.08.2018 16:33, Pierre Morel wrote: > On 22/08/2018 13:19, David Hildenbrand wrote: >> On 13.08.2018 23:48, Tony Krowiak wrote: >>> From: Tony Krowiak >>> >>> Introduces a new CPU model feature and two CPU model >>> facilities to support AP virtualization for KVM guests. >>> >>> CPU model fea

Re: [RFC v8 PATCH 2/5] uprobes: introduce has_uprobes helper

2018-08-22 Thread Srikar Dronamraju
* Vlastimil Babka [2018-08-22 12:55:59]: > On 08/15/2018 08:49 PM, Yang Shi wrote: > > We need check if mm or vma has uprobes in the following patch to check > > if a vma could be unmapped with holding read mmap_sem. The checks and > > pre-conditions used by uprobe_munmap() look just suitable for

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

2018-08-22 Thread Christian Borntraeger
On 08/22/2018 01:03 PM, Pierre Morel wrote: >> That's interesting. >> >>> IMHO this quote is quite a half-full half-empty cup one: >>> * it mandates the set of usage domains is a subset of the set >>> of the control domains, but >>> * it speaks of independent controls, namely about the 'usage do

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

2018-08-22 Thread Tony Krowiak
On 08/22/2018 05:42 AM, Cornelia Huck wrote: 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 P

Re: [RFC PATCH 3/5] RISC-V: Add cpu_operatios structure

2018-08-22 Thread Anup Patel
On Wed, Aug 22, 2018 at 11:33 AM, Christoph Hellwig wrote: > On Tue, Aug 21, 2018 at 10:34:38PM +0530, Anup Patel wrote: >> The cpu_operations is certainly required because SOC vendors will add >> vendor-specific mechanism to selectively bringing-up CPUs/HARTs instead >> of all CPUs entering Linux

Re: [PATCH v2 0/3] ata: ahci-platform: add reset control support except for existing drivers

2018-08-22 Thread Tejun Heo
On Wed, Aug 22, 2018 at 09:13:00PM +0900, 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 SoC-dependent > drivers set 0 to this flag. Applied to libata/for-4.19. Thanks. -- tejun

Re: [PATCH v14 4/4] iommu/arm-smmu: Add support for qcom,smmu-v2 variant

2018-08-22 Thread Robin Murphy
On 27/07/18 08:02, Vivek Gautam wrote: qcom,smmu-v2 is an arm,smmu-v2 implementation with specific clock and power requirements. This smmu core is used with multiple masters on msm8996, viz. mdss, video, etc. Add bindings for the same. Signed-off-by: Vivek Gautam Reviewed-by: Rob Herring Revie

Re: [PATCH] KVM: VMX: fixes for vmentry_l1d_flush module parameter

2018-08-22 Thread Konrad Rzeszutek Wilk
On Wed, Aug 22, 2018 at 04:53:00PM +0200, Paolo Bonzini wrote: > Two bug fixes: > > 1) missing entries in the l1d_param array; this can cause a host crash > if an access attempts to reach the missing entry. Future-proof the get > function against any overflows as well. However, the two entries >

Re: [PATCH] KVM: VMX: fixes for vmentry_l1d_flush module parameter

2018-08-22 Thread Jack Wang
Paolo Bonzini 于2018年8月22日周三 下午4:56写道: > > Two bug fixes: > > 1) missing entries in the l1d_param array; this can cause a host crash > if an access attempts to reach the missing entry. Future-proof the get > function against any overflows as well. However, the two entries > VMENTER_L1D_FLUSH_EPT_D

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

2018-08-22 Thread Pierre Morel
On 22/08/2018 17:11, Christian Borntraeger wrote: On 08/22/2018 01:03 PM, Pierre Morel wrote: That's interesting. IMHO this quote is quite a half-full half-empty cup one: * it mandates the set of usage domains is a subset of the set of the control domains, but * it speaks of independent cont

[PATCH 0/4] x86: TLB invalidate fixes

2018-08-22 Thread Peter Zijlstra
Hi, Here are a number of patches that fix a x86 TLB invalidation issue reported by Jann and some related things that came up while sorting this out. Please consider.

[PATCH 3/4] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-08-22 Thread Peter Zijlstra
Jann reported that x86 was missing required TLB invalidates when he hit the !*batch slow path in tlb_remove_table(). This is indeed the case; RCU_TABLE_FREE does not provide TLB (cache) invalidates, the PowerPC-hash where this code originated and the Sparc-hash where this was subsequently used did

[PATCH 4/4] x86/mm: Only use tlb_remove_table() for paravirt

2018-08-22 Thread Peter Zijlstra
If we don't use paravirt; don't play unnecessary and complicated games to free page-tables. Suggested-by: Linus Torvalds Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/Kconfig |2 +- arch/x86/hyperv/mmu.c |2 ++ arch/x86/include/asm/paravirt.h

[PATCH 1/4] x86/mm/tlb: Revert the recent lazy TLB patches

2018-08-22 Thread Peter Zijlstra
Revert commits: 95b0e6357d3e x86/mm/tlb: Always use lazy TLB mode 64482aafe55f x86/mm/tlb: Only send page table free TLB flush to lazy TLB CPUs ac0315896970 x86/mm/tlb: Make lazy TLB mode lazier 61d0beb5796a x86/mm/tlb: Restructure switch_mm_irqs_off() 2ff6ddf19c0e x86/mm/tlb: Leave lazy

[PATCH 2/4] mm/tlb: Remove tlb_remove_table() non-concurrent condition

2018-08-22 Thread Peter Zijlstra
Will noted that only checking mm_users is incorrect; we should also check mm_count in order to cover CPUs that have a lazy reference to this mm (and could do speculative TLB operations). If removing this turns out to be a performance issue, we can re-instate a more complete check, but in tlb_table

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

2018-08-22 Thread Christian Borntraeger
On 08/22/2018 05:34 PM, Pierre Morel wrote: > On 22/08/2018 17:11, Christian Borntraeger wrote: >> >> >> On 08/22/2018 01:03 PM, Pierre Morel wrote: That's interesting. > IMHO this quote is quite a half-full half-empty cup one: > * it mandates the set of usage domains is a subset

Re: [PATCH v9 21/22] KVM: s390: CPU model support for AP virtualization

2018-08-22 Thread Pierre Morel
On 22/08/2018 17:04, David Hildenbrand wrote: On 22.08.2018 16:33, Pierre Morel wrote: On 22/08/2018 13:19, David Hildenbrand wrote: On 13.08.2018 23:48, Tony Krowiak wrote: From: Tony Krowiak Introduces a new CPU model feature and two CPU model facilities to support AP virtualization for KV

[PATCH v5 1/4] ARM: dts: imx: Add an cpu0 label for imx6dl devices.

2018-08-22 Thread Jan Tuerk
Adding the label cpu0 allows the adjustment of cpu-parameters by reference in overlaying dtsi files in the same way as it is possible for imx6q devices. Signed-off-by: Jan Tuerk --- arch/arm/boot/dts/imx6dl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dt

[PATCH v5 2/4] dt-bindings: arm: Document emtrion emCON-MX6 bindings

2018-08-22 Thread Jan Tuerk
Document the compatible strings for emtrion emCON-MX6 SoM's. Signed-off-by: Jan Tuerk --- Documentation/devicetree/bindings/arm/emtrion.txt | 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/emtrion.txt Changes for V5: removed generic

[PATCH v5 3/4] ARM: dts: Add support for emtrion emCON-MX6 series

2018-08-22 Thread Jan Tuerk
This patch adds support for the emtrion GmbH emCON-MX6 modules. They are available with imx.6 Solo, Dual-Lite, Dual and Quad equipped with Memory from 512MB to 2GB (configured by U-Boot). Our default developer-Kit ships with the Avari baseboard and the EDT ETM0700G0BDH6 Display (imx6[q|dl]-emcon-a

[PATCH v5 4/4] ARM: imx_v6_v7_defconfig: Enable DA0963 PMIC support.

2018-08-22 Thread Jan Tuerk
All recent emtrion modules based on i.mx6 make use of the DA0963. Therefore enable it with the following defaults: - CONFIG_MFD_DA9063=y - CONFIG_REGULATOR_DA9063=y - CONFIG_DA9063_WATCHDOG=m MFD and REGULATOR are built-in to have it at Kernel boot-time. The WATCHDOG is opti

Re: [PATCH 3/4] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-08-22 Thread Peter Zijlstra
On Wed, Aug 22, 2018 at 05:30:15PM +0200, Peter Zijlstra wrote: > ARM > which later used this put an explicit TLB invalidate in their > __p*_free_tlb() functions, and PowerPC-radix followed that example. > +/* > + * If we want tlb_remove_table() to imply TLB invalidates. > + */ > +static inline vo

Men and Génies - Ünnüx Is One.

2018-08-22 Thread Email
It seems there is a longer tradition with monotheism in unix space. In meditation I find Ünnüx to be a maximally transcendent name of the Gôdh. And Monitor, Keyboard, and Lucida Console font, a metaphor for scripture feather-pen writing, tracable back to a certain tablet in Dispilio Greece, tha

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

2018-08-22 Thread Pierre Morel
On 22/08/2018 17:48, Christian Borntraeger wrote: On 08/22/2018 05:34 PM, Pierre Morel wrote: On 22/08/2018 17:11, Christian Borntraeger wrote: On 08/22/2018 01:03 PM, Pierre Morel wrote: That's interesting. IMHO this quote is quite a half-full half-empty cup one: * it mandates the set of

[PATCH] perf: Support for Arm A32/T32 instruction sets in CoreSight trace

2018-08-22 Thread Robert Walker
This patch adds support for generating instruction samples from trace of AArch32 programs using the A32 and T32 instruction sets. T32 has variable 2 or 4 byte instruction size, so the conversion between addresses and instruction counts requires extra information from the trace decoder, requiring v

Re: [PATCH 1/2] fs/quota: Replace XQM_MAXQUOTAS usage with MAXQUOTAS

2018-08-22 Thread Jan Kara
On Tue 31-07-18 01:37:30, Jeremy Cline wrote: > XQM_MAXQUOTAS and MAXQUOTAS are, it appears, equivalent. Replace all > usage of XQM_MAXQUOTAS and remove it along with the unused XQM_*QUOTA > definitions. > > Signed-off-by: Jeremy Cline Thanks for the cleanup. The patch looks good, just one small

Re: [PATCH 2/2] fs/quota: Fix spectre gadget in do_quotactl

2018-08-22 Thread Jan Kara
On Tue 31-07-18 01:37:31, Jeremy Cline wrote: > 'type' is user-controlled, so sanitize it after the bounds check to > avoid using it in speculative execution. This covers the following > potential gadgets detected with the help of smatch: > > * fs/ext4/super.c:5741 ext4_quota_read() warn: potentia

Re: [PATCH 0/2] fs/quota: Fix potential spectre v1 gadgets

2018-08-22 Thread Jan Kara
On Tue 31-07-18 13:43:44, Josh Poimboeuf wrote: > On Tue, Jul 31, 2018 at 01:37:29AM +, Jeremy Cline wrote: > > Hi folks, > > > > This series unifies XQM_MAXQUOTAS with MAXQUOTAS, which were both being > > used to perform bounds checks on arrays, and then sanitizes 'type' so it > > can't be us

Re: i2c:ocores: fixes and polling mechanism

2018-08-22 Thread Peter Korsgaard
> "Wolfram" == Wolfram Sang writes: >> sorry to disturb you all but after one month and a half I never received >> any comment about this patch set and I fear it ended up in a forgotten >> corner. I would like to know if someone is considering it or not. > Adding Peter to CC using his

Re: [PATCH 1/2] fs/quota: Replace XQM_MAXQUOTAS usage with MAXQUOTAS

2018-08-22 Thread Jan Kara
On Wed 22-08-18 18:05:51, Jan Kara wrote: > On Tue 31-07-18 01:37:30, Jeremy Cline wrote: > > XQM_MAXQUOTAS and MAXQUOTAS are, it appears, equivalent. Replace all > > usage of XQM_MAXQUOTAS and remove it along with the unused XQM_*QUOTA > > definitions. > > > > Signed-off-by: Jeremy Cline > > Th

Re: [BUG v4.14-rt] kernel BUG at /work/rt/stable-rt.git/kernel/sched/core.c:1639!

2018-08-22 Thread Steven Rostedt
On Sun, 19 Aug 2018 08:28:35 +0200 Mike Galbraith wrote: > On Sat, 2018-08-18 at 15:13 +0200, Mike Galbraith wrote: > > seems it has be something from the 4.17 cycle that went back to 4.14- > > stable after 4.1[56]-stable trees went extinct. > > See ("sched/core: Require cpu_active() in select

Re: [PATCH v5 4/4] ARM: imx_v6_v7_defconfig: Enable DA0963 PMIC support.

2018-08-22 Thread Fabio Estevam
On Wed, Aug 22, 2018 at 12:51 PM, Jan Tuerk wrote: > All recent emtrion modules based on i.mx6 make use of the DA0963. s/DA0963/DA9063/ In the Subject line there is also the same typo.

Re: [BUG v4.14-rt] kernel BUG at /work/rt/stable-rt.git/kernel/sched/core.c:1639!

2018-08-22 Thread Steven Rostedt
Sebastian, On Wed, 22 Aug 2018 12:17:49 -0400 Steven Rostedt wrote: > On Sun, 19 Aug 2018 08:28:35 +0200 > Mike Galbraith wrote: > > > On Sat, 2018-08-18 at 15:13 +0200, Mike Galbraith wrote: > > > seems it has be something from the 4.17 cycle that went back to 4.14- > > > stable after 4.1[

Re: [PATCH 3/4] bus: ti-sysc: Fix module register ioremap for larger offsets

2018-08-22 Thread Tony Lindgren
* Tony Lindgren [180808 08:11]: > static int sysc_ioremap(struct sysc *ddata) > { > - u32 size = 0; > - > - if (ddata->offsets[SYSC_SYSSTATUS] >= 0) > - size = ddata->offsets[SYSC_SYSSTATUS]; > - else if (ddata->offsets[SYSC_SYSCONFIG] >= 0) > - size = ddata->

Re: [PATCH] drivers: thermal: do not clobber cooling dev state from userspace

2018-08-22 Thread Ram Chandrasekar
On 8/14/2018 12:04 PM, Lina Iyer wrote: Adding Ram, so he can respond. -- Lina On Thu, Jul 26 2018 at 02:55 -0600, Zhang Rui wrote: On 一, 2018-05-07 at 11:55 -0600, Lina Iyer wrote: From: Ram Chandrasekar Let userspace be another voter for cooling device state instead of the overriding au

Re: [PATCH v3 1/2] mm: migration: fix migration of huge PMD shared pages

2018-08-22 Thread Mike Kravetz
On 08/22/2018 05:28 AM, Michal Hocko wrote: > On Tue 21-08-18 18:10:42, Mike Kravetz wrote: > [...] >> diff --git a/mm/rmap.c b/mm/rmap.c >> index eb477809a5c0..8cf853a4b093 100644 >> --- a/mm/rmap.c >> +++ b/mm/rmap.c >> @@ -1362,11 +1362,21 @@ static bool try_to_unmap_one(struct page *page, >> s

[PATCH v2 4/5] KVM: s390: vsie: Always test the crycbd for NULL

2018-08-22 Thread Pierre Morel
BUG: the crycbd must be tested for null even if not crossing a page boundary (which will never occur in this case anyway). Signed-off-by: Pierre Morel --- arch/s390/kvm/vsie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/kvm/vsie.c b/arch/s390/kvm/vsie.c index 0b

[PATCH v2 5/5] KVM: s390: vsie: Do the CRYCB validation first

2018-08-22 Thread Pierre Morel
When entering the SIE the CRYCB validation better be done independently of the instruction's availability. Signed-off-by: Pierre Morel --- arch/s390/kvm/vsie.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/s390/kvm/vsie.c b/arch/s390/kvm/vsie.c index 7ee432

[PATCH v2 3/5] KVM: s390: vsie: Allow support for a host without AP

2018-08-22 Thread Pierre Morel
Currently the CRYCB format used in the host for the shadowed CRYCB is FORMAT2 while no check is done if AP instructions are supported in the host. We better use the format the host calculated for the guest 1 as the host already tested it against its facility set. Signed-off-by: Pierre Morel ---

[PATCH v2 1/5] KVM: s390: vsie: BUG correction by shadow_crycb

2018-08-22 Thread Pierre Morel
Copy the key mask to the right offset inside the shadow CRYCB Signed-off-by: Pierre Morel Reviewed-by: David Hildenbrand --- arch/s390/kvm/vsie.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/s390/kvm/vsie.c b/arch/s390/kvm/vsie.c index 9175518..12b9707 100644 --- a

[PATCH v2 0/5] KVM: s390: vsie: Consolidate CRYCB validation

2018-08-22 Thread Pierre Morel
Before adapting the CRYCB shadowing for a guest supporting the AP instructions we want to clean the CRYCB shadowing code. Pierre Morel (5): KVM: s390: vsie: BUG correction by shadow_crycb KVM: s390: vsie: Only accept FORMAT1 CRYCB for guest2 KVM: s390: vsie: Allow support for a host without

[PATCH v2 2/5] KVM: s390: vsie: Only accept FORMAT1 CRYCB for guest2

2018-08-22 Thread Pierre Morel
As the comment above the function suggested the shadowing of the guest2 CRYCB can only accept a format 1 since AP instructions are not supported in the guest. Let's modify the check which allowed to accept a format 2 too. Signed-off-by: Pierre Morel --- arch/s390/kvm/vsie.c | 4 +++- 1 file cha

Re: [PATCH v2 1/5] KVM: s390: vsie: BUG correction by shadow_crycb

2018-08-22 Thread David Hildenbrand
On 22.08.2018 18:51, Pierre Morel wrote: > Copy the key mask to the right offset inside the shadow CRYCB > > Signed-off-by: Pierre Morel > Reviewed-by: David Hildenbrand > --- > arch/s390/kvm/vsie.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/s390/kvm/vsie.c

Re: [PATCH v2 2/5] KVM: s390: vsie: Only accept FORMAT1 CRYCB for guest2

2018-08-22 Thread David Hildenbrand
On 22.08.2018 18:51, Pierre Morel wrote: > As the comment above the function suggested the shadowing > of the guest2 CRYCB can only accept a format 1 since > AP instructions are not supported in the guest. > > Let's modify the check which allowed to accept a format 2 too. As the bit is ignored wi

[GIT PULL] Second batch of KVM changes for 4.19-rc1

2018-08-22 Thread Paolo Bonzini
Linus, The following changes since commit ad1d69735878a6bf797705b5d2a20316d35e1113: Merge tag 'fuse-update-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse (2018-08-21 18:47:36 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.gi

Re: [PATCH v9 21/22] KVM: s390: CPU model support for AP virtualization

2018-08-22 Thread David Hildenbrand
>>> >>> In this case we will have no problem with older guests not having idea >>> about APXA. >>> >>> Would it be a solution? >> >> Any feature the guest sees, should be part of the CPU model. The whole >> environment for cpu subfunctions is already in place both in KVM and >> QEMU. Only disabli

[PATCH v2] pinctrl/amd: use byte access to clear irq/wake status bits

2018-08-22 Thread Daniel Kurtz
Commit 6afb10267c1692 ("pinctrl/amd: fix masking of GPIO interrupts") changed to the clearing of interrupt status bits to a RMW in a critical section. This works, but is a bit overkill. The relevant interrupt/wake status bits are in the Most Significant Byte of a 32-bit word. These two are the o

Re: [PATCH v2 3/5] KVM: s390: vsie: Allow support for a host without AP

2018-08-22 Thread David Hildenbrand
On 22.08.2018 18:51, Pierre Morel wrote: > Currently the CRYCB format used in the host for the > shadowed CRYCB is FORMAT2 while no check is done if > AP instructions are supported in the host. > > We better use the format the host calculated for the > guest 1 as the host already tested it against

Re: [PATCH v2 4/5] KVM: s390: vsie: Always test the crycbd for NULL

2018-08-22 Thread David Hildenbrand
On 22.08.2018 18:51, Pierre Morel wrote: > BUG: the crycbd must be tested for null even if > not crossing a page boundary (which will never > occur in this case anyway). I don't see the BUG. Can you elaborate? (maybe it is too late for me) Either we return or we check for !crycb_addr > > Signed

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

2018-08-22 Thread Halil Pasic
On 08/22/2018 05:48 PM, Christian Borntraeger wrote: On 08/22/2018 05:34 PM, Pierre Morel wrote: On 22/08/2018 17:11, Christian Borntraeger wrote: On 08/22/2018 01:03 PM, Pierre Morel wrote: That's interesting. IMHO this quote is quite a half-full half-empty cup one: * it mandates the s

Re: [PATCH v2 5/5] KVM: s390: vsie: Do the CRYCB validation first

2018-08-22 Thread David Hildenbrand
On 22.08.2018 18:51, Pierre Morel wrote: > When entering the SIE the CRYCB validation better > be done independently of the instruction's > availability. > > Signed-off-by: Pierre Morel > --- > arch/s390/kvm/vsie.c | 11 ++- > 1 file changed, 6 insertions(+), 5 deletions(-) > > diff --g

Re: [RFC PATCH 3/5] RISC-V: Add cpu_operatios structure

2018-08-22 Thread Palmer Dabbelt
On Tue, 21 Aug 2018 23:03:53 PDT (-0700), Christoph Hellwig wrote: On Tue, Aug 21, 2018 at 10:34:38PM +0530, Anup Patel wrote: The cpu_operations is certainly required because SOC vendors will add vendor-specific mechanism to selectively bringing-up CPUs/HARTs instead of all CPUs entering Linux

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

2018-08-22 Thread Johannes Weiner
On Wed, Aug 22, 2018 at 11:10:24AM +0200, Peter Zijlstra wrote: > 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: > > > > +

[PATCH 3/4] memory: jz4780-nemc: Reduce size of const array

2018-08-22 Thread Paul Cercueil
The maximum value found in that array is 15, there's no need to store these values as uint32_t, a uint8_t is enough. Signed-off-by: Paul Cercueil --- drivers/memory/jz4780-nemc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/memory/jz4780-nemc.c b/drivers/memo

[PATCH 1/4] dt-bindings: memory: jz4780-nemc: Add compatible string for JZ4725B

2018-08-22 Thread Paul Cercueil
The jz4780-nemc driver was modified to be compatible with the JZ4725B SoC. Signed-off-by: Paul Cercueil --- .../bindings/memory-controllers/ingenic,jz4780-nemc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/memory-controllers/ingenic,jz4780-ne

[PATCH 4/4] memory: jz4780_nemc: Add support for the JZ4725B

2018-08-22 Thread Paul Cercueil
The NEMC module in the JZ4725B is very similar to the one in the JZ4780. The only difference I could spot was that the TAS/TAH timings are limited to 7 clock ticks on the JZ4725B instead of 15 on the JZ4780. Signed-off-by: Paul Cercueil --- drivers/memory/jz4780-nemc.c | 24 +

[PATCH 2/4] memory: jz4780_nemc: Drop dependency on MACH_JZ4780, use COMPILE_TEST

2018-08-22 Thread Paul Cercueil
Depending on 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 --- drivers/memory/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/memory/Kco

Re: [PATCH] blk-wbt: Avoid lock contention and thundering herd issue in wbt_wait

2018-08-22 Thread Jens Axboe
On 8/22/18 10:42 AM, van der Linden, Frank wrote: > On 8/22/18 7:27 AM, Jens Axboe wrote: >> On 8/22/18 6:54 AM, Holger Hoffstätte wrote: >>> On 08/22/18 06:10, Jens Axboe wrote: [...] If you have time, please look at the 3 patches I posted earlier today. Those are for mainline, so s

[PATCH v3 0/3] arm64: dts: sdm845: Add RPMh-regulators and usb

2018-08-22 Thread Douglas Anderson
This series adds device tree nodes for the RPMh regulators and USB. These patches are based on patches in various downstream kernels from Manu Gautam, David Collins, and Vivek Gautam. This series was tested on SDM845-MTP (with no-AC firmware) atop linuxnext (next-20180822) with some extra patches

[PATCH v3 2/3] arm64: dts: qcom: sdm845-mtp: Add RPMh VRM/XOB regulators

2018-08-22 Thread Douglas Anderson
Add regulator devices for PMIC regulators managed via VRM and XOB RPMh accelerators. A few notes here: - Regulators are added directly to the board file. While it's true that this will mean a bunch of copy/pasting for other boards that are very similar, this is probably the right call since b

[PATCH v3 3/3] arm64: dts: qcom: sdm845-mtp: Add nodes for USB

2018-08-22 Thread Douglas Anderson
Set the various nodes to "okay" and hook up the regulators. NOTE: For now the main USB port (the one that goes out the Type C connector) is forced to host. Eventually someone will need to get the Type C detection hooked up and get this all integrated with the PMI8998 PMIC. The reason for forcing

[PATCH v3 1/3] arm64: dts: qcom: sdm845: Add USB-related nodes

2018-08-22 Thread Douglas Anderson
From: Manu Gautam This adds nodes for USB and related PHYs. Signed-off-by: Manu Gautam [dianders: reworked quite a bit] Signed-off-by: Douglas Anderson --- Changes in v3: - Don't just fix qfprom unit address, fix the reg too (Stephen). - Rebased to next-20180822 Changes in v2:

[PATCH] iscsi-target: Don't use stack buffer for scatterlist

2018-08-22 Thread Laura Abbott
Fedora got a bug report of a crash with iSCSI: kernel BUG at include/linux/scatterlist.h:143! ... RIP: 0010:iscsit_do_crypto_hash_buf+0x154/0x180 [iscsi_target_mod] ... Call Trace: ? iscsi_target_tx_thread+0x200/0x200 [iscsi_target_mod] iscsit_get_rx_pdu+0x4cd/0xa90 [iscsi_target_mod] ? n

Re: [PATCH 1/3] arm64: dts: qcom: sdm845: Add USB-related nodes

2018-08-22 Thread Doug Anderson
Hi, On Mon, Aug 20, 2018 at 11:17 AM, Stephen Boyd wrote: >> + qfprom@784000 { > > This doesn't match reg property. > >> + compatible = "qcom,qfprom"; >> + reg = <0x78 0x8ff>; > > Because this should be 0x784000? Thank you for catchin

Re: [PATCH 2/3] arm64: dts: qcom: sdm845-mtp: Add RPMh VRM/XOB regulators

2018-08-22 Thread Doug Anderson
Hi, On Mon, Aug 20, 2018 at 11:18 AM, Stephen Boyd wrote: > Quoting Douglas Anderson (2018-08-10 14:51:49) >> @@ -20,6 +21,450 @@ >> chosen { >> stdout-path = "serial0:115200n8"; >> }; >> + >> + vph_pwr: vph-pwr-regulator { >> + compatible = "re

Re: [GIT PULL] XArray for 4.19

2018-08-22 Thread Christopher Lameter
On Mon, 13 Aug 2018, Matthew Wilcox wrote: > Please consider pulling the XArray patch set. The XArray provides an > improved interface to the radix tree data structure, providing locking > as part of the API, specifying GFP flags at allocation time, eliminating > preloading, less re-walking the t

Re: [GIT PULL] XArray for 4.19

2018-08-22 Thread Linus Torvalds
On Wed, Aug 22, 2018 at 10:40 AM Christopher Lameter wrote: > > Is this going in this cycle? I have a bunch of stuff on top of this to > enable slab object migration. No. It was based on a buggy branch that isn't getting pulled, so when I started looking at it, the pull request was rejected befo

Re: [PATCH RFC] mm: don't miss the last page because of round-off error

2018-08-22 Thread Roman Gushchin
On Wed, Aug 22, 2018 at 09:01:19AM +0300, Konstantin Khlebnikov wrote: > On Tue, Aug 21, 2018 at 8:15 PM, Johannes Weiner wrote: > > On Tue, Aug 21, 2018 at 08:11:44AM +0300, Konstantin Khlebnikov wrote: > >> On Sat, Aug 18, 2018 at 4:22 AM, Matthew Wilcox > >> wrote: > >> > On Fri, Aug 17, 2018

Re: [PATCH v2] kbuild: rename LDFLAGS to KBUILD_LDFLAGS

2018-08-22 Thread Palmer Dabbelt
On Wed, 22 Aug 2018 06:43:25 PDT (-0700), yamada.masah...@socionext.com wrote: Commit a0f97e06a43c ("kbuild: enable 'make CFLAGS=...' to add additional options to CC") renamed CFLAGS to KBUILD_CFLAGS. Commit 222d394d30e7 ("kbuild: enable 'make AFLAGS=...' to add additional options to AS") rename

Re: [PATCH] KVM: VMX: fixes for vmentry_l1d_flush module parameter

2018-08-22 Thread Paolo Bonzini
On 22/08/2018 17:29, Konrad Rzeszutek Wilk wrote: >> +[VMENTER_L1D_FLUSH_AUTO] = {"auto", true}, >> +[VMENTER_L1D_FLUSH_NEVER]= {"never", true}, >> +[VMENTER_L1D_FLUSH_COND] = {"cond", true}, >> +[VMENTER_L1D_FLUSH_ALWAYS] = {"always", true}, >> +[V

Re: [PATCH v3 1/3] Input: atmel_mxt_ts: Add support for optional regulators.

2018-08-22 Thread George G. Davis
Hello Paweł, I would suggest dropping sentence punctuation in the patch subject line: Input: atmel_mxt_ts: Add support for optional regulators. More below... On Tue, Jul 31, 2018 at 05:18:09PM +0200, Paweł Chmiel wrote: > This patch adds optional regulators, which can be used to power > up tou

Re: [PATCH v3 2/3] Input: atmel_mxt_ts: Wait for device be ready for communication

2018-08-22 Thread George G. Davis
Hello Paweł, On Tue, Jul 31, 2018 at 05:18:10PM +0200, Paweł Chmiel wrote: > According to documentation, device isn't ready for communication, > until firmware asserts the CHG line. Add missing wait for this. > > Signed-off-by: Paweł Chmiel > --- > drivers/input/touchscreen/atmel_mxt_ts.c | 11

[ANNOUNCE] 4.14.63-rt40

2018-08-22 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.14.63-rt40 stable release. This release is just an update to the new stable 4.14.63 version and no RT specific changes have been made. NOTE: There is a known issue with this release. The fix is here: http://lkml.kernel.org/r/1534660115.6187.4.ca

Re: [GIT PULL] XArray for 4.19

2018-08-22 Thread Matthew Wilcox
On Tue, Aug 21, 2018 at 08:00:18PM -0700, Linus Torvalds wrote: > On Tue, Aug 21, 2018 at 7:50 PM Matthew Wilcox wrote: > > So, should I have based just on your tree and sent you a description of > > what a resolved conflict should look like? > > Absolutely. > > Or preferably not rebasing at all

Re: [GIT PULL] XArray for 4.19

2018-08-22 Thread Dan Williams
On Wed, Aug 22, 2018 at 10:43 AM Linus Torvalds wrote: > > On Wed, Aug 22, 2018 at 10:40 AM Christopher Lameter wrote: > > > > Is this going in this cycle? I have a bunch of stuff on top of this to > > enable slab object migration. > > No. > > It was based on a buggy branch that isn't getting pul

Re: [PATCH] compiler-gcc: get back Clang build

2018-08-22 Thread Nick Desaulniers
On Tue, Aug 21, 2018 at 9:32 PM Dominique Martinet wrote: > > Joe Perches wrote on Tue, Aug 21, 2018: > > On Wed, 2018-08-22 at 06:16 +0200, Dominique Martinet wrote: > > > I think that could work, but at the point making a separate > > > compiler-common.h and not including compiler-gcc.h for clan

Jestem Katie Higgins. Czy możemy porozmawiać?

2018-08-22 Thread KATIE HIGGINS

Re: [GIT PULL] XArray for 4.19

2018-08-22 Thread Linus Torvalds
On Wed, Aug 22, 2018 at 11:23 AM Matthew Wilcox wrote: > > Dan added an entirely new function here: > > http://git.infradead.org/users/willy/linux-dax.git/commitdiff/c2a7d2a115525d3501d38e23d24875a79a07e15e > > which needed to be converted to XArray. So I should have pulled in his > branch as a m

[PULL 00/14] Xtensa updates for 4.19

2018-08-22 Thread Max Filippov
Hi Linus, please pull the folowing batch of updates for the Xtensa architecture for 4.19. The following changes since commit 1ffaddd029c867d134a1dde39f540dcc8c52e274: Linux 4.18-rc8 (2018-08-05 12:37:41 -0700) are available in the git repository at: git://github.com/jcmvbkbc/linux-xtensa.g

please revert commit ce8556cca6 "kbuild: verify that $DEPMOD is installed" introduced in v4.18.4.

2018-08-22 Thread H. Nikolaus Schaller
This patch requires that /sbin/depmod is installed and installable on the build host. But not all build hosts for cross compiling Linux are Linux systems and are able to provide a working port of depmod, especially at the file patch /sbin/depmod. I use, for example, a Darwin system to cross compi

Re: [PATCH v9 00/22] guest dedicated crypto adapters

2018-08-22 Thread Tony Krowiak
On 08/22/2018 06:19 AM, Cornelia Huck wrote: On Mon, 13 Aug 2018 17:47:57 -0400 Tony Krowiak wrote: From: Tony Krowiak Notes: = Patches 1-4 (by Harald) posted with this series are forthcoming via Martins tree and are based on changes in the ap driver/bus that we use as a foundation. The

<    1   2   3   4   5   >