Re: [PATCH v1] sefltest/ima: support appended signatures (modsig)

2019-08-28 Thread shuah
On 8/28/19 9:14 AM, Mimi Zohar wrote: In addition to the PE/COFF and IMA xattr signatures, the kexec kernel image can be signed with an appended signature, using the same scripts/sign-file tool that is used to sign kernel modules. This patch adds support for detecting a kernel image signed with

Re: [PATCH v2] kunit: fix failure to build without printk

2019-08-28 Thread Randy Dunlap
On 8/28/19 2:31 AM, Brendan Higgins wrote: > Previously KUnit assumed that printk would always be present, which is > not a valid assumption to make. Fix that by removing call to > vprintk_emit, and calling printk directly. > > Reported-by: Randy Dunlap > Link: > https://lore.kernel.org/linux-ks

Re: [GIT pull] x86/urgent for 5.3-rc5

2019-08-28 Thread David Sterba
On Wed, Aug 28, 2019 at 05:20:41PM +0200, David Sterba wrote: > On Tue, Aug 27, 2019 at 07:39:55PM +0200, Borislav Petkov wrote: > > @@ -42,5 +43,24 @@ void x86_init_rdrand(struct cpuinfo_x86 *c) > > return; > > } > > } > > + > > + /* > > +* Stupid sanity-c

Re: [PATCH v2] vfio/type1: avoid redundant PageReserved checking

2019-08-28 Thread Alex Williamson
On Wed, 28 Aug 2019 12:28:04 +0800 Ben Luo wrote: > currently, if the page is not a tail of compound page, it will be > checked twice for the same thing. > > Signed-off-by: Ben Luo > --- > drivers/vfio/vfio_iommu_type1.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git

Re: [PATCH v1] sefltest/ima: support appended signatures (modsig)

2019-08-28 Thread Mimi Zohar
On Wed, 2019-08-28 at 09:53 -0600, shuah wrote: > On 8/28/19 9:14 AM, Mimi Zohar wrote: > > In addition to the PE/COFF and IMA xattr signatures, the kexec kernel > > image can be signed with an appended signature, using the same > > scripts/sign-file tool that is used to sign kernel modules. > > >

Re: [PATCH] modpost: add NOFAIL to strndup

2019-08-28 Thread Masahiro Yamada
On Tue, Aug 27, 2019 at 9:20 PM Denis Efremov wrote: > > Add NOFAIL check for the strndup call, because the function > allocates memory and can return NULL. All calls to strdup in > modpost are checked with NOFAIL. > > Signed-off-by: Denis Efremov > --- Applied to linux-kbuild. Thanks. > scri

Re: [PATCH] modpost: add guid_t type definition

2019-08-28 Thread Masahiro Yamada
On Tue, Aug 27, 2019 at 8:14 PM Heikki Krogerus wrote: > > Since guid_t is the recommended data type for UUIDs in > kernel (and I guess uuid_le is meant to be ultimately > replaced with it), it should be made available here as > well. > > Signed-off-by: Heikki Krogerus > --- Applied to linux-kbu

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-08-28 Thread Tim Chen
On 8/27/19 2:50 PM, Peter Zijlstra wrote: > On Tue, Aug 27, 2019 at 10:14:17PM +0100, Matthew Garrett wrote: >> Apple have provided a sysctl that allows applications to indicate that >> specific threads should make use of core isolation while allowing >> the rest of the system to make use of SMT,

Re: [PATCH 1/2] kbuild: refactor scripts/Makefile.extrawarn

2019-08-28 Thread Sedat Dilek
Something like that... [PATCH 1/2] kbuild: Improve extrawarn documentation [PATCH 2/2] kbuild: Rename extrawarn Kconfig to KBUILD_EXTRA_CC_CHECKS - Sedat - From 1275ec0f1d31c4ac57b73b318bdc45151d99e8dc Mon Sep 17 00:00:00 2001 From: Sedat Dilek Date: Wed, 28 Aug 2019 16:27:13 +0200 Subject: [PAT

Re: [PATCH] ASoC: fsl_ssi: Fix clock control issue in master mode

2019-08-28 Thread Fabio Estevam
Hi Shengjiu, On Wed, Aug 28, 2019 at 2:21 AM Shengjiu Wang wrote: > > The test case is > arecord -Dhw:0 -d 10 -f S16_LE -r 48000 -c 2 temp.wav & > aplay -Dhw:0 -d 30 -f S16_LE -r 48000 -c 2 test.wav > > There will be error after end of arecord: > aplay: pcm_write:2051: write error: Input/output e

Re: [PATCH v2] MAINTAINERS: add entry for LICENSES and SPDX stuff

2019-08-28 Thread Darrick J. Wong
On Tue, Aug 27, 2019 at 09:53:10PM +0200, Greg Kroah-Hartman wrote: > Thomas and I seem to have become the "unofficial" maintainers for these > files and questions about SPDX things. So let's make it official. > > Reported-by: "Darrick J. Wong" > Cc: Thomas Gleixner > Signed-off-by: Greg Kroah-

Re: Latest kernel version no NOT reflecting on kernel.org

2019-08-28 Thread Konstantin Ryabitsev
On Wed, Aug 28, 2019 at 05:13:53PM +0200, Greg KH wrote: On Wed, Aug 28, 2019 at 07:27:53PM +0530, Bhaskar Chowdhury wrote: Am I the only one, who is not seeing it getting reflected on kernel.org??? Well, I have tried it 2 different browsers.cleared caches several times(heck) .3 differe

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-08-28 Thread Peter Zijlstra
On Wed, Aug 28, 2019 at 11:30:34AM -0400, Phil Auld wrote: > On Tue, Aug 27, 2019 at 11:50:35PM +0200 Peter Zijlstra wrote: > > And given MDS, I'm still not entirely convinced it all makes sense. If > > it were just L1TF, then yes, but now... > > I was thinking MDS is really the reason for this.

Re: [PATCH 04/13] irqchip: Add driver for Loongson-3 I/O interrupt controller

2019-08-28 Thread Marc Zyngier
On 28/08/2019 16:31, Jiaxun Yang wrote: > > On 2019/8/28 下午2:59, Marc Zyngier wrote: >> On Wed, 28 Aug 2019 08:27:05 +0800 >> Jiaxun Yang wrote: >> >>> On 2019/8/28 上午12:45, Marc Zyngier wrote: On 27/08/2019 09:52, Jiaxun Yang wrote: > + chained_irq_enter(chip, desc); > + > + pen

Re: [v2 PATCH -mm] mm: account deferred split THPs into MemAvailable

2019-08-28 Thread Michal Hocko
On Wed 28-08-19 17:46:59, Kirill A. Shutemov wrote: > On Wed, Aug 28, 2019 at 02:12:53PM +, Michal Hocko wrote: > > On Wed 28-08-19 17:03:29, Kirill A. Shutemov wrote: > > > On Wed, Aug 28, 2019 at 09:57:08AM +0200, Michal Hocko wrote: > > > > On Tue 27-08-19 10:06:20, Yang Shi wrote: > > > > >

Re: [patch 0/2] x86/mm/pti: Robustness updates

2019-08-28 Thread Peter Zijlstra
On Wed, Aug 28, 2019 at 04:24:45PM +0200, Thomas Gleixner wrote: > Following up on the discussions around the patch Song submitted to 'cure' a > iTLB related performance regression, I picked up Song's patch which makes > clone_page_tables() more robust by handling unaligned addresses proper and > a

Re: linux-next: Tree for Aug 27 (objtool)

2019-08-28 Thread Randy Dunlap
On 8/28/19 8:51 AM, Josh Poimboeuf wrote: > On Tue, Aug 27, 2019 at 12:05:42PM -0700, Randy Dunlap wrote: >> On 8/27/19 8:59 AM, Josh Poimboeuf wrote: >>> On Tue, Aug 27, 2019 at 08:40:07AM -0700, Randy Dunlap wrote: On 8/27/19 2:05 AM, Stephen Rothwell wrote: > Hi all, > > Changes

Re: [PATCH 3/4] binder: Make transaction_log available in binderfs

2019-08-28 Thread Todd Kjos
On Wed, Aug 28, 2019 at 5:59 AM Christian Brauner wrote: > > On Tue, Aug 27, 2019 at 01:41:51PM -0700, Hridya Valsaraju wrote: > > Currently, the binder transaction log files 'transaction_log' > > and 'failed_transaction_log' live in debugfs at the following locations: > > > > /sys/kernel/debug/bi

Re: [PATCH] csky: use generic free_initrd_mem()

2019-08-28 Thread Guo Ren
Sure, no problem. On Wed, Aug 28, 2019 at 10:39 PM Mike Rapoport wrote: > > Hi, > > On Wed, Aug 28, 2019 at 10:12:52PM +0800, Guo Ren wrote: > > Acked-by: Guo Ren > > Do you mind taking it via csky tree? > > > On Wed, Aug 28, 2019 at 9:35 PM Mike Rapoport wrote: > > > > > > The csky implementat

[tip: core/headers] asm-generic/div64: Fix documentation of do_div() parameter

2019-08-28 Thread tip-bot2 for Jonathan Neuschäfer
The following commit has been merged into the core/headers branch of tip: Commit-ID: e8e4eb0fbeda570b16464208aebf5caccfb6eb95 Gitweb: https://git.kernel.org/tip/e8e4eb0fbeda570b16464208aebf5caccfb6eb95 Author:Jonathan Neuschäfer AuthorDate:Thu, 08 Aug 2019 20:19:48 +02:00

[tip: x86/urgent] x86/build: Add -Wnoaddress-of-packed-member to REALMODE_CFLAGS, to silence GCC9 build warning

2019-08-28 Thread tip-bot2 for Linus Torvalds
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 42e0e95474fc6076b5cd68cab8fa0340a1797a72 Gitweb: https://git.kernel.org/tip/42e0e95474fc6076b5cd68cab8fa0340a1797a72 Author:Linus Torvalds AuthorDate:Wed, 28 Aug 2019 10:56:48 +02:00 Committ

[PATCH] x86/math64: Provide a sane mul_u64_u32_div() implementation for x86_64

2019-08-28 Thread Peter Zijlstra
On Wed, Aug 28, 2019 at 05:19:21PM +0200, Peter Zijlstra wrote: > On Mon, Aug 26, 2019 at 07:47:35AM -0700, kan.li...@linux.intel.com wrote: > > + return mul_u64_u32_div(slots, val, 0xff); > > But also; x86_64 seems to lack a sane implementation of that function, > and it currently compiles in

Re: linux-next: Tree for Aug 27 (objtool)

2019-08-28 Thread Josh Poimboeuf
On Wed, Aug 28, 2019 at 09:05:18AM -0700, Randy Dunlap wrote: > On 8/28/19 8:51 AM, Josh Poimboeuf wrote: > > On Tue, Aug 27, 2019 at 12:05:42PM -0700, Randy Dunlap wrote: > >> On 8/27/19 8:59 AM, Josh Poimboeuf wrote: > >>> On Tue, Aug 27, 2019 at 08:40:07AM -0700, Randy Dunlap wrote: > On 8/

Re: [PATCH] fs/sync.c: Fix UBSAN Undefined behaviour in sync_file_range

2019-08-28 Thread David Sterba
On Tue, Aug 27, 2019 at 05:22:37PM +0200, Jan Kara wrote: > On Fri 12-07-19 10:28:37, SunKe wrote: > > There is a UBSAN report: > > UBSAN: Undefined behaviour in ../fs/sync.c:298:10 > > signed integer overflow: > > -8 + -9223372036854775807 cannot be represented in type 'long long int' > > CPU: 0 P

Re: [PATCH 1/4] fs: always build llseek.

2019-08-28 Thread Michal Suchánek
On Wed, 28 Aug 2019 08:15:52 -0700 Christoph Hellwig wrote: > On Tue, Aug 27, 2019 at 10:21:06PM +0200, Michal Suchanek wrote: > > 64bit !COMPAT does not build because the llseek syscall is in the tables. > > Well, this will bloat thinkgs like 64-bit RISC-V for no good reason. > Please introdu

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-08-28 Thread Peter Zijlstra
On Wed, Aug 28, 2019 at 08:59:21AM -0700, Tim Chen wrote: > On 8/27/19 2:50 PM, Peter Zijlstra wrote: > > On Tue, Aug 27, 2019 at 10:14:17PM +0100, Matthew Garrett wrote: > >> Apple have provided a sysctl that allows applications to indicate that > >> specific threads should make use of core isola

Re: [PATCH V2 3/6] PCI: tegra: Add support to configure sideband pins

2019-08-28 Thread Vidya Sagar
On 8/28/2019 8:37 PM, Andrew Murray wrote: On Wed, Aug 28, 2019 at 06:45:02PM +0530, Vidya Sagar wrote: Add support to configure sideband signal pins when information is present in respective controller's device-tree node. Signed-off-by: Vidya Sagar --- V2: * Addressed review comment from Andr

Re: [RESEND PATCH V3 3/8] perf/x86/intel: Support hardware TopDown metrics

2019-08-28 Thread Andi Kleen
> This really doesn't make sense to me; if you set FIXED_CTR3 := 0, you'll > never trigger the overflow there; this then seems to suggest the actual The 48bit counter might overflow in a few hours. -Andi

Re: [PATCH] usb: storage: Add ums-cros-aoa driver

2019-08-28 Thread Alan Stern
On Tue, 27 Aug 2019, Julius Werner wrote: > This patch adds a new "unusual" USB mass storage device driver. This > driver will be used for a virtual USB storage device presented by an > Android phone running the 'Chrome OS Recovery'* Android app. This app > uses the Android Open Accessory (AOA) AP

[PATCHv5 0/2] Variscite DART-6UL SoM support

2019-08-28 Thread Oliver Graute
Need feedback to the following patches which adds support for a DART-6UL Board Need feedback howto document propertys and compatible the right way Need feedback why ethernet RX is deaf Product Page: https://www.variscite.com/product/evaluation-kits/dart-6ul-kits Oliver Graute (2): ARM: dts: i

[PATCHv5 1/2] ARM: dts: imx6ul: Add Variscite DART-6UL SoM support

2019-08-28 Thread Oliver Graute
This patch adds support for the i.MX6UL variant of the Variscite DART-6UL SoM Carrier-Board Signed-off-by: Oliver Graute Cc: Shawn Guo Cc: Neil Armstrong --- .../boot/dts/imx6ul-imx6ull-var-dart-common.dtsi | 445 + 1 file changed, 445 insertions(+) create mode 100644 ar

[PATCHv5 2/2] ARM: dts: Add support for i.MX6 UltraLite DART Variscite Customboard

2019-08-28 Thread Oliver Graute
This patch adds DeviceTree Source for the i.MX6 UltraLite DART NAND/WIFI Signed-off-by: Oliver Graute Cc: Shawn Guo Cc: Neil Armstrong --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6ul-var-6ulcustomboard.dts | 196 2 files changed, 1

Re: [PATCH] kbuild: Do not enable -Wimplicit-fallthrough for clang for now

2019-08-28 Thread Masahiro Yamada
On Tue, Aug 27, 2019 at 9:42 AM Nathan Chancellor wrote: > > This functionally reverts commit bfd77145f35c ("Makefile: Convert > -Wimplicit-fallthrough=3 to just -Wimplicit-fallthrough for clang"). > > clang enabled support for -Wimplicit-fallthrough in C in r369414 [1], > which causes a lot of wa

Re: [PATCH 4/4] binder: Add binder_proc logging to binderfs

2019-08-28 Thread Todd Kjos
On Wed, Aug 28, 2019 at 6:08 AM Christian Brauner wrote: > > On Tue, Aug 27, 2019 at 01:41:52PM -0700, Hridya Valsaraju wrote: > > Currently /sys/kernel/debug/binder/proc contains > > the debug data for every binder_proc instance. > > This patch makes this information also available > > in a binde

RE: [Intel-wired-lan] [PATCH] net: ixgbe: fix memory leaks

2019-08-28 Thread Bowers, AndrewX
> -Original Message- > From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On > Behalf Of Wenwen Wang > Sent: Sunday, August 11, 2019 1:08 PM > To: Wenwen Wang > Cc: open list:NETWORKING DRIVERS ; moderated > list:INTEL ETHERNET DRIVERS ; open list > ; David S. Miller > Subj

Re: [PATCH v2 2/2] KVM: x86: announce KVM_CAP_HYPERV_ENLIGHTENED_VMCS support only when it is available

2019-08-28 Thread Jim Mattson
On Wed, Aug 28, 2019 at 12:59 AM Vitaly Kuznetsov wrote: > > It was discovered that after commit 65efa61dc0d5 ("selftests: kvm: provide > common function to enable eVMCS") hyperv_cpuid selftest is failing on AMD. > The reason is that the commit changed _vcpu_ioctl() to vcpu_ioctl() in the > test a

Re: [PATCH V2 4/6] PCI: tegra: Add support to enable slot regulators

2019-08-28 Thread Thierry Reding
On Wed, Aug 28, 2019 at 06:45:03PM +0530, Vidya Sagar wrote: > Add support to get regulator information of 3.3V and 12V supplies of a PCIe > slot from the respective controller's device-tree node and enable those > supplies. This is required in platforms like p2972- where the supplies > to x16

Re: Thunderbolt DP oddity on v5.2.9 on iMac 12,2

2019-08-28 Thread Brad Campbell
On 28/8/19 21:19, Mika Westerberg wrote: On Wed, Aug 28, 2019 at 06:43:35PM +0800, Brad Campbell wrote: On 28/8/19 6:23 pm, Mika Westerberg wrote: On Wed, Aug 28, 2019 at 05:12:00PM +0800, Brad Campbell wrote: Apart from the warning in the log (which is not fatal, I'll look into it) to me t

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-28 Thread Dan Rue
On Wed, Aug 28, 2019 at 05:52:52PM +0200, Greg Kroah-Hartman wrote: > On Wed, Aug 28, 2019 at 10:47:18AM -0500, Dan Rue wrote: > > On Wed, Aug 28, 2019 at 05:16:08PM +0200, Greg Kroah-Hartman wrote: > > > On Wed, Aug 28, 2019 at 10:30:09AM +0530, Naresh Kamboju wrote: > > > > On Tue, 27 Aug 2019 at

Re: [RESEND PATCH V3 3/8] perf/x86/intel: Support hardware TopDown metrics

2019-08-28 Thread Peter Zijlstra
On Wed, Aug 28, 2019 at 09:17:54AM -0700, Andi Kleen wrote: > > This really doesn't make sense to me; if you set FIXED_CTR3 := 0, you'll > > never trigger the overflow there; this then seems to suggest the actual > > The 48bit counter might overflow in a few hours. Sure; the point is? Kan said it

Re: [PATCH 06/15] sched,cfs: use explicit cfs_rq of parent se helper

2019-08-28 Thread Vincent Guittot
On Wed, 28 Aug 2019 at 17:28, Rik van Riel wrote: > > On Wed, 2019-08-28 at 15:53 +0200, Vincent Guittot wrote: > > On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > > Use an explicit "cfs_rq of parent sched_entity" helper in a few > > > strategic places, where cfs_rq_of(se) may no longer poi

Re: linux-next: Tree for Aug 27 (objtool)

2019-08-28 Thread Josh Poimboeuf
On Wed, Aug 28, 2019 at 11:13:31AM -0500, Josh Poimboeuf wrote: > Turns out this patch does break something: > > arch/x86/xen/enlighten_pv.o: warning: objtool: xen_cpuid()+0x25: can't find > jump dest instruction at .text+0x9c > > I'll need to figure out a better way to whitelist that > XEN_EM

Re: [PATCH 2/3] kbuild,arc: add CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3 for ARC

2019-08-28 Thread Masahiro Yamada
Hi Vineet, On Wed, Aug 21, 2019 at 2:10 AM Masahiro Yamada wrote: > > arch/arc/Makefile overrides -O2 with -O3. This is the only user of > ARCH_CFLAGS. There is no user of ARCH_CPPFLAGS or ARCH_AFLAGS. > My plan is to remove ARCH_{CPP,A,C}FLAGS after refactoring the ARC > Makefile. > > Currently,

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-08-28 Thread Tim Chen
On 8/28/19 9:01 AM, Peter Zijlstra wrote: > On Wed, Aug 28, 2019 at 11:30:34AM -0400, Phil Auld wrote: >> On Tue, Aug 27, 2019 at 11:50:35PM +0200 Peter Zijlstra wrote: > >> The current core scheduler implementation, I believe, still has >> (theoretical?) >> holes involving interrupts, once/if t

Re: [PATCH] usb: storage: Add ums-cros-aoa driver

2019-08-28 Thread Dan Williams
On Wed, 2019-08-28 at 12:17 -0400, Alan Stern wrote: > On Tue, 27 Aug 2019, Julius Werner wrote: > > > This patch adds a new "unusual" USB mass storage device driver. This > > driver will be used for a virtual USB storage device presented by an > > Android phone running the 'Chrome OS Recovery'* A

Re: [PATCH] kbuild: remove unneeded dependency for $(DOC_TARGETS)

2019-08-28 Thread Masahiro Yamada
On Thu, Aug 22, 2019 at 2:33 AM Masahiro Yamada wrote: > > Commit 415008af3219 ("docs-rst: convert lsm from DocBook to ReST") > stopped using if_changed_rule. No more users of if_changed* for the > doc targets. Hence, fixdep is unneeded. Remove the dependency on > scripts_basic. > > All the doc ta

[PATCH v3 0/4] Disable compat cruft on ppc64le v3

2019-08-28 Thread Michal Suchanek
Less code means less bugs so add a knob to skip the compat stuff. This is tested on ppc64le top of https://patchwork.ozlabs.org/cover/1153556/ Changes in v2: saner CONFIG_COMPAT ifdefs Changes in v3: - change llseek to 32bit instead of builing it unconditionally in fs - clanup the makefile con

[PATCH v3 1/4] powerpc: make llseek 32bit-only.

2019-08-28 Thread Michal Suchanek
Fixes: aff850393200 ("powerpc: add system call table generation support") Signed-off-by: Michal Suchanek --- arch/powerpc/kernel/syscalls/syscall.tbl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/syscalls/syscall.tbl b/arch/powerpc/kernel/syscalls/sysca

Re: [PATCH 1/4] kbuild: pkg: clean up package files/dirs from the top Makefile

2019-08-28 Thread Masahiro Yamada
On Wed, Aug 21, 2019 at 4:02 PM Masahiro Yamada wrote: > > I am not a big fan of the $(objtree)/ hack for clean-files/clean-dirs. > > These are created in the top of $(objtree), so let's clean them up > from the top Makefile. > > Signed-off-by: Masahiro Yamada > --- Applied to linux-kbuild. >

[PATCH v3 3/4] powerpc/64: make buildable without CONFIG_COMPAT

2019-08-28 Thread Michal Suchanek
There are numerous references to 32bit functions in generic and 64bit code so ifdef them out. Signed-off-by: Michal Suchanek --- v2: - fix 32bit ifdef condition in signal.c - simplify the compat ifdef condition in vdso.c - 64bit is redundant - simplify the compat ifdef condition in callchain.c -

[PATCH v3 4/4] powerpc/64: Make COMPAT user-selectable disabled on littleendian by default.

2019-08-28 Thread Michal Suchanek
On bigendian ppc64 it is common to have 32bit legacy binaries but much less so on littleendian. Signed-off-by: Michal Suchanek --- v3: make configurable --- arch/powerpc/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig i

[PATCH v3 2/4] powerpc: move common register copy functions from signal_32.c to signal.c

2019-08-28 Thread Michal Suchanek
These functions are required for 64bit as well. Signed-off-by: Michal Suchanek --- arch/powerpc/kernel/signal.c| 141 arch/powerpc/kernel/signal_32.c | 140 --- 2 files changed, 141 insertions(+), 140 deletions(-) diff --git a/arc

Re: [PATCH] kbuild: add CONFIG_ASM_MODVERSIONS

2019-08-28 Thread Masahiro Yamada
On Mon, Aug 19, 2019 at 6:13 PM Geert Uytterhoeven wrote: > > On Mon, Aug 19, 2019 at 7:55 AM Masahiro Yamada > wrote: > > Add CONFIG_ASM_MODVERSIONS to remove one if-conditional nesting > > from Makefile.build > > > > This also avoid $(wildcard ...) evaluation for every descending, > > but I did

Re: [PATCH v6 06/12] powerpc/fsl_booke/32: implement KASLR infrastructure

2019-08-28 Thread Scott Wood
On Wed, 2019-08-28 at 19:03 +0800, Jason Yan wrote: > > On 2019/8/28 12:54, Scott Wood wrote: > > On Fri, Aug 09, 2019 at 06:07:54PM +0800, Jason Yan wrote: > > > +/* > > > + * To see if we need to relocate the kernel to a random offset > > > + * void *dt_ptr - address of the device tree > > > + *

Re: [PATCH] kbuild: move modkern_{c,a}flags to Makefile.lib from Makefile.build

2019-08-28 Thread Masahiro Yamada
On Mon, Aug 19, 2019 at 5:59 PM Masahiro Yamada wrote: > > Makefile.lib is included by Makefile.modfinal as well as Makefile.build. > > Move modkern_cflags to Makefile.lib in order to simplify cmd_cc_o_c > in Makefile.modfinal. Move modkern_cflags as well for consistency. > > Signed-off-by: Masahi

Re: [PATCH] kbuild: Do not enable -Wimplicit-fallthrough for clang for now

2019-08-28 Thread Miguel Ojeda
On Wed, Aug 28, 2019 at 6:21 PM Masahiro Yamada wrote: > > Applied to linux-kbuild. Thanks. > > (If other clang folks give tags, I will add them later.) Acked-by: Miguel Ojeda Cheers, Miguel

Re: [PATCH] kbuild: get rid of $(realpath ...) from scripts/mkmakefile

2019-08-28 Thread Masahiro Yamada
On Thu, Aug 22, 2019 at 12:59 PM Masahiro Yamada wrote: > > Both relative path and absolute path have pros and cons. For example, > we can move the source and objtree around together by using the > relative path to the source tree. > > Do not force the absolute path to the source tree. If you pref

we offer all kinds of loan at 3% Apply Now

2019-08-28 Thread Mr. Jack Nicolas
-- Attn: Are you in need of a loan? we offer all kinds of loan like Personal loans, Debt Consolidation Loan, Business Loan, with an interest rate of 3% Have you been turned down by your bank? Do you have bad credit? Do you have unpaid bills? Are you in debt? Do you need to set up a business?

Re: [PATCH net-next v5] sched: Add dualpi2 qdisc

2019-08-28 Thread Dave Taht
On Wed, Aug 28, 2019 at 7:00 AM Bob Briscoe wrote: > > Olivier, Dave, > > On 23/08/2019 13:59, Tilmans, Olivier (Nokia - BE/Antwerp) wrote: > > as best as I can > tell (but could be wrong) the NQB idea wants to put something into the > l4s fast queue? Or is NQB supposed to > be a third queue? > >

Re: [PATCH 07/15] sched,cfs: fix zero length timeslice calculation

2019-08-28 Thread Vincent Guittot
On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > The way the time slice length is currently calculated, not only do high > priority tasks get longer time slices than low priority tasks, but due > to fixed point math, low priority tasks could end up with a zero length > time slice. This can le

Re: [PATCH] staging: exfat: add exfat filesystem code to staging

2019-08-28 Thread Greg Kroah-Hartman
On Wed, Aug 28, 2019 at 06:08:17PM +0200, Greg Kroah-Hartman wrote: > From: Valdis Klētnieks > > The exfat code needs a lot of work to get it into "real" shape for > the fs/ part of the kernel, so put it into drivers/staging/ for now so > that it can be worked on by everyone in the community. >

Re: [PATCH v1 net-next] net: phy: mdio_bus: make mdiobus_scan also cover PHY that only talks C45

2019-08-28 Thread Florian Fainelli
On 8/28/19 8:41 AM, Ong, Boon Leong wrote: >> On Tue, Aug 27, 2019 at 03:23:34PM +, Voon, Weifeng wrote: >> Make mdiobus_scan() to try harder to look for any PHY that only talks C45. > If you are not using Device Tree or ACPI, and you are letting the MDIO > bus be scanned, it s

[PATCH v2 3/3] KVM: x86: set ctxt->have_exception in x86_decode_insn()

2019-08-28 Thread Jan Dakinevich
x86_emulate_instruction() takes into account ctxt->have_exception flag during instruction decoding, but in practice this flag is never set in x86_decode_insn(). Fixes: 6ea6e84 ("KVM: x86: inject exceptions produced by x86_decode_insn") Cc: Denis Lunev Cc: Roman Kagan Cc: Denis Plotnikov Signed-

[PATCH v2 2/3] KVM: x86: make exception_class() and exception_type() globally visible

2019-08-28 Thread Jan Dakinevich
exception_type() function was moved for upcoming sanity check in emulation code. exceptions_class() function is not supposed to be used right now, but it was moved as well to keep things together. Cc: Denis Lunev Cc: Roman Kagan Cc: Denis Plotnikov Signed-off-by: Jan Dakinevich --- arch/x86/k

[PATCH v2 0/3] fix emulation error on Windows bootup

2019-08-28 Thread Jan Dakinevich
This series intended to fix (again) a bug that was a subject of the following change: 6ea6e84 ("KVM: x86: inject exceptions produced by x86_decode_insn") Suddenly, that fix had a couple mistakes. First, ctxt->have_exception was not set if fault happened during instruction decoding. Second, re

[PATCH v2 1/3] KVM: x86: always stop emulation on page fault

2019-08-28 Thread Jan Dakinevich
inject_emulated_exception() returns true if and only if nested page fault happens. However, page fault can come from guest page tables walk, either nested or not nested. In both cases we should stop an attempt to read under RIP and give guest to step over its own page fault handler. Fixes: 6ea6e84

Re: Latest kernel version no NOT reflecting on kernel.org

2019-08-28 Thread Greg KH
On Wed, Aug 28, 2019 at 12:01:56PM -0400, Konstantin Ryabitsev wrote: > On Wed, Aug 28, 2019 at 05:13:53PM +0200, Greg KH wrote: > > On Wed, Aug 28, 2019 at 07:27:53PM +0530, Bhaskar Chowdhury wrote: > > > Am I the only one, who is not seeing it getting reflected on > > > kernel.org??? > > > > > >

RE: [PATCH v1 net-next] net: stmmac: Add support for MDIO interrupts

2019-08-28 Thread Voon, Weifeng
> >> DW EQoS v5.xx controllers added capability for interrupt generation > >> when MDIO interface is done (GMII Busy bit is cleared). > >> This patch adds support for this interrupt on supported HW to avoid > >> polling on GMII Busy bit. > >> > >> stmmac_mdio_read() & stmmac_mdio_write() will sleep

Re: [PATCH rebased] powerpc/fadump: when fadump is supported register the fadump sysfs files.

2019-08-28 Thread Michal Suchánek
On Tue, 27 Aug 2019 17:57:31 +0530 Hari Bathini wrote: > Hi Michal, > > Thanks for the patch. > > On 20/08/19 11:42 PM, Michal Suchanek wrote: > > Currently it is not possible to distinguish the case when fadump is > > supported by firmware and disabled in kernel and completely unsupported > >

Re: [PATCH net-next 03/15] net: sgi: ioc3-eth: remove checkpatch errors/warning

2019-08-28 Thread Joe Perches
On Wed, 2019-08-28 at 16:03 +0200, Thomas Bogendoerfer wrote: > Before massaging the driver further fix oddities found by checkpatch like > - wrong indention > - comment formatting > - use of printk instead or netdev_xxx/pr_xxx trivial notes: Please try to make the code better rather than merely

RE: [PATCH V8 3/3] mmc: sdhci-pci-o2micro: Fix O2 Host data read/write DLL Lock phase shift issue

2019-08-28 Thread Shirley Her (SC)
Hi, Adrian: For the 1st comment, the array size of dmdn_table is DMDN_SZ and dll_adjust_count starts from 0. When its value reaches DMDN_SZ, it will break from while loop. By judging whether dll_adjust_count equals to DMDN_SZ should be OK. For the 2nd comment, we checked the patch by using chec

Re: [PATCH v1 net-next] net: stmmac: Add support for MDIO interrupts

2019-08-28 Thread Florian Fainelli
On 8/28/19 10:07 AM, Voon, Weifeng wrote: DW EQoS v5.xx controllers added capability for interrupt generation when MDIO interface is done (GMII Busy bit is cleared). This patch adds support for this interrupt on supported HW to avoid polling on GMII Busy bit. stmmac_md

Re: [PATCH -next] rtc: pcf2127: Fix build error without CONFIG_WATCHDOG_CORE

2019-08-28 Thread Randy Dunlap
On 8/23/19 7:05 AM, Alexandre Belloni wrote: > On 23/08/2019 20:45:53+0800, YueHaibing wrote: >> If WATCHDOG_CORE is not set, build fails: >> >> drivers/rtc/rtc-pcf2127.o: In function `pcf2127_probe.isra.6': >> drivers/rtc/rtc-pcf2127.c:478: undefined reference to >> `devm_watchdog_register_device

Re: mmotm 2019-08-27-20-39 uploaded (objtool: xen)

2019-08-28 Thread Josh Poimboeuf
On Wed, Aug 28, 2019 at 09:58:37AM -0700, Randy Dunlap wrote: > On 8/27/19 8:40 PM, a...@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2019-08-27-20-39 has been uploaded to > > > >http://www.ozlabs.org/~akpm/mmotm/ > > > > mmotm-readme.txt says > > > > README for mm-of-the-mo

Re: [PATCH v2 2/3] staging: rtl8192u: fix macro alignment in ieee80211

2019-08-28 Thread Joe Perches
On Wed, 2019-08-21 at 07:35 -0700, Stephen Brennan wrote: > Several macros display unaligned, due to mixes of tabs and spaces. These > can be fixed by making spacing consistent, do this. [] > @@ -452,18 +452,19 @@ do { if (ieee80211_debug_level & (level)) \ >printk(KERN_DEBUG "ieee80211: " fmt,

Re: [PATCH 1/4] binder: add a mount option to show global stats

2019-08-28 Thread Hridya Valsaraju
On Wed, Aug 28, 2019 at 5:39 AM Christian Brauner wrote: > > On Wed, Aug 28, 2019 at 11:22:37AM +0200, Greg Kroah-Hartman wrote: > > On Tue, Aug 27, 2019 at 01:41:49PM -0700, Hridya Valsaraju wrote: > > > Currently, all binder state and statistics live in debugfs. > > > We need this information ev

Re: [PATCH v4 3/3] vfio/pci: make use of irq_update_devid and optimize irq ops

2019-08-28 Thread Alex Williamson
On Wed, 28 Aug 2019 18:08:02 +0800 Ben Luo wrote: > 在 2019/8/28 上午4:33, Alex Williamson 写道: > > On Thu, 22 Aug 2019 23:34:43 +0800 > > Ben Luo wrote: > > > >> When userspace (e.g. qemu) triggers a switch between KVM > >> irqfd and userspace eventfd, only dev_id of irq action > >> (i.e. the "tr

[GIT PULL rcu/next] Supplementary RCU commits for 5.4

2019-08-28 Thread Paul E. McKenney
Hello, Ingo, This pull request contains the following changes: 1. A one-line change that affects only Tiny RCU that is needed by the RISC-V guys, courtesy of Christoph Hellwig. 2. An update to my email address. The old one still works, at least most of the time. All o

[PATCH v2] powerpc/fadump: when fadump is supported register the fadump sysfs files.

2019-08-28 Thread Michal Suchanek
Currently it is not possible to distinguish the case when fadump is supported by firmware and disabled in kernel and completely unsupported using the kernel sysfs interface. User can investigate the devicetree but it is more reasonable to provide sysfs files in case we get some fadumpv2 in the futu

[PATCH V3 0/6] PCI: tegra: Enable PCIe C5 controller of Tegra194 in p2972-0000 platform

2019-08-28 Thread Vidya Sagar
This patch series enables Tegra194's C5 controller which owns x16 slot in p2972- platform. C5 controller's PERST# and CLKREQ# are not configured as output and bi-directional signals by default and hence they need to be configured explicitly. Also, x16 slot's 3.3V and 12V supplies are controlled

[PATCH V3 4/6] PCI: tegra: Add support to enable slot regulators

2019-08-28 Thread Vidya Sagar
Add support to get regulator information of 3.3V and 12V supplies of a PCIe slot from the respective controller's device-tree node and enable those supplies. This is required in platforms like p2972- where the supplies to x16 slot owned by C5 controller need to be enabled before attempting to e

[PATCH V3 1/6] dt-bindings: PCI: tegra: Add sideband pins configuration entries

2019-08-28 Thread Vidya Sagar
Add optional bindings "pinctrl-names" and "pinctrl-0" to describe pin configuration information of a particular PCIe controller. Signed-off-by: Vidya Sagar --- V3: * None V2: * None .../devicetree/bindings/pci/nvidia,tegra194-pcie.txt | 8 1 file changed, 8 insertions(+) diff --

[PATCH V3 2/6] dt-bindings: PCI: tegra: Add PCIe slot supplies regulator entries

2019-08-28 Thread Vidya Sagar
Add optional bindings "vpcie3v3-supply" and "vpcie12v-supply" to describe regulators of a PCIe slot's supplies 3.3V and 12V provided the platform is designed to have regulator controlled slot supplies. Signed-off-by: Vidya Sagar --- V3: * None V2: * None .../devicetree/bindings/pci/nvidia,tegr

[PATCH V3 6/6] arm64: tegra: Add PCIe slot supply information in p2972-0000 platform

2019-08-28 Thread Vidya Sagar
Add 3.3V and 12V supplies regulators information of x16 PCIe slot in p2972- platform which is owned by C5 controller and also enable C5 controller. Signed-off-by: Vidya Sagar --- V3: * None V2: * None .../arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 24 +++ .../boot/dts/nvid

[PATCH V3 5/6] arm64: tegra: Add configuration for PCIe C5 sideband signals

2019-08-28 Thread Vidya Sagar
Add support to configure PCIe C5's sideband signals PERST# and CLKREQ# as output and bi-directional signals respectively which unlike other PCIe controllers sideband signals are not configured by default. Signed-off-by: Vidya Sagar --- V3: * None V2: * None arch/arm64/boot/dts/nvidia/tegra194.

[PATCH V3 3/6] PCI: tegra: Add support to configure sideband pins

2019-08-28 Thread Vidya Sagar
Add support to configure sideband signal pins when information is present in respective controller's device-tree node. Signed-off-by: Vidya Sagar --- V3: * Used 'dev' instead of 'pcie->dev' V2: * Addressed review comment from Andrew Murray * Handled failure case of pinctrl_pm_select_default_stat

Re: [PATCH 08/15] sched,fair: simplify timeslice length code

2019-08-28 Thread Vincent Guittot
On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > The idea behind __sched_period makes sense, but the results do not always. > > When a CPU has one high priority task and a large number of low priority > tasks, __sched_period will return a value larger than sysctl_sched_latency, > and the one

[RFC net-next v1 0/5] PHY converter driver for DW xPCS IP

2019-08-28 Thread Ong Boon Leong
Following review comment from Florian and discussion in below thread:- https://patchwork.ozlabs.org/patch/1109777/ This RFC is to solicit feedback on the implementation of PHY converter driver for DW xPCS and some changes in the mdiobus API to prepare for mdio device registration during driver op

[RFC net-next v1 1/5] net: phy: make mdiobus_create_device() function callable from Eth driver

2019-08-28 Thread Ong Boon Leong
PHY converter and external PHY drivers depend on MDIO functions of Eth driver and such MDIO read/write completion may fire IRQ. The ISR for MDIO completion IRQ is done in the open() function of driver. For PHY converter mdio driver that registers ISR event that uses MDIO read/write function during

[RFC net-next v1 2/5] net: phy: introduce mdiobus_get_mdio_device

2019-08-28 Thread Ong Boon Leong
Add the function to get mdio_device based on the mdio addr. Signed-off-by: Ong Boon Leong --- drivers/net/phy/mdio_bus.c | 6 ++ include/linux/mdio.h | 1 + 2 files changed, 7 insertions(+) diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c index 06658d9197a1..96ef94

[RFC net-next v1 4/5] net: phy: introducing support for DWC xPCS logics for EHL & TGL

2019-08-28 Thread Ong Boon Leong
xPCS is DWC Ethernet Physical Coding Sublayer that can be integrated with Ethernet MAC controller and acts as converter between GMII and SGMII. An example is as shown below whereby DWC xPCS is integrated with DW EQoS MAC to form GbE Controller. <-GbE Controller-->|<--Exte

[RFC net-next v1 3/5] net: phy: add private data to mdio_device

2019-08-28 Thread Ong Boon Leong
PHY converter device is represented as mdio_device and requires private data. So, we add pointer for private data to mdio_device struct. Signed-off-by: Ong Boon Leong --- include/linux/mdio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mdio.h b/include/linux/mdio.h index

[PATCH] arm64: use x22 to save boot exception level

2019-08-28 Thread Andrew F. Davis
The exception level in which the kernel was entered needs to be saved for later. We do this by writing the exception level to memory. As this data is written with the MMU/cache off it will bypass any cache, after this we invalidate the address so that later reads from cacheable mappings do not read

[RFC net-next v1 5/5] net: stmmac: add dwxpcs boardinfo for mdio_device registration

2019-08-28 Thread Ong Boon Leong
For EHL & TGL Ethernet PCS, the mdio bus address is the same across all TSN controller instances. External PHY is using default mdio bus address of 0x0. As Ethernet DW PCS is only applicable for SGMII interface, we only register setup_intel_mgbe_phy_conv() for all TSN controller with SGMII interfac

Follow up on hid2hci: Fix udev rules for linux-4.14+

2019-08-28 Thread Dan Streetman
It looks like this patch got lost at some point: https://lore.kernel.org/patchwork/patch/902126/#1138115 but it seems to still be a problem and I'd like to pull it into Ubuntu: https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1759836 Ville, did you ever follow up with a v2 for that patch and/

Re: [ptrace] 201766a20e: kernel_selftests.seccomp.make_fail

2019-08-28 Thread Kees Cook
On Mon, Aug 05, 2019 at 12:47:19PM +0300, Dmitry V. Levin wrote: > On Mon, Jul 29, 2019 at 05:35:30PM +0800, kernel test robot wrote: > > FYI, we noticed the following commit (built with gcc-7): > > > > commit: 201766a20e30f982ccfe36bebfad9602c3ff574a ("ptrace: add > > PTRACE_GET_SYSCALL_INFO req

Re: [PATCH v2 7/7] bug: Move WARN_ON() "cut here" into exception handler

2019-08-28 Thread Kees Cook
On Fri, Aug 23, 2019 at 04:26:59PM +0200, Christophe Leroy wrote: > > > Le 23/08/2019 à 00:56, Andrew Morton a écrit : > > On Tue, 20 Aug 2019 09:47:55 -0700 Kees Cook wrote: > > > > > Reply-To: 20190819234111.9019-8-keesc...@chromium.org > > > > Really? > > That seems correct, that's the "[P

[PATCH] uaccess: Disallow > INT_MAX copy sizes

2019-08-28 Thread Kees Cook
As we've done with VFS, string operations, etc, reject usercopy sizes larger than INT_MAX, which would be nice to have for catching bugs related to size calculation overflows[1]. This adds 10 bytes to x86_64 defconfig text and 1980 bytes to the data section: textdata bss dec he

RE: [PATCH v1 net-next] net: phy: mdio_bus: make mdiobus_scan also cover PHY that only talks C45

2019-08-28 Thread Voon, Weifeng
> On 8/28/19 8:41 AM, Ong, Boon Leong wrote: > >> On Tue, Aug 27, 2019 at 03:23:34PM +, Voon, Weifeng wrote: > >> Make mdiobus_scan() to try harder to look for any PHY that only > talks C45. > > If you are not using Device Tree or ACPI, and you are letting the > > MDIO bus be s

Re: [PATCH 7/7] bug: Move WARN_ON() "cut here" into exception handler

2019-08-28 Thread Kees Cook
On Tue, Aug 20, 2019 at 09:14:29PM -0400, Steven Rostedt wrote: > On Tue, 20 Aug 2019 12:58:49 +0200 > Christophe Leroy wrote: > > > >> index 1077366f496b..6c22e8a6f9de 100644 > > >> --- a/lib/bug.c > > >> +++ b/lib/bug.c > > >> @@ -181,6 +181,15 @@ enum bug_trap_type report_bug(unsigned long >

<    4   5   6   7   8   9   10   11   12   >