QEMU ATA hard disk not detected

2018-05-13 Thread Paul Menzel
Dear Linux folks, In QEMU 2.11 a disk is only detected by the AHCI driver and not by libata. On QEMU’s Standard PC (i440FX + PIIX, 1996), that causes an attached drive not to be detected as that machine doesn’t support AHCI. Here is the output with the machine Standard PC (Q35 + ICH9,

Re: [PATCH] swiotlb: Silent unwanted warning "buffer is full"

2018-05-13 Thread Jean Delvare
On Sat, 12 May 2018 12:02:40 +0200, Christoph Hellwig wrote: > Thanks. > > I manually applied this for 4.17-rc, as the mail unfortunately was > garbled. Sorry about that. Because of the umlauts in the Cc list, the mail was encoded as quoted-printable instead of 7bit. I guess this is what caused

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

2018-05-13 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()

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

2018-05-13 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 > >

another branch for linux-next

2018-05-13 Thread Christoph Hellwig
Hi Stephen, can you please add the for-linus branch of git://git.infradead.org/users/hch/dma-mapping.git to linux-next? You already carry the for-next branch, but it turns out I'll need another branch for late fixes so that for-next can remain unmerged and unrebased.

[PATCH v2] {net, IB}/mlx5: Use 'kvfree()' for memory allocated by 'kvzalloc()'

2018-05-13 Thread Christophe JAILLET
When 'kvzalloc()' is used to allocate memory, 'kvfree()' must be used to free it. Signed-off-by: Christophe JAILLET --- v1 -> v2: More places to update have been added to the patch --- drivers/infiniband/hw/mlx5/cq.c| 2 +-

Re: [PATCH v3 0/3] mailbox: ACPI: Remove incorrect error message about parsing PCCT

2018-05-13 Thread Rafael J. Wysocki
On Tuesday, May 1, 2018 2:39:04 AM CEST Al Stone wrote: > This set of patches provide some cleanup in ACPI for minor issues > found while correcting a bogus error message (the first two patches), > and the correction for the error message itself (patch 3/3). Note > that patches 1/3 and 2/3 are

KASAN: use-after-free Read in corrupted

2018-05-13 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:427fbe89261d Merge branch 'next' of git://git.kernel.org/p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=148eb01780 kernel config: https://syzkaller.appspot.com/x/.config?x=fcce42b221691ff9

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

2018-05-13 Thread Joe Perches
On Sat, 2018-05-12 at 19:51 -0700, Dan Williams wrote: > 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

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

2018-05-13 Thread Wanpeng Li
2018-05-13 16:28 GMT+08:00 Liran Alon : > > - kernel...@gmail.com wrote: > >> 2018-05-13 15:53 GMT+08:00 Liran Alon : >> > >> > - kernel...@gmail.com wrote: >> > >> >> From: Wanpeng Li >> >> >> >> MSB of CR3 is a

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

2018-05-13 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

Re: [PATCH v2 7/7] ALSA: usb: add UAC3 BADD profiles support

2018-05-13 Thread Takashi Iwai
On Fri, 11 May 2018 17:36:36 +0200, Jorge wrote: > > > > On 04/05/18 02:24, Ruslan Bilovol wrote: > > Recently released USB Audio Class 3.0 specification > > contains BADD (Basic Audio Device Definition) document > > which describes pre-defined UAC3 configurations. > > > > BADD support is

Re: [PATCH] ALSA: control: fix a redundant-copy issue

2018-05-13 Thread Takashi Iwai
On Sat, 05 May 2018 20:38:03 +0200, Wenwen Wang wrote: > > In snd_ctl_elem_add_compat(), the fields of the struct 'data' need to be > copied from the corresponding fields of the struct 'data32' in userspace. > This is achieved by invoking copy_from_user() and get_user() functions. The > problem

Re: [PATCH v5 03/13] ALSA: hda/ca0132: Add PCI region2 iomap for SBZ

2018-05-13 Thread Takashi Iwai
On Tue, 08 May 2018 19:20:03 +0200, Connor McAdams wrote: > > This patch adds iomapping for the region2 section of memory on the SBZ. > This memory region is used in later patches for setting inputs and > outputs. If the mapping fails, the quirk is changed back to QUIRK_NONE > to avoid attempts

Re: general protection fault in __radix_tree_delete

2018-05-13 Thread Dmitry Vyukov
On Sun, Apr 29, 2018 at 7:00 PM, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > cdface5209349930ae1b51338763c8e029971b97 (Sun Apr 29 03:07:21 2018 +) > Merge tag 'for_linus_stable' of >

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

2018-05-13 Thread Wanpeng Li
2018-05-13 15:53 GMT+08:00 Liran Alon : > > - kernel...@gmail.com wrote: > >> 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 >>

Re: [PATCH v3] PM / wakeup: use seq_open() to show wakeup stats

2018-05-13 Thread Rafael J. Wysocki
On Wednesday, April 25, 2018 12:59:31 PM CEST Ganesh Mahendran wrote: > single_open() interface requires that the whole output must > fit into a single buffer. This will lead to timeout when > system memory is not in a good situation. > > This patch use seq_open() to show wakeup stats. This

Re: [PATCH v3 4/6] KVM: x86: hyperv: simplistic HVCALL_FLUSH_VIRTUAL_ADDRESS_{LIST,SPACE} implementation

2018-05-13 Thread Vitaly Kuznetsov
Radim Krčmář writes: > 2018-04-16 13:08+0200, Vitaly Kuznetsov: ... > >> +/* >> + * vcpu->arch.cr3 may not be up-to-date for running vCPUs so we >> + * can't analyze it here, flush TLB regardless of the specified >> + * address

Re: [PATCH 0/3] PM / core: Clean up suspend/resume diagnostic messages

2018-05-13 Thread Rafael J. Wysocki
On Thursday, April 26, 2018 11:36:20 PM CEST Bjorn Helgaas wrote: > These are pretty minor cleanups to the suspend/resume diagnostic messages. > > The first two are trivial. The third may break scripts that parse dmesg > output. I looked at scripts/bootgraph.pl, and I don't think it is >

Re: [PATCH] cpufreq: s3c2440: fix spelling mistake: "divsiors" -> "divisors"

2018-05-13 Thread Rafael J. Wysocki
On Wednesday, May 2, 2018 7:37:21 AM CEST Viresh Kumar wrote: > On 30-04-18, 15:48, Colin King wrote: > > From: Colin Ian King > > > > Trivial fix to spelling mistake in s3c_freq_dbg debug message text. > > > > Signed-off-by: Colin Ian King >

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

2018-05-13 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

Re: [PATCH v5 00/13] ALSA: hda/ca0132: Patch Series for Recon3Di and Sound Blaster Z Support

2018-05-13 Thread Takashi Iwai
On Tue, 08 May 2018 19:20:00 +0200, Connor McAdams wrote: > > This patchset adds support for the Sound Blaster Z and the Recon3Di. > > In order to figure out how to get these cards to work, I made a program called > QemuHDADump[1], which uses the trace function of qemu to see interactions with >

Re: [PATCH v5 03/23] iommu/vt-d: add a flag for pasid table bound status

2018-05-13 Thread Lu Baolu
Hi, On 05/12/2018 04:53 AM, Jacob Pan wrote: > Adding a flag in device domain into to track whether a guest or typo: ^^info Best regards, Lu Baolu > user PASID table is bound to a device. > > Signed-off-by: Jacob Pan > --- >

Re: KASAN: null-ptr-deref Write in linear_transfer

2018-05-13 Thread Takashi Iwai
On Sun, 13 May 2018 09:36:36 +0200, Eric Biggers wrote: > > On Wed, Jan 10, 2018 at 10:58:43AM +0100, Takashi Iwai wrote: > > On Wed, 10 Jan 2018 09:08:00 +0100, > > Eric Biggers wrote: > > > > > > On Fri, Jan 05, 2018 at 02:58:02AM -0800, syzbot wrote: > > > > Hello, > > > > > > > > syzkaller

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

2018-05-13 Thread Liran Alon
- kernel...@gmail.com wrote: > 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

Re: [PATCH 3/3] arm64: dts: renesas: draak: Describe HDMI input

2018-05-13 Thread Simon Horman
On Fri, May 11, 2018 at 12:00:02PM +0200, Jacopo Mondi wrote: > Describe HDMI input connected to VIN4 interface for R-Car D3 Draak > development board. > > Signed-off-by: Jacopo Mondi Hi Niklas, As you reviewed the rest of the series I'm wondering if you're planning

Re: [PATCH V5] cpufreq: intel_pstate: allow trace in passive mode

2018-05-13 Thread Rafael J. Wysocki
On Thursday, May 3, 2018 8:22:47 AM CEST Doug Smythies wrote: > Allow use of the trace_pstate_sample trace function > when the intel_pstate driver is in passive mode. > Since the core_busy and scaled_busy fields are not > used, and it might be desirable to know which path > through the driver was

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

2018-05-13 Thread Wanpeng Li
2018-05-13 16:03 GMT+08:00 Liran Alon : > > - kernel...@gmail.com wrote: > >> 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

Re: [PATCH] tools/power/x86/intel_pstate_tracer: Add optional setting of trace buffer memory allocation

2018-05-13 Thread Rafael J. Wysocki
On Friday, May 4, 2018 3:46:22 PM CEST Doug Smythies wrote: > Allow the user to override the default trace buffer memory allocation > by adding a command line option to override the default. > > The patch also: > > Adds a SIGINT (i.e. CTRL C exit) handler, > so that things can be cleaned up

Re: [PATCH] cpufreq: fix speedstep_detect_processor()'s return type

2018-05-13 Thread Rafael J. Wysocki
On Wednesday, April 25, 2018 4:46:47 AM CEST Viresh Kumar wrote: > On 24-04-18, 15:14, Luc Van Oostenryck wrote: > > speedstep_detect_processor() is declared as returing an > > 'enum speedstep_processor' but use an 'int' in its definition. > > > > Fix this by using 'enum speedstep_processor' in

Re: [PATCH] net/mlx4_core: Fix error handling in mlx4_init_port_info.

2018-05-13 Thread Tariq Toukan
On 02/05/2018 4:31 PM, Tariq Toukan wrote: On 27/04/2018 6:20 PM, Tarick Bedeir wrote: Avoid exiting the function with a lingering sysfs file (if the first call to device_create_file() fails while the second succeeds), and avoid calling devlink_port_unregister() twice. In other words,

[PATCH] remoteproc: Add APSS based Qualcomm ADSP PIL driver for SDM845

2018-05-13 Thread Rohit kumar
This adds Qualcomm ADSP PIL driver support for SDM845 with ADSP bootup and shutdown operation handled from Application Processor SubSystem(APSS). Signed-off-by: Rohit kumar Signed-off-by: RajendraBabu Medisetti Signed-off-by: Krishnamurthy Renu

[GIT PULL] dma mapping fix for 4.17-rc5

2018-05-13 Thread Christoph Hellwig
Hi Linus, one trivial dma-mapping regression fix for you. Note that this has NOT been in linux-next as I didn't want to disturb the branch in there which has the 4.18 material. I've asked Stephen to add the for-linus branch in addition to for-next so that this doesn't happen again. In addition

Re: KASAN: null-ptr-deref Write in linear_transfer

2018-05-13 Thread Eric Biggers
On Wed, Jan 10, 2018 at 10:58:43AM +0100, Takashi Iwai wrote: > On Wed, 10 Jan 2018 09:08:00 +0100, > Eric Biggers wrote: > > > > On Fri, Jan 05, 2018 at 02:58:02AM -0800, syzbot wrote: > > > Hello, > > > > > > syzkaller hit the following crash on > > > 30a7acd573899fd8b8ac39236eff6468b195ac7d >

Re: [PATCH] Documentation/admin-guide/pm/intel_pstate: fix Active Mode w/o HWP paragraph

2018-05-13 Thread Rafael J. Wysocki
On Tuesday, May 8, 2018 8:36:44 PM CEST Srinivas Pandruvada wrote: > On Tue, 2018-05-08 at 17:12 +0200, Juri Lelli wrote: > > P-state selection algorithm (powersave or performance) is selected by > > echoing the desired choice to scaling_governor sysfs attribute and > > not > > to scaling_cur_freq

[PATCH 2/2] arm64: Clear the stack

2018-05-13 Thread Alexander Popov
Hello Mark, Thanks a lot for your reply! On 11.05.2018 19:13, Mark Rutland wrote: > On Fri, May 11, 2018 at 06:50:09PM +0300, Alexander Popov wrote: >> On 06.05.2018 11:22, Alexander Popov wrote: >>> On 04.05.2018 14:09, Mark Rutland wrote: >>> + stack_left = sp & (THREAD_SIZE - 1);

Re: [PATCH] kernel/sched/cpufreq_schedutil: remove stale comment

2018-05-13 Thread Rafael J. Wysocki
On Wednesday, May 9, 2018 10:41:54 AM CEST Viresh Kumar wrote: > On 09-05-18, 10:40, Juri Lelli wrote: > > After commit 794a56ebd9a57 ("sched/cpufreq: Change the worker kthread to > > SCHED_DEADLINE") schedutil kthreads are "ignored" for a clock frequency > > selection point of view, so the

Re: [PATCH] PM: docs: sleep-states: Fix a typo ("includig")

2018-05-13 Thread Rafael J. Wysocki
On Wednesday, April 25, 2018 12:07:03 PM CEST Jonathan Neuschäfer wrote: > Signed-off-by: Jonathan Neuschäfer > --- > Documentation/admin-guide/pm/sleep-states.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

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

2018-05-13 Thread Dmitry Vyukov
On Sun, May 13, 2018 at 10:56 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:427fbe89261d Merge branch 'next' of git://git.kernel.org/p.. > git tree: upstream > console output:

Re: [PATCH V2] mlx4_core: allocate ICM memory in page size chunks

2018-05-13 Thread Tariq Toukan
On 11/05/2018 10:23 PM, Qing Huang wrote: When a system is under memory presure (high usage with fragments), the original 256KB ICM chunk allocations will likely trigger kernel memory management to enter slow path doing memory compact/migration ops in order to complete high order memory

Re: [PATCH v2] x86/io: Define readq()/writeq() to use 64-bit type

2018-05-13 Thread Thomas Gleixner
On Thu, 3 May 2018, Andy Shevchenko wrote: > #ifdef CONFIG_X86_64 > > -build_mmio_read(readq, "q", unsigned long, "=r", :"memory") > -build_mmio_read(__readq, "q", unsigned long, "=r", ) > -build_mmio_write(writeq, "q", unsigned long, "r", :"memory") > -build_mmio_write(__writeq, "q", unsigned

[tip:x86/cleanups] x86/early-quirks: Rename duplicate define of dev_err

2018-05-13 Thread tip-bot for Joe Perches
Commit-ID: a7a3153a98d581196ce092e0b83cac2c4ee1fd1f Gitweb: https://git.kernel.org/tip/a7a3153a98d581196ce092e0b83cac2c4ee1fd1f Author: Joe Perches AuthorDate: Wed, 9 May 2018 08:15:45 -0700 Committer: Thomas Gleixner CommitDate: Sun, 13 May 2018

[PATCH] libata: Apply NOLPM quirk for SAMSUNG PM830 CXM13D1Q.

2018-05-13 Thread fcami
From: François Cami Without this patch the drive errors out regularly: [1.090154] ata1.00: ATA-8: SAMSUNG SSD PM830 mSATA 256GB, CXM13D1Q, max UDMA/133 (...) [ 345.154996] ata1.00: exception Emask 0x40 SAct 0x0 SErr 0xc0800 action 0x6 [ 345.155006] ata1.00:

Re: [PATCH 2/3] arm64: dts: renesas: r8a77995: Add VIN4

2018-05-13 Thread jacopo mondi
Hi Simon, On Fri, May 11, 2018 at 03:45:16PM +0200, Simon Horman wrote: > On Fri, May 11, 2018 at 01:25:23PM +0200, Niklas Söderlund wrote: > > Hi Jacopo, > > > > Thanks for your work. > > > > On 2018-05-11 12:00:01 +0200, Jacopo Mondi wrote: > > > Describe VIN4 interface for R-Car D3 R8A77995

Re: WARNING in dev_vprintk_emit

2018-05-13 Thread Eric Biggers
[+MAC80211 list and maintainer] On Wed, Jan 17, 2018 at 05:58:01AM -0800, syzbot wrote: > Hello, > > syzkaller hit the following crash on > c92a9a461dff6140c539c61e457aa97df29517d6 > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 >

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

2018-05-13 Thread Paul E. McKenney
On Sun, May 13, 2018 at 09:49:53AM -0700, Joel Fernandes wrote: > On Sun, May 13, 2018 at 08:38:42AM -0700, Paul E. McKenney wrote: > > On Sat, May 12, 2018 at 04:53:01PM -0700, Joel Fernandes wrote: > > > On Sat, May 12, 2018 at 07:44:38AM -0700, Paul E. McKenney wrote: > > > > On Sat, May 12,

Re: general protection fault in rdma_addr_size

2018-05-13 Thread Eric Biggers
On Fri, Mar 23, 2018 at 01:01:02PM -0700, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > 8f5fd927c3a7576d57248a2d7a0861c3f2795973 (Fri Mar 16 20:37:42 2018 +) > Merge tag 'for-4.16-rc5-tag' of > git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux > syzbot

[PATCH] net: ipv4: ipconfig: fix unused variable

2018-05-13 Thread Anders Roxell
When CONFIG_PROC_FS isn't set, variable ipconfig_dir isn't used. net/ipv4/ipconfig.c:167:31: warning: ‘ipconfig_dir’ defined but not used [-Wunused-variable] static struct proc_dir_entry *ipconfig_dir; ^~~~ Move the declaration of ipconfig_dir inside the

Re: [PATCH 6/8] serial: Add Tegra Combined UART driver

2018-05-13 Thread Mikko Perttunen
On 05/13/2018 05:16 PM, Andy Shevchenko wrote: On Tue, May 8, 2018 at 2:44 PM, Mikko Perttunen wrote: The Tegra Combined UART (TCU) is a mailbox-based mechanism that allows multiplexing multiple "virtual UARTs" into a single hardware serial port. The TCU is the primary

Re: [PATCH 6/8] serial: Add Tegra Combined UART driver

2018-05-13 Thread Mikko Perttunen
On 05/13/2018 06:36 PM, Jassi Brar wrote: On Tue, May 8, 2018 at 5:14 PM, Mikko Perttunen wrote: +config SERIAL_TEGRA_TCU + tristate "NVIDIA Tegra Combined UART" + depends on ARCH_TEGRA && MAILBOX + select SERIAL_CORE + help +

Re: for_each_cpu() is buggy for UP kernel?

2018-05-13 Thread Linus Torvalds
On Tue, May 8, 2018 at 11:24 PM Dexuan Cui wrote: > Should we fix the for_each_cpu() in include/linux/cpumask.h for UP? As Thomas points out, this has come up before. One of the issues is historical - we tried very hard to make the SMP code not cause code generation

Re: [PATCH 1/2] x86/boot/compressed/64: Set up GOT for paging_prepare() and cleanup_trampoline()

2018-05-13 Thread Thomas Gleixner
On Thu, 10 May 2018, Kirill A. Shutemov wrote: > + /* > + * paging_prepare() and cleanup_trampoline() below can have GOT > + * references. Adjust the table with address we are running at. > + */ > + > + /* The GOP was not adjusted before */ GOP == EFI speak for Graphics

Re: [PATCH 2/2] x86/boot/compressed/64: Fix moving page table out of trampoline memory

2018-05-13 Thread Thomas Gleixner
On Thu, 10 May 2018, Kirill A. Shutemov wrote: > top_pgtable address has to be calculated relative to where the kernel > image will be relocated for decompression, not relative to position of > kernel is running at the moment. We do the same for the rest of page > table we use the stage. It makes

Re: [PATCH 01/18] kernel: Use pr_fmt

2018-05-13 Thread Jessica Yu
+++ Joe Perches [10/05/18 08:45 -0700]: Sometime in the future, it would be useful to convert pr_fmt from a default simple define to use a default prefix with KBUILD_MODNAME. There are files in kernel/ that use pr_, some with an embedded prefix, that also do not have a specific pr_fmt define.

Re: [PATCH v1] x86/mtrr: Convert to use match_string() helper

2018-05-13 Thread Thomas Gleixner
On Fri, 4 May 2018, Andy Shevchenko wrote: > The new helper returns index of the matching string in an array. new helper? match_string() is in tree for 2 years. > We are going to use it here. Are we going to use it ? When? "Replace the open coded array lookup." or something like that would be

[tip:x86/cleanups] x86: Remove pr_fmt duplicate logging prefixes

2018-05-13 Thread tip-bot for Joe Perches
Commit-ID: 1de392f5d5e803663abbd8ed084233f154152bcd Gitweb: https://git.kernel.org/tip/1de392f5d5e803663abbd8ed084233f154152bcd Author: Joe Perches AuthorDate: Thu, 10 May 2018 08:45:30 -0700 Committer: Thomas Gleixner CommitDate: Sun, 13 May 2018

[tip:x86/cleanups] x86/mtrr: Rename main.c to mtrr.c and remove duplicate prefixes

2018-05-13 Thread tip-bot for Joe Perches
Commit-ID: e6d8c84a58380030457759ad6085f3792a76b2ce Gitweb: https://git.kernel.org/tip/e6d8c84a58380030457759ad6085f3792a76b2ce Author: Joe Perches AuthorDate: Thu, 10 May 2018 08:45:31 -0700 Committer: Thomas Gleixner CommitDate: Sun, 13 May 2018

Re: [PATCH 2/6] x86/intel_rdt/mba_sc: Enable/disable MBA software controller

2018-05-13 Thread Thomas Gleixner
On Fri, 20 Apr 2018, Vikas Shivappa wrote: > +/* > + * Enable or disable the MBA software controller > + * which helps user specify bandwidth in MBps. > + * MBA software controller is supported only if > + * MBM is supported and MBA is in linear scale. > + */ > +static int set_mba_sc(bool mba_sc)

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

2018-05-13 Thread Joel Fernandes
On Sun, May 13, 2018 at 12:09:06PM -0700, Paul E. McKenney wrote: > On Sun, May 13, 2018 at 09:49:53AM -0700, Joel Fernandes wrote: > > On Sun, May 13, 2018 at 08:38:42AM -0700, Paul E. McKenney wrote: > > > On Sat, May 12, 2018 at 04:53:01PM -0700, Joel Fernandes wrote: > > > > On Sat, May 12,

[tip:x86/urgent] x86/cpufeature: Guard asm_volatile_goto usage for BPF compilation

2018-05-13 Thread tip-bot for Alexei Starovoitov
Commit-ID: b1ae32dbab50ed19cfc16d225b0fb0114fb13025 Gitweb: https://git.kernel.org/tip/b1ae32dbab50ed19cfc16d225b0fb0114fb13025 Author: Alexei Starovoitov AuthorDate: Sun, 13 May 2018 12:32:22 -0700 Committer: Thomas Gleixner CommitDate: Sun, 13 May

Re: [RFC PATCH -tip 2/4] kprobes: Remove jprobe generic code

2018-05-13 Thread Thomas Gleixner
On Tue, 8 May 2018, Masami Hiramatsu wrote: > Remove jprobe arch independent generic code > from kernel/kprobes.c. # git grep register_jprobes include/linux/kprobes.h:static inline int register_jprobes(struct jprobe **jps, int num) include/linux/kprobes.h:static inline void

Re: serial: custom baud rate

2018-05-13 Thread Alan Cox
On Thu, 3 May 2018 18:27:14 + (UTC) Grant Edwards wrote: > On 2018-05-03, Muni Sekhar wrote: > > > If I need to set a custom baud rates(e.g. 14400, 128000, 256000), does > > Linux serial framework has any supporting method? > > Sure,

Re: INFO: trying to register non-static key in del_timer_sync

2018-05-13 Thread Eric Biggers
On Sun, Jan 28, 2018 at 10:58:01AM -0800, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > c4e0ca7fa24137e372d6135fe16e8df8e123f116 (Fri Jan 26 23:10:50 2018 +) > Merge tag 'riscv-for-linus-4.15-maintainers' of >

[tip:x86/cpu] x86/CPU: Move cpu_detect_cache_sizes() into init_intel_cacheinfo()

2018-05-13 Thread tip-bot for David Wang
Commit-ID: 807e9bc8e2fe6b4907f9f77fd073f7ef5073af29 Gitweb: https://git.kernel.org/tip/807e9bc8e2fe6b4907f9f77fd073f7ef5073af29 Author: David Wang AuthorDate: Thu, 3 May 2018 10:32:45 +0800 Committer: Thomas Gleixner CommitDate: Sun, 13 May

[tip:x86/cpu] x86/Centaur: Report correct CPU/cache topology

2018-05-13 Thread tip-bot for David Wang
Commit-ID: a2aa578fec8c29436bce5e6c15e1e31729d539a3 Gitweb: https://git.kernel.org/tip/a2aa578fec8c29436bce5e6c15e1e31729d539a3 Author: David Wang AuthorDate: Thu, 3 May 2018 10:32:46 +0800 Committer: Thomas Gleixner CommitDate: Sun, 13 May

Re: [PATCH v2 0/7] Introduce the for_each_set_port_word macro

2018-05-13 Thread Andy Shevchenko
On Tue, May 8, 2018 at 4:26 PM, William Breathitt Gray wrote: > While adding GPIO get_multiple/set_multiple callback support for various > drivers, I noticed a pattern of looping manifesting that would be useful > standardized as a macro. > > This patchset introduces the

Re: [PATCH v1 11/13] dt-bindings: power: add PX30 SoCs header for power-domain

2018-05-13 Thread Tao Huang
Hi Heiko: On 2018年05月12日 06:11, Heiko Stuebner wrote: > Here I have a naming question. When looking at the vendor kernel > it looks like the px30 is largely related to the rk3326. > (rk3326.dtsi includeing the px30.dtsi) > > What is the reason for basing the naming on the px30 this time? And could

Re: [PATCH REPOST 1/5] thread_info: Port core code to use update_thread_flag() helpers

2018-05-13 Thread Oleg Nesterov
On 05/11, Dave Martin wrote: > > This patch ports a couple of relevant bits of the core kernel to > use the new update_thread_flag() helpers. > > No functional change. > > Signed-off-by: Dave Martin > Cc: Ingo Molnar > Cc: Peter Zijlstra

KMSAN: uninit-value in tipc_conn_rcv_sub

2018-05-13 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:74ee2200b89f kmsan: bump .config.example to v4.17-rc3 git tree: https://github.com/google/kmsan.git/master console output: https://syzkaller.appspot.com/x/log.txt?x=12ab863780 kernel config:

[tip:x86/urgent] kprobes/x86: Prohibit probing on exception masking instructions

2018-05-13 Thread tip-bot for Masami Hiramatsu
Commit-ID: ee6a7354a3629f9b65bc18dbe393503e9440d6f5 Gitweb: https://git.kernel.org/tip/ee6a7354a3629f9b65bc18dbe393503e9440d6f5 Author: Masami Hiramatsu AuthorDate: Wed, 9 May 2018 21:58:15 +0900 Committer: Thomas Gleixner CommitDate: Sun, 13

Re: [PATCH 6/8] serial: Add Tegra Combined UART driver

2018-05-13 Thread Andy Shevchenko
On Tue, May 8, 2018 at 2:44 PM, Mikko Perttunen wrote: > The Tegra Combined UART (TCU) is a mailbox-based mechanism that allows > multiplexing multiple "virtual UARTs" into a single hardware serial > port. The TCU is the primary serial port on Tegra194 devices. > > Add a

Re: [PATCH v3 3/3] tty: implement led triggers

2018-05-13 Thread Andy Shevchenko
On Tue, May 8, 2018 at 1:05 PM, Uwe Kleine-König wrote: > The rx trigger fires when data is pushed to the ldisc by the driver. This > is a bit later than the actual receiving of data but has the nice benefit > that it doesn't need adaption for each driver and isn't

Re: [PATCH v3 1/2] x86/amd_nb: Add support for Raven Ridge CPUs

2018-05-13 Thread Guenter Roeck
On 05/13/2018 07:21 AM, Thomas Gleixner wrote: On Fri, 4 May 2018, Guenter Roeck wrote: Add Raven Ridge root bridge and data fabric PCI IDs. This is required for amd_pci_dev_to_node_id() and amd_smn_read(). Tested-by: Gabriel Craciunescu Signed-off-by: Guenter Roeck

Re: [PATCH 6/8] serial: Add Tegra Combined UART driver

2018-05-13 Thread Jassi Brar
On Tue, May 8, 2018 at 5:14 PM, Mikko Perttunen wrote: > > +config SERIAL_TEGRA_TCU > + tristate "NVIDIA Tegra Combined UART" > + depends on ARCH_TEGRA && MAILBOX > + select SERIAL_CORE > + help > + Support for the mailbox-based TCU

Re: [GIT PULL 5/5] ARM: exynos: mach/soc for v4.18

2018-05-13 Thread Krzysztof Kozlowski
On Sun, May 13, 2018 at 5:42 PM, Krzysztof Kozlowski wrote: > The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: > > Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) > > are available in the git repository at: > >

