Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-06-30 Thread kbuild test robot
Hi Chris, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18-rc2 next-20180629] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2 1/3] arm64: dts: actions: Enable clock controller for S700

2018-06-30 Thread Manivannan Sadhasivam
On Thu, Jun 28, 2018 at 09:18:03PM +0200, Saravanan Sekar wrote: > Added clock management controller for S700 > > Signed-off-by: Parthiban Nallathambi > Signed-off-by: Saravanan Sekar > --- > .../boot/dts/actions/s700-cubieboard7.dts | 7 - > arch/arm64/boot/dts/actions/s700.dtsi

Re: [PATCH v2 1/2] iio: light: Add support for vishay vcnl4035

2018-06-30 Thread Peter Meerwald-Stadler
> Add support for VCNL4035, which is capable of Ambient light > sensing (ALS) and proximity function. This patch adds support > only for ALS function comments below a lot of effort is in getting a timestamp; is it worth it for ALS measurement? also the implementation is quite involved, what

Re: [PATCH v2 5/6] i2c: Add Actions Semi OWL family S900 I2C driver

2018-06-30 Thread Manivannan Sadhasivam
Hi Andy, On Sat, Jun 30, 2018 at 03:14:37PM +0300, Andy Shevchenko wrote: > On Thu, Jun 28, 2018 at 9:10 PM, Manivannan Sadhasivam > wrote: > > Add Actions Semi OWL family S900 I2C driver. > > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > >

[PATCH 2/2] x86/intel_rdt: Fix cleanup of plr structure on error

2018-06-30 Thread Reinette Chatre
When a resource group enters pseudo-locksetup mode a pseudo_lock_region is associated with it. When the user writes to the resource group's schemata file the CBM of the requested pseudo-locked region is entered into the pseudo_lock_region struct. If any part of pseudo-lock region creation fails

[PATCH 0/2] x86/intel_rdt: Fix cache pseudo-locking error path cleanup

