Re: Suboptimal inline heuristics due to non-code sections

2018-05-01 Thread Nadav Amit
Nadav Amit wrote: > Linus Torvalds wrote: > >> On Tue, May 1, 2018 at 6:40 AM Josh Poimboeuf wrote: >> >>> But if I remove the section completely by removing the >>> pushsection/popsection, then copy_overflow() gets inlined. >> >>> So GCC's inlining decisions are somehow influenced by the ex

Re: [PATCH v6 05/10] drivers: qcom: rpmh-rsc: write sleep/wake requests to TCS

2018-05-01 Thread Matthias Kaehlcke
Hi Lina, On Tue, May 01, 2018 at 10:10:10AM -0600, Lina Iyer wrote: > On Fri, Apr 27 2018 at 17:24 -0600, Doug Anderson wrote: > > Hi, > > > > On Fri, Apr 27, 2018 at 2:54 PM, Matthias Kaehlcke > > wrote: > > > > > Am I getting something wrong here? > > > > > > > > The for_each_set_bit() shoul

Re: Suboptimal inline heuristics due to non-code sections

2018-05-01 Thread Linus Torvalds
On Tue, May 1, 2018 at 9:39 AM Nadav Amit wrote: > Would it be reasonable to remove new-lines in such cases? Yeah, that may be fine for some of our (already illegible) section crud. Linus

Re: [PATCH v3 1/3] nvmem: Update the OF binding to use a subnode for the cells list

2018-05-01 Thread Srinivas Kandagatla
On 18/04/18 14:34, Alban wrote: On Wed, 18 Apr 2018 13:53:56 +0100 Srinivas Kandagatla wrote: On 18/04/18 13:32, Alban wrote: I was also suggesting you to use nvmem-cell subnode, but make it a proper nvmem provider device, rather than reusing its parent device. You would end up some thing

Re: bug-introducing patches (or: -rc cycles suck)

2018-05-01 Thread Willy Tarreau
On Tue, May 01, 2018 at 04:19:35PM +, Sasha Levin wrote: > On Mon, Apr 30, 2018 at 09:09:18PM +0200, Willy Tarreau wrote: > >Hi Sasha, > > > >On Mon, Apr 30, 2018 at 05:58:30PM +, Sasha Levin wrote: > >> - For some reason, the odds of a -rc commit to be targetted for -stable is > >> over

Re: Suboptimal inline heuristics due to non-code sections

2018-05-01 Thread Linus Torvalds
On Tue, May 1, 2018 at 9:46 AM Nadav Amit wrote: > My bad. It’s not the new-line. Let me do some more digging. From the gcc docs: Some targets require that GCC track the size of each instruction used in order to generate correct code. Because the final length of the code produced by

Re: Suboptimal inline heuristics due to non-code sections

2018-05-01 Thread Nadav Amit
Linus Torvalds wrote: > On Tue, May 1, 2018 at 9:46 AM Nadav Amit wrote: > >> My bad. It’s not the new-line. Let me do some more digging. > > From the gcc docs: > > Some targets require that GCC track the size of each instruction used > in order to generate correct code. Because the fina

Re: [PATCH 2/2] mm: Add kvmalloc_ab_c and kvzalloc_struct

2018-05-01 Thread Kees Cook
On Mon, Apr 30, 2018 at 2:29 PM, Rasmus Villemoes wrote: > On 2018-04-30 22:16, Matthew Wilcox wrote: >> On Mon, Apr 30, 2018 at 12:02:14PM -0700, Kees Cook wrote: >>> >>> Getting the constant ordering right could be part of the macro >>> definition, maybe? i.e.: >>> >>> static inline void *kmallo

Re: [RFC net-next 4/5] net: phy: Add support for IEEE standard test modes