[PATCH v2] platform/x86: ideapad-laptop: Add fn-lock setting

2018-05-13 Thread Oleg Keri
Some of latest Lenovo ideapad laptops do not have UEFI/BIOS setting for switching fn-lock mode. This commit adds related acpi calls to ideapad platform driver. However setting is available via sysfs. Signed-off-by: Oleg Keri --- .../ABI/testing/sysfs-platform-ideapad-laptop |

Re: [PATCH v2] {net, IB}/mlx5: Use 'kvfree()' for memory allocated by 'kvzalloc()'

2018-05-13 Thread Eric Dumazet
On 05/13/2018 12:00 AM, Christophe JAILLET wrote: > When 'kvzalloc()' is used to allocate memory, 'kvfree()' must be used to > free it. > > Signed-off-by: Christophe JAILLET > --- > v1 -> v2: More places to update have been added to the patch Please add

Re: [PATCH v5 03/13] mm: Assign memcg-aware shrinkers bitmap to memcg

2018-05-13 Thread Vladimir Davydov
On Thu, May 10, 2018 at 12:52:36PM +0300, Kirill Tkhai wrote: > Imagine a big node with many cpus, memory cgroups and containers. > Let we have 200 containers, every container has 10 mounts, > and 10 cgroups. All container tasks don't touch foreign > containers mounts. If there is intensive pages

