[PATCH v2 2/2] x86/cpu/vmware: Fix platform detection VMWARE_PORT macro

2019-10-21 Thread VMware
From: Thomas Hellstrom The platform detection VMWARE_PORT macro uses the VMWARE_HYPERVISOR_PORT definition, but expects it to be an integer. However, when it was moved to the new vmware.h include file, it was changed to be a string to better fit into the VMWARE_HYPERCALL set of macros. This obvio

[PATCH v2 2/2] mm/page_isolation.c: Convert SKIP_HWPOISON to MEMORY_OFFLINE

2019-10-21 Thread David Hildenbrand
We have two types of users of page isolation: 1. Memory offlining: Offline memory so it can be unplugged. Memory won't be touched. 2. Memory allocation: Allocate memory (e.g., alloc_contig_range()) to become the owner of the memory and make use of it. For

[PATCH v2 1/2] mm/page_alloc.c: Don't set pages PageReserved() when offlining

2019-10-21 Thread David Hildenbrand
We call __offline_isolated_pages() from __offline_pages() after all pages were isolated and are either free (PageBuddy()) or PageHWPoison. Nothing can stop us from offlining memory at this point. In __offline_isolated_pages() we first set all affected memory sections offline (offline_mem_sections(

Re: [PATCH v6 3/4] arm64: use both ZONE_DMA and ZONE_DMA32

2019-10-21 Thread Qian Cai
> On Oct 21, 2019, at 1:01 PM, Nicolas Saenz Julienne > wrote: > > Could you enable CMA debugging to see if anything interesting comes out of it. I did but nothing interesting came out. Did you use the same config I gave? Also, it has those cmdline. page_poison=on page_owner=on numa_balanc

Re: linux-next: Fixes tag needs some work in the rdma-fixes tree

2019-10-21 Thread Joe Perches
On Mon, 2019-10-21 at 17:11 +, Jason Gunthorpe wrote: > On Mon, Oct 21, 2019 at 07:08:21PM +0200, Matteo Croce wrote: > > On Mon, Oct 21, 2019 at 7:01 PM Jason Gunthorpe wrote: > > > On Mon, Oct 21, 2019 at 05:39:06PM +0200, Matteo Croce wrote: > > > > > I thought I saw that checkpatch was che

Re: [PATCH v9 20/22] RISC-V: KVM: Fix race-condition in kvm_riscv_vcpu_sync_interrupts()

2019-10-21 Thread Paolo Bonzini
On 16/10/19 18:12, Anup Patel wrote: > + /* Read current VSIP and VSIE CSRs */ > + vsip = csr_read(CSR_VSIP); > + csr->vsie = csr_read(CSR_VSIE); > + > + /* Sync-up VSIP.SSIP bit changes does by Guest */ > + if ((csr->vsip ^ vsip) & (1UL << IRQ_S_SOFT)) { > + if (!te

Re: [PATCH v9 19/22] RISC-V: KVM: Remove per-CPU vsip_shadow variable

2019-10-21 Thread Paolo Bonzini
On 16/10/19 18:12, Anup Patel wrote: > Currently, we track last value wrote to VSIP CSR using per-CPU > vsip_shadow variable but this easily goes out-of-sync because > Guest can update VSIP.SSIP bit directly. > > To simplify things, we remove per-CPU vsip_shadow variable and > unconditionally writ

[RESEND trivial] fs: Fix Kconfig indentation

2019-10-21 Thread Krzysztof Kozlowski
Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like: $ sed -e 's/^/\t/' -i */Kconfig Signed-off-by: Krzysztof Kozlowski --- fs/9p/Kconfig | 20 ++-- fs/Kconfig| 4 ++-- fs/Kconfig.binfmt | 4 ++-- fs/fuse/Kco

[RESENT trivial 1/3] treewide: drivers: Fix Kconfig indentation

2019-10-21 Thread Krzysztof Kozlowski
Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like: $ sed -e 's/^/\t/' -i */Kconfig Signed-off-by: Krzysztof Kozlowski --- drivers/acpi/Kconfig | 8 +- drivers/ata/Kconfig | 12 +-- dri

[RESENT trivial 3/3] treewide: arch: Fix Kconfig indentation

2019-10-21 Thread Krzysztof Kozlowski
Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like: $ sed -e 's/^/\t/' -i */Kconfig Signed-off-by: Krzysztof Kozlowski Acked-by: Geert Uytterhoeven # for m68k --- arch/Kconfig | 4 ++-- arch/alpha/Kconfig

[RESENT trivial 2/3] treewide: Fix Kconfig indentation

2019-10-21 Thread Krzysztof Kozlowski
Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like: $ sed -e 's/^/\t/' -i */Kconfig Signed-off-by: Krzysztof Kozlowski --- certs/Kconfig | 14 ++--- init/Kconfig | 28 +-

Re: [PATCH v3 2/3] dt-bindings: iio: light: add veml6030 ALS bindings

2019-10-21 Thread Rob Herring
On Mon, Oct 21, 2019 at 8:31 AM Rishi Gupta wrote: > > This commit adds device tree bindings for veml6030 ambient > light sensor. > > Signed-off-by: Rishi Gupta > --- > Changes in v3: > * None > > Changes in v2: > * Corrected grammatical mistake from 'is' to 'are' in description of bindings > >

Re: [BUGFIX PATCH v2 1/5] selftests: proc: Make va_max 1GB on 32bit arch

2019-10-21 Thread Alexey Dobriyan
On Mon, Oct 21, 2019 at 05:28:09PM +0900, Masami Hiramatsu wrote: > Currently proc-self-map-files-002.c sets va_max (max test address > of user virtual address) to 4GB, but it is too big for 32bit > arch and 1UL << 32 is overflow on 32bit long. > > Make va_max 1GB on 32bit arch like i386 and arm.

Re: [PATCH] fs: proc: Clarify warnings for invalid proc dir names

2019-10-21 Thread Alexey Dobriyan
On Sun, Oct 20, 2019 at 06:17:42PM -0400, Joel Savitz wrote: > When one attempts to create a directory in /proc with an invalid name, > such as one in a subdirectory that doesn't exist, one with a name beyond > 256 characters, or a reserved name such as '.' or '..', the kernel > throws a warning me

Re: [PATCH v9 18/22] RISC-V: KVM: Simplify stage2 page table programming

2019-10-21 Thread Paolo Bonzini
On 16/10/19 18:11, Anup Patel wrote: > Instead of dealing with PGD, PMD, and PTE differently in stage2 > page table progamming, we can simply use iterative and recursive > helper functions to program stage2 page tables of any level. > > This patch re-implements stage2_get_leaf_entry(), stage2_set_

Re: linux-next: Fixes tag needs some work in the rdma-fixes tree

2019-10-21 Thread Jason Gunthorpe
On Mon, Oct 21, 2019 at 10:25:41AM -0700, Joe Perches wrote: > On Mon, 2019-10-21 at 17:11 +, Jason Gunthorpe wrote: > > On Mon, Oct 21, 2019 at 07:08:21PM +0200, Matteo Croce wrote: > > > On Mon, Oct 21, 2019 at 7:01 PM Jason Gunthorpe wrote: > > > > On Mon, Oct 21, 2019 at 05:39:06PM +0200,

Re: [PATCH 2/5] fs/xfs: Isolate the physical DAX flag from effective

2019-10-21 Thread Ira Weiny
On Mon, Oct 21, 2019 at 11:26:21AM +1100, Dave Chinner wrote: > On Sun, Oct 20, 2019 at 08:59:32AM -0700, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > xfs_ioctl_setattr_dax_invalidate() currently checks if the DAX flag is > > changing as a quick check. > > > > But the implementation mi

Re: [PATCH] perf cs-etm: Fix definition of macro TO_CS_QUEUE_NR

2019-10-21 Thread Mathieu Poirier
On Mon, 21 Oct 2019 at 01:48, Leo Yan wrote: > > Macro TO_CS_QUEUE_NR definition has a typo, which uses 'trace_id_chan' > as its parameter, this doesn't match with its definition body which uses > 'trace_chan_id'. So renames the parameter to 'trace_chan_id'. > > It's luck to have a local variable

[PATCH v7 0/2] Subject: [PATCH v7 0/2] leds: Add control of the voltage/current regulator to the LED core

2019-10-21 Thread Jean-Jacques Hiblot
This series makes it possible for the LED core to manage the power supply of a LED. It uses the regulator API to disable/enable the power if when the LED is turned on/off. This is especially useful in situations where the LED driver/controller is not supplying the power. Because updating a regulato

Re: [PATCH v6 3/4] arm64: use both ZONE_DMA and ZONE_DMA32

2019-10-21 Thread Nicolas Saenz Julienne
On Mon, 2019-10-21 at 13:25 -0400, Qian Cai wrote: > > On Oct 21, 2019, at 1:01 PM, Nicolas Saenz Julienne > > wrote: > > > > Could you enable CMA debugging to see if anything interesting comes out of > > it. > > I did but nothing interesting came out. Did you use the same config I gave? Yes, a

[PATCH v7 1/2] dt-bindings: leds: document the "power-supply" property

2019-10-21 Thread Jean-Jacques Hiblot
Most of the LEDs are powered by a voltage/current regulator. Describing it in the device-tree makes it possible for the LED core to enable/disable it when needed. Cc: devicet...@vger.kernel.org To: robh...@kernel.org To: mark.rutl...@arm.com Signed-off-by: Jean-Jacques Hiblot --- Documentation/d

[PATCH v7 2/2] leds: Add control of the voltage/current regulator to the LED core

2019-10-21 Thread Jean-Jacques Hiblot
A LED is usually powered by a voltage/current regulator. Let the LED core know about it. This allows the LED core to turn on or off the power supply as needed. Because turning ON/OFF a regulator might block, it is not done synchronously but done in a workqueue. Turning ON the regulator is always d

Re: [PATCH] rtc: report time-retrieval errors when updating alarm

2019-10-21 Thread Alexandre Belloni
On 21/10/2019 10:20:08-0700, Brian Norris wrote: > Hi Alexandre! > > On Mon, Oct 21, 2019 at 9:11 AM Alexandre Belloni > wrote: > > On 21/05/2018 09:42:22-0700, Brian Norris wrote: > > > __rtc_read_time() can fail (e.g., if the RTC uses an unreliable medium). > > > When it does, we don't report t

[GIT PULL 0/5] ARM: exynos: Stuff for v5.5

2019-10-21 Thread Krzysztof Kozlowski
Hi, Samsung had quite active cycle so I am sending early first part. This includes two topic branches for DMC driver: bindings and driver itself. Best regards, Krzysztof

[GIT PULL 5/5] arm64: dts: exynos: Stuff for v5.5

2019-10-21 Thread Krzysztof Kozlowski
The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c: Linux 5.4-rc1 (2019-09-30 10:35:40 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-dt64-5.5 for you to fetch changes up to 9f17f839fe9cfee

[GIT PULL 4/5] ARM: dts: exynos: Stuff for v5.5

2019-10-21 Thread Krzysztof Kozlowski
The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c: Linux 5.4-rc1 (2019-09-30 10:35:40 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-dt-5.5 for you to fetch changes up to d60d0cff4ab01255b

[PATCH] BCMA: driver_chipcommon_pmu: fixed a block comment coding style.

2019-10-21 Thread Yadav Lamichhane
Fixed a coding style issue. Signed-off-by: Yadav Lamichhane --- drivers/bcma/driver_chipcommon_pmu.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/bcma/driver_chipcommon_pmu.c b/drivers/bcma/driver_chipcommon_pmu.c index f4161064365c..3056

Re: [PATCH 1/8] ftrace: add ftrace_init_nop()

2019-10-21 Thread Steven Rostedt
On Mon, 21 Oct 2019 17:34:19 +0100 Mark Rutland wrote: > Architectures may need to perform special initialization of ftrace > callsites, and today they do so by special-casing ftrace_make_nop() when > the expected branch address is MCOUNT_ADDR. In some cases (e.g. for > patchable-function-entry),

Re: [PATCH v3 2/3] PCI: pciehp: Wait for PDS if in-band presence is disabled

2019-10-21 Thread Stuart Hayes
On 10/21/19 8:41 AM, Mika Westerberg wrote: > On Thu, Oct 17, 2019 at 03:32:55PM -0400, Stuart Hayes wrote: >> From: Alexandru Gagniuc >> >> When inband presence is disabled, PDS may come up at any time, or not >> at all. PDS being low may indicate that the card is still mating, and >> we could

Re: [PATCH] MAINTAINERS: Add Mihail to Komeda DRM driver

2019-10-21 Thread Sean Paul
On Mon, Oct 21, 2019 at 03:01:56PM +, Mihail Atanassov wrote: > I'll be the main point of contact. > > Cc: James Qian Wang (Arm Technology China) > Cc: Liviu Dudau > Signed-off-by: Mihail Atanassov Acked-by: Sean Paul > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff

Re: [PATCH] drm/msm/dsi: Implement qcom,dsi-phy-regulator-ldo-mode for 28nm PHY

2019-10-21 Thread Stephan Gerhold
On Mon, Oct 21, 2019 at 01:47:19PM -0400, Sean Paul wrote: > On Mon, Oct 21, 2019 at 06:34:25PM +0200, Stephan Gerhold wrote: > > The DSI PHY regulator supports two regulator modes: LDO and DCDC. > > This mode can be selected using the "qcom,dsi-phy-regulator-ldo-mode" > > device tree property. > >

Applied "ASoC: samsung: i2s: Document clocks macros" to the asoc tree

2019-10-21 Thread Mark Brown
The patch ASoC: samsung: i2s: Document clocks macros has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sen

Re: [PATCH 02/16] mm: vmstat: use s32 for vm_node_stat_diff in struct per_cpu_nodestat

2019-10-21 Thread Christopher Lameter
On Mon, 21 Oct 2019, Roman Gushchin wrote: > Sp far I haven't noticed any regression on the set of workloads where I did > test > the patchset, but if you know any benchmark or realistic test which can > affected > by this check, I'll be happy to try. > > Also, less-than-word-sized operations ca

Applied "ASoC: msm8916-wcd-analog: Add earpiece" to the asoc tree

2019-10-21 Thread Mark Brown
The patch ASoC: msm8916-wcd-analog: Add earpiece has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: msm8916-wcd-analog: Fix RX1 selection in RDAC2 MUX" to the asoc tree

2019-10-21 Thread Mark Brown
The patch ASoC: msm8916-wcd-analog: Fix RX1 selection in RDAC2 MUX has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

[GIT PULL 3/5] ARM: dts: exynos: memory DMC driver bindings for v5.5

2019-10-21 Thread Krzysztof Kozlowski
Hi, Topic branch/pull for DMC driver bindings/DTS. Patchset had many iterations on mailing lists and waited for very long. Best regards, Krzysztof The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c: Linux 5.4-rc1 (2019-09-30 10:35:40 -0700) are available in the Git

[GIT PULL 2/5] drivers: memory: Samsung for v5.5

2019-10-21 Thread Krzysztof Kozlowski
Hi, Topic branch/pull for DMC driver in memory. Patchset had many iterations on mailing lists and waited for very long. Best regards, Krzysztof The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c: Linux 5.4-rc1 (2019-09-30 10:35:40 -0700) are available in the Git rep

Re: [PATCH v3] mm,thp: recheck each page before collapsing file THP

2019-10-21 Thread Johannes Weiner
On Sat, Oct 19, 2019 at 05:24:00AM +, Song Liu wrote: > In collapse_file(), for !is_shmem case, current check cannot guarantee > the locked page is up-to-date. Specifically, xas_unlock_irq() should not > be called before lock_page() and get_page(); and it is necessary to > recheck PageUptodat

[GIT PULL 1/5] ARM: defconfig: Samsung for v5.5

2019-10-21 Thread Krzysztof Kozlowski
The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c: Linux 5.4-rc1 (2019-09-30 10:35:40 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-defconfig-5.5 for you to fetch changes up to 54e48a69c1

Re: [PATCH] rtc: report time-retrieval errors when updating alarm

2019-10-21 Thread Brian Norris
On Mon, Oct 21, 2019 at 10:48 AM Alexandre Belloni wrote: > On 21/10/2019 10:20:08-0700, Brian Norris wrote: > > Hi Alexandre! > > > > On Mon, Oct 21, 2019 at 9:11 AM Alexandre Belloni > > wrote: > > > On 21/05/2018 09:42:22-0700, Brian Norris wrote: > > > > __rtc_read_time() can fail (e.g., if t

[PATCH] drm/amdgpu: Fix memory leak in amdgpu_fence_emit

2019-10-21 Thread Navid Emamdoost
In the impelementation of amdgpu_fence_emit() if dma_fence_wait() fails and returns an errno, before returning the allocated memory for fence should be released. Fixes: 3d2aca8c8620 ("drm/amdgpu: fix old fence check in amdgpu_fence_emit") Signed-off-by: Navid Emamdoost --- drivers/gpu/drm/amd/am

[PATCH] power: supply: ab8500_charger: Fix inconsistent IS_ERR and PTR_ERR

2019-10-21 Thread Gustavo A. R. Silva
Fix inconsistent IS_ERR and PTR_ERR in ab8500_charger_probe(). The proper pointer to be passed as argument is di->adc_main_charger_c This bug was detected with the help of Coccinelle. Fixes: 97ab78bac5d0 ("power: supply: ab8500_charger: Convert to IIO ADC") Signed-off-by: Gustavo A. R. Silva --

Re: PCI device function not being enumerated [Was: PCMCIA not working on Panasonic Toughbook CF-29]

2019-10-21 Thread Michael .
Thank you Dominik for looking at this for us and passing it on. Good morning Bjorn, thank you also for looking into this for us and thank you for CCing us into this as non of us are on the mailing list. One question how do we apply this patch or is this for Dominik to try? Cheers. Michael On 22/

Re: [PATCH] crypto: ccp - Retry SEV INIT command in case of integrity check failure.

2019-10-21 Thread Singh, Brijesh
On 10/19/19 3:59 AM, David Rientjes wrote: > On Thu, 17 Oct 2019, Kalra, Ashish wrote: > >> From: Ashish Kalra >> >> SEV INIT command loads the SEV related persistent data from NVS >> and initializes the platform context. The firmware validates the >> persistent state. If validation fails, the

Re: [PATCH v3 3/3] PCI: pciehp: Add dmi table for in-band presence disabled

2019-10-21 Thread Stuart Hayes
On 10/21/19 8:47 AM, Mika Westerberg wrote: > On Thu, Oct 17, 2019 at 03:32:56PM -0400, Stuart Hayes wrote: >> Some systems have in-band presence detection disabled for hot-plug PCI >> slots, but do not report this in the slot capabilities 2 (SLTCAP2) register. >> On these systems, presence dete

Re: [PATCH 3/9] DTS: ARM: pandora-common: define wl1251 as child node of mmc3

2019-10-21 Thread H. Nikolaus Schaller
> Am 21.10.2019 um 19:13 schrieb Tony Lindgren : > > * H. Nikolaus Schaller [191018 20:28]: >> Since v4.7 the dma initialization requires that there is a >> device tree property for "rx" and "tx" channels which is >> not provided by the pdata-quirks initialization. >> >> By conversion of the m

Re: [PATCH RFC v2 2/2] USB: ldusb: fix ring-buffer locking

2019-10-21 Thread Johan Hovold
On Mon, Oct 21, 2019 at 11:17:11AM -0400, Alan Stern wrote: > On Fri, 18 Oct 2019, Johan Hovold wrote: > > > The custom ring-buffer implementation was merged without any locking > > whatsoever, but a spinlock was later added by commit 9d33efd9a791 > > ("USB: ldusb bugfix"). > > > > The lock did n

Re: [PATCH] ARM: dt: add lsm9ds1 iio imu/magn support to gw553x

2019-10-21 Thread Bobby Jones
On Mon, Oct 21, 2019 at 1:19 AM Marco Felsch wrote: > > Hi Robert, > > same here, don't name it 'ARM: dt: ...' instead name it 'ARM: dts: imx: > ventana: ..' or 'ARM: dts: imx: imx6qdl-gw553x: ..'. Sorry about that, I'll follow that format from now on. > > On 19-10-18 16:21, Robert Jones wrote: >

Re: [PATCH net-next 00/16] net: dsa: turn arrays of ports into a list

2019-10-21 Thread David Miller
From: Vivien Didelot Date: Sat, 19 Oct 2019 23:19:25 -0400 > The dsa_switch structure represents the physical switch device itself, > and is allocated by the driver. The dsa_switch_tree and dsa_port structures > represent the logical switch fabric (eventually composed of multiple switch > devices

Re: [PATCH] proc: fix inode uid/gid writeback race

2019-10-21 Thread Alexey Dobriyan
On Mon, Oct 21, 2019 at 11:24:27AM +0200, Marco Elver wrote: > On Sun, 20 Oct 2019 at 19:30, Alexey Dobriyan wrote: > > > > (euid, egid) pair is snapshotted correctly from task under RCU, > > but writeback to inode can be done in any order. > > > > Fix by doing writeback under inode->i_lock where

Re: [PATCH v3 4/5] net: dsa: add support for Atheros AR9331 TAG format

2019-10-21 Thread Oleksij Rempel
On Mon, Oct 21, 2019 at 05:49:00PM +0200, Andrew Lunn wrote: > > +static struct sk_buff *ar9331_tag_rcv(struct sk_buff *skb, > > + struct net_device *ndev, > > + struct packet_type *pt) > > +{ > > + u8 ver, port; > > + u16 hdr; > >

Re: [PATCH v3] usb: Add a new quirk to let buggy hub enable and disable LPM during suspend and resume

2019-10-21 Thread Kai-Heng Feng
> On Oct 21, 2019, at 21:59, Mathias Nyman > wrote: > > On 18.10.2019 21.59, Greg Kroah-Hartman wrote: >> On Thu, Oct 17, 2019 at 02:33:00PM +0800, Kai-Heng Feng wrote: >>> >>> On Oct 4, 2019, at 03:04, Alan Stern wrote: On Fri, 4 Oct 2019, Kai-Heng Feng wrote: >

Re: [PATCH] ARM: hw_breakpoint: Handle inexact watchpoint addresses

2019-10-21 Thread Matthias Kaehlcke
On Sat, Oct 19, 2019 at 11:12:26AM -0700, Douglas Anderson wrote: > This is commit fdfeff0f9e3d ("arm64: hw_breakpoint: Handle inexact > watchpoint addresses") but ported to arm32, which has the same > problem. > > This problem was found by Android CTS tests, notably the > "watchpoint_imprecise" t

Re: PCI device function not being enumerated [Was: PCMCIA not working on Panasonic Toughbook CF-29]

2019-10-21 Thread Dominik Brodowski
On Tue, Oct 22, 2019 at 05:17:12AM +1100, Michael . wrote: > Thank you Dominik for looking at this for us and passing it on. > > Good morning Bjorn, thank you also for looking into this for us and > thank you for CCing us into this as non of us are on the mailing list. > One question how do we app

r8169: enable ASPM states via sysfs

2019-10-21 Thread Heiner Kallweit
So far ASPM is disabled in the r8169 driver due to issues on several chip version / BIOS version combinations. Commit ad46fe1c7336 ("PCI/ASPM: Add sysfs attributes for controlling ASPM link states") adds the option to enable ASPM states for a device via sysfs (provided that BIOS allows the OS to co

Re: PCI device function not being enumerated [Was: PCMCIA not working on Panasonic Toughbook CF-29]

2019-10-21 Thread Michael .
Thanks Domunik I'll get onto this and report back the results. On 22/10/2019, Dominik Brodowski wrote: > On Tue, Oct 22, 2019 at 05:17:12AM +1100, Michael . wrote: >> Thank you Dominik for looking at this for us and passing it on. >> >> Good morning Bjorn, thank you also for looking into this for

Re: [PATCH v6 5/9] hugetlb: disable region_add file_region coalescing

2019-10-21 Thread Mike Kravetz
On 10/12/19 5:30 PM, Mina Almasry wrote: > A follow up patch in this series adds hugetlb cgroup uncharge info the > file_region entries in resv->regions. The cgroup uncharge info may > differ for different regions, so they can no longer be coalesced at > region_add time. So, disable region coalesci

Re: [PATCH] r8152: add device id for Lenovo ThinkPad USB-C Dock Gen 2

2019-10-21 Thread David Miller
From: Kazutoshi Noguchi Date: Mon, 21 Oct 2019 00:03:07 +0900 > This device is sold as 'ThinkPad USB-C Dock Gen 2 (40AS)'. > Chipset is RTL8153 and works with r8152. > Without this, the generic cdc_ether grabs the device, and the device jam > connected networks up when the machine suspends. > >

Re: [RFC PATCH 11/13] led: bd71828: Support LED outputs on ROHM BD71828 PMIC

2019-10-21 Thread Jacek Anaszewski
Hi Matti, On 10/21/19 10:00 AM, Vaittinen, Matti wrote: > Hello Dan, > > Thanks for taking the time to check my driver :) I truly appreciate all > the help! > > A "fundamental question" regarding these review comments is whether I > should add DT entries for these LEDs or not. I thought I should

Re: [GIT PULL] tracing: A couple of minor fixes

2019-10-21 Thread Steven Rostedt
On Mon, 21 Oct 2019 12:45:08 -0400 Steven Rostedt wrote: > Linus, > Hi Linus, Please hold off on this. Someone just pointed out to me that one of the change logs has a bunch of crap attached to it that shouldn't be committed. I need to rebase (just the change logs, so no retesting is needed).

Re: [PATCH] Bluetooth: hci_qca: Add delay for wcn3990 stability

2019-10-21 Thread Matthias Kaehlcke
Hi Jeffrey, On Sat, Oct 19, 2019 at 02:31:18PM -0600, Jeffrey Hugo wrote: > On Fri, Oct 18, 2019 at 5:15 PM Matthias Kaehlcke wrote: > > > > On Fri, Oct 18, 2019 at 04:36:23PM -0600, Jeffrey Hugo wrote: > > > On Fri, Oct 18, 2019 at 3:33 PM Matthias Kaehlcke > > > wrote: > > > > > > > > On Fri,

Re: [PATCH v2 04/12] arm64: docs: cpu-feature-registers: Document ID_AA64PFR1_EL1

2019-10-21 Thread Mark Brown
On Fri, Oct 11, 2019 at 03:51:49PM +0100, Dave Martin wrote: > On Fri, Oct 11, 2019 at 02:19:48PM +0100, Alex Bennée wrote: > > > - 4) ID_AA64ISAR1_EL1 - Instruction set attribute register 1 > > > + 5) ID_AA64ISAR1_EL1 - Instruction set attribute register 1 > > If I'm not mistaken .rst has supp

RE:PERSONAL LETTER FROM MRS RASHIA AMIRA

2019-10-21 Thread Mr Barrister Hans Erich
Greetings My name is Barrister Hans Erich. I have a client who is interested to invest in your country, she is a well known politician in her country and deserve a lucrative investment partnership with you outside her country without any delay Please can you manage such investment please Kin

[GIT PULL v2] tracing: A couple of minor fixes

2019-10-21 Thread Steven Rostedt
Linus, Two minor fixes: - A race in perf trace initialization (missing mutexes) - Minor fix to represent gfp_t in synthetic events as properly signed Please pull the latest trace-v5.4-rc3-2 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.g

Re: [PATCH] usbip: Fix free of unallocated memory in vhci tx

2019-10-21 Thread shuah
On 10/21/19 9:08 AM, Julia Lawall wrote: On Mon, 21 Oct 2019, Suwan Kim wrote: iso_buffer should be set to NULL after use and free in the while loop. In the case of isochronous URB in the while loop, iso_buffer is allocated and after sending it to server, buffer is deallocated. And then, if t

Re: [PATCH v6 5/9] hugetlb: disable region_add file_region coalescing

2019-10-21 Thread Mina Almasry
On Mon, Oct 21, 2019 at 12:02 PM Mike Kravetz wrote: > > On 10/12/19 5:30 PM, Mina Almasry wrote: > > A follow up patch in this series adds hugetlb cgroup uncharge info the > > file_region entries in resv->regions. The cgroup uncharge info may > > differ for different regions, so they can no longe

Re: linux-next: Fixes tag needs some work in the rdma-fixes tree

2019-10-21 Thread Joe Perches
On Mon, 2019-10-21 at 17:39 +, Jason Gunthorpe wrote: > Maybe output format and then parse it to check the min > length and verify the subject? I'm not too worried about that for now. 12 should still be good for quite awhile... $ git log --abbrev=1 --format='%h' --no-merges | \ awk '{print

Re: [PATCH] ARM: dt: add lsm9ds1 iio imu/magn support to gw553x

2019-10-21 Thread Bobby Jones
On Mon, Oct 21, 2019 at 11:30 AM Bobby Jones wrote: > > On Mon, Oct 21, 2019 at 1:19 AM Marco Felsch wrote: > > > > Hi Robert, > > > > same here, don't name it 'ARM: dt: ...' instead name it 'ARM: dts: imx: > > ventana: ..' or 'ARM: dts: imx: imx6qdl-gw553x: ..'. > > Sorry about that, I'll follow

[PATCH] mtd: set mtd partition panic write flag

2019-10-21 Thread Kamal Dasu
Check mtd panic write flag and set the mtd partition panic write flag so that low level drivers can use it to take required action to ensure oops data gets written to assigned mtd partition. Fixes: 9f897bfdd8 ("mtd: Add flag to indicate panic_write") Signed-off-by: Kamal Dasu --- drivers/mtd/mtd

Re: linux-next: Tree for Oct 18 (objtool)

2019-10-21 Thread Christian Brauner
On Mon, Oct 21, 2019 at 03:47:59PM +0200, Peter Zijlstra wrote: > On Mon, Oct 21, 2019 at 03:19:48PM +0200, Christian Brauner wrote: > > On Mon, Oct 21, 2019 at 03:11:49PM +0200, Peter Zijlstra wrote: > > > > By popular request; here's that alternative. Completely untested :-) > > > > Am I not ge

Re: [PATCH 1/3] power_supply: Add additional health properties to the header

2019-10-21 Thread Dan Murphy
Sebastian On 10/20/19 7:25 AM, Sebastian Reichel wrote: Hi, On Mon, Sep 30, 2019 at 09:31:35AM -0500, Dan Murphy wrote: Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. You used OVERHEAT instead of HOT in the implementation, which makes sense to me, so please drop HOT here. Als

Re: [PATCH 2/3] dt: power: Add the bq2515x family dt bindings

2019-10-21 Thread Dan Murphy
Sebastian On 10/20/19 7:30 AM, Sebastian Reichel wrote: Hi Dan, On Mon, Sep 30, 2019 at 09:31:36AM -0500, Dan Murphy wrote: Add the bindings for the bq25150 and bq25155 500mA charging IC from Texas Instruments. Datasheet: http://www.ti.com/lit/ds/symlink/bq25150.pdf http://www.ti.com/lit/ds

Re: [PATCH net-next 05/16] net: dsa: use ports list to setup switches

2019-10-21 Thread Vivien Didelot
On Mon, 21 Oct 2019 14:49:02 +0200, Andrew Lunn wrote: > On Sun, Oct 20, 2019 at 07:42:15PM -0700, Florian Fainelli wrote: > > > > > > On 10/19/2019 8:19 PM, Vivien Didelot wrote: > > > Use the new ports list instead of iterating over switches and their > > > ports when setting up the switches a

[PATCH] mm, meminit: Recalculate pcpu batch and high limits after init completes -fix

2019-10-21 Thread Mel Gorman
LKP reported the following build problem from two hunks that did not survive the reshuffling of the series reordering. ld: mm/page_alloc.o: in function `page_alloc_init_late': mm/page_alloc.c:1956: undefined reference to `zone_pcp_update' Reported-by: kbuild test robot Signed-off-by: Mel Gorma

Re: [PATCH v3 1/2] clone3: add CLONE_CLEAR_SIGHAND

2019-10-21 Thread Christian Brauner
On Mon, Oct 21, 2019 at 05:12:55PM +0200, Oleg Nesterov wrote: > On 10/21, Oleg Nesterov wrote: > > > > On 10/14, Christian Brauner wrote: > > > > > > The child helper process on Linux posix_spawn must ensure that no signal > > > handlers are enabled, so the signal disposition must be either SIG_DF

Re: [PATCH v3 1/2] clone3: add CLONE_CLEAR_SIGHAND

2019-10-21 Thread Christian Brauner
On Mon, Oct 21, 2019 at 04:46:33PM +0200, Oleg Nesterov wrote: > On 10/14, Christian Brauner wrote: > > > > The child helper process on Linux posix_spawn must ensure that no signal > > handlers are enabled, so the signal disposition must be either SIG_DFL > > or SIG_IGN. However, it requires a sigp

[PATCH 3/4] ARM: dts: aspeed: minipack: include dtsi for common network BMC devices

2019-10-21 Thread Tao Ren
The patch simplifies Minipack device tree by including dtsi to define devices which are common to Facebook AST2500 Network BMC platforms. Below is the summary of changes comparing with previous dts version: - enabling the second firmware flash. - updating firmware flashes' size from 32MB to 64

[PATCH 0/4] ARM: dts: aspeed: add dtsi for Facebook AST2500 Network BMCs

2019-10-21 Thread Tao Ren
The patch series adds "facebook-netbmc-ast2500-common.dtsi" which defines devices that are common cross all Facebook AST2500 Network BMC platforms. The major purpose is to minimize duplicated device entries among Facebook Network BMC dts files. Patch #1 (of 4) adds "facebook-netbmc-ast2500-common.

[PATCH 4/4] ARM: dts: aspeed: yamp: include dtsi for common network BMC devices

2019-10-21 Thread Tao Ren
The patch simplifies Yamp device tree by including dtsi to define devices which are common to Facebook AST2500 Network BMC platforms. Below is the summary of changes comparing with previous dts version: - enabling the second firmware flash. - enabling the emmc device in slot #1. Signed-off-by

[PATCH 2/4] ARM: dts: aspeed: cmm: include dtsi for common network BMC devices

2019-10-21 Thread Tao Ren
The patch simplifies CMM device tree by including dtsi to define devices which are common to Facebook AST2500 Network BMC platforms. Below is the summary of changes comparing with previous dts version: - enabling the second firmware flash. - enabling the emmc device in slot #0. Signed-off-by:

[PATCH 1/4] ARM: dts: aspeed: add dtsi for Facebook AST2500 Network BMCs

2019-10-21 Thread Tao Ren
Introduce "facebook-netbmc-ast2500-common.dtsi" which is included by all Facebook AST2500 Network BMC platforms. The major purpose is to minimize duplicated device entries cross Facebook Network BMC dts files. Signed-off-by: Tao Ren --- .../dts/facebook-netbmc-ast2500-common.dtsi | 96

[PATCH v3 2/2] ptp: Add a ptp clock driver for IDT ClockMatrix.

2019-10-21 Thread vincent . cheng . xh
From: Vincent Cheng The IDT ClockMatrix (TM) family includes integrated devices that provide eight PLL channels. Each PLL channel can be independently configured as a frequency synthesizer, jitter attenuator, digitally controlled oscillator (DCO), or a digital phase lock loop (DPLL). Typically

Re: [PATCH v2] arm64: dts: qcom: msm8998: Fixup uart3 gpio config for bluetooth

2019-10-21 Thread Matthias Kaehlcke
On Mon, Oct 21, 2019 at 09:19:21AM -0700, Jeffrey Hugo wrote: > It turns out that the wcn3990 can float the gpio lines during bootup, etc > which will result in the uart core thinking there is incoming data. This > results in the bluetooth stack getting garbage. By applying a bias to > match what

[PATCH v3 1/2] dt-bindings: ptp: Add bindings doc for IDT ClockMatrix based PTP clock

2019-10-21 Thread vincent . cheng . xh
From: Vincent Cheng Add device tree binding doc for the IDT ClockMatrix PTP clock. Co-developed-by: Richard Cochran Signed-off-by: Richard Cochran Signed-off-by: Vincent Cheng --- Changes since v2: - As suggested by Rob Herring: 1. Replace with DT schema 2. Remove '-ptp' from compatib

Re: [PATCH net-next 02/16] net: dsa: add ports list in the switch fabric

2019-10-21 Thread Vivien Didelot
On Mon, 21 Oct 2019 14:37:40 +0200, Andrew Lunn wrote: > > +static struct dsa_port *dsa_port_touch(struct dsa_switch *ds, int index) > > +{ > > + struct dsa_switch_tree *dst = ds->dst; > > + struct dsa_port *dp; > > + > > + dp = &ds->ports[index]; > > + > > + dp->ds = ds; > > + dp->index

[PATCH V2 01/13] perf/core: Add new branch sample type for LBR TOS

2019-10-21 Thread kan . liang
From: Kan Liang In LBR call stack mode, the depth of reconstructed LBR call stack limits to the number of LBR registers. With LBR Top-of-Stack (TOS) information, perf tool may stitch the stacks of two samples. The reconstructed LBR call stack can break the HW limitation. Add a new branch sample

[PATCH V2 02/13] perf/x86/intel: Output LBR TOS information

2019-10-21 Thread kan . liang
From: Kan Liang A new branch sample type was introduced to require the LBR Top-of-Stack (TOS) information. For non-adaptive PEBS and non-PEBS, the TOS information can be directly retrieved from TOS MSR read in intel_pmu_lbr_read(). For adaptive PEBS, the LBR information stored in PEBS record do

[RFC PATCH V2 13/13] perf hist: Add fast path for duplicate entries check

2019-10-21 Thread kan . liang
From: Kan Liang Perf checks the duplicate entries in a callchain before adding an entry. However the check is very slow especially with deeper call stack. Almost ~50% elapsed time of perf report is spent on the check when the call stack is always depth of 32. The hist_entry__cmp() is used to com

[PATCH V2 12/13] perf c2c: Add option to enable the LBR stitching approach

2019-10-21 Thread kan . liang
From: Kan Liang With the LBR stitching approach, the reconstructed LBR call stack can break the HW limitation. However, it may reconstruct invalid call stacks in some cases, e.g. exception handing such as setjmp/longjmp. Also, it may impact the processing time especially when the number of sample

[PATCH V2 07/13] perf machine: Refine the function for LBR call stack reconstruction

2019-10-21 Thread kan . liang
From: Kan Liang LBR only collect the user call stack. To reconstruct a call stack, both kernel call stack and user call stack are required. The function resolve_lbr_callchain_sample() mix the kernel call stack and user call stack. Now, with the help of TOS, perf tool can reconstruct a more comple

[PATCH V2 10/13] perf script: Add option to enable the LBR stitching approach

2019-10-21 Thread kan . liang
From: Kan Liang With the LBR stitching approach, the reconstructed LBR call stack can break the HW limitation. However, it may reconstruct invalid call stacks in some cases, e.g. exception handing such as setjmp/longjmp. Also, it may impact the processing time especially when the number of sample

[PATCH V2 04/13] perf header: Add check for event attr

2019-10-21 Thread kan . liang
From: Kan Liang The perf.data may be generated by a newer version of perf tool, which support new input bits in attr, e.g. new bit for branch_sample_type. The perf.data may be parsed by an older version of perf tool later. The old perf tool may parse the perf.data incorrectly. There is no warning

[PATCH V2 09/13] perf report: Add option to enable the LBR stitching approach

2019-10-21 Thread kan . liang
From: Kan Liang With the LBR stitching approach, the reconstructed LBR call stack can break the HW limitation. However, it may reconstruct invalid call stacks in some cases, e.g. exception handing such as setjmp/longjmp. Also, it may impact the processing time especially when the number of sample

[PATCH V2 05/13] perf pmu: Add support for PMU capabilities

2019-10-21 Thread kan . liang
From: Kan Liang The PMU capabilities information, which is located at /sys/bus/event_source/devices//caps, is required by perf tool. For example, the max LBR information is required to stitch LBR call stack. Add perf_pmu__caps_parse() to parse the PMU capabilities information. The information is

[PATCH V2 08/13] perf tools: Stitch LBR call stack

2019-10-21 Thread kan . liang
From: Kan Liang In LBR call stack mode, the depth of reconstructed LBR call stack limits to the number of LBR registers. For example, on skylake, the depth of reconstructed LBR call stack is always <= 32. # To display the perf.data header info, please use # --header/--header-only option

[PATCH V2 06/13] perf header: Support CPU PMU capabilities

2019-10-21 Thread kan . liang
From: Kan Liang To stitch LBR call stack, the max LBR information is required. So the CPU PMU capabilities information has to be stored in perf header. Add a new feature HEADER_CPU_PMU_CAPS for CPU PMU capabilities. Retrieve all CPU PMU capabilities, not just max LBR information. Add variable m

[PATCH V2 11/13] perf top: Add option to enable the LBR stitching approach

2019-10-21 Thread kan . liang
From: Kan Liang With the LBR stitching approach, the reconstructed LBR call stack can break the HW limitation. However, it may reconstruct invalid call stacks in some cases, e.g. exception handing such as setjmp/longjmp. Also, it may impact the processing time especially when the number of sample

[PATCH V2 00/13] Stitch LBR call stack

2019-10-21 Thread kan . liang
From: Kan Liang Changes since V1 - Add a new branch sample type for LBR TOS. Drop the sample type in V1. - Add check in perf header to detect unknown input bits in event attr - Save and use the LBR cursor nodes from previous sample to avoid duplicate calculation of cursor nodes. - Add fast path

[PATCH V2 03/13] perf tools: Support new branch sample type for LBR TOS

2019-10-21 Thread kan . liang
From: Kan Liang Support new branch sample type for LBR TOS. Enable LBR_TOS by default in LBR call stack mode. If kernel doesn't support the sample type, switching it off. Add a new branch options "tos" for the new branch sample type. Set tos to -1ULL if the LBR TOS information is unavailable.

Re: [PATCH] scsi: lpfc: Honor module parameter lpfc_use_adisc

2019-10-21 Thread James Smart
On 10/21/2019 3:05 AM, Daniel Wagner wrote: The initial lpfc_desc_set_adisc implementation dea3101e0a5c ("lpfc: add Emulex FC driver version 8.0.28") enabled ADISC if cfg_use_adisc && RSCN_MODE && FCP_2_DEVICE In commit 92d7f7b0cde3 ("[SCSI] lpfc: NPIV: add NPIV support on top of SLI-3"

<    4   5   6   7   8   9   10   11   12   >