[PATCH 4.9 15/29] tools include: Introduce linux/bug.h, from the kernel sources

2018-06-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnaldo Carvalho de Melo commit 379d61b1c7d42512cded04d372f15a7e725db9e1 upstream. With just what we will need in the upcoming changesets, the BUILD_BUG_ON_ZERO() definition. Cc: Adrian Hunter

[PATCH 4.9 02/29] objtool: Move checking code to check.c

2018-06-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Josh Poimboeuf commit dcc914f44f065ef73685b37e59877a5bb3cb7358 upstream. In preparation for the new 'objtool undwarf generate' command, which will rely on 'objtool check', move the checking cod

[PATCH 4.9 11/29] tools include: Adopt kernels refcount.h

2018-06-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnaldo Carvalho de Melo commit 73a9bf95ed1c05698ecabe2f28c47aedfa61b52b upstream. To aid in catching bugs when using atomics as a reference count. This is a trimmed down version with just wha

[PATCH 4.9 12/29] perf tools: Force fixdep compilation at the start of the build

2018-06-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Olsa commit abb26210a39522a6645bce3f438ed9a26bedb11b upstream. The fixdep tool needs to be built before everything else, because it fixes every object dependency file. We handle this curr

[PATCH 4.9 01/29] objtool: Improve detection of BUG() and other dead ends

2018-06-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Josh Poimboeuf commit d1091c7fa3d52ebce4dd3f15d04155b3469b2f90 upstream. The BUG() macro's use of __builtin_unreachable() via the unreachable() macro tells gcc that the instruction is a dead en

[PATCH 4.9 00/29] 4.9.106-stable review

2018-06-03 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.106 release. There are 29 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Jun 6 06:57:52 UTC 2018. Anything receiv

linux-next: manual merge of the kvm tree with the arm64 tree

