Re: [Intel-wired-lan] [PATCH] e1000e: Ignore TSYNCRXCTL when getting I219 clock attributes

2018-05-12 Thread Neftin, Sasha
On 5/10/2018 21:42, Keller, Jacob E wrote: -Original Message- From: Benjamin Poirier [mailto:bpoir...@suse.com] Sent: Thursday, May 10, 2018 12:29 AM To: Kirsher, Jeffrey T Cc: Keller, Jacob E ; Achim Mildenberger ; olouvig...@gmail.com; jaya...@goubiq.com; ehabk...@redhat.com; postmoder

Re: BUG: unable to handle kernel paging request in cgroup_mt_destroy_v1

2018-05-12 Thread Eric Biggers
On Wed, Jan 31, 2018 at 05:58:01PM -0800, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > 3da90b159b146672f830bcd2489dd3a1f4e9e089 (Wed Jan 31 03:07:32 2018 +) > Merge tag 'f2fs-for-4.16-rc1' of > git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs > > So

Re: [PATCH 3/3] sched/fair: schedutil: explicit update only when required

2018-05-12 Thread Joel Fernandes
On Sat, May 12, 2018 at 11:04:43PM -0700, Joel Fernandes wrote: > On Thu, May 10, 2018 at 04:05:53PM +0100, Patrick Bellasi wrote: > > Schedutil updates for FAIR tasks are triggered implicitly each time a > > cfs_rq's utilization is updated via cfs_rq_util_change(), currently > > called by update_c

Re: KASAN: use-after-free Write in irq_bypass_register_consumer

2018-05-12 Thread Eric Biggers
On Thu, Apr 05, 2018 at 08:15:24PM -0700, Eric Biggers wrote: > On Mon, Jan 29, 2018 at 01:29:48PM +0800, Tianyu Lan wrote: > > > > > > On 1/27/2018 7:27 AM, Eric Biggers wrote: > > > On Sat, Dec 16, 2017 at 04:37:02PM +0800, Lan, Tianyu wrote: > > > > The root cause is that kvm_irqfd_assign() an

Re: [PATCH 3/3] sched/fair: schedutil: explicit update only when required

2018-05-12 Thread Joel Fernandes
On Thu, May 10, 2018 at 04:05:53PM +0100, Patrick Bellasi wrote: > Schedutil updates for FAIR tasks are triggered implicitly each time a > cfs_rq's utilization is updated via cfs_rq_util_change(), currently > called by update_cfs_rq_load_avg(), when the utilization of a cfs_rq has > changed, and {a

Re: [PATCH] Revert "cpufreq: schedutil: Don't restrict kthread to related_cpus unnecessarily"

2018-05-12 Thread Joel Fernandes
On Tue, May 08, 2018 at 10:42:37AM +0100, Quentin Perret wrote: > On Tuesday 08 May 2018 at 11:09:57 (+0200), Dietmar Eggemann wrote: > > On 05/08/2018 10:22 AM, Viresh Kumar wrote: > > > On 08-05-18, 08:33, Dietmar Eggemann wrote: > > > > This reverts commit e2cabe48c20efb174ce0c01190f8b9c5f3ea1d1

Re: [PATCH v5 01/13] mm: Assign id to every memcg-aware shrinker

2018-05-12 Thread Vladimir Davydov
On Thu, May 10, 2018 at 12:52:18PM +0300, Kirill Tkhai wrote: > The patch introduces shrinker::id number, which is used to enumerate > memcg-aware shrinkers. The number start from 0, and the code tries > to maintain it as small as possible. > > This will be used as to represent a memcg-aware shrin

Re: [PATCH] pstore: Convert internal records to timespec64

2018-05-12 Thread Kees Cook
On Sat, May 12, 2018 at 10:45 AM, Deepa Dinamani wrote: > Acked-by: Deepa Dinamani Thanks for checking this over! > I will rebase the vfs series on top of this. > I'm a little worried about merge strategy. > Whoever is taking that series should pull in this patch as well? > I could include it

RE: [PATCH v6] mtd: rawnand: use bit-wise majority to recover the contents of ONFI parameter

2018-05-12 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi Boris, I've sent v7 of the patch. Thanks. Jane > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Saturday, May 12, 2018 1:21 AM > To: Wan, Jane (Nokia - US/Sunnyvale) > Cc: miquel.ray...@bootlin.com; dw...@infradead.org; > computersforpe...@gma

[PATCH v7] mtd: rawnand: use bit-wise majority to recover the contents of ONFI parameter

2018-05-12 Thread Wan, Jane (Nokia - US/Sunnyvale)
Per ONFI specification (Rev. 4.0), if all parameter pages have invalid CRC values, the bit-wise majority may be used to recover the contents of the parameter pages from the parameter page copies present. Signed-off-by: Jane Wan --- v7: change debug print messages v6: support the cases that srcb

Re: BUG: workqueue lockup (2)

2018-05-12 Thread Eric Biggers
Hi Tetsuo, On Sun, May 13, 2018 at 11:06:17AM +0900, Tetsuo Handa wrote: > Eric Biggers wrote: > > The bug that this reproducer reproduces was fixed a while ago by commit > > 966031f340185e, so I'm marking this bug report fixed by it: > > > > #syz fix: n_tty: fix EXTPROC vs ICANON interaction wit

[PATCH 2/2] KVM: X86: Fix loss of CR3_PCID_INVD bit when guest writes CR3

2018-05-12 Thread Wanpeng Li
From: Wanpeng Li SDM volume 3, section 4.10.4: * MOV to CR3. The behavior of the instruction depends on the value of CR4.PCIDE: — If CR4.PCIDE = 1 and bit 63 of the instruction’s source operand is 1, the instruction is not required to invalidate any TLB entries or entries in paging-structu