Re: [PATCH 1/1] Drivers: hv: vmbus: enable VMBus protocol version 5.0

2018-05-13 Thread Stephen Hemminger
On Sat, 12 May 2018 02:30:33 -0700 k...@linuxonhyperv.com wrote: > int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep) > { > + struct vmbus_channel_message_header *hdr; > union hv_connection_id conn_id; > int ret = 0; > int retries = 0; > u32 usec = 1; >

[PATCH] [RFC] bpf: tracing: new helper bpf_get_current_cgroup_ino

2018-05-13 Thread Alban Crequy
From: Alban Crequy bpf_get_current_cgroup_ino() allows BPF trace programs to get the inode of the cgroup where the current process resides. My use case is to get statistics about syscalls done by a specific Kubernetes container. I have a tracepoint on raw_syscalls/sys_enter

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

2018-05-13 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

[tip:x86/urgent] uprobes/x86: Prohibit probing on MOV SS instruction

2018-05-13 Thread tip-bot for Masami Hiramatsu
Commit-ID: 13ebe18c94f5b0665c01ae7fad2717ae959f4212 Gitweb: https://git.kernel.org/tip/13ebe18c94f5b0665c01ae7fad2717ae959f4212 Author: Masami Hiramatsu AuthorDate: Wed, 9 May 2018 21:58:45 +0900 Committer: Thomas Gleixner CommitDate: Sun, 13

PROBLEM: "ACPI Error: Method parse/execution failed" and "ACPI BIOS Error (bug): Failure looking up" related

2018-05-13 Thread Jeffrin Thalakkottoor
hello , the error from "dmesg -l err" related ... -> [1.709950] ACPI BIOS Error (bug): Failure looking up [\_SB.PCI0.LPCB.HEC.ECWT], AE_NOT_FOUND (20180313/psargs-330) [1.710045] ACPI Error:

Re: [PATCH v3 1/2] x86/amd_nb: Add support for Raven Ridge CPUs

2018-05-13 Thread Thomas Gleixner
On Fri, 4 May 2018, Guenter Roeck wrote: > Add Raven Ridge root bridge and data fabric PCI IDs. > This is required for amd_pci_dev_to_node_id() and amd_smn_read(). > > Tested-by: Gabriel Craciunescu > Signed-off-by: Guenter Roeck Guenter, if you want

KASAN: slab-out-of-bounds Read in vmx_vcpu_run

2018-05-13 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:036db8bd9637 Merge branch 'for-4.17-fixes' of git://git.ke.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11228e0780 kernel config: https://syzkaller.appspot.com/x/.config?x=31f4b3733894ef79

Re: BUG: workqueue lockup (2)

2018-05-13 Thread Tetsuo Handa
Eric Biggers wrote: > Generally it's best to close syzbot bug reports once the original cause is > fixed, so that syzbot can continue to report other bugs with the same > signature. That's difficult to judge. Closing as soon as the original cause is fixed allows syzbot to try to report different

Re: BUG: workqueue lockup (2)

2018-05-13 Thread Dmitry Vyukov
On Sun, May 13, 2018 at 4:29 PM, Tetsuo Handa wrote: > Eric Biggers wrote: >> Generally it's best to close syzbot bug reports once the original cause is >> fixed, so that syzbot can continue to report other bugs with the same >> signature. > > That's difficult

Re: [PATCH v2 1/7] bitops: Introduce the for_each_set_port_word macro

2018-05-13 Thread Andy Shevchenko
On Tue, May 8, 2018 at 4:26 PM, William Breathitt Gray wrote: > This macro iterates for each group of bits (port word) with set bits, > within a bitmap memory region. For each iteration, "port_word" is set to > the found port word index, "word_index" is set to the word

Re: [PATCH v2] KVM: X86: Fix CR3 reserve bits

2018-05-13 Thread Junaid Shahid
On 05/13/2018 02:24 AM, Wanpeng Li wrote: > 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

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

2018-05-13 Thread Paul E. McKenney
On Sat, May 12, 2018 at 04:53:01PM -0700, Joel Fernandes wrote: > 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,

[GIT PULL 3/5] ARM: dts: exynos: Stuff for v4.18

2018-05-13 Thread Krzysztof Kozlowski
The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-dt-4.18 for you to fetch changes up to

[GIT PULL 1/5] ARM: defconfig: Exynos for v4.18

2018-05-13 Thread Krzysztof Kozlowski
The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-defconfig-4.18 for you to fetch changes up to

[GIT PULL 5/5] ARM: exynos: mach/soc for v4.18

2018-05-13 Thread Krzysztof Kozlowski
The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-soc-4.18 for you to fetch changes up to

[GIT PULL 4/5] arm64: dts: exynos: Stuff for v4.18

2018-05-13 Thread Krzysztof Kozlowski
The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-dt64-4.18 for you to fetch changes up to

[GIT PULL 2/5] soc: samsung: Stuff for v4.18

2018-05-13 Thread Krzysztof Kozlowski
The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-drivers-4.18 for you to fetch changes up to

[GIT PULL 0/5] ARM: samsung/exynos: Stuff for v4.18

2018-05-13 Thread Krzysztof Kozlowski
Hi, Changes for v4.18. No dependencies, no specific order of pulls. Support for Exynos5440 is removed step by step through different trees. Best regards, Krzysztof

WARNING in iov_iter_revert

2018-05-13 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:427fbe89261d Merge branch 'next' of git://git.kernel.org/p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16b3347780 kernel config: https://syzkaller.appspot.com/x/.config?x=fcce42b221691ff9

Re: [PATCH 1/6] x86/early-quirks: Rename duplicate define of dev_err

2018-05-13 Thread Joe Perches
On Sun, 2018-05-13 at 15:03 +0200, Thomas Gleixner wrote: > On Wed, 9 May 2018, Joe Perches wrote: > > > dev_err is becoming a macro calling _dev_err to allow prefixing of > > dev_fmt to any dev_ use that has a #define dev_fmt(fmt) similar > > to the existing #define pr_fmt(fmt) uses. > > > >

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

2018-05-13 Thread Thomas Gleixner
On Sun, 13 May 2018, Alexei Starovoitov wrote: > On Sat, May 12, 2018 at 10:30:02PM +0200, Thomas Gleixner wrote: > > But yes, the situation is slightly different here because tools which > > create trace event magic _HAVE_ to pull in kernel headers. At the same time > > these tools depend on a

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

2018-05-13 Thread Andy Shevchenko
On Thu, May 10, 2018 at 2:22 PM, Pavel Machek wrote: > On Thu 2018-05-10 13:21:01, Pavel Machek wrote: >> I know this is not your fault, but if you have a space or "[]" in >> netdev names, confusing things will happen. > > Hmm. If we are doing this we really should check trigger

<    1   2   3   4   5   6   7   >