2018-06-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: arch/arm64/include/asm/processor.h between commit: 94b07c1f8c39 ("arm64: signal: Report signal frame size to userspace via auxv") from the arm64 tree and commit: 9a6e594869b2 ("arm64/sve: Move sve_pffr() to fpsimd.h and

Re: [PATCH 0/4] exit: Make unlikely case in mm_update_next_owner() more scalable

2018-06-03 Thread Michal Hocko
On Fri 01-06-18 10:25:59, Eric W. Biederman wrote: > Michal Hocko writes: > > > On Fri 01-06-18 09:32:42, Eric W. Biederman wrote: > >> Michal Hocko writes: > > [...] > >> > Group leader exiting early without tearing down the whole thread > >> > group should be quite rare as well. No question th

Re: [PATCH] mtd: rawnand: mxc: set spare area size register explicitly

2018-06-03 Thread Sascha Hauer
On Sun, Jun 03, 2018 at 01:31:35PM +0200, Martin Kaiser wrote: > The v21 version of the NAND flash controller contains a Spare Area Size > Register (SPAS) at offset 0x10. Its setting defaults to the maximum > spare area size of 218 bytes. The size that is set in this register is > used by the contr

Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-03 Thread Michal Hocko
On Sat 02-06-18 19:58:52, ufo19890...@gmail.com wrote: > From: yuzhoujian > > The dump_header does not print the memcg's name when the system > oom happened, so users cannot locate the certain container which > contains the task that has been killed by the oom killer. > > I follow the advices of

[PATCH v3]: perf record: enable arbitrary event names thru name= modifier

2018-06-03 Thread Alexey Budankov
Enable complex event names containing [.:=,] symbols to be encoded into Perf trace using name= modifier e.g. like this: perf record -e cpu/name=\'OFFCORE_RESPONSE:request=DEMAND_RFO:response=L3_HIT.SNOOP_HITM\',\ period=0x3567e0,event=0x3c,cmask=0x1/Duk ./futex Below is how it

Re: [PATCH v4 2/2] sched/deadline: Set cp->elements[0].cpu to -1 when the heap is empty

2018-06-03 Thread Byungchul Park
On 2018-06-04 15:36, Byungchul Park wrote: Hello Steven and Daniel, I've changed the 2nd patch a little bit to consider cpudl_clear() additionally. Can I keep your Acked-by on? Very sorry. Please ignore this v4 spin.. I'll resend v5 version soon. -- Thanks, Byungchul

Re: [PATCH v7 1/2] Add an array of const char and enum oom_constraint in memcontrol.h

2018-06-03 Thread Michal Hocko
On Sat 02-06-18 19:58:51, ufo19890...@gmail.com wrote: > From: yuzhoujian > > This patch will make some preparation for the follow-up patch: Refactor > part of the oom report in dump_header. It puts enum oom_constraint in > memcontrol.h and adds an array of const char for each constraint. I do n

[PATCH v5 2/2] sched/deadline: Set cp->elements[0].cpu to -1 when the heap is empty

2018-06-03 Thread Byungchul Park
Hello Steven and Daniel, I've changed the 2nd patch a little bit to consider cpudl_clear() additionally. Can I keep your Acked-by on? (I temporarily removed the Acked-by you gave me.) Acked-by: Steven Rostedt (VMware) Acked-by: Daniel Bristot de Oliveira -8<- >From 1e368d276186c22f9da

[PATCH v5 1/2] sched/deadline: Add cpudl_maximum_dl() for better readability

2018-06-03 Thread Byungchul Park
Changes from v4 - Fix a typo in cpudl_init() of the 2nd patch Changes from v3 - Rebase onto the latest tip/sched/core - Apply what Joel suggests, to set cp->elements[0].cpu to -1 when the heap becomes empty in cpudl_clear() Changes from v2 - Run spellchecker over the text and fix typos -

Re: [PATCH] mm: clean up page_is_poisoned in linux/mm.h

2018-06-03 Thread Michal Hocko
On Sun 03-06-18 12:22:18, kpark3...@gmail.com wrote: > From: Sahara > > When bd33ef36("mm: enable page poisoning early at boot") got rid of > the PAGE_EXT_DEBUG_POISON, page_is_poisoned in the header left > behind. This patch cleans up the leftovers under the table. Acked-by: Michal Hocko Btw.

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

2018-06-03 Thread Vincent Guittot
On 1 June 2018 at 19:45, Joel Fernandes wrote: > On Fri, Jun 01, 2018 at 03:53:07PM +0200, Vincent Guittot wrote: >> > >> >> The example with a RT task described in the cover letter can be >> > >> >> run with a DL task and will give similar results. >> > > >> > > In the cover letter you says: >> >

[PATCH v4 2/2] sched/deadline: Set cp->elements[0].cpu to -1 when the heap is empty

2018-06-03 Thread Byungchul Park
Hello Steven and Daniel, I've changed the 2nd patch a little bit to consider cpudl_clear() additionally. Can I keep your Acked-by on? (I temporarily removed the Acked-by you gave me.) Acked-by: Steven Rostedt (VMware) Acked-by: Daniel Bristot de Oliveira -8<- >From 1e368d276186c22f9da

[PATCH v4 1/2] sched/deadline: Add cpudl_maximum_dl() for better readability

2018-06-03 Thread Byungchul Park
Changes from v3 - Rebase onto the latest tip/sched/core - Apply what Joel suggests, to set cp->elements[0].cpu to -1 when the heap becomes empty in cpudl_clear() Changes from v2 - Run spellchecker over the text and fix typos - Add acked-by Daniel Changes from v1 - Enhance commit msg - Pr

Re: [PATCH] mm: kvmalloc does not fallback to vmalloc for incompatible gfp flags

2018-06-03 Thread Michal Hocko
On Sat 02-06-18 09:43:56, Linus Torvalds wrote: > On Fri, Jun 1, 2018 at 4:53 AM Michal Hocko wrote: > > > > for more context. Linus has pointed out [1] that our (well mine) > > insisting on GFP_KERNEL compatible gfp flags for kvmalloc* can actually > > lead to a worse code because people will wor

Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-03 Thread 禹舟键
Hi Mike > My question was why do you call to alloc_constrained in the dump_header() >function rather than pass the constraint that was detected a bit earlier to >that function? Ok, I will add a new parameter in the dump_header. Thank you.

Re: [PATCH V2] cros_ec_keyb: Mark cros_ec_keyb driver as wake enabled device.

2018-06-03 Thread Lee Jones
On Fri, 25 May 2018, Ravi Chandra Sadineni wrote: > Mark cros_ec_keyb has wake enabled by default. If we see a MKBP event > related to keyboard, call pm_wakeup_event() to make sure wakeup > triggers are accounted to keyb during suspend resume path. > > Signed-off-by: Ravi Chandra Sadineni > ---

Re: [PATCH v7 0/9] Add support for SAMA5D2 touchscreen

2018-06-03 Thread Eugen Hristev
On 22.05.2018 20:57, Jonathan Cameron wrote: On Tue, 22 May 2018 10:52:30 +0300 Eugen Hristev wrote: Hello, This patch series is a rework of my previous series named: [PATCH 00/14] iio: triggers: add consumer support This is the version 7 of the series, and addresses the received feedback

Re: [PATCH 02/33] mfd: omap-usb-host: use match_string() helper

2018-06-03 Thread Lee Jones
On Mon, 21 May 2018, Yisheng Xie wrote: > match_string() returns the index of an array for a matching string, > which can be used intead of open coded variant. > > Cc: Tony Lindgren > Cc: Lee Jones > Cc: linux-o...@vger.kernel.org > Signed-off-by: Yisheng Xie > --- > drivers/mfd/omap-usb-host

linux-next: manual merge of the vfio tree with Linus' tree

2018-06-03 Thread Stephen Rothwell
Hi Alex, Today's linux-next merge of the vfio tree got a conflict in: drivers/vfio/vfio_iommu_type1.c between commit: 89c29def6b01 ("Revert "vfio/type1: Improve memory pinning process for raw PFN mapping"") from Linus' tree and commit: 7b578b0de3d3 ("vfio/type1: Fix task tracking for Q

Re: [PATCH 1/2] mfd: stm32-timers: fix pwm-stm32 linker issue with COMPILE_TEST

2018-06-03 Thread Lee Jones
On Fri, 18 May 2018, Fabrice Gasnier wrote: > This is seen when COMPILE_TEST=y and MFD_STM32_TIMERS=n. > drivers/pwm/pwm-stm32.o: In function 'stm32_pwm_raw_capture': > pwm-stm32.c:... undefined reference to 'stm32_timers_dma_burst_read' > Fixes: 0c6609805b63 ("mfd: stm32-timers: Add support for D

Re: [PATCH 2/2] pwm: stm32: initialize raw local variables

2018-06-03 Thread Lee Jones
On Fri, 18 May 2018, Fabrice Gasnier wrote: > This removes build warning when COMPILE_TEST=y and MFD_STM32_TIMERS=n > in drivers/pwm/pwm-stm32.c. In function 'stm32_pwm_capture' 'raw_prd' and > 'raw_dty' may be used uninitialized in this function > [-Wmaybe-uninitialized] > > Signed-off-by: Fabri

Re: [RESEND PATCH v5] mfd: arizona: Update DT doc to support more standard reset binding

2018-06-03 Thread Lee Jones
On Wed, 09 May 2018, Charles Keepax wrote: > Signed-off-by: Charles Keepax > Reviewed-by: Rob Herring > Acked-by: Lee Jones > --- > Documentation/devicetree/bindings/mfd/arizona.txt | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) Applied, thanks. -- Lee Jones [李琼斯] Linaro Servi

Re: [RESEND PATCH v5 2/6] mfd: stm32-timers: add support for dmas

2018-06-03 Thread Lee Jones
On Wed, 16 May 2018, Fabrice Gasnier wrote: > STM32 Timers can support up to 7 DMA requests: > - 4 channels, update, compare and trigger. > Optionally request part, or all DMAs from stm32-timers MFD core. > > Also add routine to implement burst reads using DMA from timer registers. > This is expo

Re: [PATCH 1/3] dt-bindings: thermal: Add binding document for SR thermal

2018-06-03 Thread Srinath Mannam
Hi Rob Herring, Please find my comments in line.. On Fri, Jun 1, 2018 at 7:59 PM, Rob Herring wrote: > On Fri, Jun 1, 2018 at 3:51 AM, Srinath Mannam > wrote: >> Hi Rob Herring, >> >> Thank you for the review. >> Please find my answers inline.. >> >> On Thu, May 31, 2018 at 10:18 PM, Rob Herrin

Re: [PATCH v12 0/5] Fix issues with huge mapping in ioremap for ARM64

2018-06-03 Thread Chintan Pandya
Hi Will, Just curious to know, is there anything that I should be addressing in these patches ? For now, I don't see anything from my side that requires modification, unless one has some more review comments on this. Status so far on and around this: - Status of Toshi's series of patches is sti

[lkp-robot] [mm, oom] 2d251ff6e6: BUG:unable_to_handle_kernel

2018-06-03 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-7): commit: 2d251ff6e66d7978b3e7a9c69e99b7150de26926 ("mm, oom: fix unnecessary killing of additional processes") url: https://github.com/0day-ci/linux/commits/David-Rientjes/mm-oom-fix-unnecessary-killing-of-additional-processes/20180527-033

Re: [PATCH v2 5/6] ARM: dts: Add generic interconnect target module node for MCAN

2018-06-03 Thread Faiz Abbas
Hi, On Saturday 02 June 2018 12:02 PM, Stephen Boyd wrote: > Quoting Faiz Abbas (2018-05-30 07:11:32) >> diff --git a/arch/arm/boot/dts/dra76x.dtsi b/arch/arm/boot/dts/dra76x.dtsi >> index bfc82636999c..57b8dc0fe719 100644 >> --- a/arch/arm/boot/dts/dra76x.dtsi >> +++ b/arch/arm/boot/dts/dra76x.dt

[PATCH] panic: move bust_spinlocks(0) after console_flush_on_panic() to avoid deadlocks

2018-06-03 Thread Hoeun Ryu
From: Hoeun Ryu Many console device drivers hold the uart_port->lock spinlock with irq enabled (using spin_lock()) while the device drivers are writing characters to their devices, but the device drivers just try to hold the spin lock (using spin_trylock()) if "oops_in_progress" is equal or gre

Re: [PATCH] mfd: arizona: Don't use regmap_read_poll_timeout

2018-06-03 Thread Lee Jones
On Fri, 11 May 2018, Charles Keepax wrote: > Some Arizona CODECs have a small timing window where they will > NAK an I2C transaction if it happens before the boot done bit is > set. This can cause the read of the register containing the boot > done bit to fail until it is set. Since regmap_read_po

[PATCH] clk-si514, clk-si544: Implement prepare/unprepare/is_prepared operations

2018-06-03 Thread Mike Looijmans
This adds prepare/unprepare/is_prepared functionality to the drivers for the SI544 and SI514 chips, allowing the clock output to be disabled when the clock is not in use. Signed-off-by: Mike Looijmans --- drivers/clk/clk-si514.c | 38 +- drivers/clk/clk-si544.

Re: [PATCH v1] mfd: intel-lpss: Program REMAP register in PIO mode

2018-06-03 Thread Lee Jones
On Fri, 01 Jun 2018, Andy Shevchenko wrote: > On Fri, 2018-05-18 at 14:51 +0100, Lee Jones wrote: > > On Tue, 24 Apr 2018, Andy Shevchenko wrote: > > > > > According to documentation REMAP register has to be programmed in > > > either DMA or PIO mode of the slice. > > > > > > Move the DMA capabi

Re: [PATCH v1] mfd: intel-lpss: Correct names of RESETS register bits

2018-06-03 Thread Lee Jones
On Tue, 24 Apr 2018, Andy Shevchenko wrote: > According to documentation the function has 2 bits for reset > while iDMA 64-bit has only one. > > Rename it accordingly. Note, there is no functional change since > we always handle them together. > > Signed-off-by: Andy Shevchenko > --- > drivers

BUG: soft lockup in shrink_dcache_parent (2)

2018-06-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:325e14f97e0c Merge branch 'fixes' of git://git.kernel.org/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=166329d780 kernel config: https://syzkaller.appspot.com/x/.config?x=968b0b23c7854c0b da

Re: [PATCH v2] kernel: event: core: Change return type to vm_fault_t

2018-06-03 Thread Souptick Joarder
On Mon, May 21, 2018 at 11:55 PM, Souptick Joarder wrote: > Use new return type vm_fault_t for fault handler. For > now, this is just documenting that the function returns > a VM_FAULT value rather than an errno. Once all instances > are converted, vm_fault_t will become a distinct type. > > Ref->

Testing RCU boosting with rcutorture

2018-06-03 Thread Joel Fernandes
Hi Paul, I was testing RCU boosting behavior with rcutorture on rcu/dev and I had some issues getting it to fail when no RCU boost is done (CONFIG_RCU_BOOST is disabled and rcutorture is forced to test it using test_boost parameter). It appears I need to disable RT throttling so that the readers

Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-03 Thread Mike Rapoport
On Mon, Jun 04, 2018 at 10:41:10AM +0800, 禹舟键 wrote: > Hi Tetsuo > > Since origin_memcg_name is printed for both memcg OOM and !memcg OOM, it is > > strange that origin_memcg_name is updated only when memcg != NULL. Have you > > really tested !memcg OOM case? > > if memcg == NULL , origin_memcg_

[GIT PULL] rslib updates for v4.18-rc1

2018-06-03 Thread Kees Cook
Hi Linus, Please pull these rslib changes for v4.18-rc1. Thomas asked me to carry this series since I've been coordinating VLA removal, and he's got enough trees to worry about. :) This has been in -next for a while now. Thanks! -Kees The following changes since commit 6d08b06e67cd117f6992c4661

