[PATCH -tip v2 0/5] kprobes: x86: Cleanup jprobe implementation on x86

2018-03-12 Thread Masami Hiramatsu
Hello, Since we decided to remove jprobe from kernel last year, its APIs are disabled and we worked on moving in-kernel jprobe users to kprobes or trace-events. And now no jprobe users are here anymore. This series removes jprobe implementation from x86 and generic code. I would like to send othe

[PATCH -tip v2 1/5] kprobes: Remove jprobe API implementation

2018-03-12 Thread Masami Hiramatsu
Remove jprobe API implementations which is no more used. Signed-off-by: Masami Hiramatsu --- include/linux/kprobes.h |3 -- kernel/kprobes.c| 78 +-- 2 files changed, 1 insertion(+), 80 deletions(-) diff --git a/include/linux/kprobes.h b

[PATCH -tip v2 2/5] x86: kprobes: Remove jprobe implementation

2018-03-12 Thread Masami Hiramatsu
Remove arch dependent setjump/longjump functions and unused fields in kprobe_ctlblk for jprobes. Signed-off-by: Masami Hiramatsu --- arch/x86/include/asm/kprobes.h |3 - arch/x86/kernel/kprobes/core.c | 87 2 files changed, 90 deletions(-) diff --g

[PATCH -tip v2 3/5] kprobes: Ignore break_handler

2018-03-12 Thread Masami Hiramatsu
Ignore break_handler related code because it was only used by jprobe and jprobe is removed. Signed-off-by: Masami Hiramatsu --- Documentation/kprobes.txt |2 +- kernel/kprobes.c | 39 +-- 2 files changed, 6 insertions(+), 35 deletions(-) diff -

[PATCH -tip v2 4/5] x86: kprobes: Ignore break_handler

2018-03-12 Thread Masami Hiramatsu
Remove break_handler related code since that was used only for jprobe and jprobe is removed now. Signed-off-by: Masami Hiramatsu --- arch/x86/kernel/kprobes/common.h | 10 -- arch/x86/kernel/kprobes/core.c | 13 ++--- arch/x86/kernel/kprobes/ftrace.c | 16 ++--

Re: [PATCH] net: hns: use put_device() if device_register fail

2018-03-12 Thread David Miller
From: Arvind Yadav Date: Fri, 9 Mar 2018 16:11:17 +0530 > if device_register() returned an error! Always use put_device() > to give up the reference initialized. > > Signed-off-by: Arvind Yadav I do not see anything giving cls_dev an initial non-zero reference count before this device_registe

[PATCH -tip v2 5/5] x86: kprobes: Do not disable preempt on int3 path

2018-03-12 Thread Masami Hiramatsu
Since int3 and debug exception(for singlestep) are run with IRQ disabled and while running single stepping we drop IF from regs->flags, that path must not be preemptible. So we can remove the preempt disable/enable calls from that path. Note that, this changes the behavior of execution path overri

Re: [RFCv4,19/21] media: vim2m: add request support

2018-03-12 Thread Dmitry Osipenko
On 12.03.2018 15:32, Alexandre Courbot wrote: > On Mon, Mar 12, 2018 at 5:15 PM, Tomasz Figa wrote: >> Hi Paul, Dmitry, >> >> On Mon, Mar 12, 2018 at 5:10 PM, Paul Kocialkowski >> wrote: >>> Hi, >>> >>> On Sun, 2018-03-11 at 22:42 +0300, Dmitry Osipenko wrote: Hello, On 07.03.2018

[PATCH] perf/x86/intel: Rename freerunning PEBS to large PEBS

2018-03-12 Thread kan . liang
From: Kan Liang The freerunning PEBS and large PEBS are the same thing. Both of these names appear in the code, which brings confusion. Rename freerunning PEBS to large PEBS, which is more accurate. No functional change. Reported-by: Vince Weaver Signed-off-by: Kan Liang --- arch/x86/events

Re: [PATCH v12 0/6] Address error and recovery for AER and DPC

2018-03-12 Thread poza
On 2018-03-12 19:55, Keith Busch wrote: On Sun, Mar 11, 2018 at 11:03:58PM -0400, Sinan Kaya wrote: On 3/11/2018 6:03 PM, Bjorn Helgaas wrote: > On Wed, Feb 28, 2018 at 10:34:11PM +0530, Oza Pawandeep wrote: > That difference has been there since the beginning of DPC, so it has > nothing to do

Re: [PATCH v3 2/2] mm/page_alloc: fix memmap_init_zone pageblock alignment

2018-03-12 Thread Naresh Kamboju
On 12 March 2018 at 17:56, Sudeep Holla wrote: > Hi, > > I couldn't find the exact mail corresponding to the patch merged in v4.16-rc5 > but commit 864b75f9d6b01 "mm/page_alloc: fix memmap_init_zone > pageblock alignment" > cause boot hang on my ARM64 platform. I have also noticed this problem on

Re: [tip:x86/mm] x86/boot/compressed/64: Describe the logic behind the LA57 check

2018-03-12 Thread Kirill A. Shutemov
On Mon, Mar 12, 2018 at 02:32:12PM +, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > > > We can of course bike shed / benchmark this once my desktop refresh > > > sports this feature, but ISTR this being one of the very first things > > > Ingo mentioned when we started this whole 5L

Re: [PATCH] perf: update perf_cgroup time for ancestor cgroup(s)

2018-03-12 Thread Song Liu
> On Mar 12, 2018, at 5:38 AM, Peter Zijlstra wrote: > > On Sun, Mar 11, 2018 at 10:32:44PM -0700, Song Liu wrote: >> When a perf_event is attached to parent cgroup, it should count events >> for all children cgroups: >> >> parent_group < perf_event >> \ >>- child_group < proc

