Re: [PATCH 27/39] ovl: obsolete "check_copy_up" module option

2018-05-30 Thread Miklos Szeredi
On Tue, May 29, 2018 at 5:13 PM, Amir Goldstein wrote: > On Tue, May 29, 2018 at 5:43 PM, Miklos Szeredi wrote: >> + WARN(1, "overlayfs: \"check_copy_up\" module option is obsolete\n"); > > I was under the impression that user controlled input should not be generating > WARNings... did

Re: [PATCH 03/28] ovl: Provide a mount option metacopy=on/off for metadata copyup

2018-05-30 Thread Miklos Szeredi
On Tue, May 29, 2018 at 10:44 PM, Randy Dunlap wrote: > On 05/29/2018 07:45 AM, Miklos Szeredi wrote: >> + If this config option is enabled then overlay filesystems will >> + copy up only metadata where appropriate and data copy up will >> + happen when a file is opended for

Re: [LKP] [lkp-robot] [mm] e27be240df: will-it-scale.per_process_ops -27.2% regression

2018-05-30 Thread Aaron Lu
On Tue, May 29, 2018 at 10:48:16AM +0200, Michal Hocko wrote: > On Mon 28-05-18 16:52:01, Aaron Lu wrote: > > On Tue, May 08, 2018 at 01:26:40PM -0400, Johannes Weiner wrote: > > > Hello, > > > > > > On Tue, May 08, 2018 at 01:34:51PM +0800, kernel test robot wrote: > > > > FYI, we noticed a

Re: [PATCH 05/11] ovl: return dentry from ovl_create_real()

2018-05-30 Thread Miklos Szeredi
On Tue, May 29, 2018 at 5:24 PM, Amir Goldstein wrote: > On Tue, May 29, 2018 at 5:41 PM, Miklos Szeredi wrote: >> From: Amir Goldstein >> >> Al Viro suggested to simplify callers of ovl_create_real() by >> returning the created dentry (or ERR_PTR) from ovl_create_real(). >> This prep patch

linux-next: manual merge of the userns tree with the arm tree

2018-05-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the userns tree got a conflict in: arch/arm/mm/fault.c between commit: 93a24d7e23e7 ("ARM: spectre-v2: harden user aborts in kernel space") from the arm tree and commit: 3eb0f5193b49 ("signal: Ensure every siginfo we send has all bits initialized")

Re: [PATCH] printk: make printk_safe_flush safe in NMI context by skipping flushing

2018-05-30 Thread Petr Mladek
On Tue 2018-05-29 21:13:15, Sergey Senozhatsky wrote: > On (05/29/18 11:51), Hoeun Ryu wrote: > > Make printk_safe_flush() safe in NMI context. > > nmi_trigger_cpumask_backtrace() can be called in NMI context. For example > > the > > function is called in watchdog_overflow_callback() if the flag

Re: [PATCH 3/3] platform/x86: silead_dmi: Add touchscreen info for the Onda V891w tablet

2018-05-30 Thread Hans de Goede
Hi, On 29-05-18 13:50, Hans de Goede wrote: Add touchscreen info for the Onda V891w 8.9" windows tablet. Signed-off-by: Hans de Goede Self-NACK I just learned there are 2 hardware revisions with different digitizers which need different firmware, so this needs a more narrow DMI match. I

Re: [GIT PULL] overlayfs update for 4.18

2018-05-30 Thread Miklos Szeredi
On Tue, May 29, 2018 at 4:12 PM, Miklos Szeredi wrote: > On Tue, May 29, 2018 at 3:59 PM, Christoph Hellwig wrote: >>> vfs: export vfs_dedupe_file_range_one() to modules >> >> Please use EXPORT_SYMBOL_GPL for all these crazy low-level exports. I'd argue with the "crazy" part. This

Re: [PATCH v5 05/10] cpufreq/schedutil: get max utilization

2018-05-30 Thread Quentin Perret
On Tuesday 29 May 2018 at 11:52:03 (+0200), Juri Lelli wrote: > On 29/05/18 09:40, Quentin Perret wrote: > > Hi Vincent, > > > > On Friday 25 May 2018 at 15:12:26 (+0200), Vincent Guittot wrote: > > > Now that we have both the dl class bandwidth requirement and the dl class > > > utilization, we

[PATCH v4 0/6] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-05-30 Thread Matti Vaittinen
Patch series adding support for ROHM BD71837 PMIC. BD71837 is a programmable Power Management IC for powering single-core, dual-core, and quad-core SoC’s such as NXP-i.MX 8M. It is optimized for low BOM cost and compact solution footprint. It integrates 8 buck regulators and 7 LDO’s to provide

[PATCH v4 1/6] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-05-30 Thread Matti Vaittinen
ROHM BD71837 PMIC MFD driver providing interrupts and support for two subsystems: - clk - Regulators Signed-off-by: Matti Vaittinen --- drivers/mfd/Kconfig | 13 ++ drivers/mfd/Makefile| 1 + drivers/mfd/bd71837.c | 222 ++

Re: [PATCH] autofs: make autofs4 and autofs mutually exclusive

2018-05-30 Thread Arnd Bergmann
On Wed, May 30, 2018 at 2:48 AM, Ian Kent wrote: > On Tue, 2018-05-29 at 11:46 +0200, Arnd Bergmann wrote: >> The autofs4 implementation is just a redirect to autofs now, but that >> also means we can't have both built into the same kernel: >> >> fs/autofs/inode.o: In function `autofs_new_ino':