Re: [PATCH v2] mm: Change return type int to vm_fault_t for fault handlers

2018-06-03 Thread Souptick Joarder
On Sun, Jun 3, 2018 at 3:31 AM, Matthew Wilcox wrote: > On Sun, Jun 03, 2018 at 01:34:07AM +0530, Souptick Joarder wrote: >> @@ -3570,9 +3571,8 @@ static int hugetlb_cow(struct mm_struct *mm, struct >> vm_area_struct *vma, >> return 0; >> } >> >> -

Re: [PATCH 2/2] tsens: Get rid of unused fields in structure

2018-06-03 Thread Rajendra Nayak
On 06/02/2018 04:41 PM, Amit Kucheria wrote: > status_field and trdy are unused in any of the tsens drivers. Remove them. > > Signed-off-by: Amit Kucheria Acked-by: Rajendra Nayak > --- > drivers/thermal/qcom/tsens.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/therma

Re: [PATCH 1/2] thermal: tsens: Add support for SDM845 platform

2018-06-03 Thread Rajendra Nayak
On 06/02/2018 04:41 PM, Amit Kucheria wrote: > There are two tsens blocks on the SDM845. These will be configured through > the devicetree. > > Signed-off-by: Amit Kucheria > --- > .../devicetree/bindings/thermal/qcom-tsens.txt | 1 + > drivers/thermal/qcom/Makefile