[tip:locking/core 9/11] include/asm-generic/atomic-instrumented.h:288:24: sparse: cast truncates bits from constant value (100 becomes 0)

2018-03-12 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core head: ac605bee0bfab40fd5d11964705e907d2d5a32de commit: 8bf705d130396e69c04cd8e6e010244ad2ce71f4 [9/11] locking/atomic/x86: Switch atomic.h to use atomic-instrumented.h reproduce: # apt-get install sparse

Re: [tip:x86/mm] x86/boot/compressed/64: Describe the logic behind the LA57 check

2018-03-12 Thread Cyrill Gorcunov
On Mon, Mar 12, 2018 at 03:32:12PM +0100, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > > > We can of course bike shed / benchmark this once my desktop refresh > > > sports this feature, but ISTR this being one of the very first things > > > Ingo mentioned when we started this whole 5L

Re: [PATCH 3.2 000/104] 3.2.101-rc1 review

2018-03-12 Thread Guenter Roeck
On Mon, Mar 12, 2018 at 03:03:34AM +, Ben Hutchings wrote: > This is the start of the stable review cycle for the 3.2.101 release. > There are 104 patches in this series, which will be posted as responses > to this one. If anyone has any issues with these being applied, please > let me know. >

Re: Regression from efi: call get_event_log before ExitBootServices

2018-03-12 Thread Ard Biesheuvel
On 12 March 2018 at 14:30, Jeremy Cline wrote: > On 03/12/2018 07:08 AM, Ard Biesheuvel wrote: >> On 10 March 2018 at 10:45, Thiebaud Weksteen wrote: >>> On Fri, Mar 9, 2018 at 5:54 PM Jeremy Cline wrote: >>> On Fri, Mar 09, 2018 at 10:43:50AM +, Thiebaud Weksteen wrote: > Thanks a

Re: [PATCH v12 0/6] Address error and recovery for AER and DPC

2018-03-12 Thread Keith Busch
On Mon, Mar 12, 2018 at 08:16:38PM +0530, p...@codeaurora.org wrote: > On 2018-03-12 19:55, Keith Busch wrote: > > On Sun, Mar 11, 2018 at 11:03:58PM -0400, Sinan Kaya wrote: > > > On 3/11/2018 6:03 PM, Bjorn Helgaas wrote: > > > > On Wed, Feb 28, 2018 at 10:34:11PM +0530, Oza Pawandeep wrote: > >

[PATCH] echoaudio: remove redundant initialization of pointer 'pipe'

2018-03-12 Thread Colin King
From: Colin Ian King The pointer 'pipe' is being initialized with a value that is never read and it is re-assigned later, hence the initialization is redundant and can be removed. Also remove pointer 'runtime' as it is no longer required. Cleans up clang warning: sound/pci/echoaudio/echoaudio.c:

Re: [PATCH 1/4] gpio: Remove VLA from gpiolib

2018-03-12 Thread Rasmus Villemoes
On 2018-03-10 01:10, Laura Abbott wrote: > /* collect all inputs belonging to the same chip */ > first = i; > - memset(mask, 0, sizeof(mask)); > + memset(mask, 0, sizeof(*mask)); see below > @@ -2887,14 +2909,30 @@ void gpiod_set_array_value_com

Re: [PATCH 3.16 00/76] 3.16.56-rc1 review

2018-03-12 Thread Guenter Roeck
On Mon, Mar 12, 2018 at 03:06:11AM +, Ben Hutchings wrote: > This is the start of the stable review cycle for the 3.16.56 release. > There are 76 patches in this series, which will be posted as responses > to this one. If anyone has any issues with these being applied, please > let me know. >

Re: [PATCH ghak21 V2 1/4] audit: make ANOM_LINK obey audit_enabled and audit_dummy_context

2018-03-12 Thread Paul Moore
On Mon, Mar 12, 2018 at 2:31 AM, Richard Guy Briggs wrote: > Audit link denied events emit disjointed records when audit is disabled. > No records should be emitted when audit is disabled. > > See: https://github.com/linux-audit/audit-kernel/issues/21 > Signed-off-by: Richard Guy Briggs > --- >

Re: [PATCH] video: console: kconfig: Remove AVR32 dep. from VGA_CONSOLE

2018-03-12 Thread Bartlomiej Zolnierkiewicz
On Tuesday, February 06, 2018 11:52:46 PM Ulf Magnusson wrote: > The AVR32 symbol was removed in commit 26202873bb51 ("avr32: remove > support for AVR32 architecture"). > > Signed-off-by: Ulf Magnusson Patch queued for 4.17, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institu

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-12 Thread Jason Gunthorpe
On Sat, Mar 10, 2018 at 06:16:37PM +0200, Jarkko Sakkinen wrote: > TCPA log are can be empty when the TPM is disabled. This commit changes the > behavior of tpm_read_log_acpi() to return successfully in this case. The commit should explain why we'd want this.. eg Why does it matter to create the

Re: [PATCH ghak21 V2 2/4] audit: link denied should not directly generate PATH record

2018-03-12 Thread Paul Moore
On Mon, Mar 12, 2018 at 2:31 AM, Richard Guy Briggs wrote: > Audit link denied events generate duplicate PATH records which disagree > in different ways from symlink and hardlink denials. > audit_log_link_denied() should not directly generate PATH records. > While we're at it, remove the now usele

