Re: [PATCH v7 0/2]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-09-05 Thread Alexey Budankov
Hi, On 05.09.2018 14:28, Jiri Olsa wrote: > On Wed, Sep 05, 2018 at 10:16:42AM +0300, Alexey Budankov wrote: >> >> Currently in record mode the tool implements trace writing serially. >> The algorithm loops over mapped per-cpu data buffers and stores >> ready data chunks into a trace file using

Re: [PATCH v6 04/14] PM / EM: Expose the Energy Model in sysfs

2018-09-05 Thread Dietmar Eggemann
On 08/20/2018 02:44 AM, Quentin Perret wrote: Expose the Energy Model (read-only) of all performance domains in sysfs for convenience. To do so, add a kobject to the CPU subsystem under the umbrella of which a kobject for each performance domain is attached. The resulting hierarchy is as follows

Re: [PATCH] x86/mm/pat: Fix L1TF stable backport for CPA

2018-09-05 Thread Jiri Slaby
On 08/25/2018, 03:50 PM, Andi Kleen wrote: > From: Andi Kleen > > Patch for stable only to fix boot resets caused by the L1TF patches. > > Stable trees reverted the following patch > > Revert "x86/mm/pat: Ensure cpa->pfn only contains page frame numbers" > > This reverts commit 87e2bd898d3

Re: [PATCH] scsi: zfcp: remove redundant put_device

2018-09-05 Thread Ding Xiang
On 9/6/2018 2:24 PM, Heiko Carstens wrote: On Thu, Sep 06, 2018 at 02:16:27PM +0800, Ding Xiang wrote: device_unregister will put device, do not need to do it one more time Signed-off-by: Ding Xiang --- drivers/s390/scsi/zfcp_unit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dri

[PATCH RESEND] zlib: remove fall through warnings