[PATCH 1/2] KVM: X86: Fix CR3 reserve bits

2018-05-12 Thread Wanpeng Li
From: Wanpeng Li MSB of CR3 is a reserved bit if the PCIDE bit is not set in CR4. It should be checked when PCIDE bit is not set, however commit 'd1cd3ce900441 ("KVM: MMU: check guest CR3 reserved bits based on its physical address width")' removes the bit 63 checking unconditionally. This pa

[PATCH] drivers: zorro: zorro.c: Added a blank line after declarations.

2018-05-12 Thread Jacob Enders
From: Jacob Fixed a coding style issue. Signed-off-by: Jacob Enders --- drivers/zorro/zorro.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/zorro/zorro.c b/drivers/zorro/zorro.c index 47728477297e..67fa900572a9 100644 --- a/drivers/zorro/zorro.c +++ b/drivers/zorro/zorro.c @@

Re: [PATCH v3] mm: Change return type to vm_fault_t

2018-05-12 Thread Dan Williams
On Sat, May 12, 2018 at 12:14 PM, Souptick Joarder wrote: >>> It'd be nicer to realign the 2nd and 3rd arguments >>> on the subsequent lines. > >>> >>> vm_fault_t (*fault)(const struct vm_special_mapping *sm, >>> struct vm_area_struct *vma, >>>

Re: [RFC] net: Add new LoRaWAN subsystem

2018-05-12 Thread Jian-Hong Pan
Hi Jiri and Marcel, 2018-05-11 23:39 GMT+08:00 Marcel Holtmann : > Hi Jian-Hong, > >> A Low-Power Wide-Area Network (LPWAN) is a type of wireless >> telecommunication wide area network designed to allow long range >> communications at a low bit rate among things (connected objects), such >> as sen

Applied "ASoC: hisilicon: fix spelling mistake: "uknown" -> "unknown"" to the asoc tree

2018-05-12 Thread Mark Brown
The patch ASoC: hisilicon: fix spelling mistake: "uknown" -> "unknown" has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hou

Re: [PATCH/RFC 0/2] regulator: bd9571mwv: Add support for toggle power switches

2018-05-12 Thread Mark Brown
On Thu, Apr 19, 2018 at 10:13:56PM +0200, Pavel Machek wrote: > On Wed 2018-04-18 15:00:41, Mark Brown wrote: > > Please don't send content free pings and please allow a reasonable time > > for review. People get busy, go on holiday, attend conferences and so > If I follow the logs right, there

Re: [RFC] regmap: allow volatile register writes with cached only read maps

2018-05-12 Thread Mark Brown
On Fri, May 11, 2018 at 12:29:42PM +0200, Jorge Ramirez-Ortiz wrote: > On 05/11/2018 04:00 AM, Mark Brown wrote: > > We don't currently suppress writes except when regmap_update_bits() > > notices that the modification was a noop. You probably want to be using > > regmap_write_bits() here instead

Re: general protection fault in kernfs_kill_sb (2)

2018-05-12 Thread Tetsuo Handa
On 2018/05/13 2:01, syzbot wrote: > Call Trace: >  __list_del_entry include/linux/list.h:117 [inline] >  list_del include/linux/list.h:125 [inline] >  kernfs_kill_sb+0xa0/0x350 fs/kernfs/mount.c:361 >  sysfs_kill_sb+0x22/0x40 fs/sysfs/mount.c:50 >  deactivate_locked_super+0x97/0x100 fs/super.c:316

Re: [PATCH v2 2/2] leds: Add Spreadtrum SC27xx breathing light controller driver

2018-05-12 Thread Baolin Wang
Hi Jacek and Pavel, On 13 May 2018 at 04:44, Jacek Anaszewski wrote: > Hi Pavel, > > > On 05/12/2018 10:35 AM, Pavel Machek wrote: >> >> Hi! >> > I disagree here. We already had the same discussion at the occasion > of the patch [0] and it turned out to be a dead-end [1]. Now we have

Re: BUG: workqueue lockup (2)

2018-05-12 Thread Tetsuo Handa
Eric Biggers wrote: > The bug that this reproducer reproduces was fixed a while ago by commit > 966031f340185e, so I'm marking this bug report fixed by it: > > #syz fix: n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD) Nope. Commit 966031f340185edd ("n_tty: fix EXTPROC vs ICAN

[PATCH ghak81 RFC V2 0/5] audit: group task params

2018-05-12 Thread Richard Guy Briggs
Group the audit parameters for each task into one structure. In particular, remove the loginuid and sessionid values and the audit context pointer from the task structure, replacing them with an audit task information structure to contain them. Use access functions to access audit values. Note:

[PATCH ghak81 RFC V2 1/5] audit: normalize loginuid read access

2018-05-12 Thread Richard Guy Briggs
Recognizing that the loginuid is an internal audit value, use an access function to retrieve the audit loginuid value for the task rather than reaching directly into the task struct to get it. Signed-off-by: Richard Guy Briggs --- kernel/auditsc.c | 18 +- 1 file changed, 9 inser

[PATCH ghak81 RFC V2 3/5] audit: use inline function to get audit context

2018-05-12 Thread Richard Guy Briggs
Recognizing that the audit context is an internal audit value, use an access function to retrieve the audit context pointer for the task rather than reaching directly into the task struct to get it. Signed-off-by: Richard Guy Briggs --- include/linux/audit.h| 14 ++-- include

[PATCH ghak81 RFC V2 5/5] audit: collect audit task parameters

2018-05-12 Thread Richard Guy Briggs
The audit-related parameters in struct task_struct should ideally be collected together and accessed through a standard audit API. Collect the existing loginuid, sessionid and audit_context together in a new struct audit_task_info called "audit" in struct task_struct. See: https://github.com/linu