2018-05-01 Thread Florian Fainelli
On 04/30/2018 04:20 PM, Andrew Lunn wrote: >> +/* genphy_set_test - Make a PHY enter one of the standard IEEE defined >> + * test modes >> + * @phydev: the PHY device instance >> + * @test: the desired test mode >> + * @data: test specific data (none) >> + * >> + * This function makes the designate

Re: [PATCH 3/5] ib_srpt: depend on INFINIBAND_ADDR_TRANS

2018-05-01 Thread Doug Ledford
On Tue, 2018-05-01 at 03:08 +, Greg Thelen wrote: > On Mon, Apr 30, 2018 at 4:35 PM Jason Gunthorpe wrote: > > > On Wed, Apr 25, 2018 at 03:33:39PM -0700, Greg Thelen wrote: > > > INFINIBAND_SRPT code depends on INFINIBAND_ADDR_TRANS provided symbols. > > > So declare the kconfig dependency.

Re: [PATCH] vhost: make msg padding explicit

2018-05-01 Thread Michael S. Tsirkin
On Tue, May 01, 2018 at 11:28:22AM -0400, David Miller wrote: > From: "Michael S. Tsirkin" > Date: Fri, 27 Apr 2018 19:02:05 +0300 > > > There's a 32 bit hole just after type. It's best to > > give it a name, this way compiler is forced to initialize > > it with rest of the structure. > > > > Re

Re: bug-introducing patches (or: -rc cycles suck)

2018-05-01 Thread Sasha Levin
On Tue, May 01, 2018 at 06:50:51PM +0200, Willy Tarreau wrote: >On Tue, May 01, 2018 at 04:19:35PM +, Sasha Levin wrote: >> On Mon, Apr 30, 2018 at 09:09:18PM +0200, Willy Tarreau wrote: >> >Hi Sasha, >> > >> >On Mon, Apr 30, 2018 at 05:58:30PM +, Sasha Levin wrote: >> >> - For some reason

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

2018-05-01 Thread Eric W. Biederman
ebied...@xmission.com (Eric W. Biederman) writes: > Kirill Tkhai do you think you would be able adapt Michal Hoko's old > patch at https://marc.info/?l=linux-kernel&m=143635857131756&w=2 > that replaces mm->owner with mm->memcg? Ouch. At least compared to the current kernel your patch is wide of

Re: [RFC net-next 0/5] Support for PHY test modes

2018-05-01 Thread Florian Fainelli
On 04/30/2018 04:24 PM, Andrew Lunn wrote: >> Turning these tests on will typically result in the link partner >> dropping the link with us, and the interface will be non-functional as >> far as the data path is concerned (similar to an isolation mode). This >> might warrant properly reporting that

Re: [RFC] vfs: skip extra attributes check on removal for symlinks

2018-05-01 Thread Darrick J. Wong
On Thu, Apr 26, 2018 at 04:46:39PM -0700, Luis R. Rodriguez wrote: > Linux filesystems cannot set extra file attributes (stx_attributes as per > statx(2)) on a symbolic link. To set extra file attributes you issue > ioctl(2) with FS_IOC_SETFLAGS, *all* ioctl(2) calls on a symbolic link > yield EBAD

Re: [PATCH] bsg referencing bus driver module

2018-05-01 Thread Anatoliy Glagolev
Any comments on the new patch (which, I think, addresses the concern about module being stuck in unloadable state forever; if not, there would be a leak in the bsg layer)? Or on dropping a reference to bsg_class_device's parent early before the bsg_class_device itself is gone, to implement James's

Re: [PATCH 2/3] seccomp: Audit attempts to modify the actions_logged sysctl

2018-05-01 Thread Paul Moore
On Tue, May 1, 2018 at 12:41 PM, Steve Grubb wrote: > On Tuesday, May 1, 2018 11:18:55 AM EDT Paul Moore wrote: >> On Fri, Apr 27, 2018 at 3:16 PM, Tyler Hicks wrote: >> > The decision to log a seccomp action will always be subject to the >> > value of the kernel.seccomp.actions_logged sysctl, ev

RE: [RFC net-next 4/5] net: phy: Add support for IEEE standard test modes

2018-05-01 Thread Woojung.Huh
Hi Florian, > diff --git a/drivers/net/phy/phy-tests.c b/drivers/net/phy/phy-tests.c ... > +/* genphy_set_test - Make a PHY enter one of the standard IEEE defined > + * test modes > + * @phydev: the PHY device instance > + * @test: the desired test mode > + * @data: test specific data (none) > + *

Re: [PATCH v6 05/10] drivers: qcom: rpmh-rsc: write sleep/wake requests to TCS

2018-05-01 Thread Lina Iyer
On Tue, May 01 2018 at 10:42 -0600, Doug Anderson wrote: Hi, On Tue, May 1, 2018 at 9:10 AM, Lina Iyer wrote: Yes, this is incorrect in its current form. This is what it should be - static int find_match(const struct tcs_group *tcs, const struct tcs_cmd *cmd, int len) {

[RFC][PATCH] memcg: Replace mm->owner with mm->memcg

2018-05-01 Thread Eric W. Biederman
Recently it was reported that mm_update_next_owner could get into cases where it was executing it's fallback for_each_process part of the loop and thus taking up a lot of time. To deal with this replace mm->owner with mm->memcg. This just reduces the complexity of everything. As much as possibl

Donation

2018-05-01 Thread wanczykm
Greetings To You, My Name is Mavis Wanczyk , the winner of the Power ball jackpot of $ $758.7 million in the AUGUST 24, 2017, My jackpot was a miracle to me hence my Entire family/foundation has AGREED to do this. My foundation is donating $500,000.00 USD to you. for you to help the orphans in yo

Re: [PATCH] ata: fix spelling mistake: "directon" -> "direction"

2018-05-01 Thread Tejun Heo
On Sun, Apr 29, 2018 at 01:01:11PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in sil24_cerr_info message text > > Signed-off-by: Colin Ian King Applied to libata/for-4.17-fixes. Thanks. -- tejun

Re: [PATCH 2/2] mm: Add kvmalloc_ab_c and kvzalloc_struct

2018-05-01 Thread Julia Lawall
On Tue, 1 May 2018, Kees Cook wrote: > On Mon, Apr 30, 2018 at 2:29 PM, Rasmus Villemoes > wrote: > > On 2018-04-30 22:16, Matthew Wilcox wrote: > >> On Mon, Apr 30, 2018 at 12:02:14PM -0700, Kees Cook wrote: > >>> > >>> Getting the constant ordering right could be part of the macro > >>> defin

[PATCH] net: ethernet: ti: cpsw: fix packet leaking in dual_mac mode

2018-05-01 Thread Grygorii Strashko
In dual_mac mode packets arrived on one port should not be forwarded by switch hw to another port. Only Linux Host can forward packets between ports. The below test case (reported in [1]) shows that packet arrived on one port can be leaked to anoter (reproducible with dual port evms): - connect po

Re: [RFC] vfs: skip extra attributes check on removal for symlinks

2018-05-01 Thread Luis R. Rodriguez
On Tue, May 01, 2018 at 10:23:19AM -0700, Darrick J. Wong wrote: > On Thu, Apr 26, 2018 at 04:46:39PM -0700, Luis R. Rodriguez wrote: > > Linux filesystems cannot set extra file attributes (stx_attributes as per > > statx(2)) on a symbolic link. To set extra file attributes you issue > > ioctl(2) w

Re: [RFC net-next 0/5] Support for PHY test modes

2018-05-01 Thread Andrew Lunn
On Tue, May 01, 2018 at 10:21:54AM -0700, Florian Fainelli wrote: > On 04/30/2018 04:24 PM, Andrew Lunn wrote: > >> Turning these tests on will typically result in the link partner > >> dropping the link with us, and the interface will be non-functional as > >> far as the data path is concerned (si

Re: [PATCH v9 02/11] kexec_file: make kexec_image_post_load_cleanup_default() global

2018-05-01 Thread James Morse
Hi Akashi, On 25/04/18 07:26, AKASHI Takahiro wrote: > Change this function from static to global so that arm64 can implement > its own arch_kimage_file_post_load_cleanup() later using > kexec_image_post_load_cleanup_default(). Do we need to call kexec_image_post_load_cleanup_default()? All it do

Re: [PATCH v9 03/11] arm64: kexec_file: invoke the kernel without purgatory

2018-05-01 Thread James Morse
Hi Akashi, On 25/04/18 07:26, AKASHI Takahiro wrote: > On arm64, purugatory would do almosty nothing. So just invoke secondary > kernel directy by jumping into its entry code. (Nits: purgatory, almost, directly) > While, in this case, cpu_soft_restart() must be called with dtb address > in the

Re: [PATCH v9 06/11] arm64: kexec_file: allow for loading Image-format kernel

2018-05-01 Thread James Morse
Hi Akashi, On 25/04/18 07:26, AKASHI Takahiro wrote: > This patch provides kexec_file_ops for "Image"-format kernel. In this > implementation, a binary is always loaded with a fixed offset identified > in text_offset field of its header. > diff --git a/arch/arm64/include/asm/kexec.h b/arch/arm64

Re: [PATCH v9 04/11] arm64: kexec_file: allocate memory walking through memblock list

2018-05-01 Thread James Morse
Hi Akashi, On 25/04/18 07:26, AKASHI Takahiro wrote: > We need to prevent firmware-reserved memory regions, particularly EFI > memory map as well as ACPI tables, from being corrupted by loading > kernel/initrd (or other kexec buffers). We also want to support memory > allocation in top-down manner

[PATCH v8] PCI: hv: Make sure the bus domain is really unique

2018-05-01 Thread Sridhar Pitchai
When Linux runs as a guest VM in Hyper-V and Hyper-V adds the virtual PCI bus to the guest, Hyper-V always provides unique PCI domain. commit 4a9b0933bdfc ("PCI: hv: Use device serial number as PCI domain") overrode unique domain with the serial number of the first device added to the virtual PCI

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-01 Thread Randy Dunlap
On 04/30/2018 05:57 PM, Ulf Magnusson wrote: > Hello, > > Kconfiglib (https://github.com/ulfalizer/Kconfiglib) now has a > terminal menuconfig implementation, implemented in plain curses > (which is in the Python standard library). > > The interface should feel familiar to people used to mconf. I

[PATCH] v3d: fixup for submit alignment and check for zero flags in other ioctls.

2018-05-01 Thread Eric Anholt
Signed-off-by: Eric Anholt --- airlied + danvet: this is the last change I think we need before I can merge v3d with your acks. Sending as a diff so you don't have to look at the whole thing again. Look good? drivers/gpu/drm/v3d/v3d_bo.c | 10 ++ drivers/gpu/drm/v3d/v3d_gem.c | 5 ++

Re: [PATCH] firmware/psci: add support for SYSTEM_RESET2

2018-05-01 Thread Florian Fainelli
On 05/01/2018 07:51 AM, Sudeep Holla wrote: > PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets > where the semantics are described by the PSCI specification itself as > well as vendor-specific resets. Currently only system warm reset > semantics is defined as part of architectu

Re: [PATCH 1/3] sched: remove select_idle_core() for scalability

2018-05-01 Thread Peter Zijlstra
On Mon, Apr 30, 2018 at 04:38:42PM -0700, Subhra Mazumdar wrote: > I also noticed a possible bug later in the merge code. Shouldn't it be: > > if (busy < best_busy) { >     best_busy = busy; >     best_cpu = first_idle; > } Uhh, quite. I did say it was completely untested, but yes.. /me d

Re: [PATCH] vhost: make msg padding explicit

2018-05-01 Thread David Miller
From: "Michael S. Tsirkin" Date: Tue, 1 May 2018 20:19:19 +0300 > On Tue, May 01, 2018 at 11:28:22AM -0400, David Miller wrote: >> From: "Michael S. Tsirkin" >> Date: Fri, 27 Apr 2018 19:02:05 +0300 >> >> > There's a 32 bit hole just after type. It's best to >> > give it a name, this way compil

Re: [RFC net-next 0/5] Support for PHY test modes

2018-05-01 Thread David Miller
From: Florian Fainelli Date: Tue, 1 May 2018 10:21:54 -0700 > On 04/30/2018 04:24 PM, Andrew Lunn wrote: >>> Turning these tests on will typically result in the link partner >>> dropping the link with us, and the interface will be non-functional as >>> far as the data path is concerned (similar t

Re: [PATCH] sched/fair: make CFS bandwidth slice per cpu group

2018-05-01 Thread Cong Wang
On Tue, May 1, 2018 at 12:11 AM, Peter Zijlstra wrote: > On Mon, Apr 30, 2018 at 01:37:16PM -0700, Cong Wang wrote: >> On Mon, Apr 30, 2018 at 12:42 PM, Peter Zijlstra >> wrote: >> > On Mon, Apr 30, 2018 at 12:29:25PM -0700, Cong Wang wrote: >> >> Currently, the sched_cfs_bandwidth_slice_us is a

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-01 Thread Randy Dunlap
On 05/01/2018 10:56 AM, Randy Dunlap wrote: > On 04/30/2018 05:57 PM, Ulf Magnusson wrote: >> Hello, >> >> Kconfiglib (https://github.com/ulfalizer/Kconfiglib) now has a >> terminal menuconfig implementation, implemented in plain curses >> (which is in the Python standard library). >> >> The interf

Re: [PATCH] net/mlx4: fix spelling mistake: "failedi" -> "failed"

2018-05-01 Thread David Miller
From: Colin King Date: Mon, 30 Apr 2018 17:29:45 +0100 > From: Colin Ian King > > trivial fix to spelling mistake in mlx4_warn message. > > Signed-off-by: Colin Ian King Applied, thanks Colin.

Re: [PATCH v2 0/6] arm64: provide pseudo NMI with GICv3

2018-05-01 Thread Joel Fernandes
> > On 29/04/18 07:37, Joel Fernandes wrote: > > > On Wed, Jan 17, 2018 at 4:10 AM, Julien Thierry < julien.thie...@arm.com> wrote: > > > > Hi, > > > > > > > > On 17/01/18 11:54, Julien Thierry wrote: > > > > > > > > > > This series is a continuation of the work started by Daniel [1]. The goal > >

Re: [PATCH v2] ethtool: fix a potential missing-check bug

2018-05-01 Thread David Miller
From: Wenwen Wang Date: Mon, 30 Apr 2018 12:31:13 -0500 > In ethtool_get_rxnfc(), the object "info" is firstly copied from > user-space. If the FLOW_RSS flag is set in the member field flow_type of > "info" (and cmd is ETHTOOL_GRXFH), info needs to be copied again from > user-space because FLOW_R

[PATCH v3] drm/i915: Disable some extra clang warnings

2018-05-01 Thread Matthias Kaehlcke
Commit 39bf4de89ff7 ("drm/i915: Add -Wall -Wextra to our build, set warnings to full") enabled extra warnings for i915 to spot possible bugs in new code, and then disabled a subset of these warnings to keep the current code building without warnings (with gcc). Enabling the extra warnings also enab

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

2018-05-01 Thread Guenter Roeck
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 --- v2: Use naming scheme suggested by Borislav Petkov. arch/x86/kernel/amd_nb.c | 6 ++ 1 file changed, 6 inse

Re: [PATCH RESEND] connector: add parent pid and tgid to coredump and exit events

2018-05-01 Thread David Miller
From: Stefan Strogin Date: Tue, 1 May 2018 01:04:29 +0300 > The intention is to get notified of process failures as soon > as possible, before a possible core dumping (which could be very long) > (e.g. in some process-manager). Coredump and exit process events > are perfect for such use cases (s

[PATCH v2 2/2] hwmon: (k10temp) Use API function to access System Management Network

2018-05-01 Thread Guenter Roeck
The SMN (System Management Network) on Family 17h AMD CPUs is also accessed from other drivers, specifically EDAC. Accessing it directly is racy. On top of that, accessing the SMN through root bridge 00:00 is wrong on multi-die CPUs and may result in reading the temperature from the wrong die. Use

Re: [v4.17-rcx] Lost IBPB, IBRS_FW support for spectre_v2 mitigation.

2018-05-01 Thread Thomas Gleixner
On Tue, 1 May 2018, Thomas Gleixner wrote: > On Tue, 1 May 2018, Jörg Otte wrote: > > 2018-04-30 21:53 GMT+02:00 Thomas Gleixner : > > > --- a/arch/x86/kernel/cpu/common.c > > > +++ b/arch/x86/kernel/cpu/common.c > > > @@ -848,6 +848,11 @@ void get_cpu_cap(struct cpuinfo_x86 *c) > > >

Re: [RFC net-next 0/5] Support for PHY test modes

2018-05-01 Thread Florian Fainelli
On 05/01/2018 10:47 AM, Andrew Lunn wrote: > On Tue, May 01, 2018 at 10:21:54AM -0700, Florian Fainelli wrote: >> On 04/30/2018 04:24 PM, Andrew Lunn wrote: Turning these tests on will typically result in the link partner dropping the link with us, and the interface will be non-functional

[PATCH net-next v7 2/3] vmcore: append device dumps to vmcore as elf notes

2018-05-01 Thread Rahul Lakkireddy
Update read and mmap logic to append device dumps as additional notes before the other elf notes. We add device dumps before other elf notes because the other elf notes may not fill the elf notes buffer completely and we will end up with zero-filled data between the elf notes and the device dumps.

[PATCH v5 1/3] mmc: dw_mmc-bluefield: Add driver extension

2018-05-01 Thread Liming Sun
This commit adds extension to the dw_mmc driver for Mellanox BlueField SoC. It updates the UHS_REG_EXT register to bring up the eMMC card on this SoC. Cc: sta...@kernel.org Signed-off-by: Liming Sun Reviewed-by: David Woods --- drivers/mmc/host/Kconfig| 9 + drivers/mmc/host/Ma

[PATCH net-next v7 1/3] vmcore: add API to collect hardware dump in second kernel

2018-05-01 Thread Rahul Lakkireddy
The sequence of actions done by device drivers to append their device specific hardware/firmware logs to /proc/vmcore are as follows: 1. During probe (before hardware is initialized), device drivers register to the vmcore module (via vmcore_add_device_dump()), with callback function, along with bu

[PATCH v5 3/3] arm64: defconfig: Enable dw_mmc-bluefield driver

2018-05-01 Thread Liming Sun
This patch updates arm64 defconfig to enable dw_mmc-bluefield, which is a driver extension of Synopsys Designware MMC for the Mellanox BlueField Soc. Cc: sta...@kernel.org Signed-off-by: Liming Sun Reviewed-by: David Woods --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)

[PATCH v5 2/3] dt-bindings: mmc: Add binding for BlueField SoC

2018-05-01 Thread Liming Sun
This commit adds "mellanox,bluefield-dw-mshc" for dwmmc driver extension on Mellanox BlueField SoC platform. Cc: sta...@kernel.org Signed-off-by: Liming Sun Reviewed-by: David Woods Reviewed-by: Rob Herring --- .../devicetree/bindings/mmc/bluefield-dw-mshc.txt | 29 ++ 1 f

[PATCH net-next v7 3/3] cxgb4: collect hardware dump in second kernel

2018-05-01 Thread Rahul Lakkireddy
Register callback to collect hardware/firmware dumps in second kernel before hardware/firmware is initialized. The dumps for each device will be available as elf notes in /proc/vmcore in second kernel. Signed-off-by: Rahul Lakkireddy Signed-off-by: Ganesh Goudar --- v7: - Removed "CHELSIO" vendo

[PATCH net-next v7 0/3] kernel: add support to collect hardware logs in crash recovery kernel

2018-05-01 Thread Rahul Lakkireddy
On production servers running variety of workloads over time, kernel panic can happen sporadically after days or even months. It is important to collect as much debug logs as possible to root cause and fix the problem, that may not be easy to reproduce. Snapshot of underlying hardware/firmware stat

Motorola Droid 4 progress, power consumption

2018-05-01 Thread Pavel Machek
Hi! 4.17-rc1 is quite usable on droid 4; basically everything works. OHCI is running all the time, which means we burn a lot of power needlessly. Anyway, >5.5hours of standby with screen off, GSM on is already usable. This is the core of code I'm using. https://github.com/pavelmachek/unicsy_dem

Re: [PATCH v3 2/2] nvmem: Add RAVE SP EEPROM driver

2018-05-01 Thread Andrey Smirnov
On Tue, May 1, 2018 at 8:33 AM, Srinivas Kandagatla wrote: > > > On 01/05/18 06:29, Andrey Smirnov wrote: >> >> +// SPDX-License-Identifier: GPL-2.0+ > > ... >> >> +MODULE_LICENSE("GPL"); > > I think this should be > MODULE_LICENSE("GPL v2"); With that change the two statements would contradict e

[PATCH] m68k/defconfig: Update defconfigs for v4.17-rc3

2018-05-01 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- To be combined with "m68k/defconfig: Update defconfigs for v4.17-rc1". --- arch/m68k/configs/amiga_defconfig| 6 +++--- arch/m68k/configs/apollo_defconfig | 6 +++--- arch/m68k/configs/atari_defconfig| 6 +++--- arch/m68k/configs/bvme6000_defconfig

Build regressions/improvements in v4.17-rc3

2018-05-01 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.17-rc3[1] compared to v4.16[2]. Summarized: - build errors: +5/-10 - build warnings: +1255/-1608 JFYI, when comparing v4.17-rc3[1] to v4.17-rc2[3], the summaries are: - build errors: +3/-0 - build warnings: +554/-455

Re: Suggested new user link command

2018-05-01 Thread Tony Wallace
On 02/05/18 01:35, Bernd Petrovitsch wrote: > Hi all! > > Top-quoting is evil BTW. > > On Wed, 2018-05-02 at 00:17 +1200, Tony Wallace wrote: >> Two issues here: >> 1) Use case (which I have) >> 2) Permissions >> >> 1) Use case >> >> I am trying to build a backup system. To avoid duplication of fi

Re: [PATCH 11/21] trace: Use -mcount-record for dynamic ftrace

2018-05-01 Thread Steven Rostedt
On Thu, 30 Nov 2017 19:22:33 -0500 Steven Rostedt wrote: > On Mon, 27 Nov 2017 13:34:13 -0800 > Andi Kleen wrote: > > > From: Andi Kleen > > > > gcc 5 supports a new -mcount-record option to generate ftrace > > tables directly. This avoids the need to run record_mcount > > manually. > > > >

Re: [RFC net-next 4/5] net: phy: Add support for IEEE standard test modes

2018-05-01 Thread Florian Fainelli
On 05/01/2018 10:29 AM, woojung@microchip.com wrote: > Hi Florian, > >> diff --git a/drivers/net/phy/phy-tests.c b/drivers/net/phy/phy-tests.c > ... >> +/* genphy_set_test - Make a PHY enter one of the standard IEEE defined >> + * test modes >> + * @phydev: the PHY device instance >> + * @test

Re: [PATCH] tracing/irqtrace: only call trace_hardirqs_on/off when state changes

2018-05-01 Thread Steven Rostedt
On Fri, 17 Nov 2017 02:15:06 +1000 Nicholas Piggin wrote: > In local_irq_save and local_irq_restore, only call irq tracing when > the flag state acutally changes. It is not unexpected for the state > to go disable->disable. > > This allows the irq tracing code to better track superfluous > enabl

Re: [PATCH] Input: atmel_mxt_ts - add missing compatible strings to OF device table

2018-05-01 Thread Dmitry Torokhov
On Tue, Apr 10, 2018 at 11:53:40AM +0200, Javier Martinez Canillas wrote: > Commit af503716ac14 ("i2c: core: report OF style module alias for devices > registered via OF") fixed how the I2C core reports the module alias when > devices are registered via OF. > > But the atmel_mxt_ts driver only has

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-01 Thread Randy Dunlap
On 05/01/2018 11:13 AM, Randy Dunlap wrote: > On 05/01/2018 10:56 AM, Randy Dunlap wrote: >> On 04/30/2018 05:57 PM, Ulf Magnusson wrote: >>> Hello, >>> >>> Kconfiglib (https://github.com/ulfalizer/Kconfiglib) now has a >>> terminal menuconfig implementation, implemented in plain curses >>> (which

Re: [GIT PULL 1/3] bcm2835-dt-next-2018-04-30

2018-05-01 Thread Florian Fainelli
On 04/30/2018 02:27 PM, Eric Anholt wrote: > Hi Florian, > > The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: > > Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) > > are available in the Git repository at: > > git://github.com/anholt/linux tags/bcm2835-dt-next-2018-04

Re: [GIT PULL 2/3] bcm2835-defconfig-next-2018-04-30

2018-05-01 Thread Florian Fainelli
On 04/30/2018 02:27 PM, Eric Anholt 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: > > git://github.com/anholt/linux tags/bcm2835-defconfig-next-2018-04-30 > > f

Re: [GIT PULL 3/3] bcm2835-defconfig-64-next-2018-04-30

2018-05-01 Thread Florian Fainelli
On 04/30/2018 02:27 PM, Eric Anholt 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: > > git://github.com/anholt/linux tags/bcm2835-defconfig-64-next-2018-04-30 >

Re: [PATCH v2] thunderbolt: Handle NULL boot ACL entries properly

2018-05-01 Thread Yehezkel Bernat
On Mon, Apr 30, 2018 at 2:12 PM Mika Westerberg < mika.westerb...@linux.intel.com> wrote: > If the boot ACL entry is already NULL we should not fill in the upper > two DWs with 0xf. Otherwise they are not shown as empty entries > when the sysfs attribute is read. > Fixes: 9aaa3b8b4c56 ("t

[PATCH net-next 0/9] Misc bug fixes for HNS3 Ethernet driver

2018-05-01 Thread Salil Mehta
This patch-set presents some miscellaneous bug fixs and cleanups for HNS3 Ethernet Driver. Fuyun Liang (1): net: hns3: Fix to support autoneg only for port attached with phy Huazhong Tan (5): net: hns3: fix to correctly fetch l4 protocol outer header net: hns3: Fixes the out of bounds acces

[PATCH net-next 8/9] net: hns3: Fix for packet loss due wrong filter config in VLAN tbls

2018-05-01 Thread Salil Mehta
From: Yunsheng Lin There are two level of vlan tables in hardware, one is port vlan which is shared by all functions, the other one is function vlan table, each function has it's own function vlan table. Currently, PF sets the port vlan table, and vf sets the function vlan table, which will cause

[PATCH net-next 9/9] net: hns3: Remove packet statistics in the range of 8192~12287

2018-05-01 Thread Salil Mehta
From: Xi Wang Because the current statistics for size 8192~12287 are only valid for GE, the ranges of 8192~9216 and 9217~12287 are valid only for LGE/CGE, and are always 0 for GE interfaces. it is easy to cause confusion when viewing the packet statistics using the command ethtool -S. This patch

[PATCH 2/2] ARM64: dts: meson: update maximum frequency for sdcard to 200MHz

2018-05-01 Thread Anand Moon
update the maximum frequency of the sdcard to 200Mhz to support high speed read/write with uhs mode. Signed-off-by: Anand Moon --- odroid@odroid64:~$ sudo cat /sys/kernel/debug/mmc1/ios [sudo] password for odroid: clock: 2 Hz actual clock: 2 Hz vdd:21 (3.3 ~

Re: [PATCH] 1wire: family module autoload fails because of upper/lower case mismatch.

2018-05-01 Thread gre...@linuxfoundation.org
On Tue, May 01, 2018 at 09:54:37PM +0300, Evgeniy Polyakov wrote: > Hi Ingo > > Sorry for late reply and because of forcing you to resend the patch, your > changes are correct > > 01.05.2018, 17:10, "Ingo Flaschberger" : > > 1wire family module autoload fails because of upper/lower > >   case mi

[PATCH net-next 5/9] net: hns3: fix for phy_addr error in hclge_mac_mdio_config

2018-05-01 Thread Salil Mehta
From: Huazhong Tan When phy exists, phy_addr must less than PHY_MAX_ADDR. If not, hclge_mac_mdio_config should return error. And for fiber(phy_addr=0xff), it does not need hclge_mac_mdio_config. Signed-off-by: Huazhong Tan Signed-off-by: Peng Li Signed-off-by: Salil Mehta --- drivers/net/eth

[PATCH 1/2] ARM64: dts: meson-gxbb: odroidc2: enable sdcard UHS modes

2018-05-01 Thread Anand Moon
Enable UHS modes for sdcard, on odroidc2. Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index 54

[PATCH net-next 6/9] net: hns3: Fix to support autoneg only for port attached with phy

2018-05-01 Thread Salil Mehta
From: Fuyun Liang This patch adds a check to support autoneg(ethtool -A) only when PHY is attached with the port. Fixes: e2cb1dec9779 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support") Signed-off-by: Fuyun Liang Signed-off-by: Peng Li Signed-off-by: Salil Mehta --- drivers/

[PATCH net-next 4/9] net: hns3: Fixes the error legs in hclge_init_ae_dev function

2018-05-01 Thread Salil Mehta
From: Huazhong Tan This patch fixes some of the missed error legs in the initialization function of the ae device. This might cause leaks in case of failure. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by: Huazhong Tan Signed-off-by:

[PATCH net-next 7/9] net: hns3: fix a dead loop in hclge_cmd_csq_clean

2018-05-01 Thread Salil Mehta
From: Huazhong Tan If head has invlid value then a dead loop can be triggered in hclge_cmd_csq_clean. This patch adds sanity check for this case. Fixes: 68c0a5c70614 ("net: hns3: Add HNS3 IMP(Integrated Mgmt Proc) Cmd Interface Support") Signed-off-by: Huazhong Tan Signed-off-by: Peng Li Signe

[PATCH net-next 2/9] net: hns3: fix to correctly fetch l4 protocol outer header

2018-05-01 Thread Salil Mehta
From: Huazhong Tan This patch fixes the function being used to fetch L4 protocol outer header. Mistakenly skb_inner_transport_header API was being used earlier. Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC") Signed-off-by: Huazhong Tan Signed-off-by: Peng

[PATCH net-next 3/9] net: hns3: Fixes the out of bounds access in hclge_map_tqp

2018-05-01 Thread Salil Mehta
From: Huazhong Tan This patch fixes the handling of the check when number of vports are detected to be more than available TPQs. Current handling causes an out of bounds access in hclge_map_tqp(). Fixes: 7df7dad633e2 ("net: hns3: Refactor the mapping of tqp to vport") Signed-off-by: Huazhong Tan

[PATCH net-next 1/9] net: hns3: Remove error log when getting pfc stats fails

2018-05-01 Thread Salil Mehta
From: Yunsheng Lin When mac supports DCB, but is in GE mode, it does not support querying pfc stats, firmware returns error when trying to query the pfc stats. this creates a lot of noise in the kernel log when it prints the error log. This patch fixes it by removing the error log, because it al

Re: [PATCH] 1wire: family module autoload fails because of upper/lower case mismatch.

2018-05-01 Thread Evgeniy Polyakov
Hi Ingo Sorry for late reply and because of forcing you to resend the patch, your changes are correct 01.05.2018, 17:10, "Ingo Flaschberger" : > 1wire family module autoload fails because of upper/lower >   case mismatch. > > Signed-off-by: Ingo Flaschberger Greg, please pull this patch into y

Re: [PATCH 3.18 00/25] 3.18.108-stable review

2018-05-01 Thread Shuah Khan
On 04/30/2018 01:23 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.108 release. > There are 25 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.16 000/113] 4.16.7-stable review

2018-05-01 Thread Shuah Khan
On 04/30/2018 01:23 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.16.7 release. > There are 113 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH 4.14 00/91] 4.14.39-stable review

2018-05-01 Thread Shuah Khan
On 04/30/2018 01:23 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.39 release. > There are 91 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH 4.4 00/44] 4.4.131-stable review

2018-05-01 Thread Shuah Khan
On 04/30/2018 01:24 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.131 release. > There are 44 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH 4.9 00/61] 4.9.98-stable review

2018-05-01 Thread Shuah Khan
On 04/30/2018 01:24 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.98 release. > There are 61 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH v2 0/2] pinctrl: generic: improve apply_setting error verbosity

2018-05-01 Thread Matheus Castello
This series is for improve verbosity in debug for error cases using pinconf generic API. Legacy pinctrl-vendor drivers prints error messages with more verbosity when parse invalid or not supported sub-nodes properties. In this series we try to show messages with more information about the pinctr

RE: [PATCH v4 2/3] dt-bindings: mmc: Add binding for BlueField SoC

2018-05-01 Thread Liming Sun
Thanks! Updated in v5 2/3. > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Tuesday, May 1, 2018 12:25 PM > To: Liming Sun > Cc: Ulf Hansson ; Mark Rutland > ; Jaehoon Chung ; > Catalin Marinas ; Will Deacon > ; linux-...@vger.kernel.org; > devicet...@vger.kernel.

[PATCH v2 1/2] pinctrl: generic: add API to solve generic sub-node property name

2018-05-01 Thread Matheus Castello
Set dt_params with the definitions of the generic sub-node properties global in pinconf-generic.h and add a function to pinconf-generic API to decode a packed param returning the string name from sub-node property. This can be useful in debug from pinctrl-vendor driver or even for debug in pinconf

Re: [PATCH v5 2/5] efi: Add embedded peripheral firmware support

2018-05-01 Thread Hans de Goede
Hi, On 01-05-18 16:36, Mimi Zohar wrote: [Cc'ing linux-security] On Sun, 2018-04-29 at 11:35 +0200, Hans de Goede wrote: [...] diff --git a/drivers/base/firmware_loader/fallback_efi.c b/drivers/base/firmware_loader/fallback_efi.c new file mode 100644 index ..82ba82f48a79 --- /dev/

Re: [PATCH net-next 0/9] Misc bug fixes for HNS3 Ethernet driver

2018-05-01 Thread David Miller
From: Salil Mehta Date: Tue, 1 May 2018 19:55:56 +0100 > This patch-set presents some miscellaneous bug fixs and cleanups for > HNS3 Ethernet Driver. Series applied, thank you.

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-01 Thread Ulf Magnusson
On Tue, May 1, 2018 at 7:56 PM, Randy Dunlap wrote: > On 04/30/2018 05:57 PM, Ulf Magnusson wrote: >> Hello, >> >> Kconfiglib (https://github.com/ulfalizer/Kconfiglib) now has a >> terminal menuconfig implementation, implemented in plain curses >> (which is in the Python standard library). >> >> T

Re: [PATCH] tracing/irqtrace: only call trace_hardirqs_on/off when state changes

2018-05-01 Thread Peter Zijlstra
On Tue, May 01, 2018 at 02:46:20PM -0400, Steven Rostedt wrote: > On Fri, 17 Nov 2017 02:15:06 +1000 > Nicholas Piggin wrote: > > > In local_irq_save and local_irq_restore, only call irq tracing when > > the flag state acutally changes. It is not unexpected for the state > > to go disable->disabl

Re: [PATCH 4.16 000/113] 4.16.7-stable review

2018-05-01 Thread Greg Kroah-Hartman
On Tue, May 01, 2018 at 01:05:50PM -0600, Shuah Khan wrote: > On 04/30/2018 01:23 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.16.7 release. > > There are 113 patches in this series, all will be posted as a response > > to this one. If anyone has any iss

Re: [PATCH v5 2/5] efi: Add embedded peripheral firmware support

2018-05-01 Thread Mimi Zohar
On Tue, 2018-05-01 at 21:11 +0200, Hans de Goede wrote: > Hi, > > On 01-05-18 16:36, Mimi Zohar wrote: > > [Cc'ing linux-security] > > > > On Sun, 2018-04-29 at 11:35 +0200, Hans de Goede wrote: > > [...] > >> diff --git a/drivers/base/firmware_loader/fallback_efi.c > >> b/drivers/base/firmware_

Re: [PATCH v5 2/5] efi: Add embedded peripheral firmware support

2018-05-01 Thread Andy Lutomirski
On Sun, Apr 29, 2018 at 2:36 AM Hans de Goede wrote: > +The EFI embedded-fw code works by scanning all EFI_BOOT_SERVICES_CODE memory > +segments for an eight byte sequence matching prefix, if the prefix is found it > +then does a crc32 over length bytes and if that matches makes a copy of length >

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-01 Thread Ulf Magnusson
On Tue, May 1, 2018 at 8:52 PM, Randy Dunlap wrote: > On 05/01/2018 11:13 AM, Randy Dunlap wrote: >> On 05/01/2018 10:56 AM, Randy Dunlap wrote: >>> On 04/30/2018 05:57 PM, Ulf Magnusson wrote: Hello, Kconfiglib (https://github.com/ulfalizer/Kconfiglib) now has a terminal menuc

[PATCH v2 2/2] pinctrl: generic: improve apply_setting error verbosity

2018-05-01 Thread Matheus Castello
For generic pinconf: print the dev_error with the pinctrl vendor driver name, error code, the sub-node property name used and the pin that was tried to set. Improves the undestading of the error if use a generic sub-node property that generic-pinconf can do parse but the vendor pinctrl driver does

<    1   2   3   4   5   6   7   8   9   >