2018-09-05 Thread Corentin Labbe
This patch remove all following fall through warnings by adding /* fall through */ markers. Note that we cannot add "__attribute__ ((fallthrough));" due to it is GCC7 only arch/arm/boot/compressed/../../../../lib/zlib_inflate/inflate.c:384:25: warning: this statement may fall through [-Wimplicit-f

Re: [PATCH] scsi: zfcp: remove redundant put_device

2018-09-05 Thread Heiko Carstens
On Thu, Sep 06, 2018 at 02:16:27PM +0800, Ding Xiang wrote: > device_unregister will put device, do not need to do it one more time > > Signed-off-by: Ding Xiang > --- > drivers/s390/scsi/zfcp_unit.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/s390/scsi/zfcp_unit.c b/drive

Re: [PATCH] mm,page_alloc: PF_WQ_WORKER threads must sleep at should_reclaim_retry().

2018-09-05 Thread Tetsuo Handa
Michal Hocko wrote: > > I assert that we should fix af5679fbc669f31f. > > If you can come up with reasonable patch which doesn't complicate the > code and it is a clear win for both this particular workload as well as > others then why not. Why can't we do "at least MMF_OOM_SKIP should be set und

[PATCH] scsi: zfcp: remove redundant put_device

2018-09-05 Thread Ding Xiang
device_unregister will put device, do not need to do it one more time Signed-off-by: Ding Xiang --- drivers/s390/scsi/zfcp_unit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/s390/scsi/zfcp_unit.c b/drivers/s390/scsi/zfcp_unit.c index 1bf0a09..6b50084 100644 --- a/drivers/s390/sc

Re: [PATCH 08/11] UAPI: sound: Fix use of u32 and co. in UAPI headers

2018-09-05 Thread Takashi Sakamoto
Hi, On Sep 6 2018 00:55, David Howells wrote: Fix the use of u32 and co. in UAPI headers as these are not defined. Switch to using the __u32-style equivalents instead. Signed-off-by: David Howells cc: Jaroslav Kysela cc: Takashi Iwai cc: alsa-de...@alsa-project.org (moderated for non-subscr

Re: [PATCH v6 07/14] sched/topology: Introduce sched_energy_present static key

2018-09-05 Thread Dietmar Eggemann
On 08/20/2018 02:44 AM, Quentin Perret wrote: In order to ensure a minimal performance impact on non-energy-aware systems, introduce a static_key guarding the access to Energy-Aware Scheduling (EAS) code. The static key is set iff all the following conditions are met for at least one root domain

Re: [PATCH v2 0/5] watchdog: hpwdt: Bug Fixes/Enhancement

2018-09-05 Thread Jerry Hoemann
On Wed, Aug 08, 2018 at 01:13:22PM -0600, Jerry Hoemann wrote: > Changes for v2 > > 1) Patch 0001: Simplify initialization of pretimeout removing #ifdef. > 2) Patch 0002: Loosen check on mynmi to accommodate potential FW issue. > 3) Patch 0003: Split dev_info into mulitple calls as output was gett

Re: [PATCH v7 0/2]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-09-05 Thread Alexey Budankov
Hi, On 05.09.2018 21:51, Arnaldo Carvalho de Melo wrote: > Em Wed, Sep 05, 2018 at 08:37:32PM +0300, Alexey Budankov escreveu: >> On 05.09.2018 14:28, Jiri Olsa wrote: >>> can't apply this version on Arnaldo's perf/core... > >> my git remote -v > >> origin git://git.kernel.org/pub/scm/li

Re: [PATCH 0/3] x86/boot/KASLR: enhance randomness of kernel load addr when using GiB hugepage

2018-09-05 Thread Pingfan Liu
On Thu, Sep 6, 2018 at 12:07 PM Chao Fan wrote: > > On Thu, Sep 06, 2018 at 10:36:19AM +0800, Pingfan Liu wrote: > > Hi Pingfan, > > >commit 747ff6265db4 ("x86/boot/KASLR: Skip specified number of 1GB huge > >pages when doing physical randomization (KASLR)") and commit > >9b912485e0e7 ("x86/boot/K

Re: [PATCH] mm,page_alloc: PF_WQ_WORKER threads must sleep at should_reclaim_retry().

2018-09-05 Thread Michal Hocko
On Thu 06-09-18 10:00:00, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Wed 05-09-18 22:53:33, Tetsuo Handa wrote: > > > On 2018/09/05 22:40, Michal Hocko wrote: > > > > Changelog said > > > > > > > > "Although this is possible in principle let's wait for it to actually > > > > happen in real

Re: Plumbers 2018 - Performance and Scalability Microconference

2018-09-05 Thread Mike Rapoport
Hi, On Wed, Sep 05, 2018 at 07:51:34PM +, Pasha Tatashin wrote: > > On 9/5/18 2:38 AM, Mike Rapoport wrote: > > On Tue, Sep 04, 2018 at 05:28:13PM -0400, Daniel Jordan wrote: > >> Pavel Tatashin, Ying Huang, and I are excited to be organizing a > >> performance and scalability microconferenc

Re: [PATCH v2 2/2] mm: Create non-atomic version of SetPageReserved for init use

2018-09-05 Thread Michal Hocko
On Wed 05-09-18 14:13:34, Alexander Duyck wrote: [...] just a nit > @@ -1231,7 +1231,8 @@ void __meminit reserve_bootmem_region(phys_addr_t > start, phys_addr_t end) > /* Avoid false-positive PageTail() */ > INIT_LIST_HEAD(&page->lru); > > -

Re: [PATCH v2 1/2] mm: Move page struct poisoning to CONFIG_DEBUG_VM_PAGE_INIT_POISON

2018-09-05 Thread Michal Hocko
On Wed 05-09-18 14:13:28, Alexander Duyck wrote: > From: Alexander Duyck > > On systems with a large amount of memory it can take a significant amount > of time to initialize all of the page structs with the PAGE_POISON_PATTERN > value. I have seen it take over 2 minutes to initialize a system wi

Re: [PATCH] sysctl: kselftests: use kernel module instead of built-in

2018-09-05 Thread lei yang
On 2018年09月06日 00:47, Shuah Khan wrote: On 09/04/2018 08:20 PM, Lei Yang wrote: It uses modprobe $TEST_DRIVER in sysctl.sh, so update config to use "m" instead Signed-off-by: Lei Yang --- tools/testing/selftests/sysctl/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[PATCH v2] cgroup: kselftests: add test_core to .gitignore

2018-09-05 Thread Lei Yang
Update .gitignore file. Signed-off-by: Lei Yang --- tools/testing/selftests/cgroup/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/cgroup/.gitignore b/tools/testing/selftests/cgroup/.gitignore index 95eb3a5..adacda5 100644 --- a/tools/testing/selftests/cgr

Re: [PATCH 2/2] mm: Create non-atomic version of SetPageReserved for init use

2018-09-05 Thread Michal Hocko
On Wed 05-09-18 13:18:24, Alexander Duyck wrote: > On Tue, Sep 4, 2018 at 11:24 PM Michal Hocko wrote: > > > > On Tue 04-09-18 11:33:45, Alexander Duyck wrote: > > > From: Alexander Duyck > > > > > > It doesn't make much sense to use the atomic SetPageReserved at init time > > > when we are using

Re: [PATCH 1/2] mm: Move page struct poisoning from CONFIG_DEBUG_VM to CONFIG_DEBUG_VM_PGFLAGS

2018-09-05 Thread Michal Hocko
On Wed 05-09-18 08:32:05, Alexander Duyck wrote: > On Tue, Sep 4, 2018 at 11:10 PM Michal Hocko wrote: > > > > On Tue 04-09-18 11:33:39, Alexander Duyck wrote: > > > From: Alexander Duyck > > > > > > On systems with a large amount of memory it can take a significant amount > > > of time to initia

Re: [PATCH RESEND] mips: switch to NO_BOOTMEM

2018-09-05 Thread Mike Rapoport
Hi Sergey, On Wed, Sep 05, 2018 at 11:09:13PM +0300, Fancer's opinion wrote: > Hello, Mike > Could you CC me next time you send that larger patchset? The larger patchset is here: https://lore.kernel.org/lkml/1536163184-26356-1-git-send-email-r...@linux.vnet.ibm.com/ > -Sergey > > > On Wed, S

Bonjour ?

2018-09-05 Thread Michel Martin
Bonjour, Je me présente Mr Michel Martin homme d'affaire français résidant en France . je viens par ce présent mail vous fait part d'une offre de prêt financière allant de 500 EURO à 2.500.000 EURO avec un pourcentage de remboursement du montant s'élevant à 3% remboursable sur le nombre d'an

Re: [PATCH] cpufreq: intel_pstate: Optimize IO boost in non HWP mode

2018-09-05 Thread Francisco Jerez
Srinivas Pandruvada writes: > [...] > >> > > >> > > This patch causes a number of statistically significant >> > > regressions >> > > (with significance of 1%) on the two systems I've tested it >> > > on. On >> > > my >> > >> > Sure. These patches are targeted to Atom clients where some of >>

[PATCH v3] ata: Disable AHCI ALPM feature for Ampere Computing eMAG SATA

2018-09-05 Thread Suman Tripathi
Due to hardware errata, Ampere Computing eMAG SATA can't support AHCI ALPM feature. This patch disables the AHCI ALPM feature for eMAG SATA. Changes for v2: * Introduce the new ata_port_info object which includes ATA_FLAG_NO_LPM. * Include this object for eMAG SATA inside the acpi match table. *

[PATCH] mips: txx9: fix iounmap related issue

2018-09-05 Thread Ding Xiang
if device_register return error, iounmap should be called, also iounmap need to call before put_device. Signed-off-by: Ding Xiang --- arch/mips/txx9/generic/setup.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/se

Re: [PATCH 0/3] x86/boot/KASLR: enhance randomness of kernel load addr when using GiB hugepage

2018-09-05 Thread Chao Fan
On Thu, Sep 06, 2018 at 10:36:19AM +0800, Pingfan Liu wrote: Hi Pingfan, >commit 747ff6265db4 ("x86/boot/KASLR: Skip specified number of 1GB huge >pages when doing physical randomization (KASLR)") and commit >9b912485e0e7 ("x86/boot/KASLR: Add two new functions for 1GB huge pages >handling") prev

Re: [RFC PATCH] mm/hugetlb: make hugetlb_lock irq safe

2018-09-05 Thread Aneesh Kumar K.V
On 09/06/2018 05:21 AM, Mike Kravetz wrote: BTW, free_huge_page called by put_page for hugetlbfs pages may also take a subpool specific lock via spin_lock(). See hugepage_subpool_put_pages. So, this would also need to take irq context into account. I missed that. I can take care of that in

Re: [RFC PATCH] mm/hugetlb: make hugetlb_lock irq safe

2018-09-05 Thread Aneesh Kumar K.V
On 09/05/2018 07:18 PM, Matthew Wilcox wrote: On Wed, Sep 05, 2018 at 06:56:19PM +0530, Aneesh Kumar K.V wrote: On 09/05/2018 06:34 PM, Matthew Wilcox wrote: On Wed, Sep 05, 2018 at 04:53:41PM +0530, Aneesh Kumar K.V wrote: inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. How do you g

linux-next: Tree for Sep 6

2018-09-05 Thread Stephen Rothwell
Hi all, Changes since 20180905: Dropped trees: xarray, ida (temporarily) New tree: icc The vfs tree gained build failures for which I disabled some sample programs. The net-next tree still had its build failure for which I reverted a commit. The devicetree tree lost its build failure. Non

Re: [RFC PATCH] mm/hugetlb: make hugetlb_lock irq safe

2018-09-05 Thread Aneesh Kumar K.V
On 09/06/2018 03:05 AM, Mike Kravetz wrote: On 09/05/2018 12:58 PM, Andrew Morton wrote: On Wed, 5 Sep 2018 06:48:48 -0700 Matthew Wilcox wrote: I didn't. The reason I looked at current patch is to enable the usage of put_page() from irq context. We do allow that for non hugetlb pages. So was

Re: [RFC PATCH] mm/hugetlb: make hugetlb_lock irq safe

2018-09-05 Thread Aneesh Kumar K.V
On 09/06/2018 01:28 AM, Andrew Morton wrote: On Wed, 5 Sep 2018 06:48:48 -0700 Matthew Wilcox wrote: I didn't. The reason I looked at current patch is to enable the usage of put_page() from irq context. We do allow that for non hugetlb pages. So was not sure adding that additional restriction

Re: [PATCH v5 10/16] x86/mce: enable Hygon support to MCE infrastructure

2018-09-05 Thread Pu Wen
On 2018/9/5 21:15, Borislav Petkov wrote: On Wed, Sep 05, 2018 at 08:59:24PM +0800, Pu Wen wrote: If CONFIG_X86_MCE_AMD=n, mce_hygon_feature_init will call the other one mce_amd_feature_init which is a null function and located in the else branch of "#ifdef CONFIG_X86_MCE_AMD". The compilation i

RE: [PATCH 1/2] input: egalax_ts: add system wakeup support

2018-09-05 Thread Anson Huang
Hi, Dmitry Anson Huang Best Regards! > -Original Message- > From: Dmitry Torokhov > Sent: Thursday, September 6, 2018 1:27 AM > To: Anson Huang > Cc: robh...@kernel.org; mark.rutl...@arm.com; Marco Antonio Franchi > ; Fabio Estevam ; > linux-in...@vger.kernel.org; devicet...@vger.kerne

[PATCH V2] input: egalax_ts: add system wakeup support

2018-09-05 Thread Anson Huang
This patch adds wakeup function support for egalax touch screen, if "wakeup-source" is added to device tree's egalax touch screen node, the wakeup function will be enabled, and egalax touch screen will be able to wakeup system from suspend. Signed-off-by: Anson Huang --- changes since V1:

RE: [PATCH V4 0/9] clk: add imx7ulp clk support

2018-09-05 Thread A.s. Dong
Hi Stephen, Would you shine some lights on how to proceed? Regards Dong Aisheng > -Original Message- > From: A.s. Dong > Sent: Monday, August 27, 2018 11:46 AM > To: linux-...@vger.kernel.org; sb...@kernel.org; shawn...@kernel.org > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@list

RE: [PATCH V6 0/4] clk: new APIs to handle all available clocks

2018-09-05 Thread A.s. Dong
Gently ping... > -Original Message- > From: A.s. Dong > Sent: Friday, August 31, 2018 12:46 PM > To: linux-...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > sb...@kernel.org; mturque...@baylibre.com; shawn...@kernel.org; > thor.tha...@linux.int

Re: POSIX violation by writeback error

2018-09-05 Thread Dave Chinner
On Wed, Sep 05, 2018 at 02:07:46PM +0200, Rogier Wolff wrote: > On Wed, Sep 05, 2018 at 06:55:15AM -0400, Jeff Layton wrote: > > There is no requirement for a filesystem to flush data on close(). > > And you can't start doing things like that. Of course we can. And we do. We've been doing target

Re: [PATCH] cpu/hotplug: Fix rollback during error-out in takedown_cpu()

2018-09-05 Thread Neeraj Upadhyay
On 09/05/2018 06:47 PM, Thomas Gleixner wrote: On Wed, 5 Sep 2018, Neeraj Upadhyay wrote: On 09/05/2018 05:53 PM, Thomas Gleixner wrote: And looking closer this is a general issue. Just that the TEARDOWN state makes it simple to observe. It's universaly broken, when the first teardown callba

[PATCH v2] HID: i2c-hid: Don't reset device upon system resume

2018-09-05 Thread Kai-Heng Feng
Raydium touchscreen triggers interrupt storm after system-wide suspend: [ 179.085033] i2c_hid i2c-CUST:00: i2c_hid_get_input: incomplete report (58/65535) According to Raydium, Windows driver does not reset the device after system resume. The HID over I2C spec does specify a reset should be u

[PATCH v10 2/2] leds: sc27xx: Add pattern_set/clear interfaces for LED controller

2018-09-05 Thread Baolin Wang
This patch implements the 'pattern_set'and 'pattern_clear' interfaces to support SC27XX LED breathing mode. Signed-off-by: Baolin Wang --- Changes from v9: - Optimize the ABI documentation file. - Update the brightness value in hardware pattern mode. Changes from v8: - Optimize the ABI docume

[PATCH 1/3] x86/boot/KASLR: change the prototypes of process_efi_entries/process_e820_entries

2018-09-05 Thread Pingfan Liu
Changing the prototypes of process_efi_entries/process_e820_entries in order to reuse the mem entries' iteration (used in patch 3/3). Signed-off-by: Pingfan Liu Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: "Kirill A. Shutemov" Cc: Baoquan He Cc: Chao Fan (authored:1/16=6%) C

[PATCH 0/3] x86/boot/KASLR: enhance randomness of kernel load addr when using GiB hugepage

2018-09-05 Thread Pingfan Liu
commit 747ff6265db4 ("x86/boot/KASLR: Skip specified number of 1GB huge pages when doing physical randomization (KASLR)") and commit 9b912485e0e7 ("x86/boot/KASLR: Add two new functions for 1GB huge pages handling") prevent the physical load addr of kernel from spoiling a good candidate of GiB page

[PATCH 2/3] x86/boot/KASLR: change the prototype of process_mem_region() to meet the align requirement

2018-09-05 Thread Pingfan Liu
Changing the prototype of process_mem_region(), in order to reuse this func to find a region with special alignment requirement (used in patch 3/3 to find a region align on 1GiB boundary. And a trivial change on the data type of mem_vector.size to ease the comparison of underflow. Signed-off-by: P

[PATCH 3/3] x86/boot/KASLR: enhance randomness when using GiB hugepage

2018-09-05 Thread Pingfan Liu
commit 747ff6265db4 ("x86/boot/KASLR: Skip specified number of 1GB huge pages when doing physical randomization (KASLR)") and commit 9b912485e0e7 ("x86/boot/KASLR: Add two new functions for 1GB huge pages handling") prevent the physical load addr of kernel from spoiling a good candidate of GiB page

Re: [PATCH] hid: hid-core: Fix a sleep-in-atomic-context bug in __hid_request()

2018-09-05 Thread Jia-Ju Bai
On 2018/9/5 16:29, Jiri Kosina wrote: On Sat, 1 Sep 2018, Jia-Ju Bai wrote: The driver may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] hid_alloc_report_buf(GFP_KERNEL) drivers/hid/hid-core.c, 1435: hid_alloc_report_buf in __

Re: [PATCH] printk/tracing: Do not trace printk_nmi_enter()

2018-09-05 Thread Sergey Senozhatsky
Hello, On (09/05/18 21:33), Steven Rostedt wrote: > do_idle { > > [interrupts enabled] > > [interrupts disabled] > TRACE_IRQS_OFF [lockdep says irqs off] > [...] > TRACE_IRQS_IRET > test if pt_regs say return to interrupts enabled [yes] > TRACE_IR

linux-next: build failure after merge of the vfs tree

2018-09-05 Thread Stephen Rothwell
Hi Al, After merging the vfs tree, today's linux-next build (powerpc allyesconfig) failed like this: samples/mount_api/test-fsmount.c: In function 'fsopen': samples/mount_api/test-fsmount.c:63:17: error: '__NR_fsopen' undeclared (first use in this function); did you mean 'fsopen'? return sysca

Re: [PATCH v9 2/2] leds: sc27xx: Add pattern_set/clear interfaces for LED controller

2018-09-05 Thread Baolin Wang
On 6 September 2018 at 09:43, Baolin Wang wrote: > Hi Jacek, > > On 6 September 2018 at 03:14, Jacek Anaszewski > wrote: >> Hi Baolin, >> >> Thanks for the v9. >> >> On 09/05/2018 09:20 AM, Baolin Wang wrote: >>> This patch implements the 'pattern_set'and 'pattern_clear' >>> interfaces to support

Re: [PATCH V3 22/26] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-09-05 Thread Guo Ren
On Wed, Sep 05, 2018 at 07:45:12PM -0500, Rob Herring wrote: > On Wed, Sep 5, 2018 at 7:09 AM Guo Ren wrote: > > > > Signed-off-by: Guo Ren > > --- > > .../bindings/interrupt-controller/csky,mpintc.txt | 40 > > ++ > > 1 file changed, 40 insertions(+) > > create mode 10064

Re: [PATCH V2] mips: txx9: fix resource leak after register fail

2018-09-05 Thread Ding Xiang
On 9/5/2018 11:37 PM, Atsushi Nemoto wrote: On Wed, 5 Sep 2018 19:22:19 +0800, Ding Xiang wrote: the memory allocated and ioremap address need free after device_register return error. ... exit_put: put_device(&dev->dev); - return; +exit_free: + iounmap(dev->base); +

Re: [PATCH V3 21/26] dt-bindings: interrupt-controller: C-SKY APB intc

2018-09-05 Thread Guo Ren
On Wed, Sep 05, 2018 at 07:43:10PM -0500, Rob Herring wrote: > On Wed, Sep 5, 2018 at 7:10 AM Guo Ren wrote: > > > > Signed-off-by: Guo Ren > > --- > > .../interrupt-controller/csky,apb-intc.txt | 45 > > ++ > > 1 file changed, 45 insertions(+) > > create mode 10064

Re: [PATCH V3 19/26] dt-bindings: timer: gx6605s SOC timer

2018-09-05 Thread Guo Ren
On Wed, Sep 05, 2018 at 07:47:29PM -0500, Rob Herring wrote: > On Wed, Sep 5, 2018 at 7:09 AM Guo Ren wrote: > > > > Signed-off-by: Guo Ren > > --- > > .../bindings/timer/csky,gx6605s-timer.txt | 46 > > ++ > > 1 file changed, 46 insertions(+) > > create mode 10064

Re: Plumbers 2018 - Performance and Scalability Microconference

2018-09-05 Thread Huang, Ying
Hi, Christopher, Christopher Lameter writes: > On Tue, 4 Sep 2018, Daniel Jordan wrote: > >> - Promoting huge page usage: With memory sizes becoming ever larger, huge >> pages are becoming more and more important to reduce TLB misses and the >> overhead of memory management itself--that is, to

Re: [PATCH v3 1/2] dt-bindings: clock: Introduce QCOM LPASS clock bindings

2018-09-05 Thread Stephen Boyd
Quoting Taniya Das (2018-09-05 11:26:36) > > On 8/28/2018 2:44 AM, Stephen Boyd wrote: > > Quoting Taniya Das (2018-08-03 05:21:13) > > >> > >> Example: > >> clock-controller@90 { > >> diff --git a/Documentation/devicetree/bindings/clock/qcom,lpasscc.txt > >> b/Documentation/devic

Re: [PATCH v3 2/2] clk: qcom: Add lpass clock controller driver for SDM845

2018-09-05 Thread Stephen Boyd
Quoting Taniya Das (2018-09-05 11:26:10) > On 8/28/2018 2:41 AM, Stephen Boyd wrote: > > Quoting Taniya Das (2018-08-03 05:21:14) > >> diff --git a/drivers/clk/qcom/lpasscc-sdm845.c > >> b/drivers/clk/qcom/lpasscc-sdm845.c > >> new file mode 100644 > >> index 000..6f387f9 > >> --- /dev/null >

Re: [PATCH V3 18/26] dt-bindings: csky CPU Bindings

2018-09-05 Thread Guo Ren
On Wed, Sep 05, 2018 at 07:37:50PM -0500, Rob Herring wrote: > On Wed, Sep 5, 2018 at 7:08 AM Guo Ren wrote: > > > > Signed-off-by: Guo Ren > > --- > > Documentation/devicetree/bindings/csky/cpus.txt | 70 > > + > > 1 file changed, 70 insertions(+) > > create mode 10064

Re: [PATCH 17/21] clk: mvebu: use for_each_of_cpu_node iterator

2018-09-05 Thread Stephen Boyd
Quoting Rob Herring (2018-09-05 12:37:34) > Use the for_each_of_cpu_node iterator to iterate over cpu nodes. This > has the side effect of defaulting to iterating using "cpu" node names in > preference to the deprecated (for FDT) device_type == "cpu". > > Cc: Michael Turquette > Cc: Stephen Boyd

Re: [PATCH v9 2/2] leds: sc27xx: Add pattern_set/clear interfaces for LED controller

2018-09-05 Thread Baolin Wang
Hi Jacek, On 6 September 2018 at 03:14, Jacek Anaszewski wrote: > Hi Baolin, > > Thanks for the v9. > > On 09/05/2018 09:20 AM, Baolin Wang wrote: >> This patch implements the 'pattern_set'and 'pattern_clear' >> interfaces to support SC27XX LED breathing mode. >> >> Signed-off-by: Baolin Wang >>

Re: [PATCH 2/2] pci: dwc: add UniPhier PCIe host controller support

2018-09-05 Thread Kunihiko Hayashi
Hi Bjorn, On Wed, 5 Sep 2018 12:25:29 -0500 wrote: > Follow capitalization conventions for subject. > > On Wed, Sep 05, 2018 at 11:32:11AM +0900, Kunihiko Hayashi wrote: > > This introduces specific glue layer for UniPhier platform to support > > PCIe host controller that is based on the Design

Re: [PATCH 1/2] dt-bindings: pci: add UniPhier PCIe host controller description

2018-09-05 Thread Kunihiko Hayashi
Hi Bjorn, Thank you for reviewing. On Wed, 5 Sep 2018 12:21:18 -0500 wrote: > > Please follow the capitalization convention, i.e., > > $ git log --oneline --no-merges Documentaon/devicetree/bindings/pci/ | grep > -i pci > 82dfbd27c837 dt-bindings: PCI: cadence: Add DT bindings for option

[PATCH] printk/tracing: Do not trace printk_nmi_enter()

2018-09-05 Thread Steven Rostedt
[ I'm currently testing this patch, and will push this to mainline, I'm just looking for acks and review bys. Also, Peter, this is the bug that my patch that differentiates if lockdep is broken or if the code is broken when lockdep_assert_irqs_{dis,en}abled() triggers, and would have bee

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

2018-09-05 Thread Alan Stern
On Mon, 3 Sep 2018, Andrea Parri wrote: > I take this opportunity to summarize my viewpoint on these matters: > > Someone would have to write the commit message for the above diff ... > that is, to describe -why- we should go RCtso (and update the documen- > tation accordingly); by now, the only

Re: [PATCH] mm,page_alloc: PF_WQ_WORKER threads must sleep at should_reclaim_retry().

2018-09-05 Thread Tetsuo Handa
Michal Hocko wrote: > On Wed 05-09-18 22:53:33, Tetsuo Handa wrote: > > On 2018/09/05 22:40, Michal Hocko wrote: > > > Changelog said > > > > > > "Although this is possible in principle let's wait for it to actually > > > happen in real life before we make the locking more complex again." > > >

Re: [PATCH V3 19/26] dt-bindings: timer: gx6605s SOC timer

2018-09-05 Thread Rob Herring
On Wed, Sep 5, 2018 at 7:09 AM Guo Ren wrote: > > Signed-off-by: Guo Ren > --- > .../bindings/timer/csky,gx6605s-timer.txt | 46 > ++ > 1 file changed, 46 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt > > diff

Re: [PATCH v4 07/11] kbuild: use 'include' directive to load auto.conf from top Makefile

2018-09-05 Thread Masahiro Yamada
2018-09-06 7:53 GMT+09:00 Segher Boessenkool : > On Mon, Sep 03, 2018 at 12:00:21PM +0200, Borislav Petkov wrote: >> On Mon, Sep 03, 2018 at 06:54:12PM +0900, Masahiro Yamada wrote: >> > You are right - I missed this usecase, >> > but I still want to excuse "it is rare enough". >> >> Isn't there a

Re: [PATCH V3 22/26] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-09-05 Thread Rob Herring
On Wed, Sep 5, 2018 at 7:09 AM Guo Ren wrote: > > Signed-off-by: Guo Ren > --- > .../bindings/interrupt-controller/csky,mpintc.txt | 40 > ++ > 1 file changed, 40 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt >

Re: [PATCH V3 21/26] dt-bindings: interrupt-controller: C-SKY APB intc

2018-09-05 Thread Rob Herring
On Wed, Sep 5, 2018 at 7:10 AM Guo Ren wrote: > > Signed-off-by: Guo Ren > --- > .../interrupt-controller/csky,apb-intc.txt | 45 > ++ > 1 file changed, 45 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt

Re: [PATCH V3 18/26] dt-bindings: csky CPU Bindings

2018-09-05 Thread Rob Herring
On Wed, Sep 5, 2018 at 7:08 AM Guo Ren wrote: > > Signed-off-by: Guo Ren > --- > Documentation/devicetree/bindings/csky/cpus.txt | 70 > + > 1 file changed, 70 insertions(+) > create mode 100644 Documentation/devicetree/bindings/csky/cpus.txt Please make sure DT bindin

Re: [LKP] 3f906ba236 [ 71.192813] WARNING: possible circular locking dependency detected

2018-09-05 Thread Rong Chen
On 09/05/2018 09:02 PM, Thomas Gleixner wrote: On Wed, 5 Sep 2018, kernel test robot wrote: Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 3f906ba23689a3f824424c50f3ae937

Please Respond to me................

2018-09-05 Thread Mr Moris Ortega
-- Greetings to you and your families, I never want to disturb you at all but will like you give me your attention. I need a matured and capable hand in a business deal of $10.5 million US dollars.(Ten Million Five Hundred Thousand USA Dollars) I belief you are suitable to handle such project per

Hej min kära

2018-09-05 Thread Fru Ursula Alice Walton
Min kära stödmottagare, Jag är säker på att detta mail kommer att komma till dig som en överraskning eftersom vi aldrig har träffat förut och du skulle också fråga varför jag har bestämt mig för att välja dig bland de många internetanvändarna i världen. Exakt kan jag inte säga varför jag har v

Re: [PATCH 2/2] soc: qcom: geni: geni_se_clk_freq_match() should always accept multiples

2018-09-05 Thread Matthias Kaehlcke
On Thu, Aug 30, 2018 at 11:36:12AM -0700, Douglas Anderson wrote: > The geni_se_clk_freq_match() has some strange semantics. Specifically > it is defined with two modes: > 1. It can find a clock that's an exact multiple of the requested rate > 2. If can find a non-exact match but it can't handle m

Re: [PATCH] seccomp: remove unnecessary unlikely()

2018-09-05 Thread Kees Cook
On Wed, Sep 5, 2018 at 5:08 PM, James Morris wrote: > On Wed, 5 Sep 2018, Kees Cook wrote: > >> On Wed, Sep 5, 2018 at 3:49 PM, Igor Stoppa wrote: >> > >> > >> > On 06/09/18 01:23, Kees Cook wrote: >> > >> >> Should I take this, or is it part of your series going somewhere else? >> > >> > >> > It

Re: [PATCH] seccomp: remove unnecessary unlikely()

2018-09-05 Thread James Morris
On Wed, 5 Sep 2018, Kees Cook wrote: > On Wed, Sep 5, 2018 at 3:49 PM, Igor Stoppa wrote: > > > > > > On 06/09/18 01:23, Kees Cook wrote: > > > >> Should I take this, or is it part of your series going somewhere else? > > > > > > It turned out it doesn't really work to have a generic series again

Re: [PATCH 00/22] KEYS: Support TPM-wrapped key and crypto ops

2018-09-05 Thread James Morris
On Wed, 5 Sep 2018, David Howells wrote: > > Hi James, > > Here's a set of patches that does the following, if you could pull it please: Thanks, it would be good to see more review / acks, though. -- James Morris

linux-next: build warning after merge of the vfs tree

2018-09-05 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning: security/selinux/hooks.c:2835:12: warning: 'selinux_sb_remount' defined but not used [-Wunused-function] static int selinux_sb_remount(struct super_block *sb, void *data, size_t data_

Re: [PATCH RFC tools/memory-model] Add litmus-test naming scheme

2018-09-05 Thread Paul E. McKenney
On Tue, May 29, 2018 at 09:17:13PM +0100, Will Deacon wrote: > On Tue, May 29, 2018 at 05:11:07AM -0700, Paul E. McKenney wrote: > > On Tue, May 29, 2018 at 10:30:50AM +0100, Will Deacon wrote: > > > Hi Paul, > > > > > > On Fri, May 25, 2018 at 12:10:20PM -0700, Paul E. McKenney wrote: > > > > Thi

[PATCH v2 8/9] c6x: enable building all dtbs

2018-09-05 Thread Rob Herring
Enable the 'dtbs' target for c6x. This allows building all the dts files in arch/c6x/boot/dts/ for enabled platforms or when COMPILE_TEST and OF_ALL_DTBS are enabled. Cc: Mark Salter Cc: Aurelien Jacquiot Cc: linux-c6x-...@linux-c6x.org Signed-off-by: Rob Herring --- Please ack so I can take th

[PATCH v2 3/9] nios2: use common rules to build built-in dtb

2018-09-05 Thread Rob Herring
Using the common build support for built-in dtb files just requires adding a .dtb.o target to obj-y. This has the side effect that CONFIG_NIOS2_DTB_SOURCE should now be just the dts filename in arch/nios2/boot/dts/ directory. Before any path was supported, but if you want to build in your dtb to t

[PATCH v2 4/9] nios2: fix building all dtbs

2018-09-05 Thread Rob Herring
nios2 has a 'dtbs' target, but nothing is added to 'dtb-*' targets and no dtbs were getting built. This enables building all the dts files in arch/nios2/boot/dts/ when COMPILE_TEST and OF_ALL_DTBS are enabled. Cc: Ley Foon Tan Cc: nios2-...@lists.rocketboards.org Signed-off-by: Rob Herring --- P

[PATCH v2 5/9] c6x: use common built-in dtb support

2018-09-05 Thread Rob Herring
Using the common build support for built-in dtb files just requires adding a .dtb.o target to obj-y. The dtb now needs to be copied when unflattened because an init section is used now. Cc: Mark Salter Cc: Aurelien Jacquiot Cc: linux-c6x-...@linux-c6x.org Signed-off-by: Rob Herring --- Please

[PATCH v2 7/9] powerpc: enable building all dtbs

2018-09-05 Thread Rob Herring
Enable the 'dtbs' target for powerpc. This allows building all the dts files in arch/powerpc/boot/dts/ when COMPILE_TEST and OF_ALL_DTBS are enabled. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: linuxppc-...@lists.ozlabs.org Signed-off-by: Rob Herring --- Please ack s

[PATCH v2 2/9] nios2: build .dtb files in dts directory

2018-09-05 Thread Rob Herring
Align nios2 with other architectures which build the dtb files in the same directory as the dts files. This is also in line with most other build targets which are located in the same directory as the source. This move will help enable the 'dtbs' target which builds all the dtbs regardless of kerne

[PATCH v2 9/9] microblaze: enable building all dtbs

2018-09-05 Thread Rob Herring
Enable the 'dtbs' target for microblaze. As microblaze only has one dts file, always enable it. Cc: Michal Simek Signed-off-by: Rob Herring --- Please ack so I can take the whole series via the DT tree. v2: - new patch arch/microblaze/boot/dts/Makefile | 2 ++ 1 file changed, 2 insertions(+)

Re: [RFC PATCH] mm/hugetlb: make hugetlb_lock irq safe

2018-09-05 Thread Mike Kravetz
On 09/05/2018 04:07 PM, Matthew Wilcox wrote: > On Wed, Sep 05, 2018 at 03:00:08PM -0700, Andrew Morton wrote: >> On Wed, 5 Sep 2018 14:35:11 -0700 Mike Kravetz >> wrote: >> so perhaps we could put some stopgap workaround into that site and add

Re: [PATCH 1/2] soc: qcom: geni: Don't ignore clk_round_rate() errors in geni_se_clk_tbl_get()

2018-09-05 Thread Matthias Kaehlcke
On Thu, Aug 30, 2018 at 11:36:11AM -0700, Douglas Anderson wrote: > The function clk_round_rate() is defined to return a "long", not an > "unsigned long". That's because it might return a negative error > code. Change the call in geni_se_clk_tbl_get() to check for errors. > > NOTE: overall the i

Re: [PATCH] tty: serial: qcom_geni_serial: Fix serial when not used as console

2018-09-05 Thread Matthias Kaehlcke
On Wed, Sep 05, 2018 at 01:11:46PM -0700, Douglas Anderson wrote: > If you've got the "console" serial port setup to use just as a UART > (AKA there is no "console=ttyMSMX" on the kernel command line) then > certain initialization is skipped. When userspace later tries to do > something with the p

Re: [PATCH] seccomp: remove unnecessary unlikely()

2018-09-05 Thread Kees Cook
On Wed, Sep 5, 2018 at 3:49 PM, Igor Stoppa wrote: > > > On 06/09/18 01:23, Kees Cook wrote: > >> Should I take this, or is it part of your series going somewhere else? > > > It turned out it doesn't really work to have a generic series against 20 > trees :-/ I know that pain very well! > I'm su

Re: [PATCH] genirq: Avoid race between cpu hot plug and irq_desc() allocation paths

2018-09-05 Thread pheragu
On 2018-09-05 11:23, Thomas Gleixner wrote: On Wed, 5 Sep 2018, Prakruthi Deepak Heragu wrote: One of the cores might have just allocated irq_desc() and other core might be doing irq migration in the hot plug path. In the hot plug path during the IRQ migration, for_each_active_irq macro is tr

Re: [PATCH v5 0/7] Add support for MSCC Ocelot i2c

2018-09-05 Thread Paul Burton
Hi Alexandre & Wolfram, On Sat, Sep 01, 2018 at 02:43:53PM +0200, Wolfram Sang wrote: > > Because the designware IP was not able to handle the SDA hold time before > > version 1.11a, MSCC has its own implementation. Add support for it and then > > add > > i2c on ocelot boards. > > > > I would ex

[PATCH v3] mm: slowly shrink slabs with a relatively small number of objects

2018-09-05 Thread Roman Gushchin
Commit 9092c71bb724 ("mm: use sc->priority for slab shrink targets") changed the way how the target slab pressure is calculated and made it priority-based: delta = freeable >> priority; delta *= 4; do_div(delta, shrinker->seeks); The problem is that on a default priority (which is 12)

Re: [RFC PATCH] mm/hugetlb: make hugetlb_lock irq safe

2018-09-05 Thread Matthew Wilcox
On Wed, Sep 05, 2018 at 03:00:08PM -0700, Andrew Morton wrote: > On Wed, 5 Sep 2018 14:35:11 -0700 Mike Kravetz > wrote: > > > >so perhaps we could put some > > > stopgap workaround into that site and add a runtime warning into the > > > put_page() cod

Re: Plumbers 2018 - Performance and Scalability Microconference

2018-09-05 Thread Thomas Gleixner
On Wed, 5 Sep 2018, Laurent Dufour wrote: > On 05/09/2018 17:10, Christopher Lameter wrote: > > Large page sizes also reduce contention there. > > That's true for the page fault path, but for process's actions manipulating > the > memory process's layout (mmap,munmap,madvise,mprotect) the impact

Re: [PATCH v4 07/11] kbuild: use 'include' directive to load auto.conf from top Makefile

2018-09-05 Thread Segher Boessenkool
On Mon, Sep 03, 2018 at 12:00:21PM +0200, Borislav Petkov wrote: > On Mon, Sep 03, 2018 at 06:54:12PM +0900, Masahiro Yamada wrote: > > You are right - I missed this usecase, > > but I still want to excuse "it is rare enough". > > Isn't there a Makefile way to check file existence before including

Re: [PATCH] seccomp: remove unnecessary unlikely()

2018-09-05 Thread Igor Stoppa
On 06/09/18 01:23, Kees Cook wrote: Should I take this, or is it part of your series going somewhere else? It turned out it doesn't really work to have a generic series against 20 trees :-/ I'm submitting them individually to each subsystem. So this one is just for security. -- thanks,

Re: [PATCH] seccomp: remove unnecessary unlikely()

2018-09-05 Thread Kees Cook
On Wed, Sep 5, 2018 at 1:34 PM, Igor Stoppa wrote: > WARN_ON() already contains an unlikely(), so it's not necessary to wrap it > into another. > > Signed-off-by: Igor Stoppa > Acked-by: Kees Cook Should I take this, or is it part of your series going somewhere else? -Kees > Cc: linux-securit

Re: [RFC] UAPI: Check headers by compiling all together as C++

2018-09-05 Thread Al Viro
On Wed, Sep 05, 2018 at 10:31:11PM +0300, Alexey Dobriyan wrote: > On Wed, Sep 05, 2018 at 09:26:36PM +0200, Greg KH wrote: > > On Wed, Sep 05, 2018 at 09:59:22PM +0300, Alexey Dobriyan wrote: > > > > On Wed, Sep 05, 2018 at 04:54:27PM +0100, David Howells wrote: > > > > > > > > > > Here's a set o

Re: [PATCH 07/11] UAPI: nilfs2: Fix use of undefined byteswapping functions

2018-09-05 Thread Al Viro
On Wed, Sep 05, 2018 at 04:55:23PM +0100, David Howells wrote: > nilfs_checkpoint_set_##name(struct nilfs_checkpoint *cp) \ > {\ > - cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) | \ > + cp->cp

[PATCH 01/77] perf trace: Pass augmented args to the arg formatters when available

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo If the tracepoint payload is bigger than what a syscall expected from what is in its format file in tracefs, then that will be used as augmented args, i.e. the expansion of syscall arg pointers, with things like a filename, structs, etc. Cc: Adrian Hunter Cc: Davi

  1   2   3   4   5   6   7   8   >