[PATCH ghak81 RFC V2 4/5] audit: use inline function to set audit context

2018-05-12 Thread Richard Guy Briggs
Recognizing that the audit context is an internal audit value, use an access function to set the audit context pointer for the task rather than reaching directly into the task struct to set it. Signed-off-by: Richard Guy Briggs --- include/linux/audit.h | 6 ++ kernel/auditsc.c | 7 +++-

[PATCH ghak81 RFC V2 2/5] audit: convert sessionid unset to a macro

2018-05-12 Thread Richard Guy Briggs
Use a macro, "AUDIT_SID_UNSET", to replace each instance of initialization and comparison to an audit session ID. Signed-off-by: Richard Guy Briggs --- include/linux/audit.h | 2 +- include/net/xfrm.h | 2 +- include/uapi/linux/audit.h | 1 + init/init_task.c | 3 ++- kern

Re: [BUGFIX PATCH v3 0/4] arm: kprobes: Fix to prohibit probing on unsafe functions

2018-05-12 Thread Masami Hiramatsu
On Sat, 12 May 2018 10:29:57 -0700 Florian Fainelli wrote: > On May 12, 2018 4:31:37 AM PDT, Masami Hiramatsu wrote: > >Hi Russell, > > > >On Tue, 8 May 2018 12:25:03 +0100 > >Russell King - ARM Linux wrote: > > > >> On Fri, May 04, 2018 at 01:14:31PM +0900, Masami Hiramatsu wrote: > >> > Hi, >

[PATCH] hexagon: fix printk format warning in setup.c

2018-05-12 Thread Randy Dunlap
From: Randy Dunlap Fix printk format warning in hexagon/kernel/setup.c: ../arch/hexagon/kernel/setup.c: In function 'setup_arch': ../arch/hexagon/kernel/setup.c:69:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat] where: ext

[PATCH -next] ASoC: omap: add sdma-pcm.c MODULE_LICENSE

2018-05-12 Thread Randy Dunlap
From: Randy Dunlap ASoC: omap: add sdma-pcm.c MODULE_LICENSE Fixes this build warning: WARNING: modpost: missing MODULE_LICENSE() in sound/soc/omap/snd-soc-sdma.o Signed-off-by: Randy Dunlap Cc: Peter Ujfalusi Cc: Jarkko Nikula Cc: Liam Girdwood Cc: Mark Brown --- sound/soc/omap/sdma-pcm

Re: [RFC PATCH v3 3/5] usb: typec: Bus type for alternate modes

2018-05-12 Thread Randy Dunlap
On 05/11/2018 06:18 AM, Heikki Krogerus wrote: > Introducing a simple bus for the alternate modes. Bus allows > binding drivers to the discovered alternate modes the > partners support. > > Signed-off-by: Heikki Krogerus > --- > Documentation/ABI/obsolete/sysfs-class-typec | 48 +++ > Documenta

[PATCH] edac: fix skx_edac build error when ACPI_NFIT=m

2018-05-12 Thread Randy Dunlap
From: Randy Dunlap Prevent build error when CONFIG_ACPI_NFIT=m and CONFIG_EDAC_SKX=y by limiting EDAC_SKX based on how ACPI_NFIT is set. Fixes this build error: drivers/edac/skx_edac.o: In function `get_nvdimm_info': ../drivers/edac/skx_edac.c:399: undefined reference to `nfit_get_smbios_id' Fi

[RFC] m68k: Set up dma mask for platform devices

2018-05-12 Thread Finn Thain
This avoids a WARNING splat when loading the macsonic or macmace driver. Please see commit 205e1b7f51e4 ("dma-mapping: warn when there is no coherent_dma_mask"). This implementation of arch_setup_pdev_archdata() differs from the one in arch/powerpc in that this one avoids clobbering an existing dm

[PATCH] iio: tsl2583: correct values in integration_time_available

2018-05-12 Thread Brian Masney
The times reported by the in_illuminance_integration_time_available sysfs attribute are actually in milliseconds, not microseconds. This patch corrects the times with the correct unit. Signed-off-by: Brian Masney --- drivers/iio/light/tsl2583.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

Re: [PATCH] rcu: Report a quiescent state when it's exactly in the state

2018-05-12 Thread Joel Fernandes
On Sat, May 12, 2018 at 07:41:19AM -0700, Paul E. McKenney wrote: > On Fri, May 11, 2018 at 11:30:37PM -0700, Joel Fernandes wrote: > > On Fri, May 11, 2018 at 10:08:24PM -0700, Paul E. McKenney wrote: > > > On Fri, May 11, 2018 at 03:41:38PM -0700, Joel Fernandes wrote: > > > > On Fri, May 11, 201

Re: [tip/core/rcu,16/21] rcu: Add funnel locking to rcu_start_this_gp()

2018-05-12 Thread Joel Fernandes
On Sat, May 12, 2018 at 07:44:38AM -0700, Paul E. McKenney wrote: > On Sat, May 12, 2018 at 07:40:02AM -0700, Paul E. McKenney wrote: > > On Fri, May 11, 2018 at 11:03:25PM -0700, Joel Fernandes wrote: > > > On Sun, Apr 22, 2018 at 08:03:39PM -0700, Paul E. McKenney wrote: > > > > The rcu_start_thi

[PATCH] MAINTAINERS: add entry for LEGO MINDSTORMS EV3

2018-05-12 Thread David Lechner
This adds an entry to MAINTAINERS for LEGO MINDSTORMS EV3 (an ARM-based robotics platform). The files listed are exclusive to this device. Add me as reviewer so that I will be cc'ed for any changes to these files. Signed-off-by: David Lechner --- MAINTAINERS | 7 +++ 1 file changed, 7 insert