Re: [PATCH AUTOSEL for 4.14 065/110] led: core: Fix brightness setting when setting delay_off=0

2018-03-12 Thread Matthias Schiffer
On 02/06/2018 09:44 PM, Jacek Anaszewski wrote: > On 02/06/2018 03:02 AM, Sasha Levin wrote: >> On Sun, Feb 04, 2018 at 06:17:36PM +0100, Pavel Machek wrote: >>> *** if brightness=0, led off *** else apply brightness if next timer <--- timer is stop, and will never apply

Re: [PATCH v4 3/3 update] mm/free_pcppages_bulk: prefetch buddy while not holding lock

2018-03-12 Thread Vlastimil Babka
On 03/09/2018 10:58 PM, Andrew Morton wrote: >> >> When a page is freed back to the global pool, its buddy will be checked >> to see if it's possible to do a merge. This requires accessing buddy's >> page structure and that access could take a long time if it's cache cold. >> >> This patch adds a p

Re: [PATCH] perf stat: Add support for s390 transaction counters

2018-03-12 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 12, 2018 at 11:38:06AM +0100, Thomas Richter escreveu: > This patch introduces support for s390 transaction counters > displayed with command 'perf stat -T -- sleep 2' > > Right now there is only hard coded support for x86. > > This patch introduces architecture specfic counter > tabl

Re: [PATCH] echoaudio: remove redundant initialization of pointer 'pipe'

2018-03-12 Thread Takashi Iwai
On Mon, 12 Mar 2018 16:01:00 +0100, Colin King wrote: > > From: Colin Ian King > > The pointer 'pipe' is being initialized with a value that is never > read and it is re-assigned later, hence the initialization is redundant > and can be removed. Also remove pointer 'runtime' as it is no longer >

[PATCH] net: drivers/net: Remove unnecessary skb_copy_expand OOM messages

2018-03-12 Thread Joe Perches
skb_copy_expand without __GFP_NOWARN already does a dump_stack on OOM so these messages are redundant. Signed-off-by: Joe Perches --- drivers/net/ethernet/qualcomm/qca_spi.c | 1 - drivers/net/usb/lg-vl600.c | 6 +- drivers/net/wimax/i2400m/usb-rx.c | 3 --- drivers/net/wi

Re: [PATCH] video: fbdev: kconfig: Add help text to FB_I810_I2C

