Re: [PATCH RFC v1 4/8] drivers: qcom: cpu_pd: add cpu power domain support using genpd

2018-10-12 Thread Sudeep Holla
On Thu, Oct 11, 2018 at 02:50:51AM +0530, Raju P.L.S.S.S.N wrote: > RPMH based targets require that the sleep and wake state request votes > be sent during system low power mode entry. The votes help reduce the > power consumption when the AP is not using them. The votes sent by the > clients are

Re: [PATCH 4.9 00/35] 4.9.133-stable review

2018-10-12 Thread Greg Kroah-Hartman
On Fri, Oct 12, 2018 at 03:52:43PM +0200, Greg Kroah-Hartman wrote: > On Fri, Oct 12, 2018 at 05:20:40AM -0700, Guenter Roeck wrote: > > On 10/11/2018 08:35 AM, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.9.133 release. > > > There are 35 patches in this

Re: [PATCH v13 3/3]: perf record: extend trace writing to multi AIO

2018-10-12 Thread Jiri Olsa
On Thu, Oct 11, 2018 at 09:59:19PM +0300, Alexey Budankov wrote: SNIP > @@ -1490,6 +1514,13 @@ static int perf_record_config(const char *var, const > char *value, void *cb) > var = "call-graph.record-mode"; > return perf_default_config(var, value, cb); > } >

Re: [PATCH RFC v1 7/8] drivers: qcom: cpu_pd: Handle cpu hotplug in the domain

2018-10-12 Thread Sudeep Holla
On Thu, Oct 11, 2018 at 02:50:54AM +0530, Raju P.L.S.S.S.N wrote: > Use cpu hotplug callback mechanism to attach/dettach the cpu in > the cpu power domain. During cpu hotplug callback registration, > the starting callback is invoked on all online cpus. So there is > no need to attach from device

Re: [PATCH v2] regulator/gpio: Allow nonexclusive GPIO access

2018-10-12 Thread jacopo mondi
Hi Linus, + Laurent, as he reviewed most of that driver code Sorry, I'm going slightly OT with this, but please read below. On Fri, Oct 12, 2018 at 02:54:12PM +0200, Linus Walleij wrote: > This allows nonexclusive (simultaneous) access to a single > GPIO line for the fixed regulator enable

Re: [PATCH] rxrpc: add IPV6 dependency

2018-10-12 Thread David Howells
Arnd Bergmann wrote: > + depends on IPV6 || !IPV6 That looks weird. It looks like it always ought to be true. David

Re: [PATCH 4/7] mfd: ds90ux9xx: add TI DS90Ux9xx de-/serializer MFD driver

2018-10-12 Thread Lee Jones
On Fri, 12 Oct 2018, Vladimir Zapolskiy wrote: > Hi Lee, > > On 10/12/2018 02:34 PM, Lee Jones wrote: > > On Fri, 12 Oct 2018, Vladimir Zapolskiy wrote: > >> On 10/12/2018 12:20 PM, Kieran Bingham wrote: > >>> Hi Vladimir, > >>> On 12/10/18 09:39, Lee Jones wrote: > On Fri, 12 Oct 2018,

Re: [PATCH 03/33] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #11]

2018-10-12 Thread Alan Jenkins
On 01/08/2018 16:24, David Howells wrote: From: Al Viro Allow a detached tree created by open_tree(..., OPEN_TREE_CLONE) to be attached by move_mount(2). If by the time of final fput() of OPEN_TREE_CLONE-opened file its tree is not detached anymore, it won't be dissolved. move_mount(2) is

Re: [RFC][PATCH] perf: Rewrite core context handling

2018-10-12 Thread Peter Zijlstra
On Fri, Oct 12, 2018 at 11:50:01AM +0200, Peter Zijlstra wrote: > > Can we please not top-post? > > On Thu, Oct 11, 2018 at 10:37:14PM +, Song Liu wrote: > > Thanks Peter! These are really really helpful. > > > > I am trying to think through the case of a group of two events on two > >

Re: [PATCH v3 09/11] arch/x86: Introduce new config parameter AMD_QOS

2018-10-12 Thread Moger, Babu
Boris, On 10/11/2018 05:02 PM, Borislav Petkov wrote: > On Thu, Oct 11, 2018 at 08:33:35PM +, Moger, Babu wrote: >> Introduces the new config parameter AMD_QOS. This parameter will be >> used to enable cache and memory bandwidth allocation and monitoring >> features on AMD processors. This

Re: [PATCH V4 2/2] kvm/x86 : add document for coalesced pio

2018-10-12 Thread Stefan Hajnoczi
On Fri, Aug 31, 2018 at 12:17:21AM +0800, Peng Hao wrote: > Signed-off-by: Peng Hao > --- > Documentation/virtual/kvm/00-INDEX | 2 ++ > Documentation/virtual/kvm/coalesced-pio.txt | 15 +++ > 2 files changed, 17 insertions(+) > create mode 100644

Re: [PATCH 4.14 00/45] 4.14.76-stable review

2018-10-12 Thread Guenter Roeck
On Thu, Oct 11, 2018 at 05:39:27PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.76 release. > There are 45 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH V2 6/9] OPP: Add dev_pm_opp_{set|put}_genpd_device() helper