Re: BUG: workqueue lockup (2)

2018-05-12 Thread Eric Biggers
On Tue, Dec 19, 2017 at 04:25:01AM -0800, syzbot wrote: > syzkaller has found reproducer for the following crash on > f3b5ad89de16f5d42e8ad36fbdf85f705c1ae051 > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw c

Re: [RFC PATCH v3 0/5] usb: typec: Support for Alternate Modes

2018-05-12 Thread Guenter Roeck
On 05/11/2018 06:18 AM, Heikki Krogerus wrote: Hi, This is the third version of my proposal for more complete alternate mode support. In this version I'm including a proposal for the mux handling. Basically, I'm proposing that every supported alternate will have its own mux handle. That should a

[PATCH] ARM: dts: da850-lego-ev3: remove unnecessary gpio-keys properties

2018-05-12 Thread David Lechner
This removes the #address-cells and #size-cells properties from the gpio-keys node in the da850-lego-ev3 device tree. These properties are not needed since the child nodes don't have a reg property. Signed-off-by: David Lechner --- arch/arm/boot/dts/da850-lego-ev3.dts | 2 -- 1 file changed, 2 d

Re: [PATCH] staging: lustre: Use 'kvfree()' for memory allocated by 'kvzalloc()'

2018-05-12 Thread NeilBrown
On Sat, May 12 2018, Christophe JAILLET wrote: > 'buf' is allocated with 'kvzalloc()'. 'kvfree()' must be used to free it. > > Signed-off-by: Christophe JAILLET Reviewed-by: NeilBrown Thanks. We could possible add: Fixes: 11c647caf74b ("staging: lustre: obdclass: variable llog chunk size") ju

Herzlichen Glückwunsch

2018-05-12 Thread Euro Millions
Herzlichen Glückwunsch, Sie haben €650.000,00 bei den monatlichen Gewinnspielen von Euro Millions / Google Promo am 5. Mai 2018 gewonnen. Kontaktieren Sie unseren Schadenregulierungsbeauftragten mit den folgenden Informationen Vollständiger Name Heimatadresse Geschlecht Alter Besetzung Telefon

Re: [RFC PATCH v3 5/5] usb: typec: tcpm: Support for Alternate Modes

2018-05-12 Thread Andy Shevchenko
On Fri, May 11, 2018 at 4:18 PM, Heikki Krogerus wrote: > This adds more complete handling of VDMs and registration of > partner alternate modes, and introduces callbacks for > alternate mode operations. > > Only DFP role is supported for now. > + for (i = 0; i < cnt; i++) > +

[tip:x86/cpu] x86/CPU/AMD: Derive CPU topology from CPUID function 0xB when available

2018-05-12 Thread tip-bot for Suravee Suthikulpanit
Commit-ID: 3986a0a805e668a63fac0ca2cdfa8db951f87c4b Gitweb: https://git.kernel.org/tip/3986a0a805e668a63fac0ca2cdfa8db951f87c4b Author: Suravee Suthikulpanit AuthorDate: Fri, 27 Apr 2018 16:48:01 -0500 Committer: Thomas Gleixner CommitDate: Sun, 6 May 2018 12:49:16 +0200 x86/CPU/AMD: D

[tip:x86/cpu] x86/CPU: Modify detect_extended_topology() to return result

2018-05-12 Thread tip-bot for Suravee Suthikulpanit
Commit-ID: 6c4f5abaf3566dbf5b26e7b14f4392be400f12e3 Gitweb: https://git.kernel.org/tip/6c4f5abaf3566dbf5b26e7b14f4392be400f12e3 Author: Suravee Suthikulpanit AuthorDate: Fri, 27 Apr 2018 16:48:00 -0500 Committer: Thomas Gleixner CommitDate: Sun, 6 May 2018 12:49:16 +0200 x86/CPU: Modif

[tip:x86/cpu] x86/CPU/AMD: Calculate last level cache ID from number of sharing threads

2018-05-12 Thread tip-bot for Suravee Suthikulpanit
Commit-ID: 68091ee7ac3c1a8786fe1bebbd616b14236efb99 Gitweb: https://git.kernel.org/tip/68091ee7ac3c1a8786fe1bebbd616b14236efb99 Author: Suravee Suthikulpanit AuthorDate: Fri, 27 Apr 2018 16:34:37 -0500 Committer: Thomas Gleixner CommitDate: Sun, 6 May 2018 12:49:15 +0200 x86/CPU/AMD: C

Re: [PATCH v10 00/27] ARM: davinci: convert to common clock framework​

2018-05-12 Thread David Lechner
On 05/11/2018 10:26 AM, Sekhar Nori wrote: Hi David, On Wednesday 09 May 2018 10:55 PM, David Lechner wrote: This series converts mach-davinci to use the common clock framework. The series works like this, the first 3 patches fix some issues with the clock drivers that have already been accept

[tip:x86/cpu] x86/CPU: Rename intel_cacheinfo.c to cacheinfo.c

2018-05-12 Thread tip-bot for Borislav Petkov
Commit-ID: 1d200c078d0e3e49e2995b9d25fef8926d491f4f Gitweb: https://git.kernel.org/tip/1d200c078d0e3e49e2995b9d25fef8926d491f4f Author: Borislav Petkov AuthorDate: Fri, 27 Apr 2018 16:34:36 -0500 Committer: Thomas Gleixner CommitDate: Sun, 6 May 2018 12:49:15 +0200 x86/CPU: Rename inte

[tip:x86/cpu] perf/events/amd/uncore: Fix amd_uncore_llc ID to use pre-defined cpu_llc_id

