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

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,

[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

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

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)

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] 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: >> >>

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

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

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

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 > >

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

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 ---

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: [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 > >

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 > >>

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

2018-05-01 Thread kbuild test robot
Hi Guenter, I love your patch! Yet something to improve: [auto build test ERROR on tip/auto-latest] [also build test ERROR on v4.17-rc3 next-20180501] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [ANNOUNCE] Kconfiglib menuconfig implementation

2018-05-01 Thread Ulf Magnusson
On Tue, May 1, 2018 at 9:12 PM, Ulf Magnusson wrote: > 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

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

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=143635857131756=2 > that replaces mm->owner with mm->memcg? Ouch. At least compared to the current kernel your patch is wide of

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] 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

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

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 > >

[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.

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

[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

[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

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.

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

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

[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

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

[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

[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 ++

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

[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 ---

[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

[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

[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 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 ---

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

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

[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

[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

[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

[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

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

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

Re: [PATCH v7 4/5] cpuset: Restrict load balancing off cpus to subset of cpus.isolated

2018-05-01 Thread Tejun Heo
Hello, Waiman. Sorry about the delay. On Thu, Apr 19, 2018 at 09:47:03AM -0400, Waiman Long wrote: > With the addition of "cpuset.cpus.isolated", it makes sense to add the > restriction that load balancing can only be turned off if the CPUs in > the isolated cpuset are subset of

[PATCH 2/2] iommu/amd - Update logging information for new event type

2018-05-01 Thread Gary R Hook
A new events have been defined in the AMD IOMMU spec: 0x09 - "invalid PPR request" Add support for logging this type of event. Signed-off-by: Gary R Hook ~ ~ ~ --- drivers/iommu/amd_iommu.c | 10 +- drivers/iommu/amd_iommu_types.h |1 + 2 files changed,

[PATCH 0/2] Tweak AMD IOMMU logging

2018-05-01 Thread Gary R Hook
Update the AMD IOMMU log messages to be more precise, and add a log message for a new event type. --- Gary R Hook (2): iommu/amd - Update the PASID information printed to the system log iommu/amd - Update logging information for new event type drivers/iommu/amd_iommu.c |

[PATCH 1/2] iommu/amd - Update the PASID information printed to the system log

2018-05-01 Thread Gary R Hook
Provide detailed data for each event, as appropriate. Signed-off-by: Gary R Hook --- drivers/iommu/amd_iommu.c | 31 +-- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index

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 >

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

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

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

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

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

[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

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

Re: bug-introducing patches

2018-05-01 Thread Theodore Y. Ts'o
On Tue, May 01, 2018 at 04:38:21PM +, Sasha Levin wrote: > - A merge window commit spent 50% more days, on average, in -next than a -rc >commit. So it *used* to be the case that after the merge window, I would queue up bug fixes for the next merge window. Greg K-H pushed for me to send

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

2018-05-01 Thread Woojung.Huh
Hi Florian, > Not sure I completely understand your suggestion, do you mean that I > should break down the body of that function above such that there are > per-speed lower level functions? Something like the pseudo-code below: > > genphy_set_test() { > switch (mode) { > case

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

2018-05-01 Thread Lukas Wunner
On Tue, May 01, 2018 at 07:29:19PM +, Andy Lutomirski wrote: > On Sun, Apr 29, 2018 at 2:36 AM Hans de Goede wrote: > > + for (i = 0; i < size; i += 8) { > > + if (*((u64 *)(mem + i)) != *((u64 *)desc->prefix)) > > + continue; > >

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

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

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 >

[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")

[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

[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

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

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

2018-05-01 Thread Steven Rostedt
On Tue, 1 May 2018 21:19:51 +0200 Peter Zijlstra wrote: > 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

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

2018-05-01 Thread Steven Rostedt
On Tue, 1 May 2018 21:48:38 +0200 Peter Zijlstra wrote: > On Tue, May 01, 2018 at 03:38:40PM -0400, Steven Rostedt wrote: > > On Tue, 1 May 2018 21:19:51 +0200 > > Peter Zijlstra wrote: > > > > Now, lockdep only minimally tracks these otherwise

Re: bug-introducing patches

2018-05-01 Thread Sasha Levin
On Tue, May 01, 2018 at 03:44:50PM -0400, Theodore Y. Ts'o wrote: >On Tue, May 01, 2018 at 04:38:21PM +, Sasha Levin wrote: >> - A merge window commit spent 50% more days, on average, in -next than a -rc >>commit. > >So it *used* to be the case that after the merge window, I would queue

[PATCH] proc/kcore: Don't bounds check against address 0

2018-05-01 Thread Laura Abbott
The existing kcore code checks for bad addresses against __va(0) with the assumption that this is the lowest address on the system. This may not hold true on some systems (e.g. arm64) and produce overflows and crashes. Switch to using other functions to validate the address range. Tested-by: Dave

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

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

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

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.

[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

[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

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

[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 +++---

[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

[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

[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:

[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

[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:

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

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 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

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 03:38:40PM -0400, Steven Rostedt wrote: > On Tue, 1 May 2018 21:19:51 +0200 > Peter Zijlstra wrote: > > Now, lockdep only minimally tracks these otherwise redundant operations; > > see redundant_hardirqs_{on,off} counters, and loosing that doesn't

Re: [Regression] PCI / PM: Simplify device wakeup settings code

2018-05-01 Thread Bjorn Helgaas
On Tue, May 01, 2018 at 10:34:29AM +0200, Rafael J. Wysocki wrote: > On Mon, Apr 30, 2018 at 4:22 PM, Joseph Salisbury > wrote: > > On 04/16/2018 11:58 AM, Rafael J. Wysocki wrote: > >> On Mon, Apr 16, 2018 at 5:31 PM, Joseph Salisbury > >>

Re: Linux messages full of `random: get_random_u32 called from`

2018-05-01 Thread Pavel Machek
On Mon 2018-04-30 12:11:43, Theodore Y. Ts'o wrote: > On Sun, Apr 29, 2018 at 09:34:45PM -0700, Sultan Alsawaf wrote: > > > > What about abusing high-resolution timers to get entropy? Since hrtimers > > can't > > make guarantees down to the nanosecond, there's always a skew between the > >

Re: [PATCH v5 4/6] x86/microcode/AMD: Check microcode container data in the late loader

2018-05-01 Thread Borislav Petkov
On Tue, May 01, 2018 at 06:19:56PM +0200, Maciej S. Szmigiero wrote: > -EINVAL cast to unsigned int is 4294967274 and this value is also > a valid count of bytes to skip that this function can return. And where exactly in the *old* code do we do that? -- Regards/Gruss, Boris. Good mailing

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

2018-05-01 Thread Linus Torvalds
On Tue, May 1, 2018 at 5:59 AM Thomas Gleixner wrote: > Then I really have no idea how reverting the patch you pointed out would > fix it. So I do think that the original patch is buggy. What I think *may* be going on is: - first we do that

Re: [PATCH v7 4/5] cpuset: Restrict load balancing off cpus to subset of cpus.isolated

2018-05-01 Thread Waiman Long
On 05/01/2018 03:51 PM, Tejun Heo wrote: > Hello, Waiman. > > Sorry about the delay. > > On Thu, Apr 19, 2018 at 09:47:03AM -0400, Waiman Long wrote: >> With the addition of "cpuset.cpus.isolated", it makes sense to add the >> restriction that load balancing can only be turned off if the CPUs in

Re: bug-introducing patches

2018-05-01 Thread Willy Tarreau
On Tue, May 01, 2018 at 08:00:21PM +, Sasha Levin wrote: > What's worse is that that commit is tagged for stable, which means > that (given Greg's schedule) it may find it's way to -stable users > even before some -next users/bots had a chance to test it out. But it's a difficult trade-off. I

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

2018-05-01 Thread kbuild test robot
Hi Guenter, I love your patch! Yet something to improve: [auto build test ERROR on tip/auto-latest] [also build test ERROR on v4.17-rc3 next-20180501] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

  1   2   3   4   5   6   7   8   9   10   >