2018-10-12 Thread Viresh Kumar
On 12 October 2018 at 20:16, Ulf Hansson wrote: > On 12 October 2018 at 13:11, Viresh Kumar wrote: >> Multiple generic power domains for a consumer device are supported with >> the help of virtual devices, which are created for each consumer device >> - genpd pair. These are the device

Re: [GIT PULL] ARM: SoC fixes for 4.19

2018-10-12 Thread gregkh
On Fri, Oct 12, 2018 at 05:31:17PM +0200, Arnd Bergmann wrote: > The following changes since commit 17b57b1883c1285f3d0dc2266e8f79286a7bef38: > > Linux 4.19-rc6 (2018-09-30 07:15:35 -0700) > > are available in the Git repository at: > >

Re: [PATCH 4.4 00/27] 4.4.161-stable review

2018-10-12 Thread Guenter Roeck
On Thu, Oct 11, 2018 at 05:34:47PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.161 release. > There are 27 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [RFC][PATCH] x86: ptrace: Add function argument access API

2018-10-12 Thread Steven Rostedt
Anyone have any issues with this patch? -- Steve On Thu, 11 Oct 2018 23:00:21 -0400 Steven Rostedt wrote: > [ > A while ago I posted an RFC patchset for dynamic function based > events. But Masami pointed out that this could be done with kprobes > with minimal changes. He posted a

Re: [PATCH v3 4/9] dt-bindings: leds: Add bindings for lm3697 driver

2018-10-12 Thread Rob Herring
On Thu, Oct 11, 2018 at 11:51:18AM -0500, Dan Murphy wrote: > Add the device tree bindings for the lm3697 > LED driver for backlighting and display. Bindings are for h/w, not drivers... > > Signed-off-by: Dan Murphy > --- > .../devicetree/bindings/leds/leds-lm3697.txt | 98

Re: [PATCH v13 3/3]: perf record: extend trace writing to multi AIO

2018-10-12 Thread Alexey Budankov
Hi, On 12.10.2018 17:17, Jiri Olsa wrote: > On Thu, Oct 11, 2018 at 09:59:19PM +0300, Alexey Budankov wrote: > > SNIP > >> @@ -1490,6 +1514,13 @@ static int perf_record_config(const char *var, const >> char *value, void *cb) >> var = "call-graph.record-mode"; >>

Re: [PATCH v2] regulator/gpio: Allow nonexclusive GPIO access

2018-10-12 Thread Mark Brown
On Fri, Oct 12, 2018 at 04:26:12PM +0200, jacopo mondi wrote: > Sorry, I'm going slightly OT with this, but please read below. > On Fri, Oct 12, 2018 at 02:54:12PM +0200, Linus Walleij wrote: > > This allows nonexclusive (simultaneous) access to a single > > GPIO line for the fixed regulator

[PATCH v3 0/3] cpufreq: intel_pstate: Base frequency attribute

2018-10-12 Thread Srinivas Pandruvada
This series presents base frequency to cpufreq sysfs when intel_pstate is in use in HWP mode. Changes: v3: - Update documentation v2 - Removed guaranteed attribute addition to acpi_cppc sysfs - Using the cppc_acpi interface to get base frequency and present Srinivas Pandruvada (3): ACPI /

[PATCH v3 2/3] cpufreq: intel_pstate: Add base_frequency attribute

2018-10-12 Thread Srinivas Pandruvada
Present base_frequency to user space via cpufreq sysfs when HWP is in use. This HWP base frequency is read from HWP Capabilities MSR, if platform doesn't have ACPI _CPC object. On most of the HWP platforms the _CPC object will point to the HWP Capabilities MSR using address space id as

Re: [PATCH] mm/thp: fix call to mmu_notifier in set_pmd_migration_entry()

2018-10-12 Thread Michal Hocko
On Fri 12-10-18 12:09:53, jgli...@redhat.com wrote: > From: Jérôme Glisse > > Inside set_pmd_migration_entry() we are holding page table locks and > thus we can not sleep so we can not call invalidate_range_start/end() > > So remove call to mmu_notifier_invalidate_range_start/end() and add >

Re: [PATCH v3 1/1] scsi: ufs: make UFS Tx lane1 clock optional for QCOM platforms

2018-10-12 Thread Doug Anderson
Hi, On Thu, Oct 11, 2018 at 6:12 PM Can Guo wrote: > + if (err != -EPROBE_DEFER) > + dev_err(dev, "failed to get %s err %d", > + name, err); I wouldn't spin just for this, but if you spin for some other reason you could move the above "dev_err"

Applied "spi: Make GPIO CSs honour the SPI_NO_CS flag" to the spi tree

2018-10-12 Thread Mark Brown
The patch spi: Make GPIO CSs honour the SPI_NO_CS flag has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Re: [PATCH] KEYS: trusted: fix -Wvarags warning

2018-10-12 Thread Nathan Chancellor
On Fri, Oct 12, 2018 at 09:55:55AM -0700, Nick Desaulniers wrote: > On Thu, Oct 11, 2018 at 6:50 PM Nathan Chancellor > wrote: > > > > On Thu, Oct 11, 2018 at 01:31:26PM -0700, ndesaulni...@google.com wrote: > > > by swapping h2 and h3. > > > > > > security/keys/trusted.c:146:17: warning: passing

Re: [PATCH] KEYS: trusted: fix -Wvarags warning

2018-10-12 Thread Denis Kenzior
Hi Nick, Refer to https://trustedcomputinggroup.org/wp-content/uploads/TPM-Main-Part-3-Commands_v1.2_rev116_01032011.pdf for details. Can you cite the relevant section? Just pick any section that describes a TPM command. I randomly used Section 10.3 for TPM Unbind. See the 'Incoming

Re: [PATCH v1] phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845

2018-10-12 Thread Doug Anderson
Hi, On Thu, Oct 11, 2018 at 10:57 PM wrote: > Fused value is supposed to always override. If value is not fused for > some > parts (which I believe is case with some early samples), then driver > will > read it is '0' from nvmem and should use hstx-trim value passed from DT. OK cool. Just

Re: [PATCH] KEYS: trusted: fix -Wvarags warning

2018-10-12 Thread Denis Kenzior
Hi Nick, So maybe I'm misunderstanding something, but the issue seems to be that unsigned char is promoted to 'unsigned char *' by Clang and probably unsigned int or int by gcc. No. This is extremely well defined behavior in C. In C, integral types are NEVER promoted to pointer to integer

Re: [PATCH V2 3/9] OPP: Populate required opp tables from "required-opps" property

2018-10-12 Thread Ulf Hansson
On 12 October 2018 at 13:11, Viresh Kumar wrote: > The current implementation works only for the case where a single > phandle is present in the "required-opps" property, while DT allows > multiple phandles to be present there. > > This patch adds new infrastructure to parse all the phandles

Re: [PATCH V2 4/9] OPP: Populate OPPs from "required-opps" property

2018-10-12 Thread Ulf Hansson
On 12 October 2018 at 13:11, Viresh Kumar wrote: > An earlier commit populated the OPP tables from the "required-opps" > property, this commit populates the individual OPPs. This is repeated > for each OPP in the OPP table and these populated OPPs will be used by > later commits. > >

Re: [PATCH V2 1/9] OPP: Identify and mark genpd OPP tables

2018-10-12 Thread Ulf Hansson
On 12 October 2018 at 13:11, Viresh Kumar wrote: > We need to handle genpd OPP tables differently, this is already the case > at one location and will be extended going forward. Add another field to > the OPP table to check if the table belongs to a genpd or not. > > Signed-off-by: Viresh Kumar

Re: [PATCH V2 2/9] OPP: Separate out custom OPP handler specific code

2018-10-12 Thread Ulf Hansson
On 12 October 2018 at 13:11, Viresh Kumar wrote: > Create a separate routine to take care of custom set_opp() handler > specific stuff. > > Signed-off-by: Viresh Kumar Reviewed-by: Ulf Hansson > --- > drivers/opp/core.c | 67 +++--- > 1 file changed,

Re: [PATCH v3 1/8] dt-bindings: mfd: document stpmic1

2018-10-12 Thread Rob Herring
On Mon, Oct 08, 2018 at 04:29:39PM +, Pascal PAILLET-LME wrote: > From: pascal paillet > > stpmic1 is a pmic from STMicroelectronics. The STPMIC1 integrates 10 > regulators ,3 switches, a watchdog and an input for a power on key. regulators, 3 switches, ... > > Signed-off-by: pascal

[PATCH 2/2] net: ethernet: ti: cpsw: fix lost of mcast packets while rx_mode update

2018-10-12 Thread Ivan Khoronzhuk
Whenever kernel or user decides to call rx mode update, it clears every multicast entry from forwarding table and in some time adds it again. This time can be enough to drop incoming multicast packets. That's why clear only staled multicast entries and update or add new one afterwards.

[PATCH 0/2] net: ethernet: ti: cpsw fix mcast packet lost

2018-10-12 Thread Ivan Khoronzhuk
The patchset omits redundant refresh of mcast address table and prevents mcast packet lost. Based on net-next/master tested on am572x evm Ivan Khoronzhuk (2): net: ethernet: ti: cpsw_ale: use const for API having pointer on mac address net: ethernet: ti: cpsw: fix lost of mcast packets

[PATCH 1/2] net: ethernet: ti: cpsw_ale: use const for API having pointer on mac address

2018-10-12 Thread Ivan Khoronzhuk
It allows to use function under callbacks with same const qualifier of mac address for farther changes. Signed-off-by: Ivan Khoronzhuk --- drivers/net/ethernet/ti/cpsw_ale.c | 12 ++-- drivers/net/ethernet/ti/cpsw_ale.h | 8 2 files changed, 10 insertions(+), 10 deletions(-)

Re: [PATCH 03/11] x86/fpu: make __raw_xsave_addr() use feature number instead of mask

2018-10-12 Thread Dave Hansen
On 10/04/2018 07:05 AM, Sebastian Andrzej Siewior wrote: > Most users of __raw_xsave_addr() use a feature number, shift it to a > mask and then __raw_xsave_addr() shifts it back to the feature number. > > Make __raw_xsave_addr() use the feature number as argument. This generally looks like a

Re: [PATCH RFC v1 7/8] drivers: qcom: cpu_pd: Handle cpu hotplug in the domain

2018-10-12 Thread Lina Iyer
On Fri, Oct 12 2018 at 09:46 -0600, Ulf Hansson wrote: On 12 October 2018 at 17:04, Sudeep Holla wrote: On Thu, Oct 11, 2018 at 03:06:09PM -0600, Lina Iyer wrote: On Thu, Oct 11 2018 at 11:37 -0600, Sudeep Holla wrote: [...] > > Is DDR managed by Linux ? I assumed it was handled by higher

Re: [PATCH v7] regulator: fixed: Convert to use GPIO descriptor only

2018-10-12 Thread Mark Brown
On Fri, Oct 12, 2018 at 04:58:38PM +0300, Andy Shevchenko wrote: > On Fri, Oct 12, 2018 at 1:45 PM Russell King - ARM Linux > > Given that DT describes the hardware, not the software implementation, > > it must not change just because we move from GPIO numbers to GPIO > > descriptors. > > The

Re: [PATCH] mm/thp: fix call to mmu_notifier in set_pmd_migration_entry()

2018-10-12 Thread Zi Yan
On 12 Oct 2018, at 12:09, jgli...@redhat.com wrote: > From: Jérôme Glisse > > Inside set_pmd_migration_entry() we are holding page table locks and > thus we can not sleep so we can not call invalidate_range_start/end() > > So remove call to mmu_notifier_invalidate_range_start/end() and add >

[PATCH] MAINTAINERS: Replace Vince Bridgers as Altera TSE maintainer

2018-10-12 Thread thor . thayer
From: Thor Thayer Vince has moved to a different role. Replace him as Altera TSE maintainer. Signed-off-by: Thor Thayer --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 72429b928626..f02cf78f5394 100644 --- a/MAINTAINERS +++

Re: [PATCH v7] regulator: fixed: Convert to use GPIO descriptor only

2018-10-12 Thread Mark Brown
On Fri, Oct 12, 2018 at 11:43:13AM +, Marcel Ziswiler wrote: > On Fri, 2018-10-12 at 11:43 +0100, Russell King - ARM Linux wrote: > > The existing DT description is reasonable, and introducing ficticious > > regulators in DT to work around the implementation is not reasonable. > I don't

Re: [PATCH] MAINTAINERS: Replace Vince Bridgers as Altera TSE maintainer

2018-10-12 Thread Greg KH
On Fri, Oct 12, 2018 at 11:50:52AM -0500, thor.tha...@linux.intel.com wrote: > From: Thor Thayer > > Vince has moved to a different role. Replace him as Altera > TSE maintainer. > > Signed-off-by: Thor Thayer Would be nice if Vince can ack this...

Re: [PATCH v2] regulator/gpio: Allow nonexclusive GPIO access

2018-10-12 Thread jacopo mondi
Hi Mark, On Fri, Oct 12, 2018 at 06:44:24PM +0200, Mark Brown wrote: > On Fri, Oct 12, 2018 at 04:26:12PM +0200, jacopo mondi wrote: > > > Sorry, I'm going slightly OT with this, but please read below. > > > On Fri, Oct 12, 2018 at 02:54:12PM +0200, Linus Walleij wrote: > > > This allows

Re: [PATCH] KEYS: trusted: fix -Wvarags warning

2018-10-12 Thread Nick Desaulniers
On Fri, Oct 12, 2018 at 9:01 AM James Bottomley wrote: > > On Fri, 2018-10-12 at 10:53 -0500, Denis Kenzior wrote: > > Hi James, > > > > > > From the links provided in the patch it seems that one cannot > > > > pass char/float/short to va_start(). Fair enough. So if we make > > > > h3 an

Re: [PATCH v5 1/2] dt-bindings: iio: vadc: Update example to include unit address for node 'usb-id-nopull'

2018-10-12 Thread Matthias Kaehlcke
On Fri, Oct 05, 2018 at 03:47:43PM -0500, Rob Herring wrote: > On Wed, Oct 03, 2018 at 05:14:31PM -0700, Matthias Kaehlcke wrote: > > The node has a reg property, therefore its name should include a unit > > address. > > > > Also change the name from 'usb_id_nopull' to 'usb-id-nopull' to follow >

Re: [PATCH] KEYS: trusted: fix -Wvarags warning

2018-10-12 Thread James Bottomley
On Fri, 2018-10-12 at 07:29 -0500, Denis Kenzior wrote: > Hi Nick, > > > @@ -123,7 +123,7 @@ static int TSS_rawhmac(unsigned char *digest, > > const unsigned char *key, > >*/ > > static int TSS_authhmac(unsigned char *digest, const unsigned > > char *key, > > unsigned

[PATCH] mm/thp: fix call to mmu_notifier in set_pmd_migration_entry()

2018-10-12 Thread jglisse
From: Jérôme Glisse Inside set_pmd_migration_entry() we are holding page table locks and thus we can not sleep so we can not call invalidate_range_start/end() So remove call to mmu_notifier_invalidate_range_start/end() and add call to mmu_notifier_invalidate_range(). Note that we are already

Re: [RCF PATCH,v2,2/2] pwm: imx: Configure output to GPIO in disabled state

2018-10-12 Thread Uwe Kleine-König
Hello, On Fri, Oct 12, 2018 at 03:04:48PM +, Vokáč Michal wrote: > On 12.10.2018 10:57, Uwe Kleine-König wrote: > > On Wed, Oct 10, 2018 at 09:33:26AM +, Vokáč Michal wrote: > >> Normally the PWM output is held LOW when PWM is disabled. This can cause > >> problems when inverted PWM

Re: [PATCH 0/4] Add clock support for Hi3670 SoC

2018-10-12 Thread Manivannan Sadhasivam
On Fri, Oct 12, 2018 at 09:03:29AM -0700, Stephen Boyd wrote: > Quoting Manivannan Sadhasivam (2018-10-11 20:38:58) > > On Thu, Sep 20, 2018 at 11:00:59PM -0700, Manivannan Sadhasivam wrote: > > > This patchset adds clock support for Hi3670 SoC from HiSilicon utilizing > > > the HiSi common clock

Re: [PATCH V3] MAINTAINERS: intel_telemetry: Update maintainers info

2018-10-12 Thread Joe Perches
On Fri, 2018-10-12 at 09:28 -0700, David E. Box wrote: > Remove Souvik who has left this role. Add Rajneesh and David who work > jointly on telemetry updates for new platforms. > > Signed-off-by: David E. Box > Signed-off-by: Rajneesh Bhardwaj [] > diff --git a/MAINTAINERS b/MAINTAINERS [] > @@

Re: [PATCH v2 1/7] modules: Create rlimit for module space

2018-10-12 Thread Edgecombe, Rick P
On Fri, 2018-10-12 at 02:35 +0200, Jann Horn wrote: > On Fri, Oct 12, 2018 at 1:40 AM Rick Edgecombe > wrote: > > This introduces a new rlimit, RLIMIT_MODSPACE, which limits the amount of > > module space a user can use. The intention is to be able to limit module > > space > > allocations that

Re: [PATCH v1] KVM/x86/vPMU: Guest PMI Optimization

2018-10-12 Thread Alexey Budankov
Hi, On 12.10.2018 19:30, Andi Kleen wrote: >> 4. Results >> - Without this optimization, the guest pmi handling time is >> ~450 ns, and the max sampling rate is reduced to 250. >> - With this optimization, the guest pmi handling time is ~9000 ns >> (i.e. 1 / 500 of the

[PATCH 4/5] Input: elan_i2c - do not query the info if they are provided

2018-10-12 Thread Benjamin Tissoires
See the previous patch for a long explanation. TL;DR: the P52 and the t480s from Lenovo can't rely on I2C to fetch the information, so we need it from PS/2. Link: https://bugzilla.redhat.com/show_bug.cgi?id=1628715 Signed-off-by: Benjamin Tissoires --- drivers/input/mouse/elan_i2c_core.c | 49

[PATCH 3/5] dt-bindings: add more optional properties for elan_i2c touchpads

2018-10-12 Thread Benjamin Tissoires
Some new touchpads IC are connected through PS/2 and I2C. On some of these new IC, the I2C part doesn't have all of the information available. We need to be able to forward the touchpad parameters from PS/2 and thus, we need those new optional properties. Link:

[PATCH 2/5] Input: elantech - add helper function elantech_is_buttonpad()

2018-10-12 Thread Benjamin Tissoires
We check for this bit all over the code, better have it defined once for all. Link: https://bugzilla.redhat.com/show_bug.cgi?id=1628715 Signed-off-by: Benjamin Tissoires --- drivers/input/mouse/elantech.c | 89 ++ 1 file changed, 47 insertions(+), 42

[PATCH 5/5] Input: elantech/SMBus - export all capabilities from the PS/2 node

2018-10-12 Thread Benjamin Tissoires
The recent touchpads might not have all the information regarding the characteristics through the I2C port. On some Lenovo t480s, this results in the touchpad not being detected as a clickpad, and on the Lenovo P52, this results in a failure while fetching the resolution through I2C. We need to

[PATCH 1/5] Input: elantech - query the min/max information beforehand too

2018-10-12 Thread Benjamin Tissoires
For the latest generation of Elantech touchpads, we need to forward the min/max information from PS/2 to SMBus. Prepare this work by fetching the information before creating the SMBus companion device. Link: https://bugzilla.redhat.com/show_bug.cgi?id=1628715 Signed-off-by: Benjamin Tissoires

[PATCH 0/5] Fix Elan I2C touchpads in latest generation from Lenovo

2018-10-12 Thread Benjamin Tissoires
Since v4.18, we unconditionally switch the I2C capable touchpads over I2C. In the model I had (a pre-prod t480s I guess), the touchpad was behaving fine. However, it occurs that later production models don't expose the clickpad information from I2C. The Windows driver gets all the information from

Re: [PATCH v3 2/4] power: supply: core: Introduce properties to present the battery OCV capacity table

2018-10-12 Thread Rob Herring
On Thu, Sep 27, 2018 at 03:26:55PM +0800, Baolin Wang wrote: > Some battery driver will use the open circuit voltage (OCV) value to look > up the corresponding battery capacity percent in one certain degree Celsius. > Thus this patch provides some battery properties to present the OCV table >

Re: Future of dosfstools project (FAT)

2018-10-12 Thread Doug Goldstein
> On Oct 12, 2018, at 7:40 AM, Pali Rohár wrote: > >> On Friday 12 October 2018 11:19:41 Andreas Henriksson wrote: >> Hello everyone, >> >>> On Tue, Oct 02, 2018 at 04:44:10AM -0400, Jaroslav Skarvada wrote: >>> I am downstream maintainer of dosfstools in Fedora/RHEL. My personal opinion >>>

Re: [PATCH V2 6/9] OPP: Add dev_pm_opp_{set|put}_genpd_device() helper

2018-10-12 Thread Ulf Hansson
On 12 October 2018 at 13:11, Viresh Kumar wrote: > Multiple generic power domains for a consumer device are supported with > the help of virtual devices, which are created for each consumer device > - genpd pair. These are the device structures which are attached to the > power domain and are

Re: [PATCH v3 2/7] dt-bindings: stm32-dmamux: Add one cell to support DMA/MDMA chain

2018-10-12 Thread Rob Herring
On Fri, Sep 28, 2018 at 03:01:50PM +0200, Pierre-Yves MORDRET wrote: > From: M'boumba Cedric Madianga > > Add one cell to support DMA/MDMA chaining. You aren't adding a cell. Is the change compatible with existing users (if you mask bits)? > > Signed-off-by: Pierre-Yves MORDRET Author

[PATCH 0/2] mmc: uniphier-sd: two bug-fixes

2018-10-12 Thread Masahiro Yamada
In further testing in uniphier-sd.c, I found my stupid mistakes. Ulf, Can you squash this series into 3fd784f745dd "mmc: uniphier-sd: add UniPhier SD/eMMC controller driver" if you have a chance to do rebase? Of course, it is OK to apply this series on top of your next branch if it is too late.

[PATCH 1/2] mmc: uniphier-sd: fix DMA disabling

2018-10-12 Thread Masahiro Yamada
Once DMA is enabled, it is not possible to disable it because uniphier_sd_dma_endisable() always sets the DMA_ENABLE_DMASDRW bit regardless of the argument 'enable'. It should disable DMA when 'enable' is false. Signed-off-by: Masahiro Yamada --- drivers/mmc/host/uniphier-sd.c | 2 +- 1 file

[PATCH 2/2] mmc: uniphier-sd: avoid using broken DMA RX channel

2018-10-12 Thread Masahiro Yamada
host->chan_rx is NULL when UNIPHIER_SD_CAP_BROKEN_DMA_RX quirk flag is set. In this case, it should not set up DMA. Signed-off-by: Masahiro Yamada --- drivers/mmc/host/uniphier-sd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/host/uniphier-sd.c

[PATCH] staging: rtl8188eu: fix spelling mistake "Abnornally" -> "Abnormally"

2018-10-12 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in ODM_RT_TRACE trace message Signed-off-by: Colin Ian King --- drivers/staging/rtl8188eu/hal/odm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c

Re: [PATCH] KEYS: trusted: fix -Wvarags warning

2018-10-12 Thread James Bottomley
On Fri, 2018-10-12 at 10:13 -0500, Denis Kenzior wrote: > Hi James, > > > > So can't we simply use 'bool' or uint32 as the type for h3 > > > instead of re-ordering everything > > > > The problem is the standard is ambiguious. The only thing that's > > guaranteed to work for all time is a char

Re: [PATCH V2 5/9] PM / Domains: Add genpd_opp_to_performance_state()

2018-10-12 Thread Viresh Kumar
On 12 October 2018 at 20:37, Ulf Hansson wrote: > On 12 October 2018 at 13:11, Viresh Kumar wrote: >> The OPP core currently stores the performance state in the consumer >> device's OPP table, but that is going to change going forward and >> performance state will rather be set directly in the

[PATCH] firewire: core-topology: mark expected switch fall-through

2018-10-12 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 741234 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/firewire/core-topology.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v6 2/9] PCI: mediatek: Fixup class ID for MT7622 as PCI_CLASS_BRIDGE_PCI

2018-10-12 Thread Bjorn Helgaas
On Fri, Oct 12, 2018 at 11:22:30AM +0100, Lorenzo Pieralisi wrote: > On Fri, Oct 12, 2018 at 04:01:29PM +0800, Honghui Zhang wrote: >> On Thu, 2018-10-11 at 12:38 +0100, Lorenzo Pieralisi wrote: >>> On Tue, Oct 09, 2018 at 11:08:15AM +0800, Honghui Zhang wrote: On Mon, 2018-10-08 at 18:23

Re: [PATCH v2 4/7] arm64/modules: Add rlimit checking for arm64 modules

2018-10-12 Thread Jessica Yu
+++ Dave Hansen [11/10/18 16:47 -0700]: On 10/11/2018 04:31 PM, Rick Edgecombe wrote: + if (check_inc_mod_rlimit(size)) + return NULL; + p = __vmalloc_node_range(size, MODULE_ALIGN, module_alloc_base, module_alloc_base + MODULES_VSIZE,

Re: [PATCH v3 1/7] dt-bindings: stm32-dma: Add DMA/MDMA chaining support bindings

2018-10-12 Thread Rob Herring
On Fri, Sep 28, 2018 at 03:01:49PM +0200, Pierre-Yves MORDRET wrote: > From: M'boumba Cedric Madianga > > This patch adds dma bindings to support DMA/MDMA chaining transfer. > 1 bit is to manage both DMA FIFO Threshold > 1 bit is to manage DMA/MDMA Chaining features. > 2 bits are used to specify

Re: [PATCH] x86: entry: flush the cache if syscall error

2018-10-12 Thread Andy Lutomirski
On Oct 12, 2018, at 7:25 AM, Alan Cox wrote: >> But this really needs to be clarified. Alan said that a bunch of the >> "yet another Spectre variant" attacks would have been mitigated by >> this patch. An explanation of *how* would be in order. > > Today you have the situation where

Re: [PATCH v3 09/11] arch/x86: Introduce new config parameter AMD_QOS

2018-10-12 Thread Borislav Petkov
On Fri, Oct 12, 2018 at 02:40:50PM +, Moger, Babu wrote: > That is correct. CPU_SUP_AMD implicitly means x86. > To be more specific, I will change it to > "depends on X86_64 && CPU_SUP_AMD" as this feature is for X86_64 only. No, what I'm saying is, make it dependent *only* on CPU_SUP_AMD.

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-12 Thread Alan Jenkins
On 12/10/2018 15:54, David Howells wrote: Alan Jenkins wrote: + open_tree_clone \ + move_mount \ I'll rename them to test-XXX if you're okay with that. David Yes, that's fine. Feel free to make adaptations you like.  I don't have anything planned for them myself, outside of

Re: [PATCH RFC v1 7/8] drivers: qcom: cpu_pd: Handle cpu hotplug in the domain

2018-10-12 Thread Sudeep Holla
On Thu, Oct 11, 2018 at 03:06:09PM -0600, Lina Iyer wrote: > On Thu, Oct 11 2018 at 11:37 -0600, Sudeep Holla wrote: [...] > > > > Is DDR managed by Linux ? I assumed it was handled by higher exception > > levels. Can you give examples of resources used by CPU in this context. > > When CPU can be

Re: [PATCH] x86: entry: flush the cache if syscall error

2018-10-12 Thread Alan Cox
> My understanding is that the standard “breadcrumb” is that a cache line is > fetched into L1D, and that the cacheline in question will go into L1D even if > it was previously not cached at all. So flushing L1D will cause the timing > from a probe to be different, but the breadcrumb is still

Re: [RCF PATCH,v2,2/2] pwm: imx: Configure output to GPIO in disabled state

2018-10-12 Thread Vokáč Michal
On 12.10.2018 10:57, Uwe Kleine-König wrote: > Hello, > > On Wed, Oct 10, 2018 at 09:33:26AM +, Vokáč Michal wrote: >> Normally the PWM output is held LOW when PWM is disabled. This can cause >> problems when inverted PWM signal polarity is needed. With this behavior >> the connected circuit

[PATCH] staging: rtl8723bs: fix spelling mistake "Abnrormal" -> "Abnormal"

2018-10-12 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in message text Signed-off-by: Colin Ian King --- drivers/staging/rtl8723bs/hal/odm_DIG.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/odm_DIG.c

[PATCH] mmc: tmio: simplify the DMA mode test

2018-10-12 Thread Masahiro Yamada
host->chan_{rx,tx} represents the DMA capability of the platform. Even if DMA is supported, there are cases where we want to use PIO, for example, data length is short enough as commit 5f52c3552946 ("mmc: tmio: use PIO for short transfers") mentioned. Regarding the hardware control flow, we are

Re: [PATCH] KEYS: trusted: fix -Wvarags warning

2018-10-12 Thread James Bottomley
On Fri, 2018-10-12 at 10:13 -0500, Denis Kenzior wrote: > Hi James, > > > > So can't we simply use 'bool' or uint32 as the type for h3 > > > instead > > > of re-ordering everything > > > > The problem is the standard is ambiguious. The only thing that's > > guaranteed to work for all time is a

Re: livelock with hrtimer cpu_base->lock

2018-10-12 Thread Will Deacon
On Fri, Oct 12, 2018 at 05:55:28AM -0700, Sodagudi Prasad wrote: > On 2018-10-10 09:49, Will Deacon wrote: > >On Tue, Oct 09, 2018 at 01:56:14PM -0700, Sodagudi Prasad wrote: > >>This is regarding - thread "try to fix contention between expire_timers > >>and > >>try_to_del_timer_sync". >

[GIT PULL] Couple more arm64 fixes for 4.19

2018-10-12 Thread Will Deacon
Hi Greg, Please pull these two arm64 fixes for 4.19. One of them fixes a nasty WARN() that has started triggering because we assumed that memory reservations from firmware would always correspond to regions of the physical address space that we have mapped as memory. Unfortunately, some existing

Re: [PATCH] KEYS: trusted: fix -Wvarags warning

2018-10-12 Thread Denis Kenzior
Hi James, From the links provided in the patch it seems that one cannot pass char/float/short to va_start(). Fair enough. So if we make h3 an unsigned int, the issue goes away, no? For the current version of clang, yes. However, if we're fixing this for good a char * pointer is the only

Re: [PATCH] x86: entry: flush the cache if syscall error

2018-10-12 Thread Andy Lutomirski
On Fri, Oct 12, 2018 at 8:02 AM Alan Cox wrote: > > > My understanding is that the standard “breadcrumb” is that a cache line is > > fetched into L1D, and that the cacheline in question will go into L1D even > > if it was previously not cached at all. So flushing L1D will cause the > > timing

Re: [RFC PATCH v2 1/4] dt: bindings: Add SD tap value properties details for 'xlnx,zynqmp-8.9a'

2018-10-12 Thread Rob Herring
On Thu, Sep 20, 2018 at 03:00:42PM +0530, Manish Narani wrote: > Add documentation for MIO bank required property and Tap Delays optional > properties in devicetree bindings. > > Signed-off-by: Manish Narani > --- > .../devicetree/bindings/mmc/arasan,sdhci.txt | 19 >

Re: [PATCH v1] KVM/x86/vPMU: Guest PMI Optimization

2018-10-12 Thread Andi Kleen
> 4. Results > - Without this optimization, the guest pmi handling time is > ~450 ns, and the max sampling rate is reduced to 250. > - With this optimization, the guest pmi handling time is ~9000 ns > (i.e. 1 / 500 of the non-optimization case), and the max sampling >

Re: [PATCH] KEYS: trusted: fix -Wvarags warning

2018-10-12 Thread Nick Desaulniers
On Thu, Oct 11, 2018 at 6:50 PM Nathan Chancellor wrote: > > On Thu, Oct 11, 2018 at 01:31:26PM -0700, ndesaulni...@google.com wrote: > > by swapping h2 and h3. > > > > security/keys/trusted.c:146:17: warning: passing an object that > > undergoes default > > argument promotion to 'va_start'

Re: [PATCH 3.18 000/120] 3.18.124-stable review

2018-10-12 Thread Nathan Chancellor
On Thu, Oct 11, 2018 at 05:33:01PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.124 release. > There are 120 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.4 00/27] 4.4.161-stable review

2018-10-12 Thread Nathan Chancellor
On Thu, Oct 11, 2018 at 05:34:47PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.161 release. > There are 27 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH] KEYS: trusted: fix -Wvarags warning

2018-10-12 Thread Nick Desaulniers
On Fri, Oct 12, 2018 at 10:05 AM Nick Desaulniers wrote: > > On Fri, Oct 12, 2018 at 8:14 AM Denis Kenzior wrote: > > > > Hi James, > > > > >> So can't we simply use 'bool' or uint32 as the type for h3 instead > > >> of re-ordering everything > > > > > > The problem is the standard is

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-12 Thread Alan Jenkins
On 10/10/2018 13:36, David Howells wrote: Alan Jenkins wrote: + * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. + * Written by David Howells (dhowe...@redhat.com) Do you want to update that and I can take them into my patchset? David Sure :).  I've attached a slightly updated

Re: [PATCH 4/7] mfd: ds90ux9xx: add TI DS90Ux9xx de-/serializer MFD driver

2018-10-12 Thread Vladimir Zapolskiy
On 10/12/2018 02:43 PM, Lee Jones wrote: > On Fri, 12 Oct 2018, Vladimir Zapolskiy wrote: > >> On 10/12/2018 11:39 AM, Lee Jones wrote: >>> On Fri, 12 Oct 2018, Vladimir Zapolskiy wrote: On 10/12/2018 09:03 AM, Lee Jones wrote: > On Tue, 09 Oct 2018, Vladimir Zapolskiy wrote: >

Re: [PATCH] x86: entry: flush the cache if syscall error

2018-10-12 Thread Samuel Neves
On Fri, Oct 12, 2018 at 2:26 PM Jann Horn wrote: > > On Fri, Oct 12, 2018 at 11:41 AM Samuel Neves wrote: > > > > On Thu, Oct 11, 2018 at 8:25 PM Andy Lutomirski wrote: > > > What exactly is this trying to protect against? And how many cycles > > > should we expect L1D_FLUSH to take? > > > >

Re: [PATCH] random: Move rand_initialize() earlier

2018-10-12 Thread Theodore Y. Ts'o
On Thu, Oct 11, 2018 at 03:54:21PM -0700, Kees Cook wrote: > Right now rand_initialize() is run as an early_initcall(), but it only > depends on timekeeping_init() (for mixing ktime_get_real() into the > pools). However, the call to boot_init_stack_canary() for stack canary > initialization runs

Re: [PATCH v3 1/7] dt-bindings: mfd: Add ST Multi-Function eXpander (STMFX) core bindings

2018-10-12 Thread Rob Herring
On Thu, 27 Sep 2018 13:39:58 +0200, Amelie Delaunay wrote: > This patch adds documentation of device tree bindings for the > STMicroelectronics Multi-Function eXpander (STMFX) MFD core. > > Signed-off-by: Amelie Delaunay > Reviewed-by: Linus Walleij > --- >

Re: [PATCH 31/34] vfs: syscall: Add fspick() to select a superblock for reconfiguration [ver #12]

2018-10-12 Thread Alan Jenkins
On 21/09/2018 17:34, David Howells wrote: Provide an fspick() system call that can be used to pick an existing mountpoint into an fs_context which can thereafter be used to reconfigure a superblock (equivalent of the superblock side of -o remount). This looks like: int fd =

Re: [PATCH] scsi/virio_scsi.c: do not call virtscsi_remove_vqs() in virtscsi_init() to avoid crash bug

2018-10-12 Thread Stefan Hajnoczi
On Thu, Aug 23, 2018 at 10:24:58AM +0800, piaojun wrote: > If some error happened before find_vqs, error branch will goto > virtscsi_remove_vqs to free vqs. Actually the vqs have not been allocated > successfully, so this will cause wild-pointer-free problem. So > virtscsi_remove_vqs could be

Re: [PATCHv5 3/7] tty: Hold tty_ldisc_lock() during tty_reopen()

2018-10-12 Thread Dmitry Safonov
Hi Guilherme, Just to let you know - I've done with more urgent issues now, so I'll be back on this patch on Monday, installing qemu-system-hppa and debugging the root case. Thanks, Dmitry On Wed, 2018-10-03 at 07:46 -0300, Guilherme Piccoli wrote: > On Tue, Oct 2, 2018 at 6:33 PM Dmitry

  1   2   3   4   5   6   7   8   9   10   >