2018-05-12 Thread tip-bot for Suravee Suthikulpanit
Commit-ID: 812af433038f984fd951224e8239b09188e36a13 Gitweb: https://git.kernel.org/tip/812af433038f984fd951224e8239b09188e36a13 Author: Suravee Suthikulpanit AuthorDate: Fri, 27 Apr 2018 16:34:35 -0500 Committer: Thomas Gleixner CommitDate: Sun, 6 May 2018 12:49:15 +0200 perf/events/am

[tip:x86/cpu] x86/CPU/AMD: Have smp_num_siblings and cpu_llc_id always be present

2018-05-12 Thread tip-bot for Borislav Petkov
Commit-ID: f8b64d08dde2714c62751d18ba77f4aeceb161d3 Gitweb: https://git.kernel.org/tip/f8b64d08dde2714c62751d18ba77f4aeceb161d3 Author: Borislav Petkov AuthorDate: Fri, 27 Apr 2018 16:34:34 -0500 Committer: Thomas Gleixner CommitDate: Sun, 6 May 2018 12:49:14 +0200 x86/CPU/AMD: Have sm

drivers/edac/skx_edac.c:399: undefined reference to `nfit_get_smbios_id'

2018-05-12 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 427fbe89261d8f11cd20b5a4ba94e977061f69d6 commit: 58ca9ac1463d07d24b9fa8befe065192abca6f76 EDAC, skx_edac: Detect non-volatile DIMMs date: 8 weeks ago config: x86_64-randconfig-v0-05130337 (attached as .con

[PATCH] clk: davinci: psc-dm355: fix ASP0/1 clkdev lookups

2018-05-12 Thread David Lechner
The clkdev lookups for the ASP0/1 devices on TI DM355 were declared, but not assigned to any LPSC. This assigns the clkdev lookups to the correct LPSCs. Reported-by: Sekhar Nori Signed-off-by: David Lechner --- drivers/clk/davinci/psc-dm355.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletio

Re: [PATCH v2 2/2] leds: Add Spreadtrum SC27xx breathing light controller driver

2018-05-12 Thread Jacek Anaszewski
Hi Pavel, On 05/12/2018 10:35 AM, Pavel Machek wrote: Hi! I disagree here. We already had the same discussion at the occasion of the patch [0] and it turned out to be a dead-end [1]. Now we have neither the driver nor the generic pattern interface. We also already have some older LED class dr

Re: [PATCH bpf v3] x86/cpufeature: bpf hack for clang not supporting asm goto

2018-05-12 Thread Thomas Gleixner
On Sat, 12 May 2018, Alexei Starovoitov wrote: > On Thu, May 10, 2018 at 10:58 AM, Alexei Starovoitov > wrote: > > I see no option, but to fix the kernel. > > Regardless whether it's called user space breakage or kernel breakage. There is a big difference. If you are abusing a kernel internal hea

[no subject]

2018-05-12 Thread Badari Pulavarty
hi Lkml https://bit.ly/2KhYIvQ Badari Pulavarty

Re: drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to `dcdbas_smi_request'

2018-05-12 Thread Randy Dunlap
On 05/12/2018 12:15 PM, Darren Hart wrote: > On Sat, May 12, 2018 at 11:51:02AM -0700, Randy Dunlap wrote: >> On 05/12/2018 11:32 AM, Darren Hart wrote: >>> On Sat, May 12, 2018 at 05:28:05PM +0800, kbuild test robot wrote: Hi Mario, FYI, the error/warning still remains. tr

Re: KASAN: use-after-free Read in sit_tunnel_xmit

2018-05-12 Thread Eric Biggers
On Thu, Feb 15, 2018 at 04:22:28PM -0800, Cong Wang wrote: > On Tue, Feb 13, 2018 at 10:48 AM, Dmitry Vyukov wrote: > > On Mon, Oct 30, 2017 at 7:41 PM, Cong Wang wrote: > >> On Mon, Oct 30, 2017 at 8:34 AM, syzbot > >> > >> wrote: > >>> Hello, > >>> > >>> syzkaller hit the following crash on >

Re: KASAN: use-after-free Read in sctp_packet_transmit

2018-05-12 Thread Eric Biggers
On Fri, Jan 05, 2018 at 02:07:01PM -0800, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 8a4816cad00bf14642f0ed6043b32d29a05006ce > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console ou

Re: [PATCH] drm: Fix render node numbering regression from control node removal.

2018-05-12 Thread Daniel Vetter
On Tue, May 08, 2018 at 05:14:25PM -0700, Eric Anholt wrote: > drm_minor_alloc() does multiplication on this enum, so the removal > ended up moving render nodes down from 128 base to 64. This caused > Mesa's surfaceless backend to be unable to open the render nodes, > since it was still looking up

Re: [PATCH 4.4 15/50] s390/alternative: use a copy of the facility bit mask

2018-05-12 Thread Greg Kroah-Hartman
On Tue, May 08, 2018 at 09:20:55AM +0200, Greg Kroah-Hartman wrote: > On Mon, May 07, 2018 at 08:07:07AM +0200, Martin Schwidefsky wrote: > > On Fri, 4 May 2018 15:18:08 -0700 > > Greg Kroah-Hartman wrote: > > > > > On Fri, May 04, 2018 at 09:37:20AM +0200, Jiri Slaby wrote: > > > > On 04/27/2018