[PATCH v4 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-05-30 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC MFD. Signed-off-by: Matti Vaittinen --- .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 52 ++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt diff --git

[PATCH v4 3/6] regulator: bd71837: Devicetree bindings for BD71837 regulators

2018-05-30 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC regulators. Signed-off-by: Matti Vaittinen --- .../bindings/regulator/rohm,bd71837-regulator.txt | 126 + 1 file changed, 126 insertions(+) create mode 100644

[PATCH v4 5/6] clk: bd71837: Add driver for BD71837 PMIC clock

2018-05-30 Thread Matti Vaittinen
Support BD71837 gateable 32768 Hz clock. Signed-off-by: Matti Vaittinen --- drivers/clk/Kconfig | 9 +++ drivers/clk/Makefile | 1 + drivers/clk/clk-bd71837.c | 151 ++ 3 files changed, 161 insertions(+) create mode 100644

[PATCH v4 4/6] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-05-30 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC clock output. Signed-off-by: Matti Vaittinen --- .../bindings/clock/rohm,bd71837-clock.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 100644

[PATCH v4 6/6] regulator: bd71837: BD71837 PMIC regulator driver

2018-05-30 Thread Matti Vaittinen
Support for controlling the 8 bucks and 7 LDOs the PMIC contains. Signed-off-by: Matti Vaittinen --- drivers/regulator/Kconfig | 11 + drivers/regulator/Makefile| 1 + drivers/regulator/bd71837-regulator.c | 640 ++ 3 files changed, 652

Re: [PATCH] printk: drop in_nmi check from printk_safe_flush_on_panic()

2018-05-30 Thread Petr Mladek
On Wed 2018-05-30 16:51:05, Sergey Senozhatsky wrote: > On (05/30/18 09:24), Petr Mladek wrote: > > Acked-by: Petr Mladek > > Thanks. > > > Just to be sure. IMHO, it is not worth nominating this patch for > > stable. It is not a regression fix. I see it as a continuous > > improving of the

Re: [PATCH v5 05/10] cpufreq/schedutil: get max utilization

2018-05-30 Thread Juri Lelli
On 30/05/18 09:37, Quentin Perret wrote: > On Tuesday 29 May 2018 at 11:52:03 (+0200), Juri Lelli wrote: > > On 29/05/18 09:40, Quentin Perret wrote: > > > Hi Vincent, > > > > > > On Friday 25 May 2018 at 15:12:26 (+0200), Vincent Guittot wrote: > > > > Now that we have both the dl class

Re: [PATCH v3 01/16] mtd: rawnand: helper function for setting up ECC configuration

2018-05-30 Thread Abhishek Sahu
On 2018-05-30 13:08, Masahiro Yamada wrote: 2018-05-30 15:21 GMT+09:00 Abhishek Sahu : On 2018-05-30 05:58, Masahiro Yamada wrote: Hi. 2018-05-30 4:30 GMT+09:00 Boris Brezillon : On Sat, 26 May 2018 10:42:47 +0200 Miquel Raynal wrote: Hi Abhishek, On Fri, 25 May 2018 17:51:29 +0530,

Re: [PATCH 1/9] Input: mt - export MT_TOOL in input_mt_init_slot()

2018-05-30 Thread Benjamin Tissoires
Hi Dmitry, On Tue, May 29, 2018 at 8:21 PM, Dmitry Torokhov wrote: > Hi Benjamin, > > On Tue, May 29, 2018 at 11:57:52AM +0200, Benjamin Tissoires wrote: >> Looks like we require users to set a tool but input_mt_init_slots() never >> set the tool bit for us. Meaning that this is a useless

Re: [PATCH RFC] zswap: reject to compress/store page if zswap_max_pool_percent is 0

2018-05-30 Thread Dan Streetman
On Tue, May 29, 2018 at 10:57 PM, Li Wang wrote: > Hi Dan, > > On Wed, May 30, 2018 at 5:14 AM, Dan Streetman wrote: >> >> On Thu, May 24, 2018 at 5:57 AM, Li Wang wrote: >> > The '/sys/../zswap/stored_pages:' keep raising in zswap test with >> > "zswap.max_pool_percent=0" parameter. But

Re: [PATCH v2 5/6] soc: qcom: rpmh powerdomain driver

2018-05-30 Thread Rajendra Nayak
[]... >>> +Required Properties: >>> + - compatible: Should be one of the following >>> + * qcom,sdm845-rpmhpd: RPMh powerdomain for the sdm845 family of SoC >>> + - power-domain-cells: number of cells in power domain specifier >>> + must be 1 >>> + - operating-points-v2: Phandle to the OPP

Re: [PATCH -tip v4 00/27] kprobes: Cleanup jprobe implementation

2018-05-30 Thread Masami Hiramatsu
Hi Naveen, Sorry, I might miss to add you on CC list. Could you test and review this on powerpc? Thank you, On Mon, 28 May 2018 15:59:09 +0900 Masami Hiramatsu wrote: > Hello, > > Since we decided to remove jprobe from kernel last year, > its APIs are disabled and we worked on moving

Re: [PATCH 5/6 v2] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-30 Thread Boris Brezillon
Hi Janusz, On Sat, 26 May 2018 00:20:45 +0200 Janusz Krzysztofik wrote: > Now as the Amstrad Delta board provides GPIO lookup tables, switch from > GPIO numbers to GPIO descriptors and use the table to locate required > GPIO pins. > > Declare static variables for storing GPIO descriptors and

Re: [PATCH v4 0/6] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-05-30 Thread Matti Vaittinen
Hello All, I would like to ask for an educated opinion from more experienced regulator driver developers. On Wed, May 30, 2018 at 11:41:13AM +0300, Matti Vaittinen wrote: > Patch series adding support for ROHM BD71837 PMIC. > > BD71837 is a programmable Power Management IC for powering

RE: [PATCH 1/3] arm64:add missing CONFIG_STRICT_KERNEL_RWX for mark_rodata_ro

2018-05-30 Thread Nixiaoming
Because CONFIG_STRICT_KERNEL_RWX=n cannot be set by make menuconfig on arm64/x86/s390 architecture So, these three patches should not be necessary Sorry to disturb everyone Thank you for your guidance Thanks -Original Message- From: Mark Rutland [mailto:mark.rutl...@arm.com] Sent:

[PATCH 0/3] lockdown/module: make module name available for module_sig_check()

2018-05-30 Thread Jessica Yu
Hi David, The changes here involve cleaning up load_module() (patches 1 and 2) in preparation for patch 3. The general idea is to do some preliminary module section parsing and set up load info convenience variables earlier so that we could log the module name during the module signature

[PATCH 2/3] module: setup load info before module_sig_check()

2018-05-30 Thread Jessica Yu
We want to be able to log the module name in early error messages, such as when module signature verification fails. Previously, the module name is set in layout_and_allocate(), meaning that any error messages that happen before (such as those in module_sig_check()) won't be logged with a module

[PATCH 1/3] module: make it clear when we're handling the module copy in info->hdr

2018-05-30 Thread Jessica Yu
In load_module(), it's not always clear whether we're handling the temporary module copy in info->hdr (which is freed at the end of load_module()) or if we're handling the module already allocated and copied to it's final place. Adding an info->mod field and using it whenever we're handling the

[PATCH 3/3] modsign: print module name along with error message

2018-05-30 Thread Jessica Yu
It is useful to know which module failed signature verification, so print the module name along with the error message. Signed-off-by: Jessica Yu --- kernel/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/module.c b/kernel/module.c index

Re: [GIT PULL] two more s390 bug fixes for 4.17

2018-05-30 Thread Martin Schwidefsky
On Wed, 30 May 2018 00:41:30 -0700 Christoph Hellwig wrote: > > - req->completion_data = cqr; > > + *((struct dasd_ccw_req **) blk_mq_rq_to_pdu(req)) = cqr; > > + > > Please don't play such tricks. In general your driver structure > should have struct request embedded. If for some

[PATCH 1/4] arm64/mm: migrate swapper_pg_dir

2018-05-30 Thread YaoJun
Introduce __pa_swapper_pg_dir to save physical address of swapper_pg_dir. And pass it as an argument to __enable_mmu(). Signed-off-by: YaoJun --- arch/arm64/include/asm/mmu_context.h | 4 +--- arch/arm64/include/asm/pgtable.h | 1 + arch/arm64/kernel/cpufeature.c | 2 +-

[PATCH 0/4] arm64/mm: migrate swapper_pg_dir

2018-05-30 Thread YaoJun
Currently, The offset between swapper_pg_dir and _text is fixed. When attackers know the address of _text(no KASLR or breaking KASLR), they can caculate the address of swapper_pg_dir. Then KSMA(Kernel Space Mirroring Attack) can be applied. The principle of KSMA is to insert a carefully

Re: [PATCH] block: kyber: make kyber more friendly with merging

2018-05-30 Thread Ming Lei
On Wed, May 30, 2018 at 4:36 PM, jianchao.wang wrote: > Hi ming > > Thanks for your kindly response. > > On 05/30/2018 04:22 PM, Ming Lei wrote: you could keep the software queues as-is but add our own version of flush_busy_ctxs() that only removes requests of the domain that we want.

Re: Regression in Linux next again

2018-05-30 Thread Mark Brown
On Tue, May 29, 2018 at 03:15:01PM -0700, Tony Lindgren wrote: > I think I bisected this same issue for the second time now > but for a different merge window. What's up with that? Last time we just reverted it as Maciej was unable to reproduce your problem, he's tried again with some

[PATCH 3/4] arm64/mm: migrate swapper_pg_dir

2018-05-30 Thread YaoJun
Make tramp_pg_dir and swapper_pg_dir adjacent. So we can migrate them together. Signed-off-by: YaoJun --- arch/arm64/kernel/entry.S | 4 ++-- arch/arm64/kernel/vmlinux.lds.S | 10 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm64/kernel/entry.S

Re: [PATCH] arm64: mm: mark tramp_pg_dir read-only

2018-05-30 Thread Will Deacon
On Wed, May 30, 2018 at 12:48:06PM +0800, YaoJun wrote: > To protect against KSMA(Kernel Space Mirroring Attack), make > tramp_pg_dir read-only. The principle of KSMA is to insert a > carefully constructed PGD entry into the translation table. > The type of this entry is block, which maps the

[PATCH 2/4] arm64/mm: migrate swapper_pg_dir

2018-05-30 Thread YaoJun
Introduce new_swapper_pg_dir to save virtual address of new swapper_pg_dir. Signed-off-by: YaoJun --- arch/arm64/include/asm/mmu_context.h | 2 +- arch/arm64/include/asm/pgtable.h | 1 + arch/arm64/mm/kasan_init.c | 2 +- arch/arm64/mm/mmu.c | 1 + 4 files

[PATCH 4/4] arm64/mm: migrate swapper_pg_dir

2018-05-30 Thread YaoJun
Migrate swapper_pg_dir and tramp_pg_dir. And its placement in the virtual address space does not correlate with the placement of the kernel. Signed-off-by: YaoJun --- arch/arm64/mm/mmu.c | 67 +++-- 1 file changed, 46 insertions(+), 21 deletions(-) diff

Re: [PATCH v14 0/2] Kryo CPU scaling driver

2018-05-30 Thread Viresh Kumar
On 30-05-18, 10:08, Rafael J. Wysocki wrote: > On Fri, May 25, 2018 at 2:07 PM, Ilia Lin wrote: > > [v14] > > * Addressed comment from Sudeep about DT compatible > > * Added MAINTAINERS entry > > This causes a build issue to occur in my bleeding-edge branch. > > Does it depend on anything new

Re: [PATCH v2 1/6] soc: qcom: rpmpd: Add a powerdomain driver to model corners

2018-05-30 Thread Ulf Hansson
On 25 May 2018 at 12:01, Rajendra Nayak wrote: > The powerdomains for corners just pass the performance state set by the > consumers to the RPM (Remote Power manager) which then takes care > of setting the appropriate voltage on the corresponding rails to > meet the performance needs. > > We add

Re: [PATCH] autofs: make autofs4 and autofs mutually exclusive

2018-05-30 Thread Ian Kent
On Wed, 2018-05-30 at 10:41 +0200, Arnd Bergmann wrote: > On Wed, May 30, 2018 at 2:48 AM, Ian Kent wrote: > > On Tue, 2018-05-29 at 11:46 +0200, Arnd Bergmann wrote: > > > The autofs4 implementation is just a redirect to autofs now, but that > > > also means we can't have both built into the

Re: [PATCH v2 9/9] PM / Domains: Add dev_pm_domain_attach_by_id() to manage multi PM domains

2018-05-30 Thread Jon Hunter
Hi Ulf, On 29/05/18 11:04, Ulf Hansson wrote: > The existing dev_pm_domain_attach() function, allows a single PM domain to > be attached per device. To be able to support devices that are partitioned > across multiple PM domains, let's introduce a new interface, > dev_pm_domain_attach_by_id(). >

[RFC 1/2] printk: Enable platform to provide a early boot clock

2018-05-30 Thread Feng Tang
Currently printk timestamp mostly come from the sched_clock which depends on the clock setup, so there are many kernel logs started with "[0.00] " before the clock is calibrated. This patch will provide an debug option for specific platform to provide a early boot time clock, so that we

[RFC 2/2] x86, tsc: Enable clock for ealry printk timestamp

2018-05-30 Thread Feng Tang
To show time info in kernel log earlier and help optimizing kernel boot time, printk adds a debug hook "boot_printk_clock_fn()" for capable platform which has accurate clock in early boot phase. This patch will add early param setup option, so that user can chose to provide a tsc based early

Re: Introduce atomic_dec_and_lock_irqsave()

2018-05-30 Thread Sebastian Andrzej Siewior
On 2018-05-23 15:02:41 [+0200], Peter Zijlstra wrote: > 1,5-6: > Acked-by: Peter Zijlstra (Intel) I sucked them into my try tree an noticed this off by one, I applied the tags to 1,4-5: *┬─>[PATCH 1/5] spinlock: atomic_dec_and_lock: Add an irqsave variant ├─>[PATCH 2/5] mm/backing-dev: Use

Re: [PATCH 2/3 V2] x86/mce: Fix incorrect "Machine check from unknown source" message

2018-05-30 Thread Borislav Petkov
On Tue, May 29, 2018 at 11:54:25AM -0700, Luck, Tony wrote: > Couple of thoughts: Thanks for looking. > In "x86/mce: Carve out bank scanning code" you drop the extra > call to mce_severity() that I just added: Yeah, did that before we talked about it. > In "x86/mce: Exit properly when no banks

Re: [PATCH v2 0/9] PM / Domains: Add support for multi PM domains per device

2018-05-30 Thread Rafael J. Wysocki
On Tue, May 29, 2018 at 12:04 PM, Ulf Hansson wrote: > Changes in v2: > - Addressed comments from Geert around DT doc. > - Addressed comments from Jon around clarification of how to use this > and changes to returned error codes. > - Fixed build error in case

Re: [PATCH v5 02/10] sched/rt: add rt_rq utilization tracking

2018-05-30 Thread Patrick Bellasi
On 29-May 15:29, Vincent Guittot wrote: > Hi Patrick, > >> +static inline bool rt_rq_has_blocked(struct rq *rq) > >> +{ > >> + if (rq->avg_rt.util_avg) > > > > Should use READ_ONCE? > > I was expecting that there will be only one read by default but I can > add READ_ONCE I would say here

Re: [PATCH v3 1/2] regulator: dt-bindings: add QCOM RPMh regulator bindings

2018-05-30 Thread Mark Brown
On Tue, May 29, 2018 at 10:30:33PM -0700, Doug Anderson wrote: > On Wed, May 23, 2018 at 8:56 AM, Mark Brown wrote: > > Yes, that's definitely not what's expected but it's unfortunately what > > the firmware chose to implement so we may well be stuck with it > > unfortunately. > We're not

[PATCH] RDMA/qedr: fix spelling mistake: "adrresses" -> "addresses"

2018-05-30 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in DP_ERR error message Signed-off-by: Colin Ian King --- drivers/infiniband/hw/qedr/verbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/qedr/verbs.c b/drivers/infiniband/hw/qedr/verbs.c index

Re: [PATCH v5 03/10] cpufreq/schedutil: add rt utilization tracking

2018-05-30 Thread Patrick Bellasi
On 25-May 15:12, Vincent Guittot wrote: > Add both cfs and rt utilization when selecting an OPP for cfs tasks as rt > can preempt and steal cfs's running time. > > Signed-off-by: Vincent Guittot > --- > kernel/sched/cpufreq_schedutil.c | 14 +++--- > 1 file changed, 11 insertions(+), 3

We Can Fund Your Projects

2018-05-30 Thread kelvin choi
-- This is the Hong Kong Key bridge Investment Company Limited Debt/Loan Funding Platform. The HKKIC limited is a Financial Strategic Firm specializing in Growth Financial Loans/Debt Funding Investments. We specialize in investments in Private sectors in a broad range of areas, Within our

Re: [PATCH v5] Input: add bu21029 touch driver

2018-05-30 Thread Jonas Mark (BT-FIR/ENG1)
Hi, > [PATCH v5] Input: add bu21029 touch driver > > Add Rohm BU21029 resistive touch panel controller support with I2C > interface. Is the patch ready to be pushed upstream? Is there anything I still need to do? Regards, Mark Mark Jonas Building Technologies, Panel Software Fire

Re: [PATCH v2 5/6] soc: qcom: rpmh powerdomain driver

2018-05-30 Thread Viresh Kumar
On 30-05-18, 14:25, Rajendra Nayak wrote: > []... > > >>> +Required Properties: > >>> + - compatible: Should be one of the following > >>> + * qcom,sdm845-rpmhpd: RPMh powerdomain for the sdm845 family of SoC > >>> + - power-domain-cells: number of cells in power domain specifier > >>> + must be

Re: [PATCH 1/4] arm64/mm: migrate swapper_pg_dir

2018-05-30 Thread Greg KH
On Wed, May 30, 2018 at 05:12:56PM +0800, YaoJun wrote: > Introduce __pa_swapper_pg_dir to save physical address > of swapper_pg_dir. And pass it as an argument to > __enable_mmu(). > > Signed-off-by: YaoJun This is better, but your subject line is still identical for all 4 patches (which

Re: [PATCH 2/2] mmc: meson-gx: add device reset

2018-05-30 Thread Jerome Brunet
On Wed, 2018-05-30 at 09:27 +0200, Ulf Hansson wrote: > Jerome, > > On 15 May 2018 at 11:57, Jerome Brunet wrote: > > Trigger the reset line of the mmc controller while probing, if available. > > The reset should be optional for now, at least until all related DT nodes > > have the reset

Re: [PATCH] arm64: mm: mark tramp_pg_dir read-only

2018-05-30 Thread Ard Biesheuvel
On 30 May 2018 at 11:14, Will Deacon wrote: > On Wed, May 30, 2018 at 12:48:06PM +0800, YaoJun wrote: >> To protect against KSMA(Kernel Space Mirroring Attack), make >> tramp_pg_dir read-only. The principle of KSMA is to insert a >> carefully constructed PGD entry into the translation table. >>

Re: [PATCH v5 03/10] cpufreq/schedutil: add rt utilization tracking

2018-05-30 Thread Vincent Guittot
On 30 May 2018 at 11:40, Patrick Bellasi wrote: > On 25-May 15:12, Vincent Guittot wrote: >> Add both cfs and rt utilization when selecting an OPP for cfs tasks as rt >> can preempt and steal cfs's running time. >> >> Signed-off-by: Vincent Guittot >> --- >> kernel/sched/cpufreq_schedutil.c |

Re: [PATCH] printk: drop in_nmi check from printk_safe_flush_on_panic()

2018-05-30 Thread Sergey Senozhatsky
On (05/30/18 10:48), Petr Mladek wrote: > > diff --git a/kernel/panic.c b/kernel/panic.c > > index 42e487488554..98a0493a59d3 100644 > > --- a/kernel/panic.c > > +++ b/kernel/panic.c > > @@ -148,6 +148,7 @@ void panic(const char *fmt, ...) > > * after setting panic_cpu) from invoking panic()

[PATCH 1/1] device core: Add flag to autoremove device link on supplier unbind

2018-05-30 Thread Vivek Gautam
When using the device links without the consumers or suppliers maintaining pointers to these links, a flag can help in autoremoving the links on supplier driver unbind. We remove these links only when the supplier's link to its consumers has gone in DL_STATE_SUPPLIER_UNBIND state. Signed-off-by:

Re: [PATCH] printk: drop in_nmi check from printk_safe_flush_on_panic()

2018-05-30 Thread Sergey Senozhatsky
On (05/30/18 18:55), Sergey Senozhatsky wrote: > > > > I understand why you came with it but I am against this change without > > a proper research. This would redirect too valuable messages into > > a buffer of a limited size and postpone flushing them to the consoles. > > > > We would need to

Re: [PATCH v2 01/25] staging: lustre: libcfs: restore UMP handling

2018-05-30 Thread Dan Carpenter
On Tue, May 29, 2018 at 10:21:41AM -0400, James Simmons wrote: > @@ -208,20 +222,52 @@ void cfs_cpt_unset_nodemask(struct cfs_cpt_table *cptab, > void cfs_cpu_fini(void); > > #else /* !CONFIG_SMP */ > -struct cfs_cpt_table; > -#define cfs_cpt_tab ((struct cfs_cpt_table *)NULL) > > -static

Re: [PATCH v5 02/10] sched/rt: add rt_rq utilization tracking

2018-05-30 Thread Vincent Guittot
On 30 May 2018 at 11:32, Patrick Bellasi wrote: > On 29-May 15:29, Vincent Guittot wrote: >> Hi Patrick, >> >> +static inline bool rt_rq_has_blocked(struct rq *rq) >> >> +{ >> >> + if (rq->avg_rt.util_avg) >> > >> > Should use READ_ONCE? >> >> I was expecting that there will be only one read

Re: [PATCH v2 5/6] soc: qcom: rpmh powerdomain driver

2018-05-30 Thread Rajendra Nayak
On 05/30/2018 03:14 PM, Viresh Kumar wrote: > On 30-05-18, 14:25, Rajendra Nayak wrote: >> []... >> > +Required Properties: > + - compatible: Should be one of the following > + * qcom,sdm845-rpmhpd: RPMh powerdomain for the sdm845 family of SoC > + - power-domain-cells: number

[PATCH] OPP: Allow same OPP table to be used for multiple genpd

2018-05-30 Thread Viresh Kumar
The OPP binding says: Property: operating-points-v2 ... This can contain more than one phandle for power domain providers that provide multiple power domains. That is, one phandle for each power domain. If only one phandle is available, then the

Re: [PATCH v2 1/6] soc: qcom: rpmpd: Add a powerdomain driver to model corners

2018-05-30 Thread Rajendra Nayak
On 05/30/2018 02:47 PM, Ulf Hansson wrote: > On 25 May 2018 at 12:01, Rajendra Nayak wrote: >> The powerdomains for corners just pass the performance state set by the >> consumers to the RPM (Remote Power manager) which then takes care >> of setting the appropriate voltage on the corresponding

Re: [RESEND PATCH] dmaengine: pxa: add a default requestor policy

2018-05-30 Thread Vinod
On 29-05-18, 21:13, Robert Jarzmik wrote: > Vinod writes: > > > On 26-05-18, 11:54, Robert Jarzmik wrote: > >> @@ -762,6 +762,8 @@ static void pxad_free_chan_resources(struct dma_chan > >> *dchan) > >>dma_pool_destroy(chan->desc_pool); > >>chan->desc_pool = NULL; > >> > >> +

Re: [PATCH 0/7] gnss: add new GNSS subsystem

2018-05-30 Thread Johan Hovold
Hi Marcel, Sorry about the late reply. I got side-tracked with other things. On Tue, May 08, 2018 at 10:03:57PM +0200, Marcel Holtmann wrote: > Hi Johan, > > >> I have one concern, though. While providing raw data by > >> default is fine generally, it is a problem with device > >>

Re: [PATCH RESEND] time: Fix sleeptime injection for non-stop clocksource & persistent clock

2018-05-30 Thread Mukesh Ojha
Hi John, On 5/30/2018 7:50 AM, John Stultz wrote: On Tue, May 29, 2018 at 2:49 AM, Mukesh Ojha wrote: Currently, for both non-stop clocksource and persistent clock there is a corner case, when a driver failed to go suspend mode rtc_resume() injects the sleeptime as

Re: [PATCH] mm/huge_memory.c: __split_huge_page() use atomic ClearPageDirty()

2018-05-30 Thread Kirill A. Shutemov
On Wed, May 30, 2018 at 01:50:22AM +, Hugh Dickins wrote: > Swapping load on huge=always tmpfs (with khugepaged tuned up to be very > eager, but I'm not sure that is relevant) soon hung uninterruptibly, > waiting for page lock in shmem_getpage_gfp()'s find_lock_entry(), most > often when "cp

Linux 4.14.46

2018-05-30 Thread Greg KH
I'm announcing the release of the 4.14.46 kernel. This release fixes a problem where perf would not build properly in the 4.14.45 kernel release. If you do not use perf, there is no need to upgrade at this time. Many thanks to Pavlos Parissis for finding the problem so quickly and reporting it.

Re: Linux 4.14.46

2018-05-30 Thread Greg KH
diff --git a/Makefile b/Makefile index f3ea74e7a516..3b1845f2b8f8 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 45 +SUBLEVEL = 46 EXTRAVERSION = NAME = Petit Gorille diff --git

[PATCH v2 4/8] dt-bindings: gnss: add u-blox binding

2018-05-30 Thread Johan Hovold
Add binding for u-blox GNSS receivers. Note that the u-blox product names encodes form factor (e.g. "neo"), chipset (e.g. "8") and variant (e.g. "q"), but that only formfactor and chipset is used for the compatible strings (for now). Signed-off-by: Johan Hovold ---

[PATCH v2 2/8] dt-bindings: add generic gnss binding

2018-05-30 Thread Johan Hovold
Describe generic properties for GNSS receivers. Reviewed-by: Rob Herring Signed-off-by: Johan Hovold --- .../devicetree/bindings/gnss/gnss.txt | 36 +++ MAINTAINERS | 1 + 2 files changed, 37 insertions(+) create mode 100644

[PATCH v2 0/8] gnss: add new GNSS subsystem

2018-05-30 Thread Johan Hovold
This series adds a new subsystem for GNSS receivers (e.g. GPS receivers). While GNSS receivers are typically accessed using a UART interface they often also support other I/O interfaces such as I2C, SPI and USB, while yet other devices use iomem or even some form of remote-processor messaging

[PATCH v2 8/8] gnss: add device type support

2018-05-30 Thread Johan Hovold
Add a "type" device attribute and a "GNSS_TYPE" uevent variable which can be used to determine the type of a GNSS device. The currently identified types reflect the protocol(s) supported by a device: "NMEA" NMEA 0183 "SiRF" SiRF Binary "UBX" UBX Note that both SiRF

[PATCH v2 6/8] dt-bindings: gnss: add sirfstar binding

2018-05-30 Thread Johan Hovold
Add binding for SiRFstar-based GNSS receivers. Note that while four compatible-strings are initially added representing devices which differ in which I/O interfaces they support, they otherwise essentially share the same feature set. Pin and supply names vary slightly, as do some recommended

[PATCH v2 5/8] gnss: add driver for u-blox receivers

2018-05-30 Thread Johan Hovold
Add driver for serial-connected u-blox GNSS receivers. Note that the driver uses the generic GNSS serial implementation and therefore essentially only manages power abstracted into three power states: ACTIVE, STANDBY, and OFF. For u-blox receivers with a main supply and no enable-gpios, this

Re: [PATCH v4 1/2] regulator: dt-bindings: add QCOM RPMh regulator bindings

2018-05-30 Thread Mark Brown
On Tue, May 29, 2018 at 10:23:20PM -0700, Doug Anderson wrote: > > + qcom,drms-mode-max-microamps = <1 100>; > Things look pretty good to me now. I'm still hesitant about the whole > need to list the modes twice (once using the unordered > "regulator-allowed-modes"

[PATCH v2 3/8] gnss: add generic serial driver

2018-05-30 Thread Johan Hovold
Add a generic serial GNSS driver (library) which provides a common implementation for the gnss interface and power management (runtime and system suspend). This allows GNSS drivers for specific chip to be implemented by simply providing a set_power() callback to handle three states: ACTIVE,

[PATCH v2 1/8] gnss: add GNSS receiver subsystem

2018-05-30 Thread Johan Hovold
Add a new subsystem for GNSS (e.g. GPS) receivers. While GNSS receivers are typically accessed using a UART interface they often also support other I/O interfaces such as I2C, SPI and USB, while yet other devices use iomem or even some form of remote-processor messaging (rpmsg). The new GNSS

[PATCH v2 7/8] gnss: add driver for sirfstar-based receivers

2018-05-30 Thread Johan Hovold
Add driver for serial-connected SiRFstar-based GNSS receivers. These devices typically boot into hibernate mode from which they can be woken using a pulse on the ON_OFF input pin. Once active, a pulse on the same ON_OFF pin is used to put the device back into hibernate mode. The current state can

[PATCH v2] zswap: re-check zswap_is_full after do zswap_shrink

2018-05-30 Thread Li Wang
The '/sys/../zswap/stored_pages:' keep raising in zswap test with "zswap.max_pool_percent=0" parameter. But theoretically, it should not compress or store pages any more since there is no space in compressed pool. Reproduce steps: 1. Boot kernel with "zswap.enabled=1" 2. Set the

[PATCH v2 1/3] platform/x86: silead_dmi: Add touchscreen info for the Jumper EZpad 6 Pro

2018-05-30 Thread Hans de Goede
Add touchscreen info for the Jumper EZpad 6 Pro. Cc: zy <574249...@qq.com> Reported-and-tested-by: zy <574249...@qq.com> Signed-off-by: Hans de Goede --- drivers/platform/x86/silead_dmi.c | 25 + 1 file changed, 25 insertions(+) diff --git

[PATCH v2 2/3] platform/x86: silead_dmi: Add info for the PoV mobii TAB-P800W (v2.0)

2018-05-30 Thread Hans de Goede
This commit adds the necessary device-properties to make the touchscreen on Point of View mobii TAB-P800W (v2.0) tablets work. Note that we already have an entry for the Point of View mobii TAB-P800W (v2.1), that version uses a different digitizer and different firmware, so the v2.0 version needs

[PATCH v2 3/3] platform/x86: silead_dmi: Add touchscreen info for the Onda V891w tablet

2018-05-30 Thread Hans de Goede
Add touchscreen info for the Onda V891w 8.9" windows tablet. Signed-off-by: Hans de Goede --- Changes in v2: -Match on exact BIOS version there are a v1 and v3 of the hardware which use different digitizers which need different firmware / settings --- drivers/platform/x86/silead_dmi.c | 28

Re: [PATCH] tpm: separate cmd_ready/go_idle from runtime_pm

2018-05-30 Thread Jarkko Sakkinen
On Wed, May 23, 2018 at 01:48:17PM +, Winkler, Tomas wrote: > > > On Tue, May 22, 2018 at 09:27:46AM +, Winkler, Tomas wrote: > > > > > > > > On Wed, May 16, 2018 at 10:46:00PM +0300, Tomas Winkler wrote: > > > > > New wrappers are added tpm_cmd_ready() and tpm_go_idle() > > wrappers > >

Re: [PATCH v5 04/10] sched/dl: add dl_rq utilization tracking

2018-05-30 Thread Patrick Bellasi
On 25-May 15:12, Vincent Guittot wrote: > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index fb18bcc..967e873 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -7290,11 +7290,14 @@ static inline bool cfs_rq_has_blocked(struct cfs_rq > *cfs_rq) > return false; >

RE: [PATCH] tpm: separate cmd_ready/go_idle from runtime_pm

2018-05-30 Thread Winkler, Tomas
> > On Wed, May 23, 2018 at 01:48:17PM +, Winkler, Tomas wrote: > > > > > On Tue, May 22, 2018 at 09:27:46AM +, Winkler, Tomas wrote: > > > > > > > > > > On Wed, May 16, 2018 at 10:46:00PM +0300, Tomas Winkler wrote: > > > > > > New wrappers are added tpm_cmd_ready() and tpm_go_idle() > >

Re: [PATCH V2] platform/x86: intel_pmc_core: Add CNP SLPS0 debug registers

2018-05-30 Thread David E. Box
Hi Rajneesh, On Mon, 2018-05-28 at 12:30 +0530, Rajneesh Bhardwaj wrote: > On Thu, May 24, 2018 at 06:10:56PM -0700, David E. Box wrote: > > Thanks for sending this, Dave. Few comments below. > > > Adds debugfs access to registers in the Cannon Point PCH PMC that > > are > > Please use

[PATCH RESEND] serdev: add controller runtime PM support

2018-05-30 Thread Johan Hovold
Add support for controller runtime power management to serdev core. This is needed to allow slave drivers to manage the runtime PM state of the underlying serial controller when its driver, in turn, implements more aggressive runtime power management (e.g. using autosuspend). For some

Re: [PATCH 1/1] device core: Add flag to autoremove device link on supplier unbind

2018-05-30 Thread Rafael J. Wysocki
On 5/30/2018 11:57 AM, Vivek Gautam wrote: When using the device links without the consumers or suppliers maintaining pointers to these links, a flag can help in autoremoving the links on supplier driver unbind. We remove these links only when the supplier's link to its consumers has gone in

Re: [PATCH v1] i2c: tegra: Remove suspend-resume

2018-05-30 Thread Laxman Dewangan
On Tuesday 29 May 2018 11:36 PM, Wolfram Sang wrote: Our I2C driver is based on the interrupt. So we have converted the suspend/resume to suspend_noirq and reseume_noirq so that we will not allow the transfer when system interrupt disabled in downstream.

Re: [PATCH v4 0/6] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-05-30 Thread Mark Brown
On Wed, May 30, 2018 at 12:05:12PM +0300, Matti Vaittinen wrote: > Other 4 can be used on PWM or PFM switching mode. When PWM is used > voltages can be changed without disabling regulator. On PFM this should > not be done. These latter 4 regulators can be forced to PWM mode via > control bit in

Re: [PATCH v5 02/10] sched/rt: add rt_rq utilization tracking

2018-05-30 Thread Patrick Bellasi
On 30-May 12:06, Vincent Guittot wrote: > On 30 May 2018 at 11:32, Patrick Bellasi wrote: > > On 29-May 15:29, Vincent Guittot wrote: [...] > >> >> diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c > >> >> index ef3c4e6..b4148a9 100644 > >> >> --- a/kernel/sched/rt.c > >> >> +++

Re: [PATCH] tpm: fix race condition in tpm_common_write()

2018-05-30 Thread Jarkko Sakkinen
On Wed, May 23, 2018 at 10:57:07AM -0700, Tadeusz Struk wrote: > On 05/23/2018 06:23 AM, Jarkko Sakkinen wrote: > > Ouch o_O Do you have a fixes tag for this one? > > > > This one is quite tricky. > The original bug was introduced by abce9ac292e13 (tpm: Propagate error from > tpm_transmit to

Re: [PATCH] tpm: fix race condition in tpm_common_write()

2018-05-30 Thread Jarkko Sakkinen
On Wed, May 23, 2018 at 01:41:15PM -0600, Jason Gunthorpe wrote: > On Wed, May 23, 2018 at 10:57:07AM -0700, Tadeusz Struk wrote: > > On 05/23/2018 06:23 AM, Jarkko Sakkinen wrote: > > > Ouch o_O Do you have a fixes tag for this one? > > > > > > > This one is quite tricky. > > The original bug

Applied "regulator: bd71837: BD71837 PMIC regulator driver" to the regulator tree

2018-05-30 Thread Mark Brown
The patch regulator: bd71837: BD71837 PMIC regulator driver has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

<    5   6   7   8   9   10   11   12   13   14   >