[PATCH v3 1/2] dt-bindings: Add vendor prefix for Sancloud

2018-07-12 Thread Koen Kooi
Add vendor prefix for Sancloud Ltd. Signed-off-by: Koen Kooi --- v3: No changes v2: No changes v1: Initial submission Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation

Re: [PATCH] base: core: Remove WARN_ON from link dependencies check

2018-07-12 Thread Mark Brown
On Thu, Jul 12, 2018 at 11:18:26AM +0200, Benjamin Gaignard wrote: > 2018-07-12 10:55 GMT+02:00 Greg KH : > > Why would a link already exist that is asked to be created again? What > > code path causes this? > It could happen that the link exist because a device use it parent as > supplier. > T

[PATCH 3/5] staging: rtl8723bs: refactor rtw_is_cckratesonly_included

2018-07-12 Thread Michael Straube
Refactor rtw_is_cckratesonly_included() to improve readability and slightly reduce object file size. Suggested-by: Joe Perches Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/s

[PATCH 2/5] staging: rtl8723bs: refactor rtw_is_cckrates_included()

2018-07-12 Thread Michael Straube
Refactor rtw_is_cckrates_included() to improve readability and slightly reduce object file size. Suggested-by: Joe Perches Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/stagi

[PATCH 5/5] staging: rtl8723bs: fix comparsions to true

2018-07-12 Thread Michael Straube
Use if(x) instead of if(x == true). Signed-off-by: Michael Straube --- .../staging/rtl8723bs/core/rtw_ieee80211.c| 6 ++-- .../staging/rtl8723bs/os_dep/ioctl_linux.c| 28 +-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/

[PATCH 4/5] staging: rtl8723bs: change return type to bool

2018-07-12 Thread Michael Straube
Both rtw_is_cckrates_included() and rtw_is_cckratesonly_included() return true or false. Change the return type from uint to bool. Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 4 ++-- drivers/staging/rtl8723bs/include/ieee80211.h | 4 ++-- 2 files changed,

[PATCH 1/5] staging: rtl8723bs: remove unused code

2018-07-12 Thread Michael Straube
Remove commented rtw_is_cckrates_included() and rtw_is_cckratesonly_included() from os_dep/ioctl_linux.c. Both are defined in core/rtw_ieee80211.c. Signed-off-by: Michael Straube --- .../staging/rtl8723bs/os_dep/ioctl_linux.c| 32 --- 1 file changed, 32 deletions(-) diff --g

[PATCH] kbuild: suppress warnings from 'getconf LFS_*'

2018-07-12 Thread Masahiro Yamada
Suppress warnings for systems that do not recognize LFS_*. getconf: no such configuration parameter `LFS_CFLAGS' getconf: no such configuration parameter `LFS_LDFLAGS' getconf: no such configuration parameter `LFS_LIBS' Fixes: d7f14c66c273 ("kbuild: Enable Large File Support for hostprogs") Re

Re: [PATCH v5 3/4] clk: tegra: Add sdmmc mux divider clock