[GIT PULL] userns vfs bits for v4.18-rc1

2018-06-03 Thread Eric W. Biederman
Linus, Please pull the userns-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git userns-linus HEAD: f3f1a18330ac1b717cd7a32adff38d965f365aa2 fs: Allow CAP_SYS_ADMIN in s_user_ns to freeze and thaw filesystems Apologies for the res

[GIT PULL] siginfo work for v4.18-rc1

2018-06-03 Thread Eric W. Biederman
Linus, Please pull the siginfo-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git siginfo-linus HEAD: 26da35010c6d6ce317d511c8186585bdd8ab6629 signal/sh: Stop gcc warning about an impossible case in do_divide_error Apologies for the

Re: [PATCH] nfc: st21nfca: use setup_timer instead of init_timer

2018-06-03 Thread Samuel Ortiz
Hi Colin, On Fri, Nov 24, 2017 at 01:37:41PM +, Colin King wrote: > From: Colin Ian King > > Use setup_timer function instead of initializing timer with the > function and data fields. > > Signed-off-by: Colin Ian King > --- > drivers/nfc/st21nfca/se.c | 10 -- > 1 file changed, 4

[GIT PULL] siginfo work for v4.18-rc1

2018-06-03 Thread Eric W. Biederman
Linus, Please pull the siginfo-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git siginfo-linus HEAD: 26da35010c6d6ce317d511c8186585bdd8ab6629 signal/sh: Stop gcc warning about an impossible case in do_divide_error This set of cha