Re: drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to `dcdbas_smi_request'

2018-05-12 Thread Darren Hart
On Sat, May 12, 2018 at 11:51:02AM -0700, Randy Dunlap wrote: > On 05/12/2018 11:32 AM, Darren Hart wrote: > > On Sat, May 12, 2018 at 05:28:05PM +0800, kbuild test robot wrote: > >> Hi Mario, > >> > >> FYI, the error/warning still remains. > >> > >> tree: https://git.kernel.org/pub/scm/linux/ker

Re: [PATCH v3] mm: Change return type to vm_fault_t

2018-05-12 Thread Souptick Joarder
>> It'd be nicer to realign the 2nd and 3rd arguments >> on the subsequent lines. >> >> vm_fault_t (*fault)(const struct vm_special_mapping *sm, >> struct vm_area_struct *vma, >> struct vm_fault *vmf); >> > > It'd be nicer if people didn't

Re: [PATCH v2] tty: implement led triggers

2018-05-12 Thread Uwe Kleine-König
On Thu, May 10, 2018 at 12:25:21PM +0100, Robin Murphy wrote: > On 10/05/18 12:14, Pavel Machek wrote: > > Hi! > > > > > > > > @@ -499,6 +500,7 @@ static void flush_to_ldisc(struct work_struct > > > > > > *work) > > > > > > struct tty_buffer *head = buf->head; > > > > > >

Re: [PATCH v3 1/3] leds: triggers: provide led_trigger_register_format()

2018-05-12 Thread Uwe Kleine-König
On Thu, May 10, 2018 at 01:22:29PM +0200, Pavel Machek wrote: > On Thu 2018-05-10 13:21:01, Pavel Machek wrote: > > Hi! > > > > > This allows one to simplify drivers that provide a trigger with a > > > non-constant name (e.g. one trigger per device with the trigger name > > > depending on the devi

Re: drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to `dcdbas_smi_request'

2018-05-12 Thread Randy Dunlap
On 05/12/2018 11:32 AM, Darren Hart wrote: > On Sat, May 12, 2018 at 05:28:05PM +0800, kbuild test robot wrote: >> Hi Mario, >> >> FYI, the error/warning still remains. >> >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> master >> head: f0ab773f5c96c29a5227234c4b5

Re: [Ksummit-discuss] bug-introducing patches

2018-05-12 Thread Guenter Roeck
On 05/11/2018 09:38 PM, Stephen Rothwell wrote: Hi all, On Wed, 9 May 2018 20:47:27 +1000 Stephen Rothwell wrote: On Wed, 9 May 2018 18:03:46 +0900 Mark Brown wrote: On Wed, May 09, 2018 at 10:47:57AM +0200, Daniel Vetter wrote: On Wed, May 9, 2018 at 10:44 AM, Mark Brown wrote: I