2018-03-12 Thread Bartlomiej Zolnierkiewicz
On Tuesday, February 13, 2018 03:02:48 PM Ulf Magnusson wrote: > The FB_I810_I2C symbol previously had a blank help text, which was > removed in e9829ac4e5fd ("video: fbdev: kconfig: Remove blank help > text"). > > Give it a proper help text, derived from commit 74f6ae84b23 ("[PATCH] > i810fb: Add

Re: [PATCH] perf stat: Make function perf_stat_evsel_id_init static

2018-03-12 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 12, 2018 at 11:38:07AM +0100, Thomas Richter escreveu: > Function perf_stat_evsel_id_init() has global linkage > but is only used in util/stat.c. Make it static. > > Signed-off-by: Thomas Richter Thanks, applied. - Arnaldo

Re: [PATCH 3/3] tracing: Rewrite filter logic to be simpler and faster

2018-03-12 Thread Jiri Olsa
On Fri, Mar 09, 2018 at 09:34:45PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Al Viro reviewed the filter logic of ftrace trace events and found it to be > very troubling. It creates a binary tree based on the logic operators and > walks it during tracing. He sent myself a

Re: [PATCH][rds-next] rds: remove redundant variable 'sg_off'

2018-03-12 Thread David Miller
From: Colin King Date: Sun, 11 Mar 2018 17:27:56 +0100 > From: Colin Ian King > > Variable sg_off is assigned a value but it is never read, hence it is > redundant and can be removed. > > Cleans up clang warning: > net/rds/message.c:373:2: warning: Value stored to 'sg_off' is never read > > S

Re: [PATCH][next] lan743x: make functions lan743x_csr_read and lan743x_csr_read static

2018-03-12 Thread David Miller
From: Colin King Date: Sun, 11 Mar 2018 17:55:47 +0100 > From: Colin Ian King > > Functions lan743x_csr_read and lan743x_csr_read are local to the source > and do not need to be in global scope, so make them static. > > Cleans up sparse warning: > drivers/net/ethernet/microchip/lan743x_main.c:

Re: [PATCH ghak21 V2 3/4] audit: add refused symlink to audit_names

2018-03-12 Thread Paul Moore
On Mon, Mar 12, 2018 at 2:31 AM, Richard Guy Briggs wrote: > Audit link denied events for symlinks had duplicate PATH records rather > than just updating the existing PATH record. Update the symlink's PATH > record with the current dentry and inode information. > > See: https://github.com/linux-a

Re: [PATCH][next] lan743x: remove some redundant variables and assignments

2018-03-12 Thread David Miller
From: Colin King Date: Sun, 11 Mar 2018 17:42:33 +0100 > From: Colin Ian King > > Function lan743x_phy_init assigns pointer 'netdev' but this is never read > and hence it can be removed. The return error code handling can also be > cleaned up to remove the variable 'ret'. > > Function lan743x_

Re: [PATCH] net: llc: drop VLA in llc_sap_mcast()

2018-03-12 Thread David Miller
From: Salvatore Mesoraca Date: Sun, 11 Mar 2018 22:12:04 +0100 > Avoid a VLA[1] by using a real constant expression instead of a variable. > The compiler should be able to optimize the original code and avoid using > an actual VLA. Anyway this change is useful because it will avoid a false > posi

Re: [PATCH 1/2] ARM: npcm: add CONFIG_ARCH_MULTI_V7 dependency

2018-03-12 Thread Tomer Maimon
Hi Arnd, I will send tomorrow new version with some modification we need to do once we use NPCM7XX and not NPCM750. Brendan, Is it O.K.? On 12 March 2018 at 15:37, Arnd Bergmann wrote: > On Mon, Mar 12, 2018 at 2:28 PM, Tomer Maimon wrote: >> Hi Brendan, >> >> According to the last mail I h

Re: [PATCH ghak21 V2 0/4] audit: address ANOM_LINK excess records

2018-03-12 Thread Steve Grubb
On Mon, 12 Mar 2018 02:31:16 -0400 Richard Guy Briggs wrote: > Audit link denied events were being unexpectedly produced in a > disjoint way when audit was disabled, and when they were expected, > there were duplicate PATH records. This patchset addresses both > issues for symlinks and hardlinks

Build regressions/improvements in v4.16-rc5

2018-03-12 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.16-rc5[1] compared to v4.15[2]. Summarized: - build errors: +10/-4 - build warnings: +1429/-1392 JFYI, when comparing v4.16-rc5[1] to v4.16-rc4[3], the summaries are: - build errors: +2/-1 - build warnings: +768/-781

CAN I TRUST YOU?

2018-03-12 Thread Sgt. Britta Lopez
Good Day, How are u doing today ? Apologies! I am a military woman ,seeking your kind assistance to move the sum of ($7M USD) to you, as far as i can be assured that my money will be safe in your care until i complete my service here in Afghanistan and come over next month. This is legitimate, and

Re: [tip:locking/core 9/11] include/asm-generic/atomic-instrumented.h:288:24: sparse: cast truncates bits from constant value (100 becomes 0)

2018-03-12 Thread Dmitry Vyukov
On Mon, Mar 12, 2018 at 5:52 PM, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > locking/core > head: ac605bee0bfab40fd5d11964705e907d2d5a32de > commit: 8bf705d130396e69c04cd8e6e010244ad2ce71f4 [9/11] locking/atomic/x86: > Switch atomic.h to use

Re: [PATCH v5] Fix loading of module radeonfb on PowerMac

2018-03-12 Thread Bartlomiej Zolnierkiewicz
On Tuesday, February 13, 2018 07:03:16 PM Mathieu Malaterre wrote: > When the linux kernel is build with (typical kernel ship with Debian > installer): > > CONFIG_FB=y > CONFIG_FB_OF=y > CONFIG_VT_HW_CONSOLE_BINDING=y > CONFIG_FB_RADEON=m > > The offb driver takes precedence over module radeonfb.

Re: [BUGFIX PATCH bpf-next] error-injection: Fix to prohibit jump optimization

2018-03-12 Thread Daniel Borkmann
On 03/12/2018 03:06 PM, Masami Hiramatsu wrote: > On Mon, 12 Mar 2018 11:44:21 +0100 > Daniel Borkmann wrote: >> On 03/12/2018 11:27 AM, Masami Hiramatsu wrote: >>> On Mon, 12 Mar 2018 19:00:49 +0900 >>> Masami Hiramatsu wrote: >>> Since the kprobe which was optimized by jump can not change

Re: [PATCH v4] cpuset: Enable cpuset controller in default hierarchy

2018-03-12 Thread Mike Galbraith
On Mon, 2018-03-12 at 10:20 -0400, Waiman Long wrote: > On 03/10/2018 08:16 AM, Peter Zijlstra wrote: > > > The equivalent of isolcpus=xxx is a cgroup setup like: > > > > root > > / \ > > systemother > > > > Where other has the @xxx cpus and system the remainder and > > root.sch

Re: [PATCH v11 2/3] arm: dts: add Nuvoton NPCM750 device tree

2018-03-12 Thread Tomer Maimon
On 16 February 2018 at 04:40, Brendan Higgins wrote: > Add a common device tree for all Nuvoton NPCM750 BMCs and a board > specific device tree for the NPCM750 (Poleg) evaluation board. > > Signed-off-by: Brendan Higgins > Reviewed-by: Tomer Maimon > Reviewed-by: Avi Fishman > Reviewed-by: Joel

[PATCH] perf machine: Fix mmap name setup

2018-03-12 Thread Jiri Olsa
Leo reported broken -k option behavior. The reason is that we used symbol_conf.vmlinux_name as a source for mmap event name, but in fact it's a vmlinux path. Moving the symbol_conf.vmlinux_name check for both host and guest to the proper place and out of the machine__set_mmap_name function. Repor

[PATCH] dma-mapping: move dma configuration to bus infrastructure

2018-03-12 Thread Nipun Gupta
The change introduces 'dma_configure' & 'dma_deconfigure'as bus callback functions so each bus can choose to implement its own dma configuration function. This eases the addition of new busses w.r.t. adding the dma configuration functionality. The change also updates the PCI, Platform and ACPI bus

Re: [PATCH 1/2] of: unittest: remove unneeded local return value variables

2018-03-12 Thread Rob Herring
On Fri, Mar 9, 2018 at 7:28 PM, Frank Rowand wrote: > On 03/09/18 16:02, Rob Herring wrote: >> On Thu, Mar 08, 2018 at 02:39:04PM -0800, frowand.l...@gmail.com wrote: >>> From: Frank Rowand >>> >>> A common pattern in many unittest functions is to save the return >>> value of a function in a loca

Re: [PATCH AUTOSEL for 4.14 065/110] led: core: Fix brightness setting when setting delay_off=0

2018-03-12 Thread Greg KH
On Mon, Mar 12, 2018 at 04:00:01PM +0100, Matthias Schiffer wrote: > On 02/06/2018 09:44 PM, Jacek Anaszewski wrote: > > On 02/06/2018 03:02 AM, Sasha Levin wrote: > >> On Sun, Feb 04, 2018 at 06:17:36PM +0100, Pavel Machek wrote: > >>> > *** if brightness=0, led off > *** else ap

Re: [PATCH ghak21 V2 3/4] audit: add refused symlink to audit_names

2018-03-12 Thread Richard Guy Briggs
On 2018-03-12 11:12, Paul Moore wrote: > On Mon, Mar 12, 2018 at 2:31 AM, Richard Guy Briggs wrote: > > Audit link denied events for symlinks had duplicate PATH records rather > > than just updating the existing PATH record. Update the symlink's PATH > > record with the current dentry and inode i

[PATCH] altera_edac: Use common error handling code in altr_sdram_probe()

2018-03-12 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 12 Mar 2018 16:23:53 +0100 Add a jump target so that a specific error code is assigned to the local variable "res" at the end of this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/edac/altera_edac.

Re: [PATCH] video: offb: Deallocate the color map

2018-03-12 Thread Bartlomiej Zolnierkiewicz
On Tuesday, February 13, 2018 07:07:45 PM Mathieu Malaterre wrote: > The function offb_destroy did not deallocate the color map leaving some > memory around after destruction. Call the color map deallocate function to > remove the memory leak. > > Handle another case where color map should have be

Re: [PATCH 1/3] x86/kvm/vmx: read MSR_FS_BASE from current->thread

2018-03-12 Thread Andy Lutomirski
On Mon, Mar 12, 2018 at 2:02 PM, Vitaly Kuznetsov wrote: > vmx_save_host_state() is only called from kvm_arch_vcpu_ioctl_run() so > the context is pretty well defined. Read MSR_FS_BASE from > current->thread.fsbase after calling save_fsgs() which takes care of > X86_BUG_NULL_SEG case now and will

Re: [PATCH v12 0/6] Address error and recovery for AER and DPC

2018-03-12 Thread poza
On 2018-03-12 20:28, Keith Busch wrote: On Mon, Mar 12, 2018 at 08:16:38PM +0530, p...@codeaurora.org wrote: On 2018-03-12 19:55, Keith Busch wrote: > On Sun, Mar 11, 2018 at 11:03:58PM -0400, Sinan Kaya wrote: > > On 3/11/2018 6:03 PM, Bjorn Helgaas wrote: > > > On Wed, Feb 28, 2018 at 10:34:11

Re: [PATCH ghak21 V2 2/4] audit: link denied should not directly generate PATH record

2018-03-12 Thread Richard Guy Briggs
On 2018-03-12 11:05, Paul Moore wrote: > On Mon, Mar 12, 2018 at 2:31 AM, Richard Guy Briggs wrote: > > Audit link denied events generate duplicate PATH records which disagree > > in different ways from symlink and hardlink denials. > > audit_log_link_denied() should not directly generate PATH rec

Re: [PATCH v2] On ppc64le we HAVE_RELIABLE_STACKTRACE

2018-03-12 Thread Josh Poimboeuf
On Fri, Mar 09, 2018 at 05:47:18PM +0100, Torsten Duwe wrote: > On Thu, 8 Mar 2018 10:26:16 -0600 > Josh Poimboeuf wrote: > > > This doesn't seem to address some of my previous concerns: > > You're right. That discussion quickly headed towards objtool > and I forgot about this one paragraph with

Re: ERROR: "scsi_device_from_queue" [drivers/md/dm-multipath.ko] undefined!

2018-03-12 Thread Mike Snitzer
On Sat, Mar 10 2018 at 2:29pm -0500, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 3266b5bd97eaa72793df0b6e5a106c69ccc166c4 > commit: 8d47e65948ddea4398892946d9e50778a316b397 dm mpath: remove unnecessary > NVMe branchin

Re: [PATCH] device_handler: remove VLAs

2018-03-12 Thread Bart Van Assche
On Sat, 2018-03-10 at 14:14 +0100, Stephen Kitt wrote: > The two patches I sent were supposed to be alternative solutions; see > https://marc.info/?l=linux-scsi&m=152063671005295&w=2 for the introduction (I > seem to have messed up the headers, so the mails didn’t end up threaded > properly). The

[PATCH] perf/x86/uncore: Add missing filter constraint for SKX CHA event

2018-03-12 Thread Kan Liang
From: Stephane Eranian Adding a filter constraint for Intel Skylake CHA event UNC_CHA_UPI_CREDITS_ACQUIRED (0x38). The event supports core-id/thread-id and link filtering. Signed-off-by: Stephane Eranian Signed-off-by: Kan Liang --- arch/x86/events/intel/uncore_snbep.c | 1 + 1 file changed,

Re: [PATCH 3/3] x86/kvm/vmx: avoid expensive rdmsr for MSR_GS_BASE

2018-03-12 Thread Andy Lutomirski
On Mon, Mar 12, 2018 at 2:03 PM, Vitaly Kuznetsov wrote: > vmx_save_host_state() is only called from kvm_arch_vcpu_ioctl_run() so > the context is pretty well defined and as we're past 'swapgs' MSR_GS_BASE > should contain kernel's GS base which we point to irq_stack_union. > > Add new kernelmode_

Re: [PATCH 09/13] libbpf: Add bpf_insn__interpret function

2018-03-12 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 12, 2018 at 10:43:09AM +0100, Jiri Olsa escreveu: > Adding bpf_insn__interpret function to run ebpf program > in user space. > > It's 'borrowed' from systemtap code, I still need to figure > the proper credits, that will go to the file header in case > this would ever go in. What is t

Re: [PATCH ghak21 V2 4/4] audit: add parent of refused symlink to audit_names

2018-03-12 Thread Paul Moore
On Mon, Mar 12, 2018 at 2:31 AM, Richard Guy Briggs wrote: > Audit link denied events for symlinks were missing the parent PATH > record. Add it. Since the full pathname may not be available, > reconstruct it from the path in the nameidata supplied. > > See: https://github.com/linux-audit/audit-

Re: [PATCH AUTOSEL for 4.14 065/110] led: core: Fix brightness setting when setting delay_off=0

2018-03-12 Thread Matthias Schiffer
On 03/12/2018 04:28 PM, Greg KH wrote: > On Mon, Mar 12, 2018 at 04:00:01PM +0100, Matthias Schiffer wrote: >> On 02/06/2018 09:44 PM, Jacek Anaszewski wrote: >>> On 02/06/2018 03:02 AM, Sasha Levin wrote: On Sun, Feb 04, 2018 at 06:17:36PM +0100, Pavel Machek wrote: > >> *** if br

Re: [PATCH] x86, powerpc : pkey-mprotect must allow pkey-0

2018-03-12 Thread Dave Hansen
On 03/09/2018 12:06 PM, Ram Pai wrote: > On Fri, Mar 09, 2018 at 09:19:53PM +1100, Michael Ellerman wrote: >> Ram Pai writes: >> >>> Once an address range is associated with an allocated pkey, it cannot be >>> reverted back to key-0. There is no valid reason for the above behavior. On >>> the con

Re: [RFC PATCH ghak21 4/4] audit: add parent of refused symlink to audit_names

2018-03-12 Thread Paul Moore
On Mon, Mar 12, 2018 at 3:59 AM, Richard Guy Briggs wrote: > On 2018-03-08 19:50, Paul Moore wrote: ... >> (Point #2 is why I didn't merge patch 3/4, just include it in this >> revised patch) > > On reviewing this, I'm not totally convinced the parent record is > necessary to fully understand wh

Re: [PATCH ghak21 V2 0/4] audit: address ANOM_LINK excess records

2018-03-12 Thread Paul Moore
On Mon, Mar 12, 2018 at 11:17 AM, Steve Grubb wrote: > On Mon, 12 Mar 2018 02:31:16 -0400 > Richard Guy Briggs wrote: > >> Audit link denied events were being unexpectedly produced in a >> disjoint way when audit was disabled, and when they were expected, >> there were duplicate PATH records. Th

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

2018-03-12 Thread Charles Keepax
Signed-off-by: Charles Keepax Reviewed-by: Rob Herring Acked-by: Lee Jones --- No changes since v4. Documentation/devicetree/bindings/mfd/arizona.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/dev

[PATCH v5 1/2] mfd: arizona: Update reset pin to use GPIOD

2018-03-12 Thread Charles Keepax
Now GPIOD has support for both pdata systems and for non-standard DT bindings the Arizona reset GPIO can be converted to use it. Worth noting gpiod_set_raw_value_cansleep is used to match the behaviour of the old GPIOs. This is because the part is fairly widely used and it is unknown how many DTs a

Re: [PATCH ghak21 V2 3/4] audit: add refused symlink to audit_names

2018-03-12 Thread Paul Moore
On Mon, Mar 12, 2018 at 11:26 AM, Richard Guy Briggs wrote: > On 2018-03-12 11:12, Paul Moore wrote: >> On Mon, Mar 12, 2018 at 2:31 AM, Richard Guy Briggs wrote: >> > Audit link denied events for symlinks had duplicate PATH records rather >> > than just updating the existing PATH record. Update

Re: [PATCH 09/13] libbpf: Add bpf_insn__interpret function

2018-03-12 Thread Jiri Olsa
On Mon, Mar 12, 2018 at 12:44:03PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 12, 2018 at 10:43:09AM +0100, Jiri Olsa escreveu: > > Adding bpf_insn__interpret function to run ebpf program > > in user space. > > > > It's 'borrowed' from systemtap code, I still need to figure > > the prope

[PATCH] arm/dts: Correct typo in touchscreen compatible string

2018-03-12 Thread Craig Tatlor
This was mistakenly pulled from the downstream driver Signed-off-by: Craig Tatlor --- arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dts b/arch/arm/boot/dts/qcom-msm8974-

Re: [PATCH 1/3] x86/kvm/vmx: read MSR_FS_BASE from current->thread

2018-03-12 Thread Vitaly Kuznetsov
Andy Lutomirski writes: > On Mon, Mar 12, 2018 at 2:02 PM, Vitaly Kuznetsov wrote: >> vmx_save_host_state() is only called from kvm_arch_vcpu_ioctl_run() so >> the context is pretty well defined. Read MSR_FS_BASE from >> current->thread.fsbase after calling save_fsgs() which takes care of >> X86

Re: [PATCH ghak21 V2 2/4] audit: link denied should not directly generate PATH record

2018-03-12 Thread Paul Moore
On Mon, Mar 12, 2018 at 11:30 AM, Richard Guy Briggs wrote: > On 2018-03-12 11:05, Paul Moore wrote: >> On Mon, Mar 12, 2018 at 2:31 AM, Richard Guy Briggs wrote: >> > Audit link denied events generate duplicate PATH records which disagree >> > in different ways from symlink and hardlink denials.

Re: [PATCH ghak21 V2 3/4] audit: add refused symlink to audit_names

2018-03-12 Thread Richard Guy Briggs
On 2018-03-12 11:53, Paul Moore wrote: > On Mon, Mar 12, 2018 at 11:26 AM, Richard Guy Briggs wrote: > > On 2018-03-12 11:12, Paul Moore wrote: > >> On Mon, Mar 12, 2018 at 2:31 AM, Richard Guy Briggs > >> wrote: > >> > Audit link denied events for symlinks had duplicate PATH records rather > >>

[PATCH v2 3/6] ASoC: sun4i-i2s: Correct divider calculations

2018-03-12 Thread codekipper
From: Marcus Cooper The clock division circuitry is different on the H3 and later SoCs. The division of bclk is now based on pll2. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 76 +++-- 1 file changed, 52 insertions(+), 24 deletions(-)

[PATCH v2 6/6] ASoC: sun4i-i2s: Add support for loopback

2018-03-12 Thread codekipper
From: Marcus Cooper The DAI has a loopback register which can be set and therefore routes the transmit fifo to receive fifo. This is useful for testing the block without the need for any external hardware. Signed-off-by: Marcus Cooper --- Documentation/devicetree/bindings/sound/sun4i-i2s.txt |

[PATCH v2 1/6] ASoC: sun4i-i2s: Add slot width override

2018-03-12 Thread codekipper
From: Marcus Cooper Some codecs require a different amount of a bit clocks per frame than what is calculated by using the sample width. Use a slot width override property to provide this mechanism. Signed-off-by: Marcus Cooper --- Documentation/devicetree/bindings/sound/sun4i-i2s.txt | 5

[PATCH v2 4/6] ASoC: sun4i-i2s: Add multi-lane functionality

2018-03-12 Thread codekipper
From: Marcus Cooper The i2s block supports multi-lane i2s output however this functionality is only possible in earlier SoCs where the pins are exposed and for the i2s block used for HDMI audio on the later SoCs. To enable this functionality, an optional property has been added to the bindings.

Re: [PATCH] video: fbdev: vermilion: use 64-bit arithmetic instead of 32-bit

2018-03-12 Thread Bartlomiej Zolnierkiewicz
On Tuesday, February 06, 2018 06:04:24 PM Gustavo A. R. Silva wrote: > Cast _pitch_ to u64 in order to give the compiler complete information > about the proper arithmetic to use. Notice that this variable is > being used in a context that expects an expression of type u64 > (64 bits, unsigned). >

[PATCH v2 5/6] ASoc: sun4i-i2s: Add 20, 24 and 32 bit support

2018-03-12 Thread codekipper
From: Marcus Cooper Extend the functionality of the driver to include support of 20 and 24 bits per sample for the earlier SoCs. Newer SoCs can also handle 32bit samples. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 34 +++--- 1 file changed, 31 i

[PATCH v2 0/6] ASoC: sun4i-i2s: Updates to the driver

2018-03-12 Thread codekipper
From: Marcus Cooper Hi All, here is a patch series to add some improvements to the sun4i-i2s driver found whilst getting slave clocking and hdmi audio working on the newer SoCs. The original attempt had some changes related to the slave work but I've left them out for this release as I would sti

[PATCH v2 2/6] ASoC: sun4i-i2s: Add regmap field to sign extend sample

2018-03-12 Thread codekipper
From: Marcus Cooper On the newer SoCs (H3, H5, A64 etc) this is set by default to transfer a 0 after each sample in each slot whereas on the earlier SoCs (A20, A31 etc) the default sign extension is to pad the LSB. Add the regmap field to configure this and set it so that it pads the sample with

Re: [PATCH v2 0/2] drm/panel: Add support for Raydium RM68200 panel

2018-03-12 Thread Philippe CORNU
Hi Thierry, On 03/12/2018 09:04 AM, Thierry Reding wrote: > On Fri, Mar 02, 2018 at 04:32:20PM +0100, Philippe Cornu wrote: >> The Raydium Semiconductor Corporation RM68200 is a 5.5" 720x1280 >> TFT LCD panel connected using a MIPI-DSI video interface. >> >> Version 2: >> - Add Rob Herring Reviewe

Re: [PATCH v2 0/3] drm: Add LVDS decoder bridge

2018-03-12 Thread jacopo mondi
Hi Andrzej, thanks for the detailed reply, much appreciated :) On Mon, Mar 12, 2018 at 02:47:20PM +0100, Andrzej Hajda wrote: > On 12.03.2018 13:30, jacopo mondi wrote: > > Hi Andrzej, > > > > On Mon, Mar 12, 2018 at 10:07:27AM +0100, Andrzej Hajda wrote: > >> [snip] > > I understand. The "t

Re: [pci PATCH v4 1/4] pci-iov: Add support for unmanaged SR-IOV

2018-03-12 Thread Alexander Duyck
On Mon, Mar 12, 2018 at 12:59 AM, Christoph Hellwig wrote: > On Sun, Mar 11, 2018 at 09:59:09PM -0600, Alex Williamson wrote: >> I still struggle to understand why we need this "unmanaged" >> complication and how a user of the sysfs API is expected to have any >> idea whether a PF is managed or un

Re: [alsa-devel] [PATCH] ASoC: soc-core: Add missing NULL check

2018-03-12 Thread Mark Brown
On Mon, Mar 12, 2018 at 10:31:43AM +, Charles Keepax wrote: > On Fri, Mar 09, 2018 at 08:22:42PM +, Mark Brown wrote: > > I think I might just remove the file though, it's been non-functional on > > most systems for a while now as almost all the drivers migrated to > > regmap and nobody co

Re: [PATCH 1/3] x86/kvm/vmx: read MSR_FS_BASE from current->thread

2018-03-12 Thread Paolo Bonzini
On 12/03/2018 15:02, Vitaly Kuznetsov wrote: > > +/* > + * Currently, the only way for processes to change their FS/GS base is to > call > + * ARCH_SET_FS/GS prctls and these reflect changes they make in task->thread. > + * There are, however, additional considerations: > + * > + * There is X86_

Re: [PATCH] video: fbdev: via: remove VLA usage

2018-03-12 Thread Bartlomiej Zolnierkiewicz
On Friday, March 09, 2018 11:02:24 AM Emil Velikov wrote: > On 9 March 2018 at 10:59, Eric Engestrom wrote: > > On Thursday, 2018-03-08 11:39:49 -0600, Gustavo A. R. Silva wrote: > >> In preparation to enabling -Wvla, remove VLA usage. > >> > >> Also, fixed as part of the directive to remove all V

Re: [PATCH 5/5] Bluetooth: btmrvl: Use common error handling code in btmrvl_sdio_download_fw_w_helper()

2018-03-12 Thread Marcel Holtmann
Hi Markus, > From: Markus Elfring > Date: Mon, 12 Mar 2018 11:30:28 +0100 > > Add a jump target so that the setting of a specific error code is stored > only once at the end of this function. > > Signed-off-by: Markus Elfring > --- > drivers/bluetooth/btmrvl_sdio.c | 13 +++-- > 1 file

[PATCH] ARM: dts: msm8974: castor: Correct typo in touchscreen compatible string

2018-03-12 Thread Craig Tatlor
This was mistakenly pulled from the downstream tree. Signed-off-by: Craig Tatlor --- arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-castor.dts b/arch/arm/boot/dts/qcom-msm8974-s

Re: [PATCH ghak21 V2 3/4] audit: add refused symlink to audit_names

2018-03-12 Thread Paul Moore
On Mon, Mar 12, 2018 at 11:52 AM, Richard Guy Briggs wrote: > On 2018-03-12 11:53, Paul Moore wrote: >> On Mon, Mar 12, 2018 at 11:26 AM, Richard Guy Briggs wrote: >> > On 2018-03-12 11:12, Paul Moore wrote: >> >> On Mon, Mar 12, 2018 at 2:31 AM, Richard Guy Briggs >> >> wrote: >> >> > Audit li

Re: [PATCH 5/5] media: MAINTAINERS: Add entry for Aptina MT9T112

2018-03-12 Thread jacopo mondi
Hi Sakari, On Sun, Mar 11, 2018 at 10:15:14PM +0200, Sakari Ailus wrote: > Hi Jacopo, > > On Fri, Mar 02, 2018 at 05:35:41PM +0100, Jacopo Mondi wrote: > > Add entry for Aptina/Micron MT9T112 camera sensor. The driver is > > currently orphaned. > > > > Signed-off-by: Jacopo Mondi > > --- > > MAI

[PATCH 3/5] arm64: dts: allwinner: a64: add simplefb for A64 SoC

2018-03-12 Thread Harald Geyer
The A64 SoC features two display pipelines, one has a LCD output, the other has a HDMI output. Add support for simplefb for the LCD output. Tested on Teres I. This patch was inspired by work of Icenowy Zheng. Signed-off-by: Harald Geyer --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 20 ++

Re: [PATCH v2 1/3] mfd: syscon: Set name of regmap_config

2018-03-12 Thread Mark Brown
On Mon, Mar 12, 2018 at 02:07:42PM +, Lee Jones wrote: > On Wed, 07 Mar 2018, Mark Brown wrote: > > On Wed, Mar 07, 2018 at 04:54:05PM +, Lee Jones wrote: > > > Is that an Ack? > > No, it looked like the change was only for MFD? > Right, but you can still Review/Ack patches from other su

Re: [PATCH 2/5] Bluetooth: btmrvl: Delete an unnecessary variable initialisation in btmrvl_sdio_register_dev()

2018-03-12 Thread Marcel Holtmann
Hi Markus, > The local variable "ret" will be set to an appropriate value a bit later. > Thus omit the explicit initialisation at the beginning. > > Signed-off-by: Markus Elfring > --- > drivers/bluetooth/btmrvl_sdio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) patch has been applie

Re: [PATCH 4/5] Bluetooth: btmrvl: Delete an unnecessary variable initialisation in btmrvl_sdio_card_to_host()

2018-03-12 Thread Marcel Holtmann
Hi Markus, > The variable "payload" will eventually be set to an appropriate pointer > a bit later. Thus omit the explicit initialisation at the beginning. > > Signed-off-by: Markus Elfring > --- > drivers/bluetooth/btmrvl_sdio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) patch has

[PATCH 5/5] arm64: allwinner: a64: Add support for TERES I laptop

2018-03-12 Thread Harald Geyer
The TERES I is an open hardware laptop built by Olimex using the Allwinner A64 SoC. Add the board specific .dts file, which includes the A64 .dtsi and enables the peripherals that we support so far. Signed-off-by: Harald Geyer --- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../

[PATCH 1/5] arm64: dts: allwinner: a64: Add i2c0 pins

2018-03-12 Thread Harald Geyer
Add the proper pin group node to reference in board files. Signed-off-by: Harald Geyer --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 1

<    1   2   3   4   5   6   7   8   9   10   >