[GIT PULL] userns

2018-06-03 Thread Eric W. Biederman
Linus, Please pull the userns-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git userns-linus HEAD: f3f1a18330ac1b717cd7a32adff38d965f365aa2 fs: Allow CAP_SYS_ADMIN in s_user_ns to freeze and thaw filesystems This is the last coup

[GIT PULL] chrome-platform updates for v4.18

2018-06-03 Thread Benson Leung
Hi Linus, The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bleung/chrome-platform.git tags/chrome-platform-for-linus-4.18 for you to

RE: [PATCH] clk: clk-fixed-factor: Use new macro CLK_OF_DECLARE_DRIVER

2018-06-03 Thread Rajan Vaja
Hi Stephen, Thanks for the reply. > -Original Message- > From: Stephen Boyd [mailto:sb...@kernel.org] > Sent: 02 June 2018 12:11 PM > To: Rajan Vaja > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Jolly Shah > ; Michal Simek ; > mturque...@baylibre.com > Subject: RE: [PAT

For help, whether to check the return value of sata_scr_read should be added in sata_print_link_status

2018-06-03 Thread Nixiaoming
Hello I have trouble reading the code, I hope you can help guide The function sata_print_link_status in the file drivers/ata/libata-core.c checks the return value when the function sata_scr_read is called on line 3009, but does not check the return value when calling sata_scr_read on line 3011.

linux-next: build failure after merge of the drm-msm tree

2018-06-03 Thread Stephen Rothwell
Hi Rob, After merging the drm-msm tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/gpu/drm/msm/adreno/a5xx_gpu.o: In function `a5xx_gpu_busy': a5xx_gpu.c:(.text+0xcc): undefined reference to `__aeabi_uldivmod' Caused by commit dd4ff3063899 ("drm/msm: re-factor

[PATCH v3] kbuild: check for pkg-config on make {menu,n,g.x}config

2018-06-03 Thread Randy Dunlap
From: Randy Dunlap Each of 'make {menu,n,g,x}config' uses (needs) pkg-config to make sure that other required files are present and to determine build flags settings, but none of these check that pkg-config itself is present. Add a check for all 4 of these targets and update Documentation/process

[PATCH] rtc:ds1307:it assume 20xx not 19xx.

2018-06-03 Thread Linkui
If we settime between 1970 and 2000. for example: $ date 052915571978 $ hwclock -w it will be wrong, this patch fix it. Signed-off-by: Linkui --- drivers/rtc/rtc-ds1307.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-d

Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-03 Thread 禹舟键
Hi Tetsuo > Since origin_memcg_name is printed for both memcg OOM and !memcg OOM, it is > strange that origin_memcg_name is updated only when memcg != NULL. Have you > really tested !memcg OOM case? if memcg == NULL , origin_memcg_name will also be NULL, so the length of it is 0. origin_memcg_na

[PATCH v2] x86/mce: add CMCI support for Centaur CPUs

2018-06-03 Thread David Wang
New Centaur CPU support CMCI mechanism, which is compatible with INTEL CMCI. Signed-off-by: David Wang Changes from v1 to v2: *1, add vendor check for Centaur CPU in cmci_supported. *2, Only call intel_init_cmci for Centaur CPU in mce_intel_feature_init function. --- arch/x86/Kconfig

Re: About GPL license compliance of Tesla Model S, Linux kernel 4.4

2018-06-03 Thread Geunsik Lim
FYI, https://sfconservancy.org/blog/2018/may/18/tesla-incomplete-ccs/ On Sun, Nov 26, 2017 at 8:23 PM, Geunsik Lim wrote: > Here is my next activity. > > After reading http://gpl-violations.org/helping/, > I have reported this issue to solve a potential GPL misuse about the > Linux kernel open so

Re: [PATCH] scripts/faddr2line: show the code context

2018-06-03 Thread Du, Changbin
On Tue, May 29, 2018 at 06:03:32PM +0200, Peter Zijlstra wrote: > On Mon, Mar 19, 2018 at 03:23:25PM +0800, changbin...@intel.com wrote: > > From: Changbin Du > > > > Inspired by gdb command 'list', show the code context of target lines. > > Here is a example: > > > > $ scripts/faddr2line vmlinu

Re: [PATCH] scripts/faddr2line: show the code context

2018-06-03 Thread Du, Changbin
On Wed, May 30, 2018 at 08:01:48AM +1000, NeilBrown wrote: > On Tue, May 29 2018, Peter Zijlstra wrote: > > > On Tue, May 29, 2018 at 12:07:10PM -0500, Josh Poimboeuf wrote: > >> Yeah, this change really should have been an optional arg. It hurt the > >> readability and compactness of the output.

Re: [PATCH] x86/mce: add CMCI support for Centaur CPUs

2018-06-03 Thread David Wang
> -Original Mail- > Sender: Borislav Petkov [mailto:b...@alien8.de] > Time: 2018年6月1日 17:38 > Receiver: David Wang > CC: tony.l...@intel.com; mi...@redhat.com; t...@linutronix.de; > h...@zytor.com; gre...@linuxfoudation.org; x...@kernel.org; > linux-kernel@vger.kernel.org; linux-e...@vger.

Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-03 Thread 禹舟键
Hi Mike > Please keep the brief description of the function actually brief and move the > detailed explanation after the parameters description. Thanks for your advice. > The allocation constraint is detected by the dump_header() callers, why not > just use it here? David suggest that constraint

Re: [PATCH V2 4/4] clk: imx6ul: remove clks_init_on array

2018-06-03 Thread Fabio Estevam
On Sun, Jun 3, 2018 at 10:06 PM, Anson Huang wrote: > Clock framework will enable those clocks registered > with CLK_IS_CRITICAL flag, so no need to have > clks_init_on array during clock initialization now. > > ARM clock is busy divider type which has the > CLK_IS_CRITICAL flag set by default whe

Re: [PATCH V2 3/4] clk: imx6sx: remove clks_init_on array

2018-06-03 Thread Fabio Estevam
On Sun, Jun 3, 2018 at 10:06 PM, Anson Huang wrote: > Clock framework will enable those clocks registered > with CLK_IS_CRITICAL flag, so no need to have > clks_init_on array during clock initialization now. > > ARM clock is busy divider type which has the > CLK_IS_CRITICAL flag set by default whe

Re: [PATCH V2 2/4] clk: imx6sl: remove clks_init_on array

2018-06-03 Thread Fabio Estevam
On Sun, Jun 3, 2018 at 10:06 PM, Anson Huang wrote: > Clock framework will enable those clocks registered > with CLK_IS_CRITICAL flag, so no need to have > clks_init_on array during clock initialization now. > > ARM clock is busy divider type which has the > CLK_IS_CRITICAL flag set by default whe

Re: [PATCH V2 1/4] clk: imx6q: remove clks_init_on array

2018-06-03 Thread Fabio Estevam
On Sun, Jun 3, 2018 at 10:06 PM, Anson Huang wrote: > Clock framework will enable those clocks registered > with CLK_IS_CRITICAL flag, so no need to have > clks_init_on array during clock initialization now. > > ARM clock is busy divider type which has the > CLK_IS_CRITICAL flag set by default whe

Re: [PATCH] pci: qcom: include gpio/consumer.h

2018-06-03 Thread Bjorn Andersson
On Wed 30 May 14:53 PDT 2018, Arnd Bergmann wrote: > When CONFIG_GPIOLIB is disabled, we run into a build failure: > > drivers/pci/dwc/pcie-qcom.c: In function 'qcom_pcie_probe': > drivers/pci/dwc/pcie-qcom.c:1223:16: error: implicit declaration of function > 'devm_gpiod_get_optional'; did you m

[git pull] vfs, pile 4

2018-06-03 Thread Al Viro
misc bits and pieces not fitting into anything more specific. That's probably it for tonight; more to follow tomorrow... The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: gi

[git pull] vfs, pile 3

2018-06-03 Thread Al Viro
Christoph's proc_create_... cleanups series. The following changes since commit 67b8d5c7081221efa252e111cd52532ec6d4266f: Linux 4.17-rc5 (2018-05-13 16:15:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git hch.procfs for you

[PATCH V2 3/4] clk: imx6sx: remove clks_init_on array

2018-06-03 Thread Anson Huang
Clock framework will enable those clocks registered with CLK_IS_CRITICAL flag, so no need to have clks_init_on array during clock initialization now. ARM clock is busy divider type which has the CLK_IS_CRITICAL flag set by default when registered. IPG clock has no clock gate and its parent AHB cl

[PATCH V2 4/4] clk: imx6ul: remove clks_init_on array

2018-06-03 Thread Anson Huang
Clock framework will enable those clocks registered with CLK_IS_CRITICAL flag, so no need to have clks_init_on array during clock initialization now. ARM clock is busy divider type which has the CLK_IS_CRITICAL flag set by default when registered. Signed-off-by: Anson Huang --- This patc

RE: [PATCH 1/4] clk: imx6q: remove clks_init_on array

2018-06-03 Thread Anson Huang
Hi, Fabio Anson Huang Best Regards! > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Sunday, June 3, 2018 8:54 PM > To: Anson Huang > Cc: Shawn Guo ; Sascha Hauer > ; Fabio Estevam ; Michael > Turquette ; Stephen Boyd ; > dl-linux-imx ; moderated list:ARM/F

[PATCH V2 1/4] clk: imx6q: remove clks_init_on array

2018-06-03 Thread Anson Huang
Clock framework will enable those clocks registered with CLK_IS_CRITICAL flag, so no need to have clks_init_on array during clock initialization now. ARM clock is busy divider type which has the CLK_IS_CRITICAL flag set by default when registered. Signed-off-by: Anson Huang --- changes since V1:

[PATCH V2 2/4] clk: imx6sl: remove clks_init_on array

2018-06-03 Thread Anson Huang
Clock framework will enable those clocks registered with CLK_IS_CRITICAL flag, so no need to have clks_init_on array during clock initialization now. ARM clock is busy divider type which has the CLK_IS_CRITICAL flag set by default when registered. IPG clock has no clock gate and its parent AHB cl

Re: [PATCH v2 21/21] sparc64: use match_string() helper

2018-06-03 Thread Yisheng Xie
Hi Andy, On 2018/6/1 19:34, Andy Shevchenko wrote: > On Thu, May 31, 2018 at 2:11 PM, Yisheng Xie wrote: >> match_string() returns the index of an array for a matching string, >> which can be used instead of open coded variant. > >> @@ -512,10 +512,9 @@ static unsigned long __init mdesc_cpu_hwca

[git pull] vfs, pile 2

2018-06-03 Thread Al Viro
More shrink_dcache_parent()-related stuff - killing the main source of potentially contended calls of that on large subtrees. The following changes since commit 4faa99965e027cc057c5145ce45fa772caa04e8d: fix io_destroy()/aio_complete() race (2018-05-23 22:53:22 -0400) are available in t

[git pull] vfs, pile 1

2018-06-03 Thread Al Viro
That pile is the first part of dealing with livelocks, etc. around shrink_dcache_parent(). The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/lin

Re: [PATCH] rpmsg: smd: do not use mananged resources for endpoints and channels

2018-06-03 Thread Bjorn Andersson
On Fri 01 Jun 16:32 PDT 2018, Srinivas Kandagatla wrote: > @@ -1380,11 +1380,13 @@ static void qcom_smd_edge_release(struct device *dev) > { > struct qcom_smd_channel *channel; > struct qcom_smd_edge *edge = to_smd_edge(dev); > + struct list_head *this, *tmp; > > - list_for_e

Re: [PATCH 0/5] rpmsg: Convert to use SPDX license identifiers

2018-06-03 Thread Bjorn Andersson
On Thu 31 May 10:10 PDT 2018, Suman Anna wrote: > Hi Bjorn, > > The following series switches over the current licensing text in > various rpmsg drivers to the SPDX licensing format. I see that you > have already picked up my series for the HwSpinlock drivers, so this > series does the same for t

RE: [PATCH 4.4 011/268] Revert "ipc/shm: Fix shmat mmap nil-page protection"

2018-06-03 Thread Daniel Sangorrin
> -Original Message- > From: Naresh Kamboju [mailto:naresh.kamb...@linaro.org] > Sent: Friday, June 1, 2018 12:55 AM > To: Daniel Sangorrin > Cc: Greg Kroah-Hartman ; open list > ; linux- stable ; > Davidlohr Bueso ; Joe Lawrence ; > Andrea Arcangeli ; Manfred Spraul > ; Andrew Morton ; >

linux-next: manual merge of the overlayfs tree with Linus' tree

2018-06-03 Thread Stephen Rothwell
Hi Miklos, Today's linux-next merge of the overlayfs tree got a conflict in: fs/open.c between commit: af04fadcaa93 ("Revert "fs: fold open_check_o_direct into do_dentry_open"") from Linus' tree and commit: e0e3f7de6435 ("vfs: simplify dentry_open()") from the overlayfs tree. I have n

Re: [PATCH] rcu: Check the range of jiffies_till_{first,next}_fqs when setting them

2018-06-03 Thread Byungchul Park
On 2018-06-04 03:47, Joel Fernandes wrote: On Sun, Jun 03, 2018 at 04:51:06PM +0900, Byungchul Park wrote: On Sun, Jun 3, 2018 at 3:23 PM, Joel Fernandes wrote: On Sun, Jun 03, 2018 at 02:38:04PM +0900, Byungchul Park wrote: On Sun, Jun 3, 2018 at 12:58 PM, Joel Fernandes wrote: On Fri, Jun

Re: [PATCH v3 0/5] staging: mt7621-spi: Fix C Coding style issues.

2018-06-03 Thread NeilBrown
On Sun, Jun 03 2018, Sankalp Negi wrote: > This patch series lists different changes for coding style fixes > as reported by checkpatch.pl, changes can be broken down as : > > 1. Indent switch and case labels at the same level. > 2. Fix a line over 80 columns by refactoring. > 3. Use tabs for inde

Re: [PATCH v3 1/4] seccomp: add a return code to trap to userspace

2018-06-03 Thread Tycho Andersen
Hi Jann, On Sun, Jun 03, 2018 at 08:41:01PM +0200, Jann Horn wrote: > On Sun, Jun 3, 2018 at 2:29 PM Tycho Andersen wrote: > > > > This patch introduces a means for syscalls matched in seccomp to notify > > some other task that a particular filter has been triggered. > > > > The motivation for th

Re: [PATCH v3 4/4] seccomp: add support for passing fds via USER_NOTIF

2018-06-03 Thread Tycho Andersen
Hi Alban, On Sat, Jun 02, 2018 at 09:14:09PM +0200, Alban Crequy wrote: > On Thu, 31 May 2018 at 16:52, Tycho Andersen wrote: > > > > The idea here is that the userspace handler should be able to pass an fd > > back to the trapped task, for example so it can be returned from socket(). > > > > I'v

Re: [PATCH 0/7] staging: mt7621-pci: Fix coding style issues

2018-06-03 Thread NeilBrown
On Sun, Jun 03 2018, Abdun Nihaal wrote: > This patchset fixes the following set of coding style > issues found using checkpatch. > > ERROR: space prohibited after that open parenthesis '(' > ERROR: trailing whitespace > ERROR: space required before the open parenthesis '(' > ERROR: space require

There were supposed to be 200 emails a day on this list.

2018-06-03 Thread Jefferson Carpenter
Where are my 200 emails?

[PATCH v1] clk: tegra: Mark Memory Controller clock as critical

2018-06-03 Thread Dmitry Osipenko
Memory Controller should be always-on. Currently the sibling EMC clock is marked as critical, let's mark MC clock too for consistency. Signed-off-by: Dmitry Osipenko --- drivers/clk/tegra/clk-divider.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clk/tegra/clk

[PATCH v2 0/5] Tegra20 External Memory Controller driver

2018-06-03 Thread Dmitry Osipenko
Hello, Couple years ago the Tegra20 EMC driver was removed from the kernel due to incompatible changes in the Tegra's clock driver. This patchset introduces a modernized EMC driver. Currently the sole purpose of the driver is to initialize DRAM frequency to maximum rate during of the kernels boot-

[PATCH v2 5/5] memory: tegra: Introduce Tegra20 EMC driver

2018-06-03 Thread Dmitry Osipenko
Introduce driver for the External Memory Controller (EMC) found on Tegra20 chips, which controls the external DRAM on the board. The purpose of this driver is to program memory timing for external memory on the EMC clock rate change. Signed-off-by: Dmitry Osipenko --- drivers/memory/tegra/Kconfi

[PATCH v2 2/5] ARM: dts: tegra20: Add interrupt to External Memory Controller

2018-06-03 Thread Dmitry Osipenko
Add interrupt entry into the EMC DT node. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 983dd5c14794..3cd3cb28cfd9 100644 --- a/arch/arm/boot/dts/tegra20.

[PATCH v2 1/5] dt: bindings: tegra20-emc: Document interrupt property

2018-06-03 Thread Dmitry Osipenko
EMC has a dedicated interrupt that is used to notify about completion of HW operations. Document the interrupt property. Signed-off-by: Dmitry Osipenko --- .../devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt| 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetr

[PATCH v2 3/5] clk: tegra20: Turn EMC clock gate into divider

2018-06-03 Thread Dmitry Osipenko
Kernel should never gate the EMC clock as it causes immediate lockup, so removing clk-gate functionality doesn't affect anything. Turning EMC clk gate into divider allows to implement glitch-less EMC scaling, avoiding reparenting to a backup clock. Signed-off-by: Dmitry Osipenko --- drivers/clk/

[PATCH v2 4/5] clk: tegra20: Check whether direct PLLM sourcing is turned off for EMC

2018-06-03 Thread Dmitry Osipenko
Ensure that direct PLLM sourcing is turned off for EMC as we don't support that configuration in the clk driver. Signed-off-by: Dmitry Osipenko --- drivers/clk/tegra/clk-tegra20.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/clk/tegra/clk-tegra20.c b/drivers/clk/tegra/

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

2018-06-03 Thread Hoeun Ryu
From: Hoeun Ryu 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 of hardlockup backtrace (sysctl_hardlockup_all_cpu_backtrace) is true and watchdog_overflow_c

Proposal

2018-06-03 Thread Miss.Victoria Mehmet
Hello I have been trying to contact you. Did you get my business proposal? Best Regards, Miss.Victoria Mehmet

Linux 4.17

2018-06-03 Thread Linus Torvalds
So this last week was pretty calm, even if the pattern of most of the stuff coming in on a Friday made it feel less so as the weekend approached. And while I would have liked even less changes, I really didn't get the feeling that another week would help the release in any way, so here we are, wit

linux-next: Signed-off-by missing for commits in the drm-msm tree

2018-06-03 Thread Stephen Rothwell
Hi Rob, Commit 0c999b56810a ("drm/msm: Refactor complete_commit() to look more the helpers") 240ca9286fcb ("drm/msm: Move implicit sync handling to prepare_fb") a744a6a9e98b ("drm/msm: Issue queued events when disabling crtc") efaa2af8b741 ("drm/msm: Remove msm_commit/worker, use atomic h

  1   2   3   >