2018-06-30 Thread Reinette Chatre
Dear Maintainers, A bug exists in the error handling code during pseudo-lock region creation. When an error occurs early during pseudo-lock region creation the pseudo_lock_region struct is not cleaned up properly but remains associated with the resource group (since it remains in pseudo-locksetup

[PATCH 1/2] x86/intel_rdt: Move pseudo_lock_region_clear

2018-06-30 Thread Reinette Chatre
The pseudo_lock_region_clear() function is moved to earlier in the file in preparation for its use in functions that currently appear before it. No functional change. Signed-off-by: Reinette Chatre --- arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 46 ++--- 1 file changed, 23

[PATCH 2/2] x86/intel_rdt: cpu information accessible for pseudo-locked regions

2018-06-30 Thread Reinette Chatre
When a resource group enters pseudo-locksetup mode it reflects that the platform supports cache pseudo-locking and the resource group is unused, ready to be used for a pseudo-locked region. Until it is set up as a pseudo-locked region the resource group is "locked down" such that no new tasks or

[PATCH 0/2] x86/intel_rdt: Display CPUs associated with pseudo-locked region

2018-06-30 Thread Reinette Chatre
Dear Maintainers, The cpus and cpus_list resctrl files are locked down when the resource group enters pseudo-locksetup mode and remains locked down when the resource group transitions to pseudo-locked mode. This was done to ensure a resource group in pseudo-locksetup mode is and remain unused

[PATCH 1/2] x86/intel_rdt: Support restoration of subset of permissions

2018-06-30 Thread Reinette Chatre
As the mode of a resource group changes, the operations it can support may also change. One way in which the supported operations are managed is to modify the permissions of the files within the resource group's resctrl directory. At the moment only two possible permissions are supported: the

Re: [PATCH] perf test record+probe_libc_inet_pton: expect [unknown] for ping as well

2018-06-30 Thread Li Zhijian
On 06/29/2018 11:17 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 28, 2018 at 03:16:00PM +0800, Li Zhijian escreveu: On system which has not installed debuginfo of iputils(ping) will fail like: ~/lkp/linux/tools/perf$ sudo ./perf test ping -v I think that we should try to check if the

Re: [PATCH v3 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-06-30 Thread Peter Rosin
On June 30, 2018 3:33:29 PM GMT+02:00, Manivannan Sadhasivam wrote: >Add Actions Semiconductor Owl family S900 I2C driver. > >Signed-off-by: Manivannan Sadhasivam >--- > drivers/i2c/busses/Kconfig | 7 + > drivers/i2c/busses/Makefile | 1 + > drivers/i2c/busses/i2c-owl.c | 477

[GIT PULL] Kbuild fixes for v4.18-rc3

2018-06-30 Thread Masahiro Yamada
Hi Linus, Please pull Kbuild fixes. Thanks! The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git

[PATCH] staging: rtl8188eu: remove rtw_ioctl_rtl.h

2018-06-30 Thread Michael Straube
The header rtw_ioctl_rtl.h is not used anywhere. Running 'grep -r rtw_ioctl_rtl *' from kernel root directory returns nothing, remove the file. Signed-off-by: Michael Straube --- .../staging/rtl8188eu/include/rtw_ioctl_rtl.h | 66 --- 1 file changed, 66 deletions(-) delete mode

[PATCH v2] staging:r8188eu: Use lib80211 to encrypt (WEP) tx frames

2018-06-30 Thread Ivan Safonov
Put data to skb, decrypt with lib80211_crypt_wep, and place back to tx buffer. --- v2: - refactor error handling. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_security.c | 82 +++ 1 file changed, 47 insertions(+), 35 deletions(-) diff --git

Re: [PATCH 1/2] FBTFT: fb_sh: Fix alignment and style problems Fixed Coding style issues Signed-off-by: Tamir Suliman

2018-06-30 Thread Joe Perches
On Sat, 2018-06-30 at 14:32 +, Tamir Suliman wrote: > --- > drivers/staging/fbtft/fb_sh1106.c | 26 +- > 1 file changed, 13 insertions(+), 13 deletions(-) Adding to what Greg's patchbot already wrote: > diff --git a/drivers/staging/fbtft/fb_sh1106.c >

[PATCH v11 1/2] Refactor part of the oom report in dump_header

2018-06-30 Thread ufo19890607
From: yuzhoujian The current system wide oom report prints information about the victim and the allocation context and restrictions. It, however, doesn't provide any information about memory cgroup the victim belongs to. This information can be interesting for container users because they can

[PATCH v11 2/2] Add the missing information in dump_header

2018-06-30 Thread ufo19890607
From: yuzhoujian Add a new func mem_cgroup_print_oom_context to print missing information for the system-wide oom report which includes the oom memcg that has reached its limit, task memcg that contains the killed task. Signed-off-by: yuzhoujian --- include/linux/memcontrol.h | 15

Re: [PATCH v2 3/4] iio: hx711: add maintainer for driver

2018-06-30 Thread Jonathan Cameron
On Mon, 25 Jun 2018 17:18:45 +0200 Andreas Klinger wrote: > add a maintainer for driver hx711 > > Signed-off-by: Andreas Klinger I applied this one before (not certain I emailed to say that) so please drop from future versions of the patch set. Thanks, Jonathan > --- > MAINTAINERS | 7

Re: /tmp/cctnQ1CM.s:35: Error: .err encountered

2018-06-30 Thread Andrew Morton
On Sat, 30 Jun 2018 12:27:09 +0200 Dmitry Vyukov wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: 1904148a361a07fb2d7cba1261d1d2c2f33c8d2e > > commit: 758517202bd2e427664857c9f2aa59da36848aca arm: port KCOV to arm > > date: 2 weeks

[PATCH 3/3] staging: rtl8188eu: fix block comments - coding style

2018-06-30 Thread Michael Straube
Write multiple single line comments as block comments to follow kernel coding style and improve readability. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/hal_com.c | 50 ++--- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git

[PATCH 2/3] staging: rtl8188eu: move return type to functions definition line

2018-06-30 Thread Michael Straube
The return type of a function should be on the same line as the definition. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/hal_com.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/hal_com.c

Re: [PATCH V2] PCI: Enable PASID when End-to-End TLP is supported by all bridges

2018-06-30 Thread Sinan Kaya
On 6/29/2018 8:49 PM, Bjorn Helgaas wrote: > On Tue, Jun 19, 2018 at 10:14:46PM -0400, Sinan Kaya wrote: >> A PCIe endpoint carries the process address space identifier (PASID) in >> the TLP prefix as part of the memory read/write transaction. The address >> information in the TLP is relevant only

[PATCH V3] PCI: Enable PASID when End-to-End TLP is supported by all bridges

2018-06-30 Thread Sinan Kaya
A PCIe endpoint carries the process address space identifier (PASID) in the TLP prefix as part of the memory read/write transaction. The address information in the TLP is relevant only for a given PASID context. An IOMMU takes PASID value and the address information from the TLP to look up the

Re: [PATCH 1/3] IIO: st_accel_i2c.c: Use fallback if DT/ACPI enum failed

2018-06-30 Thread Jonathan Cameron
On Fri, 29 Jun 2018 10:10:10 +0200 Nikolaus Voss wrote: > Currently, the driver bails out if not explicitly referred to in > DT or ACPI tables. This prevents fallback mechanisms from coming > into effect, e.g. I2C device ID table match via DT or ACPI > PRP0001 HID. However DT/ACPI enum should

Re: [PATCH v4 2/2] dt-bindings: iio: dac: Add docs for AD5758 DAC

2018-06-30 Thread Jonathan Cameron
On Fri, 29 Jun 2018 11:39:10 +0300 Stefan Popa wrote: > Signed-off-by: Stefan Popa One minor inline. We could look at making some of these properties generic (slew-time for example) but I'm not sure we fully understand the 'space' yet to know exactly how this could be described for all

Re: [PATCH 1/2] FBTFT: fb_sh: Fix alignment and style problems Fixed Coding style issues Signed-off-by: Tamir Suliman

2018-06-30 Thread Greg KH
On Sat, Jun 30, 2018 at 02:32:39PM +, Tamir Suliman wrote: > --- > drivers/staging/fbtft/fb_sh1106.c | 26 +- > 1 file changed, 13 insertions(+), 13 deletions(-) > > diff --git a/drivers/staging/fbtft/fb_sh1106.c > b/drivers/staging/fbtft/fb_sh1106.c > index

Re: [PATCH 2/2] NETLOGIC: Kconfig: Fixed help and coding style warnings

2018-06-30 Thread Greg KH
On Sat, Jun 30, 2018 at 02:30:44PM +, Tamir Suliman wrote: > Fixed Coding style issues > > Signed-off-by: Tamir Suliman > --- > drivers/staging/netlogic/Kconfig | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/netlogic/Kconfig >

Re: [PATCH] mm,oom: Bring OOM notifier callbacks to outside of OOM killer.

2018-06-30 Thread Paul E. McKenney
On Fri, Jun 29, 2018 at 11:35:48PM +0900, Tetsuo Handa wrote: > On 2018/06/29 21:52, Paul E. McKenney wrote: > > The effect of RCU's current OOM code is to speed up callback invocation > > by at most a few seconds (assuming no stalled CPUs, in which case > > it is not possible to speed up callback

Re: [PATCH v2 1/4] iio: hx711: add data-ready-delay-ns property in DT

2018-06-30 Thread Jonathan Cameron
On Mon, 25 Jun 2018 17:18:02 +0200 Andreas Klinger wrote: > add data-ready-delay-ns property for hx711 ADC > this is the delay after rising PD_SCK until DOUT is read and assumed to be > ready > > Signed-off-by: Andreas Klinger Hmm. It's not particularly generic... I think this should have

Re: [PATCH] mtd: spi-nor: cadence-quadspi: Fix direct mode write timeouts

2018-06-30 Thread Marek Vasut
On 06/30/2018 12:54 PM, Vignesh R wrote: > Sometimes when writing large size files to flash in direct/memory mapped > mode, it is seen that flash write enable command times out with error: > [ 503.146293] cadence-qspi 4704.ospi: Flash command execution timed out. > > This is because, we need

Re: [PATCH v2] staging:iio:impedance-analyzer:ad5933: Macro replacement Cleanups.

2018-06-30 Thread Jonathan Cameron
On Mon, 25 Jun 2018 21:11:23 +0200 Karim Eshapa wrote: > Doing some macro replacement to start an array of structures > so it can be reused by manipulating it with different values. > > Signed-off-by: Karim Eshapa There are all sorts of issues with the ABI this driver is providing to

[PATCH] staging: mt7621-pinctrl: Replaces "unsigned" with "unsigned int", fixes mixed indentation, and puts spaces after commas.

2018-06-30 Thread Peter Vernia
Signed-off-by: Peter Vernia --- drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 35 + 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c index

Re: /tmp/cctnQ1CM.s:35: Error: .err encountered

2018-06-30 Thread Andrew Morton
On Sat, 30 Jun 2018 11:07:20 -0700 Andrew Morton wrote: > On Sat, 30 Jun 2018 12:27:09 +0200 Dmitry Vyukov wrote: > > > > tree: > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > > head: 1904148a361a07fb2d7cba1261d1d2c2f33c8d2e > > > commit:

[PATCH 1/3] staging: rtl8188eu: reorder switch cases and remove default break

2018-06-30 Thread Michael Straube
Reorder the cases of a switch statement to be in ascending order. Remove unrequired break from default case. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/hal_com.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v4] kconfig: check for pkg-config on make {menu,n,g,x}config

2018-06-30 Thread Masahiro Yamada
2018-06-29 8:39 GMT+09:00 Randy Dunlap : > From: Randy Dunlap > > Each of 'make {menu,n,g,x}config' uses (needs) pkg-config to make sure > that other required files are present and to determine build flags > settings, but none of these check that pkg-config itself is present. > Add a check for

[PATCH 1/2] FBTFT: fb_sh: Fix alignment and style problems Fixed Coding style issues Signed-off-by: Tamir Suliman

2018-06-30 Thread Tamir Suliman
--- drivers/staging/fbtft/fb_sh1106.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/fbtft/fb_sh1106.c b/drivers/staging/fbtft/fb_sh1106.c index 3fc18c0..c18763b 100644 --- a/drivers/staging/fbtft/fb_sh1106.c +++

[PATCH 2/2] NETLOGIC: Kconfig: Fixed help and coding style warnings

2018-06-30 Thread Tamir Suliman
Fixed Coding style issues Signed-off-by: Tamir Suliman --- drivers/staging/netlogic/Kconfig | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/netlogic/Kconfig b/drivers/staging/netlogic/Kconfig index d660de5..6e8e56a 100644 ---

Re: [PATCH 4/5] iio: adc: ti_am335x_adc: Disable ADC during suspend unconditionally

2018-06-30 Thread Jonathan Cameron
On Sat, 30 Jun 2018 16:03:17 +0530 Vignesh R wrote: > Parent MFD device takes care of enabling ADC interface whenever > touchscreen is marked wakeup capable. Therefore, unconditionally disable > ADC interface during system suspend to save power in case of system with > just ADC and no TSC. > >

Re: [PATCH 3/3] IIO: st_accel.h: sync DT and I2C device ID table strings

2018-06-30 Thread Jonathan Cameron
On Fri, 29 Jun 2018 10:45:54 +0200 Nikolaus Voss wrote: > I2C device ID table strings should really match the DT compatible > strings (without the manufacturer prefix) to avoid confusion. This is > especially reasonable when using ACPI PRP0001 HID /DT compatibility > entries along with the DT

Re: [PATCH v4 1/2] iio: dac: Add AD5758 support

2018-06-30 Thread Jonathan Cameron
On Fri, 29 Jun 2018 11:38:36 +0300 Stefan Popa wrote: > The AD5758 is a single channel DAC with 16-bit precision which uses the > SPI interface that operates at clock rates up to 50MHz. > > The output can be configured as voltage or current and is available on a > single terminal. > >

Re: [PATCH] mm,oom: Bring OOM notifier callbacks to outside of OOM killer.

2018-06-30 Thread Paul E. McKenney
On Fri, Jun 29, 2018 at 03:26:38PM +0200, Michal Hocko wrote: > On Fri 29-06-18 05:52:18, Paul E. McKenney wrote: > > On Fri, Jun 29, 2018 at 11:04:19AM +0200, Michal Hocko wrote: > > > On Thu 28-06-18 14:31:05, Paul E. McKenney wrote: > > > > On Thu, Jun 28, 2018 at 01:39:42PM +0200, Michal Hocko

[PATCH v2 0/2] ASoC: add es7241 support

2018-06-30 Thread Jerome Brunet
Add support for the es7241 which is a simple 2 channels analog to digital converter. Changes since v1: [0] * Add missing break as reported by smatch [1] My device is hardwired in slave mode, which probably why this slipped through unnoticed. [0]:

[PATCH v3] staging:r8188eu: Use lib80211 to encrypt (WEP) tx frames

2018-06-30 Thread Ivan Safonov
Put data to skb, decrypt with lib80211_crypt_wep, and place back to tx buffer. Signed-off-by: Ivan Safonov --- v2: - refactor error handling, v3: - fix commit message. drivers/staging/rtl8188eu/core/rtw_security.c | 82 +++ 1 file changed, 47 insertions(+), 35

[PATCH v2 2/2] ASoC: es7241: add es7241 codec support

2018-06-30 Thread Jerome Brunet
Add support for the everest es7241 which is a simple 2 channels analog to digital converter. Signed-off-by: Jerome Brunet --- sound/soc/codecs/Kconfig | 4 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/es7241.c | 308 ++ 3 files changed,

[PATCH v2 1/2] ASoC: es7241: add dt-bindings documentation for the es7241 adc

2018-06-30 Thread Jerome Brunet
Signed-off-by: Jerome Brunet --- .../devicetree/bindings/sound/everest,es7241.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/everest,es7241.txt diff --git

Re: [PATCH v2 4/4] iio: hx711: warning in dt binding example doc

2018-06-30 Thread Jonathan Cameron
On Mon, 25 Jun 2018 17:19:26 +0200 Andreas Klinger wrote: > device tree compiler (dtc) gives a warning if a device node has "@" with a > following number as it's name but no reg property. > > fix the example in the documentation of avia,hx711 to conform to dtc > behavior > > Signed-off-by:

Re: [PATCH v3 2/2] iio: adc: Add Spreadtrum SC27XX PMICs ADC support

2018-06-30 Thread Jonathan Cameron
On Mon, 25 Jun 2018 09:47:54 +0800 Baolin Wang wrote: > Hi Jonathan, > > On 24 June 2018 at 21:47, Jonathan Cameron > wrote: > > On Sun, 24 Jun 2018 14:30:09 +0100 > > Jonathan Cameron wrote: > > > >> On Sun, 24 Jun 2018 17:13:00 +0800 > >> Baolin Wang wrote: > >> > >> > Hi Jonathan, >

Re: [PATCH v2 2/4] x86/split_lock: Align x86_capability to unsigned long to avoid split locked access

2018-06-30 Thread Thomas Gleixner
On Fri, 29 Jun 2018, Fenghua Yu wrote: > On Fri, Jun 29, 2018 at 05:00:51PM -0700, Fenghua Yu wrote: > diff --git a/arch/x86/boot/cpuflags.h b/arch/x86/boot/cpuflags.h > index 2e20814d3ce3..29de0ff74351 100644 > --- a/arch/x86/boot/cpuflags.h > +++ b/arch/x86/boot/cpuflags.h > @@ -9,7 +9,7 @@

Re: general protection fault in vmx_vcpu_run

2018-06-30 Thread Raslan, KarimAllah
Looking also at the other crash [0]:         msr_bitmap = to_vmx(vcpu)->loaded_vmcs->msr_bitmap; 811f65b7:   e8 44 cb 57 00  callq  81773100 <__sanitizer_cov_trace_pc> 811f65bc:   48 8b 54 24 08  mov0x8(%rsp),%rdx 811f65c1:   48 b8

Re: [PATCH 2/2] ASoC: es7241: add es7241 codec support

2018-06-30 Thread Dan Carpenter
/linux/commits/Jerome-Brunet/ASoC-add-es7241-support/20180630-021159 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next smatch warnings: sound/soc/codecs/es7241.c:147 es7241_set_fmt() warn: missing break? reassigning 'priv->is_slave' # https://github.com/0day

[GIT PULL] x86 fixes

2018-06-30 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: d79d0d8ad0cb3d782b41631dfeac8eb05e414bcd x86/mm: Clean up the printk()s in show_fault_oops() The biggest diffstat comes from

Re: [PATCH 2/2] KVM: X86: Implement PV send IPI support

2018-06-30 Thread Wanpeng Li
On Fri, 29 Jun 2018 at 18:45, Paolo Bonzini wrote: > > On 29/06/2018 11:51, Wanpeng Li wrote: > > From: Wanpeng Li > > > > Using hypercall to send IPIs by one vmexit instead of one by one for > > xAPIC/x2APIC physical mode and one vmexit per-cluster for x2APIC cluster > > mode. > > > > Even if

Re: [PATCH 1/2] KVM: X86: Implement PV IPI in linux guest

2018-06-30 Thread Wanpeng Li
On Fri, 29 Jun 2018 at 18:10, Vitaly Kuznetsov wrote: > > Wanpeng Li writes: > > > From: Wanpeng Li > > > > Implement PV IPIs in guest kernel. > > > > Cc: Paolo Bonzini > > Cc: Radim Krčmář > > Cc: Vitaly Kuznetsov > > Signed-off-by: Wanpeng Li > > --- > >

[PATCH] staging: rtl8723bs: fix comparsion to true/false and brace issues

2018-06-30 Thread Michael Straube
Use if(x) and if(!x) instead of comparsion to true/false. Reported by checkpatch. Remove unrequired braces from single if else statements. Add missing space after else: else{ -> else { Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_btcoex.c | 13 ++---

Re: [PATCH 2/2] KVM: X86: Implement PV send IPI support

2018-06-30 Thread Wanpeng Li
On Fri, 29 Jun 2018 at 18:49, Paolo Bonzini wrote: > > On 29/06/2018 12:09, Vitaly Kuznetsov wrote: > >> +KVM_FEATURE_PV_SEND_IPI||11 || guest checks this feature > >> bit > >> + || || before enabling > >> paravirtualized > >> +

Re: [PATCH v2 5/7] mm: rename and change semantics of nr_indirectly_reclaimable_bytes

2018-06-30 Thread Vlastimil Babka
On 06/29/2018 11:12 PM, Roman Gushchin wrote: >> >> The vmstat counter NR_INDIRECTLY_RECLAIMABLE_BYTES was introduced by commit >> eb59254608bc ("mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTES") with the goal >> of >> accounting objects that can be reclaimed, but cannot be allocated via a >>

Re: /tmp/cctnQ1CM.s:35: Error: .err encountered

2018-06-30 Thread Dmitry Vyukov
On Sat, Jun 30, 2018 at 9:15 AM, kbuild test robot wrote: > Hi Dmitry, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 1904148a361a07fb2d7cba1261d1d2c2f33c8d2e > commit:

Re: [PATCH] staging: rtl8723bs: fix comparsion to true/false and brace issues

2018-06-30 Thread Michael Straube
On 06/30/18 12:08, Andreas Schwab wrote: On Jun 30 2018, Michael Straube wrote: @@ -115,11 +115,10 @@ s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter) void rtw_btcoex_SetManualControl(struct adapter *padapter, u8 manual) { - if (true == manual) { + if

[PATCH] mtd: spi-nor: cadence-quadspi: Fix direct mode write timeouts

2018-06-30 Thread Vignesh R
Sometimes when writing large size files to flash in direct/memory mapped mode, it is seen that flash write enable command times out with error: [ 503.146293] cadence-qspi 4704.ospi: Flash command execution timed out. This is because, we need to make sure previous direct write operation is

[PATCH][next] gnss: make struct ubx_gserial_ops static

2018-06-30 Thread Colin King
From: Colin Ian King The structure ubx_gserial_ops is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'ubx_gserial_ops' was not declared. Should it be static? Signed-off-by: Colin Ian King --- drivers/gnss/ubx.c | 2 +- 1 file

Re: [PATCH v1 0/6] x86/tsc: Clean up legacy code for Intel MID

2018-06-30 Thread Andy Shevchenko
On Sat, Jun 30, 2018 at 12:24 PM, Thomas Gleixner wrote: > On Fri, 29 Jun 2018, Andy Shevchenko wrote: > >> As Thomas noticed there is unusual initialization is going on on Intel MID >> platforms when TSC is being calibrated. >> >> It appears that we have tsc_msr.c to support Intel MID in a more

[PATCH] platform/x86: dell-smbios-wmi: make function dell_smbios_wmi_call static

2018-06-30 Thread Colin King
From: Colin Ian King The function dell_smbios_wmi_call is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'dell_smbios_wmi_call' was not declared. Should it be static? Signed-off-by: Colin Ian King ---

Re: [PATCH v2 1/6] dt-bindings: i2c: Add binding for Actions Semi OWL I2C controller

2018-06-30 Thread Andreas Färber
Am 28.06.2018 um 20:10 schrieb Manivannan Sadhasivam: > Add devicetree binding for Actions Semi OWL I2C controller > > Signed-off-by: Manivannan Sadhasivam > --- > .../devicetree/bindings/i2c/i2c-owl.txt | 27 +++ > 1 file changed, 27 insertions(+) > create mode 100644

Re: [PATCH v2 5/6] i2c: Add Actions Semi OWL family S900 I2C driver

2018-06-30 Thread Manivannan Sadhasivam
Hi Peter, Thanks for the review! On Fri, Jun 29, 2018 at 06:45:19AM +0200, Peter Rosin wrote: > On June 28, 2018 8:10:41 PM GMT+02:00, Manivannan Sadhasivam > wrote: > >Add Actions Semi OWL family S900 I2C driver. > > > >Signed-off-by: Manivannan Sadhasivam > >--- > >

[PATCH] staging: rtl8723bs: fix line over 80 characters

2018-06-30 Thread Michael Straube
Fix line over 80 characters by replacing tab with space. Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c index

Re: [PATCH v2 5/6] i2c: Add Actions Semi OWL family S900 I2C driver

2018-06-30 Thread Andy Shevchenko
On Sat, Jun 30, 2018 at 3:44 PM, Manivannan Sadhasivam wrote: > On Sat, Jun 30, 2018 at 03:14:37PM +0300, Andy Shevchenko wrote: >> On Thu, Jun 28, 2018 at 9:10 PM, Manivannan Sadhasivam >> wrote: >> > +static int owl_i2c_master_xfer(struct i2c_adapter *adap, struct i2c_msg >> > *msgs, >> > +

Re: [PATCH v2 5/6] i2c: Add Actions Semi OWL family S900 I2C driver

2018-06-30 Thread Manivannan Sadhasivam
Hi Andy, On Sat, Jun 30, 2018 at 04:04:20PM +0300, Andy Shevchenko wrote: > On Sat, Jun 30, 2018 at 3:44 PM, Manivannan Sadhasivam > wrote: > > On Sat, Jun 30, 2018 at 03:14:37PM +0300, Andy Shevchenko wrote: > >> On Thu, Jun 28, 2018 at 9:10 PM, Manivannan Sadhasivam > >> wrote: > > >> >

[PATCH v3 2/6] arm64: dts: actions: Add Actions Semiconductor S900 I2C controller nodes

2018-06-30 Thread Manivannan Sadhasivam
Add I2C controller nodes for Actions Semiconductor S900 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 60 +++ 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900.dtsi

[PATCH v3 3/6] arm64: dts: actions: Add pinctrl definition for S900 I2C controller

2018-06-30 Thread Manivannan Sadhasivam
Add pinctrl definition for Actions Semiconductor S900 I2C controller. Pinctrl definitions are only available for I2C0, I2C1, and I2C2. Signed-off-by: Manivannan Sadhasivam --- .../dts/actions/s900-bubblegum-96-pins.dtsi | 29 +++ 1 file changed, 29 insertions(+) create mode

[PATCH v3 4/6] arm64: dts: actions: Enable I2C1 and I2C2 in Bubblegum-96 board

2018-06-30 Thread Manivannan Sadhasivam
Enable I2C1 and I2C2 exposed on the low speed expansion connector in Bubblegum-96 board. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts

[PATCH v3 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-06-30 Thread Manivannan Sadhasivam
Add Actions Semiconductor Owl family S900 I2C driver. Signed-off-by: Manivannan Sadhasivam --- drivers/i2c/busses/Kconfig | 7 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-owl.c | 477 +++ 3 files changed, 485 insertions(+) create mode

[PATCH v3 0/6] Add Actions Semiconductor Owl S900 I2C support

2018-06-30 Thread Manivannan Sadhasivam
This patchset adds I2C controller support for Actions Semiconductor S900 SoC. This driver has been structured in a way such that there will be only one controller driver for the whole Owl family series (S500, S700 and S900 SoCs). There are 6 I2C controllers with separate memory mapped register

[PATCH v3 1/6] dt-bindings: i2c: Add binding for Actions Semiconductor Owl I2C controller

2018-06-30 Thread Manivannan Sadhasivam
Add devicetree binding for Actions Semiconductor Owl I2C controller Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/i2c/i2c-owl.txt | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-owl.txt diff --git

I am Mr. Hussein Harmuh from Syria. I got my information while I was searching a trusted person, I have a very profitable business offer for you and I can assure you that you will not regret being par

2018-06-30 Thread Hussein Harmuh
Col. Hussein Kharmusch

[GIT PULL] perf fixes

2018-06-30 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: 9331510135640429711afbd0c810686100824a79 perf/core: Move inline keyword at the beginning of declaration Tooling fixes mostly, plus

[PATCH v2 2/2] staging: rtl8723bs: simplify if else statement

2018-06-30 Thread Michael Straube
Simplify if else statement to a single function call by passing the variable. Suggested-by: Andreas Schwab Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_btcoex.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git

[PATCH v2 1/2] staging: rtl8723bs: fix comparsion to true/false and brace issues

2018-06-30 Thread Michael Straube
Use if(x) and if(!x) instead of comparsion to true/false. Reported by checkpatch. Remove unrequired braces from single if else statement. Add missing space after else: else{ -> else { Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_btcoex.c | 8

v4.18-rc2 on droid4: screen turns red

2018-06-30 Thread Pavel Machek
Hi! After longer inactivity, attempt to wake up the screen results in screen being completely red. Not too useful. I can still connect over ssh. This happens all the time: Jun 30 11:34:08 devuan kernel: [ 143.605499] [ cut here ] Jun 30 11:34:08 devuan kernel: [

[PATCH v3 6/6] MAINTAINERS: Add entry for Actions Semiconductor Owl I2C driver

2018-06-30 Thread Manivannan Sadhasivam
Add entry for Actions Semiconductor Owl I2C driver under ARM/ACTIONS Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 09b54e9ebc6f..5084c62712fa 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1145,12

Re: [PATCH v7] drivers/staging: Gasket driver framework + Apex driver

2018-06-30 Thread Alan Cox
> The Gasket (Google ASIC Software, Kernel Extensions, and Tools) kernel > framework is a generic, flexible system that supports thin kernel > drivers. Gasket kernel drivers are expected to handle opening and > closing devices, mmap'ing BAR space as requested, a small selection of > ioctls, and

Re: [PATCH] ACPI/PPTT: use ACPI ID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set

2018-06-30 Thread Andrew Jones
On Fri, Jun 29, 2018 at 05:17:57PM +0100, Sudeep Holla wrote: > Currently we use the ACPI processor ID only for the leaf/processor nodes > as the specification states it must match the value of ACPI processor ID > field in the processor’s entry in the MADT. > > However, if a PPTT structure

/tmp/cctnQ1CM.s:35: Error: .err encountered

2018-06-30 Thread kbuild test robot
Hi Dmitry, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1904148a361a07fb2d7cba1261d1d2c2f33c8d2e commit: 758517202bd2e427664857c9f2aa59da36848aca arm: port KCOV to arm date: 2 weeks ago config: arm-allmodconfig

Re: [PATCH] staging: rtl8723bs: fix comparsion to true/false and brace issues

2018-06-30 Thread Andreas Schwab
On Jun 30 2018, Michael Straube wrote: > @@ -115,11 +115,10 @@ s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter > *padapter) > > void rtw_btcoex_SetManualControl(struct adapter *padapter, u8 manual) > { > - if (true == manual) { > + if (manual) >

Re: [PATCH v2 5/6] i2c: Add Actions Semi OWL family S900 I2C driver

2018-06-30 Thread Andy Shevchenko
On Thu, Jun 28, 2018 at 9:10 PM, Manivannan Sadhasivam wrote: > Add Actions Semi OWL family S900 I2C driver. > +#include > +#include > +#include > +#include > +#include > +#include > +#include Perhaps keep in order? > +#define OWL_I2C_DEFAULT_SPEED 10 > +#define OWL_I2C_MAX_SPEED

Re: 答复: 答复: 答复: 答复: [PATCH] ext4: e2fsprogs: fix inode bitmap num not integer,incompatible for ancient android devices

2018-06-30 Thread Theodore Y. Ts'o
On Sat, Jun 30, 2018 at 01:26:43AM +, Gaoming (ming, consumer BG) wrote: > Yes, it is caused by using 1024 blocksize. > It is historical problem, and I have to admit that's not good idea. I don't > know why somebody choose it some years before. > It has been corrected two years before or

Re: [PATCH v2 2/3] clk: actions: Add S700 SoC clock support

2018-06-30 Thread Manivannan Sadhasivam
Hi Saravanan, On Thu, Jun 28, 2018 at 09:18:04PM +0200, Saravanan Sekar wrote: > Add Actions Semi S700 SoC clock support > > Signed-off-by: Parthiban Nallathambi > Signed-off-by: Saravanan Sekar > --- > drivers/clk/actions/Kconfig| 7 + > drivers/clk/actions/Makefile | 1 + >

Re: [PATCH v1 0/6] x86/tsc: Clean up legacy code for Intel MID

2018-06-30 Thread Thomas Gleixner
On Fri, 29 Jun 2018, Andy Shevchenko wrote: > As Thomas noticed there is unusual initialization is going on on Intel MID > platforms when TSC is being calibrated. > > It appears that we have tsc_msr.c to support Intel MID in a more generic way. > > So, this patch series removes legacy

Re: [PATCH v2 3/3] dt-bindings: clock: Modify Actions Soc clock bindings

2018-06-30 Thread Manivannan Sadhasivam
Hi Saravanan, I agree with modifying the existing binding to accomodate other SoC's of the same family. But the binding should be "actions,owl-cmu.txt" since it reflects the family name. Andreas, what do you think? On Thu, Jun 28, 2018 at 09:18:05PM +0200, Saravanan Sekar wrote: > Modify clock

[PATCH 3/5] mfd: ti_am335x_tscadc: Keep ADC interface on if child is wakeup capable

2018-06-30 Thread Vignesh R
If a child device like touchscreen is wakeup capable, then keep ADC interface on, so that a touching resistive screen will generate wakeup event to the system. Signed-off-by: Vignesh R --- drivers/mfd/ti_am335x_tscadc.c | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCH 0/5] ti_am335x_tsc: Enable wakeup capability

2018-06-30 Thread Vignesh R
On AM335x, resistive TSC can wakeup the system from low power state. Currently, parent MFD device is marked as wakeup source, which is inaccurate as its the touch event generated by TSC thats the wakeup source. This series moves all wakeup related calls to operate on TSC device instead of MFD. It

[PATCH 2/5] Input: ti_am335x_tsc: Mark TSC device as wakeup source

2018-06-30 Thread Vignesh R
Instead of TSCADC MFD device, mark TSC as wakeup source and change all wakeup related PM calls to operate on TSC device. Signed-off-by: Vignesh R --- drivers/input/touchscreen/ti_am335x_tsc.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git

[PATCH 4/5] iio: adc: ti_am335x_adc: Disable ADC during suspend unconditionally

2018-06-30 Thread Vignesh R
Parent MFD device takes care of enabling ADC interface whenever touchscreen is marked wakeup capable. Therefore, unconditionally disable ADC interface during system suspend to save power in case of system with just ADC and no TSC. Signed-off-by: Vignesh R --- drivers/iio/adc/ti_am335x_adc.c |

[PATCH 5/5] Input: ti_am335x_tsc: Mark IRQ as wakeup capable

2018-06-30 Thread Vignesh R
On AM335x, ti_am335x_tsc can wake up the system from suspend, mark the IRQ as wakeup capable, so that device irq is not disabled during system suspend. Signed-off-by: Vignesh R --- drivers/input/touchscreen/ti_am335x_tsc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH 1/5] mfd: ti_am335x_tscadc: Don't mark TSCADC MFD as wakeup capable

2018-06-30 Thread Vignesh R
Currently tscadc MFD is marked as wakeup capable which incorrect because, its actually touch event by child TSC device that wakes up the system. Therefore, remove device_init_wakeup() call that marks TSCADC device as wakeup capable in favor of moving to mark TSC input device as wakeup capable

[PATCH] vfs: make helper function to_mnt_ns static

2018-06-30 Thread Colin King
From: Colin Ian King The function to_mnt_ns is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'to_mnt_ns' was not declared. Should it be static? Signed-off-by: Colin Ian King --- fs/namespace.c | 2 +- 1 file changed, 1

A little video of me, and summary of research, computing part: What should be the way forward for OS's

2018-06-30 Thread Ywe Cærlyn
A complete and coherent philosophy is needed, that is compatible with the level of intelligence needed in the computing space, that will ofcourse affect society in general. Chaos theory, dictates that the wings of a butterfly may cause a storm elsewhere. Zén buddhism will add, did the ego

Re: [PATCH v2 1/6] dt-bindings: i2c: Add binding for Actions Semi OWL I2C controller

2018-06-30 Thread Manivannan Sadhasivam
Hi Andreas, On Sat, Jun 30, 2018 at 02:23:30PM +0200, Andreas Färber wrote: > Am 28.06.2018 um 20:10 schrieb Manivannan Sadhasivam: > > Add devicetree binding for Actions Semi OWL I2C controller > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > .../devicetree/bindings/i2c/i2c-owl.txt

Assalamu`Alaikum.

2018-06-30 Thread Mohammad Ouattara
Dear Sir/Madam. Assalamu`Alaikum. I am Dr mohammad ouattara, I have ($14.6 Million us dollars) to transfer into your account, I will send you more details about this deal and the procedures to follow when I receive a positive response from you, Have a great day, Dr mohammad ouattara.

Re: [PATCH] vmw_pvrdma: Release netdev when vmxnet3 module is removed

2018-06-30 Thread Dan Carpenter
Hi Neil, I love your patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Neil-Horman/vmw_pvrdma-Release-netdev-when-vmxnet3-module-is-removed/20180628-232414 smatch warnings: drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c:987 pvrdma_pci_probe() warn: variable

  1   2   3   >