2018-07-12 Thread Jon Hunter
On 11/07/18 15:39, Aapo Vienamo wrote: > From: Peter De-Schrijver > > Add a clock type to model the sdmmc switch divider clocks which have paths > to source clocks bypassing the divider (Low Jitter paths). These > are handled by selecting the lj path when the divider is 1 (ie the > rate is the

Re: [PATCH] ASoC: core: add support to card re-bind/unbind using component framework

2018-07-12 Thread Vinod
On 11-07-18, 09:43, Srinivas Kandagatla wrote: > This patch aims at add achieving dynamic behaviour of audio card when > the dependent components disappear and reappear. > > With this patch the card is removed if any of the dependent component > is removed and card is added back if the dependent c

[PATCH 1/2] ARM: mxs_defconfig: use MXSFB DRM driver

2018-07-12 Thread Stefan Agner
Use the the DRM driver for MXSFB LCD controller (used in i.MX23/ i.MX28/i.MX6SX or i.MX7). Remove CONFIG_FB_MXS which will soon be removed. Note that this does not remove CONFIG_FB. CONFIG_FB gets selected implicity by CONFIG_DRM/CONFIG_DRM_KMS_FB_HELPER. Signed-off-by: Stefan Agner --- arch/ar

[PATCH 2/2] ARM: imx_v6_v7_defconfig: use MXSFB DRM driver

2018-07-12 Thread Stefan Agner
Use the the DRM driver for MXSFB LCD controller (used in i.MX23/ i.MX28/i.MX6SX or i.MX7). Remove CONFIG_FB_MXS which will soon be removed. Signed-off-by: Stefan Agner --- arch/arm/configs/imx_v6_v7_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/

Re: [PATCH v2] kvm/x86: Inform RCU of quiescent state when entering guest mode

2018-07-12 Thread Christian Borntraeger
On 07/12/2018 10:31 AM, David Woodhouse wrote: > > > On Wed, 2018-07-11 at 16:47 -0700, Paul E. McKenney wrote: >> What changed was RCU's reactions to longish grace periods.  It used to be very aggressive about forcing the scheduler to do otherwise-unneeded context switches, whi

[PATCH 0/5] ubifs: Rework assert code

2018-07-12 Thread Richard Weinberger
This series changes the UBIFS assert code such that users can specify what do to upon a failed assert. The new mount option "assert=" controls these actions. Currently three actions are supported: - report: Just report the assertion - panic: Panic the kernel - read-only: Switch to read-only mode >

[PATCH 3/5] ubifs: Rework ubifs_assert()

2018-07-12 Thread Richard Weinberger
With having access to struct ubifs_info in ubifs_assert() we can give more information when an assert is failing. By using ubifs_err() we can tell which UBIFS instance failed. Also multiple actions can be taken now. We support: - report: This is what UBIFS did so far, just report the failure and

[PATCH 5/5] ubifs: Set default assert action to read-only

2018-07-12 Thread Richard Weinberger
Traditionally UBIFS just reported a failed assertion and moved on. The drawback is that users will notice UBIFS bugs when it is too late, most of the time when it is no longer about to mount. This makes bug hunting problematic since valuable information from failing asserts is long gone when UBIFS

[PATCH 4/5] ubifs: Allow setting assert action as mount parameter

2018-07-12 Thread Richard Weinberger
Expose our three options to userspace. Signed-off-by: Richard Weinberger --- fs/ubifs/misc.c | 11 +++ fs/ubifs/misc.h | 2 ++ fs/ubifs/super.c | 24 3 files changed, 37 insertions(+) diff --git a/fs/ubifs/misc.c b/fs/ubifs/misc.c index 586fd5b578a7..cd23de0f

[PATCH 1/2] dt-bindings: pfuze100: add optional pfuze-disable-sw binding

2018-07-12 Thread Marco Felsch
This binding is used to keep the backward compatibility with the current dtb's [1]. The binding informs the driver that the unused switch regulators can be disabled. If it is not specified, the driver doesn't disable the switch regulators. [1] https://patchwork.kernel.org/patch/10490381/ Signed-o

[PATCH 2/5] ubifs: Pass struct ubifs_info to ubifs_assert()

2018-07-12 Thread Richard Weinberger
This allows us to have more context in ubifs_assert() and take different actions depending on the configuration. Signed-off-by: Richard Weinberger --- fs/ubifs/budget.c | 68 - fs/ubifs/commit.c | 8 +-- fs/ubifs/crypto.c | 4 +- fs/ubifs/debug.c |

[PATCH 0/2] Re-Enable support to disable switch regulators

2018-07-12 Thread Marco Felsch
Hi, Anson had added the support to disable the switched regulators, but there were regressions [1] with old dtb's, so the commit was reverted [2]. At all, the support to disable the switch regulators seems to me to be a good feature. But we have to add a special dt-property to avoid regressions wi

[PATCH 2/2] regulator: pfuze100: add support to en-/disable switch regulators

2018-07-12 Thread Marco Felsch
Add enable/disable support for switch regulators on pfuze100. Based on commit 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for switch") which is reverted due to boot regressions by commit 464a5686e6c9 ("regulator: Revert "regulator: pfuze100: add enable/disable for switch""). Disabling t

[PATCH 1/5] ubifs: Turn two ubifs_assert() into a WARN_ON()

2018-07-12 Thread Richard Weinberger
We are going to pass struct ubifs_info to ubifs_assert() but while unloading the UBIFS module we don't have the info struct anymore. Therefore replace the asserts by a regular WARN_ON(). Signed-off-by: Richard Weinberger --- fs/ubifs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

Re: [V9fs-developer] [PATCH] Integer underflow in pdu_read()

2018-07-12 Thread Tomas Bortoli
On 07/11/2018 04:04 AM, jiangyiwen wrote: > On 2018/7/10 3:26, Tomas Bortoli wrote: >> The pdu_read() function suffers from an integer underflow. >> When pdu->offset is greater than pdu->size, the length calculation will have >> a wrong result, resulting in an out-of-bound read. >> This patch modif

Re: [RFC PATCH] arm64: topology: Map PPTT node offset to logic physical package id

2018-07-12 Thread Will Deacon
On Thu, Jun 28, 2018 at 05:18:28PM +0800, Shunyong Yang wrote: > As PPTT spec doesn't define the physical package id, > find_acpi_cpu_topology_package() will return offset of the node with > Physical package field set when querying physical package id. So, it > returns 162(0xA2) in following exampl

Re: [PATCH] kbuild: suppress warnings from 'getconf LFS_*'

2018-07-12 Thread Uwe Kleine-König
On Thu, Jul 12, 2018 at 07:38:36PM +0900, Masahiro Yamada wrote: > Suppress warnings for systems that do not recognize LFS_*. > > getconf: no such configuration parameter `LFS_CFLAGS' > getconf: no such configuration parameter `LFS_LDFLAGS' > getconf: no such configuration parameter `LFS_LIBS'

Re: [PATCH v2] kvm/x86: Inform RCU of quiescent state when entering guest mode

2018-07-12 Thread David Woodhouse
On Thu, 2018-07-12 at 13:00 +0200, Christian Borntraeger wrote: > > On s390 this seems to add about 10ns (~3%) for a guest exit/rentry > microbenchmark mostly due to  rcu_eqs_enter and rcu_eqs_exit now being > visible in perf samples. The older interface was cheaper. Well, the older interface was

Re: [PATCH v8 03/17] mm: Assign id to every memcg-aware shrinker

2018-07-12 Thread Kirill Tkhai
On 03.07.2018 20:32, Kirill Tkhai wrote: > On 03.07.2018 20:00, Shakeel Butt wrote: >> On Tue, Jul 3, 2018 at 9:17 AM Kirill Tkhai wrote: >>> >>> Hi, Shakeel, >>> >>> On 03.07.2018 18:46, Shakeel Butt wrote: On Tue, Jul 3, 2018 at 8:27 AM Matthew Wilcox wrote: > > On Tue, Jul 03, 201

Re: [PATCH v2 3/6] 9p: Replace the fidlist with an IDR

2018-07-12 Thread Dominique Martinet
Matthew Wilcox wrote on Wed, Jul 11, 2018: > diff --git a/net/9p/client.c b/net/9p/client.c > index 389a2904b7b3..b89c7298267c 100644 > --- a/net/9p/client.c > +++ b/net/9p/client.c > @@ -908,30 +908,29 @@ static struct p9_fid *p9_fid_create(struct p9_client > *clnt) > { > int ret; >

Re: [PATCH v8 03/17] mm: Assign id to every memcg-aware shrinker

2018-07-12 Thread Kirill Tkhai
On 12.07.2018 14:13, Kirill Tkhai wrote: > On 03.07.2018 20:32, Kirill Tkhai wrote: >> On 03.07.2018 20:00, Shakeel Butt wrote: >>> On Tue, Jul 3, 2018 at 9:17 AM Kirill Tkhai wrote: Hi, Shakeel, On 03.07.2018 18:46, Shakeel Butt wrote: > On Tue, Jul 3, 2018 at 8:27 AM Matt

Re: [RFC PATCH] arm64: topology: Map PPTT node offset to logic physical package id

2018-07-12 Thread Sudeep Holla
Hi Will, On 12/07/18 12:06, Will Deacon wrote: > On Thu, Jun 28, 2018 at 05:18:28PM +0800, Shunyong Yang wrote: [..] >> >> And as long as the nodes with Physical package field set in PPTT keeps >> the real hardware order, the logic id can map to hardware package id to >> some extent. >> >> Hope

Re: [PATCH v5 3/4] clk: tegra: Add sdmmc mux divider clock

2018-07-12 Thread Peter De Schrijver
On Thu, Jul 12, 2018 at 11:52:31AM +0100, Jon Hunter wrote: > > On 11/07/18 15:39, Aapo Vienamo wrote: > > From: Peter De-Schrijver > > > > Add a clock type to model the sdmmc switch divider clocks which have paths > > to source clocks bypassing the divider (Low Jitter paths). These > > are hand

Re: [PATCH] x86/kvm/vmx: don't read current->thread.{fs,gs}base of legacy tasks

2018-07-12 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Wanpeng Li writes: > >> Test suite: MSR switch >> PASS: VM entry MSR load >> PASS: VM exit MSR store >> PASS: VM exit MSR load >> FAIL: VM entry MSR load: try to load FS_BASE >> SUMMARY: 4 tests, 1 unexpected failures >> >> kvm-unit-tests fails w/ and w/o the patch, ma

Re: [PATCH v2 3/6] 9p: Replace the fidlist with an IDR

2018-07-12 Thread Matthew Wilcox
On Thu, Jul 12, 2018 at 01:17:26PM +0200, Dominique Martinet wrote: > Matthew Wilcox wrote on Wed, Jul 11, 2018: > > diff --git a/net/9p/client.c b/net/9p/client.c > > index 389a2904b7b3..b89c7298267c 100644 > > --- a/net/9p/client.c > > +++ b/net/9p/client.c > > memset(&fid->qid, 0, sizeof(str

Re: [PATCH v2 3/6] 9p: Replace the fidlist with an IDR

2018-07-12 Thread Dominique Martinet
Matthew Wilcox wrote on Thu, Jul 12, 2018: > > Ah, I had missed that you didn't update this memset as you said in reply > > to comment on v1. > > Rather than update the memset, I ... > > > Could you resend just this patch and either initialize fid->fid or use > > kzalloc for the fid allocation?

Re: [PATCH v5 3/4] clk: tegra: Add sdmmc mux divider clock

2018-07-12 Thread Jon Hunter
On 12/07/18 12:20, Peter De Schrijver wrote: > On Thu, Jul 12, 2018 at 11:52:31AM +0100, Jon Hunter wrote: >> >> On 11/07/18 15:39, Aapo Vienamo wrote: >>> From: Peter De-Schrijver >>> >>> Add a clock type to model the sdmmc switch divider clocks which have paths >>> to source clocks bypassing t

[PATCH] x86/kvm/nVMX: set exit_qualification correctly when nested_vmx_load_msr() fails

2018-07-12 Thread Vitaly Kuznetsov
Commit e79f245ddec1 ("X86/KVM: Properly update 'tsc_offset' to represent the running guest") introduced a regression in enter_vmx_non_root_mode(): when nested_vmx_load_msr() fails exit_qualification needs to point to the entry number we failed to validate. Intel's SDM states: "VM-entry failure due

[PATCH 0/3] ata: ahci_platform: minor fixes

2018-07-12 Thread Corentin Labbe
Hello This patchset fixes some minor problem found when working on supporting allwinner R40 AHCI. Regards Corentin Labbe (3): ata: ahci_platform: correct parameter documentation for ahci_platform_shutdown ata: ahci_platform: convert kzallloc to kcalloc ata: ahci_platform: convert kcall

[PATCH 3/3] ata: ahci_platform: convert kcalloc to devm_kcalloc

2018-07-12 Thread Corentin Labbe
Like phys, target_pwrs could be allocated with devm_ function Signed-off-by: Corentin Labbe --- drivers/ata/libahci_platform.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c index be9f54423a9b..fe8939e161ea 1

[PATCH 1/3] ata: ahci_platform: correct parameter documentation for ahci_platform_shutdown

2018-07-12 Thread Corentin Labbe
The documentation about parameter for ahci_platform_shutdown has a typo. This fix the following build warning: drivers/ata/libahci_platform.c:693: warning: Function parameter or member 'pdev' not described in 'ahci_platform_shutdown' drivers/ata/libahci_platform.c:693: warning: Excess function pa

[PATCH 2/3] ata: ahci_platform: convert kzallloc to kcalloc

2018-07-12 Thread Corentin Labbe
It's better to kcalloc instead of kzalloc(n * sizeof()) Signed-off-by: Corentin Labbe --- drivers/ata/libahci_platform.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c index 70052c046559..be9f54423a9b 10

Re: [PATCH v3 3/5] fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire

2018-07-12 Thread Benjamin Herrenschmidt
On Thu, 2018-07-12 at 17:53 +1000, Joel Stanley wrote: > On 12 July 2018 at 13:48, Benjamin Herrenschmidt > wrote: > > The Aspeed AST2x00 can contain a ColdFire v1 coprocessor which > > is currently unused on OpenPower systems. > > > > This adds an alternative to the fsi-master-gpio driver that >

Re: [PATCH v3 05/12] kconfig: make syncconfig update .config regardless of sym_change_count

2018-07-12 Thread Dirk Gouders
Masahiro Yamada writes: > 2018-07-09 20:39 GMT+09:00 Dirk Gouders : >> Dirk Gouders writes: >> >>> Dirk Gouders writes: >>> Masahiro Yamada writes: > syncconfig updates the .config only when sym_change_count > 0, i.e. > any change in config symbols has been detected. > >>

[PATCH v6 3/4] clk: tegra: Add sdmmc mux divider clock

2018-07-12 Thread Aapo Vienamo
From: Peter De-Schrijver Add a clock type to model the sdmmc switch divider clocks which have paths to source clocks bypassing the divider (Low Jitter paths). These are handled by selecting the lj path when the divider is 1 (ie the rate is the parent rate), otherwise the normal path with divider

Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-07-12 Thread Andrea Parri
On Thu, Jul 12, 2018 at 09:40:40AM +0200, Peter Zijlstra wrote: > On Wed, Jul 11, 2018 at 02:34:21PM +0200, Andrea Parri wrote: > > Simplicity is the eye of the beholder. From my POV (LKMM maintainer), the > > simplest solution would be to get rid of rfi-rel-acq and unlock-rf-lock-po > > (or its a

[PATCH v6 2/4] clk: tegra: Refactor fractional divider calculation

2018-07-12 Thread Aapo Vienamo
From: Peter De Schrijver Move this to a separate file so it can be used to calculate the sdmmc clock dividers. Signed-off-by: Peter De-Schrijver Signed-off-by: Aapo Vienamo Acked-by: Peter De Schrijver Acked-by: Jon Hunter --- drivers/clk/tegra/Makefile | 1 + drivers/clk/tegra/clk-di

[PATCH v6 4/4] clk: tegra: make sdmmc2 and sdmmc4 as sdmmc clocks

2018-07-12 Thread Aapo Vienamo
From: Peter De-Schrijver These clocks have low jitter paths to certain parents. To model these correctly, use the sdmmc mux divider clock type. Signed-off-by: Peter De-Schrijver Signed-off-by: Aapo Vienamo Acked-by: Peter De Schrijver --- drivers/clk/tegra/clk-id.h | 2 -- drivers

[PATCH v6 0/4] Multiplex sdmmc low jitter clock path

2018-07-12 Thread Aapo Vienamo
The SDMMC clocks have a Low Jitter (LJ) clock path which bypasses a divider to achieve better jitter performance with high speed signaling modes. The clock path with the divider is needed by some of the slower signaling modes. This series automatically multiplexes the LJ and non-LJ clock paths base

[PATCH v6 1/4] clk: tegra: Fix includes required by fence_udelay()

2018-07-12 Thread Aapo Vienamo
Add the missing linux/delay.h include statement for udelay() used by fence_udelay() macro. Signed-off-by: Aapo Vienamo Acked-by: Peter De Schrijver Acked-by: Jon Hunter --- drivers/clk/tegra/clk.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/tegra/clk.h b/drivers/clk/tegra/c

Re: [RFC PATCH] perf/core: don't sample kernel regs upon skid

2018-07-12 Thread Mark Rutland
On Mon, Jul 09, 2018 at 06:42:29PM -0400, Boris Ostrovsky wrote: > On 07/02/2018 12:02 PM, Mark Rutland wrote: > > On Mon, Jul 02, 2018 at 05:46:55PM +0200, Peter Zijlstra wrote: > >> On Mon, Jul 02, 2018 at 04:12:50PM +0100, Mark Rutland wrote: > >>> +static struct pt_regs *perf_get_sample_regs(st

Re: [PATCH v2] kvm/x86: Inform RCU of quiescent state when entering guest mode

2018-07-12 Thread Christian Borntraeger
On 07/12/2018 01:10 PM, David Woodhouse wrote: > On Thu, 2018-07-12 at 13:00 +0200, Christian Borntraeger wrote: >> >> On s390 this seems to add about 10ns (~3%) for a guest exit/rentry >> microbenchmark mostly due to  rcu_eqs_enter and rcu_eqs_exit now being >> visible in perf samples. The olde

[PATCH v2 1/2] dt-bindings: ufs: Add UFS platform driver for Cadence UFS

2018-07-12 Thread Janek Kotas
This patch adds a device tree platform driver description for Cadence UFS Controller. Signed-off-by: Jan Kotas --- .../devicetree/bindings/ufs/cdns,ufshc.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/ufs/cdns,ufshc

[PATCH v3 0/7] Tegra PMC pinctrl pad configuration

2018-07-12 Thread Aapo Vienamo
Hi all, The Tegra Power Management Controller (PMC) can set pad power states and voltage configuration. This series implements pinctrl interfaces for configuring said pad properties. Changelog v3: - Don't expose tegra_io_pad_is_powered() - Remove tegra_io_pad_set_voltage() stub fr

[PATCH v3 4/7] soc/tegra: pmc: Use X macro to generate IO pad tables

2018-07-12 Thread Aapo Vienamo
Refactor the IO pad tables into macro tables so that they can be reused to generate pinctrl pin descriptors. Also add a name field which is needed by pinctrl. Signed-off-by: Aapo Vienamo --- drivers/soc/tegra/pmc.c | 233 ++-- 1 file changed, 127 inser

[PATCH v3 7/7] soc/tegra: pmc: Implement pad configuration via pinctrl

2018-07-12 Thread Aapo Vienamo
Register a pinctrl device and implement get and set functions for PIN_CONFIG_LOW_POWER_MODE and PIN_CONFIG_POWER_SOURCE parameters. Signed-off-by: Aapo Vienamo --- drivers/soc/tegra/pmc.c | 187 +++- 1 file changed, 185 insertions(+), 2 deletions(-) d

[PATCH v3 2/7] soc/tegra: pmc: Factor out DPD register bit calculation

2018-07-12 Thread Aapo Vienamo
Factor out the the code to calculate the correct DPD register and bit number for a given pad. This logic will be needed to query the status register. Signed-off-by: Aapo Vienamo Acked-by: Jon Hunter --- drivers/soc/tegra/pmc.c | 20 +--- 1 file changed, 17 insertions(+), 3 delet

[PATCH v3 3/7] soc/tegra: pmc: Implement tegra_io_pad_is_powered()

2018-07-12 Thread Aapo Vienamo
Implement a function to query whether a pad is in deep power down mode. This will is needed by the pinctrl callbacks. Signed-off-by: Aapo Vienamo Acked-by: Jon Hunter --- drivers/soc/tegra/pmc.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/soc/tegra/pmc.c b/driv

[PATCH] mac80211: a trivial open80211s web site URL fix

2018-07-12 Thread Lubomir Rintel
Signed-off-by: Lubomir Rintel --- net/mac80211/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig index 76e30f4797fb..7dc77fc91891 100644 --- a/net/mac80211/Kconfig +++ b/net/mac80211/Kconfig @@ -79,7 +79,7 @@ config MAC80211_ME

[PATCH v3 6/7] soc/tegra: pmc: Remove public pad voltage APIs

2018-07-12 Thread Aapo Vienamo
Make tegra_io_pad_set_voltage() and tegra_io_pad_get_voltage() static and remove the prototypes from pmc.h. Remove enum tegra_io_pad_voltage and use the defines from instead. These functions aren't used outside of the pmc driver and new use cases should use the pinctrl interface instead. Signed-

Re: [RFC] Make need_resched() return true when rcu_urgent_qs requested

2018-07-12 Thread David Woodhouse
On Wed, 2018-07-11 at 14:08 -0700, Paul E. McKenney wrote: > > > Also... why in $DEITY's name was the existing > > rcu_virt_note_context_switch() not actually sufficient? If we had that > > there, why did we need an additional explicit calls to rcu_all_qs() in > > the KVM loop, or the more compl

[PATCH v3 5/7] dt-bindings: Add Tegra PMC pad configuration bindings

2018-07-12 Thread Aapo Vienamo
Document the pinctrl bindings used by the PMC driver for performing pad configuration. Both nvidia,tegra186-pmc.txt and nvidia,tegra20-pmc.txt are modified as they both cover SoC generations for which these bindings apply. Add a header defining Tegra PMC pad voltage configurations. Signed-off-by:

Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-07-12 Thread Andrea Parri
On Thu, Jul 12, 2018 at 01:52:49PM +0200, Andrea Parri wrote: > On Thu, Jul 12, 2018 at 09:40:40AM +0200, Peter Zijlstra wrote: > > On Wed, Jul 11, 2018 at 02:34:21PM +0200, Andrea Parri wrote: > > > Simplicity is the eye of the beholder. From my POV (LKMM maintainer), the > > > simplest solution

[PATCH v3 1/7] soc/tegra: pmc: Fix pad voltage configuration for Tegra186

2018-07-12 Thread Aapo Vienamo
Implement support for the PMC_IMPL_E_33V_PWR register which replaces PMC_PWR_DET register interface of the SoC generations preceding Tegra186. Also add the voltage bit offsets to the tegra186_io_pads[] table and the AO_HV pad. Signed-off-by: Aapo Vienamo Acked-by: Jon Hunter --- drivers/soc/teg

Re: [PATCH] ASoC: core: add support to card re-bind/unbind using component framework

2018-07-12 Thread Srinivas Kandagatla
Thanks Vinod for taking look at this! On 12/07/18 11:59, Vinod wrote: On 11-07-18, 09:43, Srinivas Kandagatla wrote: This patch aims at add achieving dynamic behaviour of audio card when the dependent components disappear and reappear. With this patch the card is removed if any of the dependen

Re: [PATCH v2] kvm/x86: Inform RCU of quiescent state when entering guest mode

2018-07-12 Thread Christian Borntraeger
On 07/12/2018 01:58 PM, Christian Borntraeger wrote: > > > On 07/12/2018 01:10 PM, David Woodhouse wrote: >> On Thu, 2018-07-12 at 13:00 +0200, Christian Borntraeger wrote: >>> >>> On s390 this seems to add about 10ns (~3%) for a guest exit/rentry >>> microbenchmark mostly due to  rcu_eqs_ente

Re: [PATCH] refcount: always allow checked forms

2018-07-12 Thread Mark Rutland
On Wed, Jul 11, 2018 at 07:37:05PM +0200, David Sterba wrote: > On Wed, Jul 11, 2018 at 06:49:46AM +0100, Mark Rutland wrote: > > > > Dave pointed out that it would be useful to be able to opt-in to full > > > > checks > > > > regardless of CONFIG_REFCOUNT_FULL, so that we can simplify callsites

Re: Bug report about KASLR and ZONE_MOVABLE

2018-07-12 Thread Baoquan He
On 07/12/18 at 09:19am, Chao Fan wrote: > On Wed, Jul 11, 2018 at 08:40:08PM +0800, Baoquan He wrote: > >Please try this v3 patch: > > > >From 9850d3de9c02e570dc7572069a9749a8add4c4c7 Mon Sep 17 00:00:00 2001 > >From: Baoquan He > >Date: Wed, 11 Jul 2018 20:31:51 +0800 > >Subject: [PATCH v3] mm, p

Re: [PATCH] arm64: Clear the stack

2018-07-12 Thread Will Deacon
On Wed, Jul 11, 2018 at 05:05:32PM -0700, Kees Cook wrote: > On Fri, Jun 29, 2018 at 12:05 PM, Laura Abbott wrote: > > include/linux/stackleak.h | 1 + > > [...] > > diff --git a/include/linux/stackleak.h b/include/linux/stackleak.h > > index e2da99b3a191..00d62b302efb 100644 > > ---

Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-07-12 Thread Peter Zijlstra
On Thu, Jul 12, 2018 at 02:01:00PM +0200, Andrea Parri wrote: > > OTOH (as I pointed out earlier) the strengthening we're configuring > > will prevent some arch. (riscv being just the example of today!) to > > go "full RCsc", and this will inevitably "complicate" both the LKMM > > "full RCpc" Tha

Re: [PATCH 0/3] ata: ahci_platform: minor fixes

2018-07-12 Thread Hans de Goede
Hi, On 12-07-18 13:41, Corentin Labbe wrote: Hello This patchset fixes some minor problem found when working on supporting allwinner R40 AHCI. Regards Thanks. The entire series looks good to me: Reviewed-by: Hans de Goede Regards, Hans

Re: [PATCH 1/4] clk: qcom: gdsc: Add support to enable/disable the clocks with GDSC

2018-07-12 Thread Amit Nischal
Hi Stephen, Thanks for the review comments. Regards, Amit On 2018-07-09 11:04, Stephen Boyd wrote: Quoting Amit Nischal (2018-06-06 04:41:45) For some of the GDSCs, there is a requirement to enable/disable the few clocks before turning on/off the gdsc power domain. Add support Why is there

Re: [PATCH v3 1/2] leds: core: Introduce generic pattern interface

2018-07-12 Thread Baolin Wang
Hi Jacek, On 12 July 2018 at 05:10, Jacek Anaszewski wrote: > Hi Baolin. > > > On 07/11/2018 01:02 PM, Baolin Wang wrote: >> >> Hi Jacek and Pavel, >> >> On 29 June 2018 at 13:03, Baolin Wang wrote: >>> >>> From: Bjorn Andersson >>> >>> Some LED controllers have support for autonomously control

Re: [PATCH 2/4] clk: qcom: Add clk_rcg2_gfx3d_ops for SDM845

2018-07-12 Thread Amit Nischal
On 2018-07-09 11:45, Stephen Boyd wrote: Quoting Amit Nischal (2018-06-06 04:41:46) To turn on the gpu_gx_gdsc, there is a hardware requirement to turn on the root clock (GFX3D RCG) first which would be the turn on signal for the gdsc along with the SW_COLLAPSE. As per the current implementation

Re: [V9fs-developer] [PATCH v2 1/6] 9p: Fix comment on smp_wmb

2018-07-12 Thread Greg Kurz
On Wed, 11 Jul 2018 14:02:20 -0700 Matthew Wilcox wrote: > The previous comment misled me into thinking the barrier wasn't needed > at all. > > Signed-off-by: Matthew Wilcox > --- Reviewed-by: Greg Kurz > net/9p/client.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --gi

Re: [PATCH v10 2/2] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-07-12 Thread Lee Jones
On Thu, 05 Jul 2018, Matti Vaittinen wrote: > Document devicetree bindings for ROHM BD71837 PMIC MFD. > > Signed-off-by: Matti Vaittinen > --- > .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 62 > ++ > 1 file changed, 62 insertions(+) > create mode 100644 > Documen

Re: [PATCH 3/4] dt-bindings: clock: Introduce QCOM Graphics clock bindings

2018-07-12 Thread Amit Nischal
On 2018-07-09 11:08, Stephen Boyd wrote: Quoting Amit Nischal (2018-06-06 04:41:47) diff --git a/Documentation/devicetree/bindings/clock/qcom,gpucc.txt b/Documentation/devicetree/bindings/clock/qcom,gpucc.txt new file mode 100644 index 000..e311219 --- /dev/null +++ b/Documentation/devicetr

Re: Bug report about KASLR and ZONE_MOVABLE

2018-07-12 Thread Michal Hocko
On Thu 12-07-18 14:01:15, Chao Fan wrote: > On Thu, Jul 12, 2018 at 01:49:49PM +0800, Dou Liyang wrote: > >Hi Baoquan, > > > >At 07/11/2018 08:40 PM, Baoquan He wrote: > >> Please try this v3 patch: > >> >>From 9850d3de9c02e570dc7572069a9749a8add4c4c7 Mon Sep 17 00:00:00 2001 > >> From: Baoquan He

Re: [V9fs-developer] [PATCH v2 2/6] 9p: Change p9_fid_create calling convention

2018-07-12 Thread Greg Kurz
On Wed, 11 Jul 2018 14:02:21 -0700 Matthew Wilcox wrote: > Return NULL instead of ERR_PTR when we can't allocate a FID. The ENOSPC > return value was getting all the way back to userspace, and that's > confusing for a userspace program which isn't expecting read() to tell it > there's no space l

Re: [PATCH 4/4] clk: qcom: Add graphics clock controller driver for SDM845

2018-07-12 Thread Amit Nischal
On 2018-07-09 11:37, Stephen Boyd wrote: Quoting Amit Nischal (2018-06-06 04:41:48) diff --git a/drivers/clk/qcom/gpucc-sdm845.c b/drivers/clk/qcom/gpucc-sdm845.c new file mode 100644 index 000..81f8926 --- /dev/null +++ b/drivers/clk/qcom/gpucc-sdm845.c @@ -0,0 +1,441 @@ +// SPDX-License-I

Re: [PATCH] ASoC: core: add support to card re-bind/unbind using component framework

2018-07-12 Thread Vinod
On 12-07-18, 13:02, Srinivas Kandagatla wrote: > Thanks Vinod for taking look at this! > > On 12/07/18 11:59, Vinod wrote: > > On 11-07-18, 09:43, Srinivas Kandagatla wrote: > > > This patch aims at add achieving dynamic behaviour of audio card when > > > the dependent components disappear and rea

Re: [RFC][PATCH 01/42] drm_mode_create_lease_ioctl(): fix open-coded filp_clone_open()

2018-07-12 Thread Al Viro
On Wed, Jul 11, 2018 at 05:15:40PM +0100, Al Viro wrote: > Actually, looking at the entire thing, I'm rather tempted to go for > alloc_empty_file(f_flags, cred) > setting both f_flags and f_flags-derived part of f_mode, making > alloc_file_pseudo(inode, mnt, name, f_flags, ops) >

Re: [PATCH v8 0/6] Add ChromeOS EC CEC Support

2018-07-12 Thread Neil Armstrong
Hi Lee, On 12/07/2018 14:26, Lee Jones wrote: > On Wed, 04 Jul 2018, Neil Armstrong wrote: > >> Hi All, >> >> The new Google "Fizz" Intel-based ChromeOS device is gaining CEC support >> through it's Embedded Controller, to enable the Linux CEC Core to communicate >> with it and get the CEC Physic

Re: [PATCH v6 14/21] s390: vfio-ap: implement mediated device open callback

2018-07-12 Thread Halil Pasic
On 06/29/2018 11:11 PM, Tony Krowiak wrote: Implements the open callback on the mediated matrix device. The function registers a group notifier to receive notification of the VFIO_GROUP_NOTIFY_SET_KVM event. When notified, the vfio_ap device driver will get access to the guest's kvm structure.

Hello Beautiful

2018-07-12 Thread Jack
Hi Dear, my name is Jack and i am seeking for a relationship in which i will feel loved after a series of failed relationships. I am hoping that you would be interested and we could possibly get to know each other more if you do not mind. I am open to answering questions from you as i think my

[RFC][PATCH] kconfig: Add "m or y" and "y or m" answers for oldconfig

2018-07-12 Thread Ville Syrjala
From: Ville Syrjälä Make it possible to answer "m or y" or "y or m" to oldconfig so that scripted kernel builds can easily enable new features not present in the existing .config. The particular use case I have in mind is continuous integration where you probably want to test build any new featu

Re: [RFC] Make need_resched() return true when rcu_urgent_qs requested

2018-07-12 Thread Paul E. McKenney
On Thu, Jul 12, 2018 at 01:00:42PM +0100, David Woodhouse wrote: > > > On Wed, 2018-07-11 at 14:08 -0700, Paul E. McKenney wrote: > > > > > Also... why in $DEITY's name was the existing > > > rcu_virt_note_context_switch() not actually sufficient? If we had that > > > there, why did we need an a

Re: [PATCH V2 00/19] C-SKY(csky) Linux Kernel Port

2018-07-12 Thread Guo Ren
On Wed, Jul 11, 2018 at 10:51:33AM +0100, David Howells wrote: > Can you say what the --target tuple should be so that I can add the arch to my > collection of Fedora cross-binutils and cross-gcc tools built from upstream > binutils and gcc sources? Metor Graghics are helping us upstream gcc and bi

Re: [PATCH v2 1/2] mmc: sdhci-esdhc-imx: disable clocks before changing frequency

2018-07-12 Thread Adrian Hunter
On 12/07/18 11:07, Stefan Agner wrote: > In the uSDHC case (e.g. i.MX 6) clocks only get disabled if frequency > is set to 0. However, it could be that the stack asks for a frequency > change while clocks are on. In that case the function clears the > divider registers (by clearing ESDHC_CLOCK_MASK

Re: [PATCH v2 2/2] mmc: sdhci-esdhc-imx: fix indent

2018-07-12 Thread Adrian Hunter
On 12/07/18 11:07, Stefan Agner wrote: > Fix indent. This also makes disable/enable clock blocks look > alike. > > Signed-off-by: Stefan Agner Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-esdhc-imx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/m

Re: [RFC PATCH] mm, page_alloc: double zone's batchsize

2018-07-12 Thread Michal Hocko
[CC Jesper - I remember he was really concerned about the worst case latencies for highspeed network workloads.] Sorry for top posting but I do not want to torture anybody to scroll down the long changelog which I want to preserve for Jesper. I personally do not mind this change. I usually find

Re: [PATCH v6 3/4] clk: tegra: Add sdmmc mux divider clock

2018-07-12 Thread Jon Hunter
On 12/07/18 12:53, Aapo Vienamo wrote: > From: Peter De-Schrijver > > Add a clock type to model the sdmmc switch divider clocks which have paths > to source clocks bypassing the divider (Low Jitter paths). These > are handled by selecting the lj path when the divider is 1 (ie the > rate is the

Re: [PATCH v6 4/4] clk: tegra: make sdmmc2 and sdmmc4 as sdmmc clocks

2018-07-12 Thread Jon Hunter
On 12/07/18 12:53, Aapo Vienamo wrote: > From: Peter De-Schrijver > > These clocks have low jitter paths to certain parents. To model these > correctly, use the sdmmc mux divider clock type. > > Signed-off-by: Peter De-Schrijver > Signed-off-by: Aapo Vienamo > Acked-by: Peter De Schrijver >

Re: [PATCH v10 1/2] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-07-12 Thread Lee Jones
On Thu, 05 Jul 2018, Matti Vaittinen wrote: > ROHM BD71837 PMIC MFD driver providing interrupts and support > for three subsystems: > - clk > - Regulators > - input/power-key > > Signed-off-by: Matti Vaittinen > --- > drivers/mfd/Kconfig | 13 ++ > drivers/mfd/Makefile

Re: [PATCH] ring_buffer: Update logging to use single line output

2018-07-12 Thread Steven Rostedt
On Wed, 11 Jul 2018 21:42:53 -0700 Joe Perches wrote: > > I just noticed this patch. Please don't send patches Cc'd to other > > threads. They need to start a new thread, otherwise, like this one, it > > will most likely be lost. > > > > If you want this applied still, please resend it properly.

Need Immediate Funds for project funding/Loan/finance. Get it Now @ just 2.75% !!!

2018-07-12 Thread Coutts & Co
Coutts & Co Ltd 440 Strand, London, WC2R 0QS Website: https://www.coutts.com Telephone:+4420 3389 7785 & +4420 7753 1000 Fax:+44 872 110 3479 OUR REF: Coutts/UK/2018/LOANAPP YOUR REF:LOANAPPT/Coutts/JULY/2018 TO WHOM IT MAY CONCERN We give out both Local/International Loan starting from 2.75%* r

Re: [PATCH v3 7/7] soc/tegra: pmc: Implement pad configuration via pinctrl

2018-07-12 Thread Jon Hunter
On 12/07/18 13:00, Aapo Vienamo wrote: > Register a pinctrl device and implement get and set functions for > PIN_CONFIG_LOW_POWER_MODE and PIN_CONFIG_POWER_SOURCE parameters. > > Signed-off-by: Aapo Vienamo > --- > drivers/soc/tegra/pmc.c | 187 > ++

[PATCH] kconfig: remove EXPERT from CHECKPOINT_RESTORE

2018-07-12 Thread Adrian Reber
The CHECKPOINT_RESTORE configuration option was introduced in 2012 and combined with EXPERT. CHECKPOINT_RESTORE is already enabled in many distribution kernels and also part of the defconfigs of various architectures. To make it easier for distributions to enable CHECKPOINT_RESTORE this removes EX

Re: [PATCH v6 4/4] clk: tegra: make sdmmc2 and sdmmc4 as sdmmc clocks

2018-07-12 Thread Aapo Vienamo
On Thu, 12 Jul 2018 13:59:58 +0100 Jon Hunter wrote: > On 12/07/18 12:53, Aapo Vienamo wrote: > > From: Peter De-Schrijver > > > > These clocks have low jitter paths to certain parents. To model these > > correctly, use the sdmmc mux divider clock type. > > > > Signed-off-by: Peter De-Schrijve

[PATCH v3 0/2] clk: meson: add a sub EMMC clock controller support

2018-07-12 Thread Yixun Lan
This driver will add a MMC clock controller driver support. The original idea about adding a clock controller is during the discussion in the NAND driver mainline effort[1]. I've tested this in the S400 board (AXG platform) by using NAND driver. Changes since v2 [3]: - squash dt-binding clock-id

[PATCH v3 1/2] clk: meson: add DT documentation for emmc clock controller

2018-07-12 Thread Yixun Lan
Document the MMC sub clock controller driver, the potential consumer of this driver is MMC or NAND. Also add three clock bindings IDs which provided by this driver. Signed-off-by: Yixun Lan --- .../bindings/clock/amlogic,mmc-clkc.txt | 31 +++ .../clock/amlogic,meson-mmc-cl

[PATCH v3 2/2] clk: meson: add sub MMC clock controller driver

2018-07-12 Thread Yixun Lan
The patch will add a MMC clock controller driver which used by MMC or NAND, It provide a mux and divider clock, and three phase clocks - core, tx, tx. Two clocks are provided as the parent of MMC clock controller from upper layer clock controller - eg "amlogic,axg-clkc" in AXG platform. To specif

<    1   2   3   4   5   6   7   >