Re: drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to `dcdbas_smi_request'

2018-05-12 Thread Darren Hart
On Sat, May 12, 2018 at 05:28:05PM +0800, kbuild test robot wrote: > Hi Mario, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: f0ab773f5c96c29a5227234c4b5a820f5591b74d > commit: 25d47027e1003546bfd8964b44

Re: [RFC][PATCH 07/10] tracing: Have zero size length in filter logic be full string

2018-05-12 Thread Yann Ylavic
On Fri, May 11, 2018 at 9:49 PM, Steven Rostedt wrote: [] > > static int regex_match_front(char *str, struct regex *r, int len) > { > - if (len < r->len) > + if (len && len < r->len) > return 0; > > - if (strncmp(str, r->pattern, r->len) == 0) > -

Re: [PATCH] mtd: nand: Add support for reading ooblayout from device tree

2018-05-12 Thread Paul Cercueil
Le sam. 12 mai 2018 à 20:02, Boris Brezillon a écrit : On Sat, 12 May 2018 19:42:49 +0200 Paul Cercueil wrote: >> >> My motivation is to get rid of this (move it to devicetree): >> >> >> >> >> https://elixir.bootlin.com/linux/latest/source/arch/mips/jz4740/board-qi_lb60.c#L93 >>

[PATCH v3 2/2] dvbsky: Add support for MyGica T230C v2

2018-05-12 Thread Thomas Hollstegge
Support for newer revisions of the MyGica T230C, shipping with a different USB pid. Although sometimes referred to as T230C2, the device is sold under its original name T230C. Besides a slightly different PCB layout and some different minor components, it utilizes the same bridge, demodulator and

[PATCH v3 1/2] si2168: Set TS clock mode and frequency

2018-05-12 Thread Thomas Hollstegge
Some devices require a higher TS clock frequency to demodulate some muxes. This adds two optional parameters to control the TS clock frequency mode as well as the frequency. Signed-off-by: Thomas Hollstegge --- drivers/media/dvb-frontends/si2168.c | 20 +++- drivers/media/dv

[PATCH v3 0/2] media: dvbsky: Add support for MyGica T230C v2

2018-05-12 Thread Thomas Hollstegge
Add support for newer revisions of the USB DVB-C/DVB-T/DVB-T2 stick MyGica T230C, sometimes referred to as MyGica T230C2. The device needs a fixed TS clock frequency of 10MHz to be able to demod some channels. This is done by adding two new optional configuration options for the Si2168 demod (ts_cl

Re: [PATCH] mtd: nand: Add support for reading ooblayout from device tree

2018-05-12 Thread Boris Brezillon
On Sat, 12 May 2018 19:42:49 +0200 Paul Cercueil wrote: > >> >> My motivation is to get rid of this (move it to devicetree): > >> >> > >> >> > >> https://elixir.bootlin.com/linux/latest/source/arch/mips/jz4740/board-qi_lb60.c#L93 > >> > >> >> And enable the support of other boards wit

[PATCH V2] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

2018-05-12 Thread sumeet p
Correct the typecast with const to struct thermal_cooling_device_ops. It is the last argument to the function thermal_of_cooling_device_register and this argument is of type const. So, declare this structure thermal_cooling_device_ops as constant. Signed-off-by: sumeet p --- Changes in V2: - Upda

Re: [PATCH] pstore: Convert internal records to timespec64

2018-05-12 Thread Deepa Dinamani
Acked-by: Deepa Dinamani I will rebase the vfs series on top of this. I'm a little worried about merge strategy. Whoever is taking that series should pull in this patch as well? I could include it as one of the patches in the series if you prefer. -Deepa On Fri, May 11, 2018 at 11:57 PM, Kees

Re: [PATCH v3 9/9] staging: iio: tsl2x7x/tsl2772: move out of staging

2018-05-12 Thread Jonathan Cameron
On Sat, 12 May 2018 08:36:30 -0400 Brian Masney wrote: > On Sat, May 12, 2018 at 12:44:37PM +0100, Jonathan Cameron wrote: > > On Thu, 10 May 2018 20:32:06 -0400 > > Brian Masney wrote: > > > > > On Thu, May 10, 2018 at 08:12:23PM -0400, Brian Masney wrote: > > > > Move the tsl2772 driver o

Re: [PATCH] mtd: nand: Add support for reading ooblayout from device tree

2018-05-12 Thread Paul Cercueil
>> My motivation is to get rid of this (move it to devicetree): >> >> https://elixir.bootlin.com/linux/latest/source/arch/mips/jz4740/board-qi_lb60.c#L93 >> And enable the support of other boards with custom OOB layouts. > > Can you list the different layouts you have? I'm pretty sure

Re: [BUGFIX PATCH v3 0/4] arm: kprobes: Fix to prohibit probing on unsafe functions

2018-05-12 Thread Florian Fainelli
On May 12, 2018 4:31:37 AM PDT, Masami Hiramatsu wrote: >Hi Russell, > >On Tue, 8 May 2018 12:25:03 +0100 >Russell King - ARM Linux wrote: > >> On Fri, May 04, 2018 at 01:14:31PM +0900, Masami Hiramatsu wrote: >> > Hi, >> > >> > This is the 3rd version of bugfix series for kprobes on arm. >> > T

Re: [RFC][PATCH 07/10] tracing: Have zero size length in filter logic be full string

2018-05-12 Thread Steven Rostedt
On Sat, 12 May 2018 21:40:29 +0900 Masami Hiramatsu wrote: > > static int regex_match_full(char *str, struct regex *r, int len) > > { > > - if (strncmp(str, r->pattern, len) == 0) > > - return 1; > > - return 0; > > + /* len means str is dynamic and ends with '\0' */ >

Re: [PATCH] rcu: Report a quiescent state when it's exactly in the state

2018-05-12 Thread Steven Rostedt
On Sat, 12 May 2018 07:41:19 -0700 "Paul E. McKenney" wrote: > Don't get me wrong, this discussion was quite useful to me. We probably > need to at least change the comments, and perhaps the code as well. But > I agree that we need input from Peter and Steven to make much more forward > progres

[PATCH] net/mlx5: Use 'kvfree()' for memory allocated by 'kvzalloc()'

2018-05-12 Thread Christophe JAILLET
'out' is allocated with 'kvzalloc()'. 'kvfree()' must be used to free it. Signed-off-by: Christophe JAILLET --- drivers/net/ethernet/mellanox/mlx5/core/vport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/vport.c b/drivers/net/ether

general protection fault in kernfs_kill_sb (2)

2018-05-12 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f0ab773f5c96 Merge branch 'akpm' (patches from Andrew) git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=140ce81780 kernel config: https://syzkaller.appspot.com/x/.config?x=fcce42b221691ff9 dashboar

Re: [RFC: Coding Style] Best way to split a long function declaration with modifiers

2018-05-12 Thread Joe Perches
On Sat, 2018-05-12 at 19:07 +0300, igor.sto...@gmail.com wrote: > On 12 May 2018 at 18:41, Joe Perches wrote: > > > > > I think the first style should be preferred when the > > combined character length of is > > relatively long. > > > > thank you, I could provide a patch to the docs for thi

[GIT PULL] Thermal management updates for v4.17-rc5

2018-05-12 Thread Zhang Rui
Hi, Linus, Please pull from   git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal Management updates for v4.17-rc5 with top-most commit 60abce9f43d812dfec6687a10ca30be380f6f97a:   Merge branch 'thermal-soc' into next (2018-05-11 09:37:21 +0800) on t

Re: [PATCH] selftests: android: delete RUN_TESTS and EMIT_TESTS overrides

2018-05-12 Thread Pintu Kumar
On Thu, May 3, 2018 at 2:48 AM, Shuah Khan (Samsung OSG) wrote: > Delete RUN_TESTS and EMIT_TESTS overrides and use common defines in > lib.mk. Common defines work just fine and there is no need to define > custom overrides. > > Signed-off-by: Shuah Khan (Samsung OSG) > --- > tools/testing/selft

Re: [RFC: Coding Style] Best way to split a long function declaration with modifiers

2018-05-12 Thread Igor Stoppa
On 12/05/18 18:41, Joe Perches wrote: I personally like more the former, not to mention that it uses also one line less, but it seems less common in the sources. The coding style references do not seem to say anything explicit about which style to prefer. thank you, I could provide a patch to

Re: [PATCH bpf v3] x86/cpufeature: bpf hack for clang not supporting asm goto

2018-05-12 Thread Alexei Starovoitov
On Thu, May 10, 2018 at 10:58 AM, Alexei Starovoitov wrote: > I see no option, but to fix the kernel. > Regardless whether it's called user space breakage or kernel breakage. Peter, could you please ack the patch or better yet take it into tip tree and send to Linus asap ? rc5 is almost here and

Re: [RFC: Coding Style] Best way to split a long function declaration with modifiers

2018-05-12 Thread Joe Perches
On Sat, 2018-05-12 at 18:19 +0300, Igor Stoppa wrote: > I have been wondering if it's ok to break a long (function declaration) > line in the following way: > > static __always_inline > struct foo_bar *__get_foo_bar(type1 parm1, type2 parm2, type3 parm3) > > > instead of: > > static __always_i

[RFC: Coding Style] Best way to split a long function declaration with modifiers

2018-05-12 Thread Igor Stoppa
Hi, I have been wondering if it's ok to break a long (function declaration) line in the following way: static __always_inline struct foo_bar *__get_foo_bar(type1 parm1, type2 parm2, type3 parm3) instead of: static __always_inline struct foo_bar *__get_foo_bar(type1 parm1,

Re: [PATCH] mtd: nand: Add support for reading ooblayout from device tree

2018-05-12 Thread Boris Brezillon
On Sat, 12 May 2018 11:38:26 -0300 Paul Cercueil wrote: > Le sam. 12 mai 2018 à 10:42, Boris Brezillon > a écrit : > > On Sat, 12 May 2018 08:55:40 -0300 > > Paul Cercueil wrote: > > > >> Hi Boris, > >> > >> Le 12 mai 2018 02:55, Boris Brezillon > >> a écrit : > >> > > >> > Hi Paul

[RFC] acpi: Declare memory allocations in acpi_ut_create_internal_object_dbg as non-leaks

2018-05-12 Thread Larry Finger
In kernel 4.17.0-rcX, kmemleak reports 9 leaks with tracebacks similat to the following: unreferenced object 0x880224a077e0 (size 72): comm "swapper/0", pid 1, jiffies 4294892358 (age 1022.636s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 0e 01 01 00 00 00 00 01 ...

Re: [tip/core/rcu,16/21] rcu: Add funnel locking to rcu_start_this_gp()

2018-05-12 Thread Paul E. McKenney
On Sat, May 12, 2018 at 07:40:02AM -0700, Paul E. McKenney wrote: > On Fri, May 11, 2018 at 11:03:25PM -0700, Joel Fernandes wrote: > > On Sun, Apr 22, 2018 at 08:03:39PM -0700, Paul E. McKenney wrote: > > > The rcu_start_this_gp() function had a simple form of funnel locking that > > > used only t

Re: [PATCH] rcu: Report a quiescent state when it's exactly in the state

2018-05-12 Thread Paul E. McKenney
On Fri, May 11, 2018 at 11:30:37PM -0700, Joel Fernandes wrote: > On Fri, May 11, 2018 at 10:08:24PM -0700, Paul E. McKenney wrote: > > On Fri, May 11, 2018 at 03:41:38PM -0700, Joel Fernandes wrote: > > > On Fri, May 11, 2018 at 09:17:46AM -0700, Paul E. McKenney wrote: > > > > On Fri, May 11, 201

Re: [PATCH] mtd: nand: Add support for reading ooblayout from device tree

2018-05-12 Thread Paul Cercueil
Le sam. 12 mai 2018 à 10:42, Boris Brezillon a écrit : On Sat, 12 May 2018 08:55:40 -0300 Paul Cercueil wrote: Hi Boris, Le 12 mai 2018 02:55, Boris Brezillon a écrit : > > Hi Paul, > > On Fri, 11 May 2018 23:29:12 +0200 > Paul Cercueil wrote: > > > By specifying the properti

Re: [tip/core/rcu,16/21] rcu: Add funnel locking to rcu_start_this_gp()

2018-05-12 Thread Paul E. McKenney
On Fri, May 11, 2018 at 11:03:25PM -0700, Joel Fernandes wrote: > On Sun, Apr 22, 2018 at 08:03:39PM -0700, Paul E. McKenney wrote: > > The rcu_start_this_gp() function had a simple form of funnel locking that > > used only the leaves and root of the rcu_node tree, which is fine for > > systems wit

Re: [PATCH v3] mm: Change return type to vm_fault_t

2018-05-12 Thread Matthew Wilcox
On Fri, May 11, 2018 at 11:20:29PM -0700, Joe Perches wrote: > It'd be nicer to realign the 2nd and 3rd arguments > on the subsequent lines. > > vm_fault_t (*fault)(const struct vm_special_mapping *sm, > struct vm_area_struct *vma, > struct

Re: [External] Re: [PATCH v1] include/linux/gfp.h: getting rid of GFP_ZONE_TABLE/BAD

2018-05-12 Thread Matthew Wilcox
On Sat, May 12, 2018 at 11:35:00AM +, Huaisheng HS1 Ye wrote: > > The point of this exercise is to actually encode the zone number in > > the bottom bits of the GFP flags instead of something which has to be > > interpreted into a zone number. When somebody sets __GFP_MOVABLE, they > > should

[PATCH] remoteproc: Introduce prepare/unprepare ops for rproc coredump

2018-05-12 Thread Sibi Sankar
In some occasions the remoteproc device might need to prepare some hardware before the coredump can be performed and cleanup the state afterwards. Q6V5 modem requires the mba to be loaded before the coredump and some cleanup of the resources afterwards. Signed-off-by: Sibi Sankar --- This patch

Re: [PATCH] [stable 4.9] arm64: Add work around for Arm Cortex-A55 Erratum 1024718

2018-05-12 Thread Greg KH
On Fri, May 11, 2018 at 05:06:20PM +0100, Suzuki K Poulose wrote: > On 11/05/18 16:47, Greg KH wrote: > > On Fri, May 11, 2018 at 02:51:15PM +0100, Suzuki K Poulose wrote: > > > commit ece1397cbc89c51914fae1aec729539cfd8bd62b upstream > > > > > > Some variants of the Arm Cortex-55 cores (r0p0, r0p

  1   2   >