[PATCH net-next 03/26] net: stmmac: Fix issues when number of Queues >= 4

2019-08-05 Thread Jose Abreu
When queues >= 4 we use different registers but we were not subtracting the offset of 4. Fix this. Found out by Coverity. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc:

[PATCH net-next 23/26] net: stmmac: xgmac: Add EEE support

2019-08-05 Thread Jose Abreu
Add support for EEE in XGMAC cores by implementing the necessary callbacks. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc:

[PATCH net-next 24/26] net: stmmac: Add support for VLAN Insertion Offload

2019-08-05 Thread Jose Abreu
Adds the logic to insert a given VLAN ID in a packet. This is offloaded to HW and its descriptor based. For now, only XGMAC implements the necessary callbacks. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin

[PATCH net-next 05/26] net: stmmac: xgmac: Implement tx_queue_prio()

2019-08-05 Thread Jose Abreu
Implement the TX Queue Priority callback in XGMAC core. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc:

Re: [RFC PATCH 1/2] Regulator: Core: Add clock-enable to fixed-regulator

2019-08-05 Thread Mark Brown
On Mon, Aug 05, 2019 at 11:07:58AM +, Philippe Schenker wrote: > On Wed, 2019-07-31 at 22:23 +0100, Mark Brown wrote: Please fix your mail client to word wrap within paragraphs at something substantially less than 80 columns. Doing this makes your messages much easier to read and reply to.

Re: [PATCH v7 0/3] add support for rng-seed

2019-08-05 Thread Hsin-Yi Wang
Ping on the thread. Should the series be proceeded? Thanks

Re: [alsa-devel] [RFC PATCH 23/40] soundwire: stream: fix disable sequence

2019-08-05 Thread Sanyog Kale
On Mon, Aug 05, 2019 at 10:33:25AM -0500, Pierre-Louis Bossart wrote: > > > On 8/5/19 4:56 AM, Sanyog Kale wrote: > > On Thu, Jul 25, 2019 at 06:40:15PM -0500, Pierre-Louis Bossart wrote: > > > When we disable the stream and then call hw_free, two bank switches > > > will be handled and as a

[PATCH 4/4] pinctrl: samsung: Fix device node refcount leaks in init code

2019-08-05 Thread Krzysztof Kozlowski
Several functions use for_each_child_of_node() loop with a break to find a matching child node. Although each iteration of for_each_child_of_node puts the previous node, but early exit from loop misses it. This leads to leak of device node. Signed-off-by: Krzysztof Kozlowski ---

[PATCH 3/4] pinctrl: samsung: Fix device node refcount leaks in S3C64xx wakeup controller init

2019-08-05 Thread Krzysztof Kozlowski
In s3c64xx_eint_eint0_init() the for_each_child_of_node() loop is used with a break to find a matching child node. Although each iteration of for_each_child_of_node puts the previous node, but early exit from loop misses it. This leads to leak of device node. Signed-off-by: Krzysztof Kozlowski

[PATCH 2/4] pinctrl: samsung: Fix device node refcount leaks in S3C24xx wakeup controller init

2019-08-05 Thread Krzysztof Kozlowski
In s3c24xx_eint_init() the for_each_child_of_node() loop is used with a break to find a matching child node. Although each iteration of for_each_child_of_node puts the previous node, but early exit from loop misses it. This leads to leak of device node. Signed-off-by: Krzysztof Kozlowski ---

[PATCH 1/4] pinctrl: samsung: Fix device node refcount leaks in Exynos wakeup controller init

2019-08-05 Thread Krzysztof Kozlowski
In exynos_eint_wkup_init() the for_each_child_of_node() loop is used with a break to find a matching child node. Although each iteration of for_each_child_of_node puts the previous node, but early exit from loop misses it. This leads to leak of device node. Signed-off-by: Krzysztof Kozlowski

Re: [PATCH v3 6/6] virtio-balloon: Add support for providing unused page reports to host

2019-08-05 Thread Alexander Duyck
On Mon, 2019-08-05 at 12:00 -0400, Nitesh Narayan Lal wrote: > On 8/1/19 6:38 PM, Alexander Duyck wrote: > > From: Alexander Duyck > > > > Add support for the page reporting feature provided by virtio-balloon. > > Reporting differs from the regular balloon functionality in that is is > > much

Re: [PATCH v3 0/8] PM / ACPI: sleep: Additional changes related to suspend-to-idle

2019-08-05 Thread Kai-Heng Feng
at 18:33, Rafael J. Wysocki wrote: Hi All, On top of the "Simplify the suspend-to-idle control flow" patch series posted previously: https://lore.kernel.org/lkml/71085220.z6FKkvYQPX@kreacher/ sanitize the suspend-to-idle flow even further. First off, decouple EC wakeup from the LPS0 _DSM

Re: [PATCH] MAINTAINERS: Update e-mail address for Andrea Parri

2019-08-05 Thread Andrea Parri
On Mon, Aug 05, 2019 at 08:23:38AM -0700, James Bottomley wrote: > On Mon, 2019-08-05 at 17:15 +0200, Andrea Parri wrote: > > > Why don't you also add an entry in .mailmap as Will did in commit > > > c584b1202f2d ("MAINTAINERS: Update my email address to use > > > @kernel.org")? > > > > I

Re: [PATCH v21 16/28] x86/sgx: Add the Linux SGX Enclave Driver

2019-08-05 Thread Sean Christopherson
On Sat, Jul 13, 2019 at 08:07:52PM +0300, Jarkko Sakkinen wrote: > +static unsigned long sgx_get_unmapped_area(struct file *file, > +unsigned long addr, > +unsigned long len, > +

Applied "regulator: core: Add of_node_put() before return" to the regulator tree

2019-08-05 Thread Mark Brown
The patch regulator: core: Add of_node_put() before return has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Re: [PATCH V2 06/10] x86/resctrl: Introduce utility to return pseudo-locked cache portion

2019-08-05 Thread Borislav Petkov
On Tue, Jul 30, 2019 at 10:29:40AM -0700, Reinette Chatre wrote: > To prevent eviction of pseudo-locked memory it is required that no > other resource group uses any portion of a cache that is in use by > a cache pseudo-locked region. > > Introduce a utility that will return a Capacity BitMask

Re: [PATCH v3 00/19] KVM RISC-V Support

2019-08-05 Thread Paolo Bonzini
On 05/08/19 15:42, Anup Patel wrote: > This series adds initial KVM RISC-V support. Currently, we are able to boot > RISC-V 64bit Linux Guests with multiple VCPUs. > > Few key aspects of KVM RISC-V added by this series are: > 1. Minimal possible KVM world-switch which touches only GPRs and few

Re: [PATCH] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-05 Thread Tyler Hicks
On 2019-08-05 11:54:19, Mimi Zohar wrote: > On Mon, 2019-08-05 at 16:50 +0200, Roberto Sassu wrote: > > Regarding Mimi's proposal to avoid the issue by extending the PCR with > > zeros, I think it also achieve the goal. > > Roberto, removing the following code from init_digests() would be the >

Re: [PATCH] interconnect: Add pre_aggregate() callback

2019-08-05 Thread Evan Green
On Mon, Aug 5, 2019 at 8:33 AM Georgi Djakov wrote: > > Introduce an optional callback in interconnect provider drivers. It can be > used for implementing actions, that need to be executed before the actual > aggregation of the bandwidth requests has started. > > The benefit of this for now is

Re: [PATCH v6 28/57] pcie-gadget-spear: Remove dev_err() usage after platform_get_irq()

2019-08-05 Thread Greg Kroah-Hartman
On Wed, Jul 31, 2019 at 07:16:22AM -0700, Stephen Boyd wrote: > Quoting Arnd Bergmann (2019-07-30 11:29:45) > > On Tue, Jul 30, 2019 at 8:16 PM Stephen Boyd wrote: > > > > > > We don't need dev_err() messages when platform_get_irq() fails now that > > > platform_get_irq() prints an error message

Re: [PATCH] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-05 Thread Roberto Sassu
On 8/5/2019 5:54 PM, Mimi Zohar wrote: On Mon, 2019-08-05 at 16:50 +0200, Roberto Sassu wrote: Regarding Mimi's proposal to avoid the issue by extending the PCR with zeros, I think it also achieve the goal. Roberto, removing the following code from init_digests() would be the equivalent to

Re: [PATCH v3 11/19] RISC-V: KVM: Implement VMID allocator

2019-08-05 Thread Paolo Bonzini
On 05/08/19 15:43, Anup Patel wrote: > + spin_lock(_lock); > + > + /* > + * We need to re-check the vmid_version here to ensure that if > + * another vcpu already allocated a valid vmid for this vm. > + */ > + if (!kvm_riscv_stage2_vmid_ver_changed(vmid)) { > +

Re: [PATCH v2 1/2] KVM: remove kvm_arch_has_vcpu_debugfs()

2019-08-05 Thread Greg KH
On Mon, Aug 05, 2019 at 05:48:15PM +0200, Paolo Bonzini wrote: > On 05/08/19 17:36, Greg KH wrote: > > On Sat, Aug 03, 2019 at 08:23:25AM +0200, Paolo Bonzini wrote: > >> On 31/07/19 20:55, Greg KH wrote: > >>> There is no need for this function as all arches have to implement > >>>

Re: [PATCH v3 6/6] virtio-balloon: Add support for providing unused page reports to host

2019-08-05 Thread Nitesh Narayan Lal
On 8/1/19 6:38 PM, Alexander Duyck wrote: > From: Alexander Duyck > > Add support for the page reporting feature provided by virtio-balloon. > Reporting differs from the regular balloon functionality in that is is > much less durable than a standard memory balloon. Instead of creating a > list

Re: [PATCH v4 1/2] dt-bindings: Add binding document for NOA1305

2019-08-05 Thread Jonathan Cameron
On Fri, 2 Aug 2019 12:42:27 +0100 Martyn Welch wrote: > Document the ON Semiconductor NOA1305 ambient light sensor devicetree > bindings. > > Signed-off-by: Martyn Welch > Reviewed-by: Rob Herring Applied to the togreg branch of iio.git and pushed out as testing. Thanks, Jonathan > --- >

Re: [PATCH v4 2/2] iio: light: noa1305: Add support for NOA1305

2019-08-05 Thread Jonathan Cameron
On Fri, 2 Aug 2019 12:42:28 +0100 Martyn Welch wrote: > This driver adds the initial support for the ON Semiconductor > NOA1305 Ambient Light Sensor. > > Originally written by Sergei Miroshnichenko. Found here: > >

Re: [PATCH V2 04/10] x86/resctrl: Set cache line size using new utility

2019-08-05 Thread Borislav Petkov
On Tue, Jul 30, 2019 at 10:29:38AM -0700, Reinette Chatre wrote: > In preparation for support of pseudo-locked regions spanning two > cache levels the cache line size computation is moved to a utility. Please write this in active voice: "Move the cache line size computation to a utility function

Re: [PATCH v3 2/2] mm,thp: Add experimental config option RO_EXEC_FILEMAP_HUGE_FAULT_THP

2019-08-05 Thread William Kucharski
> On Aug 5, 2019, at 7:28 AM, Kirill A. Shutemov wrote: > >> >> Is there different terminology you'd prefer to see me use here to clarify >> this? > > My point is that maybe we should just use ~HPAGE_P?D_MASK in code. The new > HPAGE_P?D_OFFSET doesn't add much for readability in my

[GIT PULL] Kselftest update for Linux 5.3-rc4

2019-08-05 Thread Shuah Khan
Hi Linus, Please pull the following Kselftest fixes update for Linux 5.3-rc4. This Kselftest update for Linux 5.3-rc4 consists of fix to Kselftest framework to save and restore errno and a fix to livepatch to push and pop dynamic debug config. diff is attached. thanks, -- Shuah

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

2019-08-05 Thread Tim Chen
On 8/2/19 8:37 AM, Julien Desfossez wrote: > We tested both Aaron's and Tim's patches and here are our results. > > Test setup: > - 2 1-thread sysbench, one running the cpu benchmark, the other one the > mem benchmark > - both started at the same time > - both are pinned on the same core (2

Re: [PATCH] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-05 Thread Mimi Zohar
On Mon, 2019-08-05 at 16:50 +0200, Roberto Sassu wrote: > Regarding Mimi's proposal to avoid the issue by extending the PCR with > zeros, I think it also achieve the goal. Roberto, removing the following code from init_digests() would be the equivalent to the prior code, without needing to make

Re: [PATCHv2] drivers/amba: add reset control to primecell probe

2019-08-05 Thread Rob Herring
On Mon, Aug 5, 2019 at 8:52 AM Dinh Nguyen wrote: > > The primecell controller on some SoCs, i.e. SoCFPGA, is held in reset by > default. Until recently, the DMA controller was brought out of reset by the > bootloader(i.e. U-Boot). But a recent change in U-Boot, the peripherals that > are not

My Donation to you

2019-08-05 Thread N.Gray
Good day, Hope this message finds you well. My Name is MS N. Gray, $180,000,000 Super Lotto Jackpot Winner on Friday, the 11th of May 2018. I see my Jackpot winning as a gift from God and this is why i opened a foundation to assist other people by making financial donation to them. Note

[PATCH] iio: adc: max9611: Fix temperature reading in probe

2019-08-05 Thread Jacopo Mondi
The max9611 driver reads the die temperature at probe time to validate the communication channel. Use the actual read value to perform the test instead of the read function return value, which was mistakenly used so far. The temperature reading test was only successful because the 0 return value

Re: [PATCH RFC tip/core/rcu 14/14] rcu/nohz: Make multi_cpu_stop() enable tick on all online CPUs

2019-08-05 Thread Peter Zijlstra
On Mon, Aug 05, 2019 at 07:54:48AM -0700, Paul E. McKenney wrote: > > Right; so clearly we're not understanding what's happening. That seems > > like a requirement for actually doing a patch. > > Almost but not quite. It is a requirement for a patch *that* *is* > *supposed* *to* *be* *a* *fix*.

Re: [PATCH v2 1/2] KVM: remove kvm_arch_has_vcpu_debugfs()

2019-08-05 Thread Paolo Bonzini
On 03/08/19 09:41, Thomas Gleixner wrote: > On Sat, 3 Aug 2019, Paolo Bonzini wrote: >> On 31/07/19 20:55, Greg KH wrote: >>> There is no need for this function as all arches have to implement >>> kvm_arch_create_vcpu_debugfs() no matter what, so just remove this call >>> as it is pointless. >> >>

Re: [PATCH v2 1/2] KVM: remove kvm_arch_has_vcpu_debugfs()

2019-08-05 Thread Paolo Bonzini
On 05/08/19 17:36, Greg KH wrote: > On Sat, Aug 03, 2019 at 08:23:25AM +0200, Paolo Bonzini wrote: >> On 31/07/19 20:55, Greg KH wrote: >>> There is no need for this function as all arches have to implement >>> kvm_arch_create_vcpu_debugfs() no matter what, so just remove this call >>> as it is

Re: [PATCH 1/4] iio: adc: ad7606: Add support for AD7606B ADC

2019-08-05 Thread Jonathan Cameron
On Fri, 2 Aug 2019 13:03:01 +0300 Beniamin Bia wrote: > From: Stefan Popa > > The AD7606B is a 16-bit ADC that supports simultaneous sampling of 8 > channels. It is pin compatible to AD7606, but adds extra modes by > writing to the register map. > > The AD7606B can be configured to work in

Re: [PATCH] locking/percpu_rwsem: Rewrite to not use rwsem

2019-08-05 Thread Peter Zijlstra
On Mon, Aug 05, 2019 at 10:58:13PM +0800, Boqun Feng wrote: > On Mon, Aug 05, 2019 at 10:43:18PM +0800, Boqun Feng wrote: > > On Mon, Aug 05, 2019 at 04:02:41PM +0200, Peter Zijlstra wrote: > > [...] > > > > > > static inline void percpu_up_read(struct percpu_rw_semaphore *sem) > > > { > > > +

Re: [PATCH] iio: imu: st_lsm6dsx: make IIO_CHAN_INFO_SCALE shared by type

2019-08-05 Thread Jonathan Cameron
On Mon, 5 Aug 2019 17:04:35 +0200 Lorenzo Bianconi wrote: > > On Thu, 1 Aug 2019 16:39:08 +0200 > > Martin Kepplinger wrote: > > > > > in_accel_x_scale, in_accel_y_scale and in_accel_z_scale are always > > > the same. The scale is still defined to be in "info_mask_separate". > > > > > >

Re: [alsa-devel] [RFC PATCH 26/40] soundwire: cadence_master: fix divider setting in clock register

2019-08-05 Thread Pierre-Louis Bossart
@@ -988,9 +989,11 @@ int sdw_cdns_init(struct sdw_cdns *cdns) /* Set clock divider */ divider = (prop->mclk_freq / prop->max_clk_freq) - 1; val = cdns_readl(cdns, CDNS_MCP_CLK_CTRL0); reg read of CLK_CTRL0 can be removed. yes for both comments. Thanks for the review

Re: [alsa-devel] [RFC PATCH 25/40] soundwire: intel: use BIOS information to set clock dividers

2019-08-05 Thread Pierre-Louis Bossart
On 8/5/19 5:28 AM, Sanyog Kale wrote: On Thu, Jul 25, 2019 at 06:40:17PM -0500, Pierre-Louis Bossart wrote: The BIOS provides an Intel-specific property, let's use it to avoid hard-coded clock dividers. Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/cadence_master.c | 26

Re: [PATCH v2] arm64/mm: fix variable 'tag' set but not used

2019-08-05 Thread Andrey Konovalov
On Thu, Aug 1, 2019 at 4:47 PM Qian Cai wrote: > > When CONFIG_KASAN_SW_TAGS=n, set_tag() is compiled away. GCC throws a > warning, > > mm/kasan/common.c: In function '__kasan_kmalloc': > mm/kasan/common.c:464:5: warning: variable 'tag' set but not used > [-Wunused-but-set-variable] > u8 tag =

Re: [PATCH v2 1/2] KVM: remove kvm_arch_has_vcpu_debugfs()

2019-08-05 Thread Greg KH
On Sat, Aug 03, 2019 at 08:23:25AM +0200, Paolo Bonzini wrote: > On 31/07/19 20:55, Greg KH wrote: > > There is no need for this function as all arches have to implement > > kvm_arch_create_vcpu_debugfs() no matter what, so just remove this call > > as it is pointless. > > > > Cc: Paolo Bonzini

Re: oom-killer

2019-08-05 Thread Pankaj Suryawanshi
On Mon, Aug 5, 2019 at 5:35 PM Michal Hocko wrote: > > On Mon 05-08-19 13:56:20, Vlastimil Babka wrote: > > On 8/5/19 1:24 PM, Michal Hocko wrote: > > >> [ 727.954355] CPU: 0 PID: 56 Comm: kworker/u8:2 Tainted: P O > > >> 4.14.65 #606 > > > [...] > > >> [ 728.029390] []

Re: [PATCH v4 4/4] iio: tsl2772: Use regulator_bulk_() APIs

2019-08-05 Thread Jonathan Cameron
On Thu, 1 Aug 2019 15:36:19 +0800 Chuhong Yuan wrote: > Use regulator_bulk_() APIs to shrink driver size. > > Signed-off-by: Chuhong Yuan Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > Changes in v4: > -

Re: [alsa-devel] [RFC PATCH 23/40] soundwire: stream: fix disable sequence

2019-08-05 Thread Pierre-Louis Bossart
On 8/5/19 4:56 AM, Sanyog Kale wrote: On Thu, Jul 25, 2019 at 06:40:15PM -0500, Pierre-Louis Bossart wrote: When we disable the stream and then call hw_free, two bank switches will be handled and as a result we re-enable the stream on hw_free. I didnt quite get why there will be two bank

[PATCH] interconnect: Add pre_aggregate() callback

2019-08-05 Thread Georgi Djakov
Introduce an optional callback in interconnect provider drivers. It can be used for implementing actions, that need to be executed before the actual aggregation of the bandwidth requests has started. The benefit of this for now is that it will significantly simplify the code in provider drivers.

Re: [PATCH v4 3/4] iio: tsl2772: Use devm_iio_device_register

2019-08-05 Thread Jonathan Cameron
On Thu, 1 Aug 2019 15:36:12 +0800 Chuhong Yuan wrote: > Use devm_iio_device_register, which removes the tsl2772_remove > function. > > Signed-off-by: Chuhong Yuan Applied. Thanks, J > --- > Changes in v4: > - Split v3 into three patches. > - Revise description to make it more precise.

Re: [alsa-devel] [RFC PATCH 21/40] soundwire: export helpers to find row and column values

2019-08-05 Thread Pierre-Louis Bossart
On 8/5/19 4:39 AM, Sanyog Kale wrote: On Thu, Jul 25, 2019 at 06:40:13PM -0500, Pierre-Louis Bossart wrote: Add a prefix for common tables and export 2 helpers to set the frame shapes based on row/col values. Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/bus.h| 7 +--

Re: [PATCH 15/16] net: phy: adin: add ethtool get_stats support

2019-08-05 Thread Andrew Lunn
On Mon, Aug 05, 2019 at 07:54:52PM +0300, Alexandru Ardelean wrote: > This change implements retrieving all the error counters from the PHY. > The PHY supports several error counters/stats. The `Mean Square Errors` > status values are only valie when a link is established, and shouldn't be >

Re: [PATCH 01/11] dt-bindings: mediatek: add support for mt6779 reference board

2019-08-05 Thread Rob Herring
On Mon, Aug 5, 2019 at 3:13 AM Mars Cheng wrote: > > Update binding document for mt6779 reference board > > Signed-off-by: Mars Cheng > --- > .../devicetree/bindings/arm/mediatek.yaml |4 > 1 file changed, 4 insertions(+) Reviewed-by: Rob Herring

Re: [PATCH v4 2/4] iio: tsl2772: Use devm_add_action_or_reset for tsl2772_chip_off

2019-08-05 Thread Jonathan Cameron
On Thu, 1 Aug 2019 05:35:26 -0400 Brian Masney wrote: > On Thu, Aug 01, 2019 at 03:36:05PM +0800, Chuhong Yuan wrote: > > Use devm_add_action_or_reset to call tsl2772_chip_off > > when the device is removed. > > This also fixes the issue that the chip is turned off > > before the device is

Re: [PATCH 15/16] net: phy: adin: add ethtool get_stats support

2019-08-05 Thread Andrew Lunn
> +struct adin_hw_stat { > + const char *string; > +static void adin_get_strings(struct phy_device *phydev, u8 *data) > +{ > + int i; > + > + for (i = 0; i < ARRAY_SIZE(adin_hw_stats); i++) { > + memcpy(data + i * ETH_GSTRING_LEN, > +

INFO: rcu detected stall in __do_softirq

2019-08-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:882e8691 Add linux-next specific files for 20190801 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=17fc120c60 kernel config: https://syzkaller.appspot.com/x/.config?x=466b331af3f34e94

Re: [PATCH v4 1/4] iio: tsl2772: Use devm_add_action_or_reset

2019-08-05 Thread Jonathan Cameron
On Thu, 1 Aug 2019 05:37:31 -0400 Brian Masney wrote: > On Thu, Aug 01, 2019 at 05:33:47AM -0400, Brian Masney wrote: > > On Thu, Aug 01, 2019 at 03:35:57PM +0800, Chuhong Yuan wrote: > > > Use devm_add_action_or_reset to remove the call to > > > tsl2772_disable_regulators_action to simplify

DONATION OFFER

2019-08-05 Thread Mavis
Dear friend, I'm Ms. Mavis Wanczyk, a citizen of Massachusetts, United States of America, the $ 758.7 million mega-winner of the Powerball jackpot. I donate to 5 random people little of my fortune to a number of charities and organizations. I volunteered to donate $ 5,800,000 to you as one of

Re: [PATCH] MAINTAINERS: Update e-mail address for Andrea Parri

2019-08-05 Thread James Bottomley
On Mon, 2019-08-05 at 17:15 +0200, Andrea Parri wrote: > > Why don't you also add an entry in .mailmap as Will did in commit > > c584b1202f2d ("MAINTAINERS: Update my email address to use > > @kernel.org")? > > I considered it but could not understand its purpose... Maybe you > can explain it to

Re: [PATCH 14/16] net: phy: adin: make sure down-speed auto-neg is enabled

2019-08-05 Thread Andrew Lunn
On Mon, Aug 05, 2019 at 07:54:51PM +0300, Alexandru Ardelean wrote: > Down-speed auto-negotiation may not always be enabled, in which case the > PHY won't down-shift to 100 or 10 during auto-negotiation. Please look at how the marvell driver enables and configures this feature. Ideally we want

Re: [alsa-devel] [RFC PATCH 02/40] soundwire: cadence_master: add debugfs register dump

2019-08-05 Thread Pierre-Louis Bossart
+static ssize_t cdns_reg_read(struct file *file, char __user *user_buf, +size_t count, loff_t *ppos) +{ + struct sdw_cdns *cdns = file->private_data; + char *buf; + ssize_t ret; + int i, j; + + buf = kzalloc(RD_BUF, GFP_KERNEL); +

Re: [PATCH 12/16] net: phy: adin: read EEE setting from device-tree

2019-08-05 Thread Andrew Lunn
On Mon, Aug 05, 2019 at 07:54:49PM +0300, Alexandru Ardelean wrote: > By default, EEE is not advertised on system init. This change allows the > user to specify a device property to enable EEE advertisements when the PHY > initializes. This patch is not required. If EEE is not being advertised

Re: [PATCH 01/16] net: phy: adin: add support for Analog Devices PHYs

2019-08-05 Thread Andrew Lunn
> +static struct phy_driver adin_driver[] = { > + { > + .phy_id = PHY_ID_ADIN1200, > + .name = "ADIN1200", > + .phy_id_mask= 0xfff0, > + .features = PHY_BASIC_FEATURES, Do you need this? If the device implements

Re: [PATCH] MAINTAINERS: Update e-mail address for Andrea Parri

2019-08-05 Thread Andrea Parri
> Why don't you also add an entry in .mailmap as Will did in commit > c584b1202f2d ("MAINTAINERS: Update my email address to use @kernel.org")? I considered it but could not understand its purpose... Maybe you can explain it to me? ;-) (can resend with this change if needed/desired). Thanks,

Re: [PATCH 11/16] net: phy: adin: PHY reset mechanisms

2019-08-05 Thread Andrew Lunn
On Mon, Aug 05, 2019 at 07:54:48PM +0300, Alexandru Ardelean wrote: > The ADIN PHYs supports 4 types of reset: > 1. The standard PHY reset via BMCR_RESET bit in MII_BMCR reg > 2. Reset via GPIO > 3. Reset via reg GeSftRst (0xff0c) & reload previous pin configs > 4. Reset via reg GeSftRst (0xff0c)

Re: [PATCH v3 4/6] mm: Introduce Reported pages

2019-08-05 Thread Alexander Duyck
On Mon, Aug 5, 2019 at 7:05 AM Nitesh Narayan Lal wrote: > > > On 8/1/19 6:33 PM, Alexander Duyck wrote: > > From: Alexander Duyck > > > > In order to pave the way for free page reporting in virtualized > > environments we will need a way to get pages out of the free lists and > > identify those

Re: [PATCH v1 1/1] dt-bindings: Add Vendor prefix for Beiqi

2019-08-05 Thread Rob Herring
On Sun, Aug 4, 2019 at 8:40 PM Elon Zhang wrote: > > Add devicetree vendor prefix for Beiqi. > http://www.beiqicloud.com/ > > Signed-off-by: Elon Zhang > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Rob Herring

Re: [PATCH] staging: rtl8192u: Add NULL check post kzalloc

2019-08-05 Thread Greg Kroah-Hartman
On Sun, Aug 04, 2019 at 09:19:05AM +0530, Hariprasad Kelam wrote: > Collect returns status of kzalloc. > > Signed-off-by: Hariprasad Kelam > --- > drivers/staging/rtl8192u/r8192U_core.c | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) Does not apply to my tree :(

Re: [PATCH] kvm: remove unnecessary PageReserved check

2019-08-05 Thread Sean Christopherson
On Mon, Aug 05, 2019 at 11:21:42AM +0200, Paolo Bonzini wrote: > The same check is already done in kvm_is_reserved_pfn. > > Signed-off-by: Paolo Bonzini > --- This patch was effectively submitted in Nov 2018, but was buried at the end of a DAX series.

Re: [PATCH] iio: imu: st_lsm6dsx: make IIO_CHAN_INFO_SCALE shared by type

2019-08-05 Thread Lorenzo Bianconi
> On Thu, 1 Aug 2019 16:39:08 +0200 > Martin Kepplinger wrote: > > > in_accel_x_scale, in_accel_y_scale and in_accel_z_scale are always > > the same. The scale is still defined to be in "info_mask_separate". > > > > Userspace (iio-sensor-proxy and others) is not used to that and only > > looks

Re: [PATCH]][next] selftests: nettest: fix spelling mistake: "potocol" -> "protocol"

2019-08-05 Thread shuah
On 8/5/19 4:52 AM, Colin King wrote: From: Colin Ian King There is a spelling mistake in an error messgae. Fix it. Signed-off-by: Colin Ian King --- tools/testing/selftests/net/nettest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v3 1/2] iio: tsl2772: Use device-managed API

2019-08-05 Thread Jonathan Cameron
On Wed, 31 Jul 2019 11:04:15 +0800 Chuhong Yuan wrote: > Use devm_() APIs to simplify the code. > > Signed-off-by: Chuhong Yuan > --- > Changes in v3: > - Split v2 into two patches. > > drivers/iio/light/tsl2772.c | 36 +++- > 1 file changed, 15

Re: [PATCH 3/5] MIPS: lantiq: add an irq_domain and irq_chip for EBU

2019-08-05 Thread Marc Zyngier
On 03/08/2019 18:33, Martin Blumenstingl wrote: > Hi Marc, > > On Sat, Aug 3, 2019 at 11:12 AM Marc Zyngier wrote: >> >> Hi Martin, >> >> On Thu, 01 Aug 2019 18:42:42 +0100, >> Martin Blumenstingl wrote: >> >> [...] >> > +static void ltq_ebu_irq_handler(struct irq_desc *desc) > +{ >

Re: [PATCH] staging: pi433 line over 80 characters in multiple places

2019-08-05 Thread Greg Kroah-Hartman
On Mon, Aug 05, 2019 at 05:32:45AM +0530, Giridhar Prasath R wrote: > Fix the following checkpatch warnings: > > WARNING: line over 80 characters > FILE: drivers/staging/pi433/pi433_if.h > > Signed-off-by: Giridhar Prasath R > --- > drivers/staging/pi433/pi433_if.h | 23 ---

Re: [PATCH v6 19/57] iio: Remove dev_err() usage after platform_get_irq()

2019-08-05 Thread Jonathan Cameron
On Thu, 1 Aug 2019 10:37:40 +0800 Phil Reid wrote: > G'day Stephen, > > One comment below. Please send as fresh patch. Nice to clean these up, but I'll loose it buried in a thread like this! Thanks, Jonathan > > On 31/07/2019 22:32, Stephen Boyd wrote: > > Quoting Phil Reid (2019-07-30

Re: [PATCH] MAINTAINERS: Update e-mail address for Andrea Parri

2019-08-05 Thread Akira Yokosawa
On Mon, 5 Aug 2019 14:15:17 +0200, Andrea Parri wrote: > My @amarulasolutions.com address stopped working this July, so update > to my @gmail.com address where you'll still be able to reach me. > > Signed-off-by: Andrea Parri > Cc: Alan Stern > Cc: Will Deacon > Cc: Peter Zijlstra > Cc:

Re: [PATCH v6 19/57] iio: Remove dev_err() usage after platform_get_irq()

2019-08-05 Thread Jonathan Cameron
On Tue, 30 Jul 2019 11:15:19 -0700 Stephen Boyd wrote: > We don't need dev_err() messages when platform_get_irq() fails now that > platform_get_irq() prints an error message itself when something goes > wrong. Let's remove these prints with a simple semantic patch. > > // > @@ > expression

Re: [PATCH] locking/percpu_rwsem: Rewrite to not use rwsem

2019-08-05 Thread Boqun Feng
On Mon, Aug 05, 2019 at 10:43:18PM +0800, Boqun Feng wrote: > On Mon, Aug 05, 2019 at 04:02:41PM +0200, Peter Zijlstra wrote: > [...] > > > > static inline void percpu_up_read(struct percpu_rw_semaphore *sem) > > { > > + rwsem_release(>dep_map, 1, _RET_IP_); > > + > > preempt_disable();

Re: [PATCH RFC tip/core/rcu 14/14] rcu/nohz: Make multi_cpu_stop() enable tick on all online CPUs

2019-08-05 Thread Paul E. McKenney
On Mon, Aug 05, 2019 at 10:05:31AM +0200, Peter Zijlstra wrote: > On Sun, Aug 04, 2019 at 11:41:59AM -0700, Paul E. McKenney wrote: > > On Sun, Aug 04, 2019 at 04:48:35PM +0200, Peter Zijlstra wrote: > > > On Sun, Aug 04, 2019 at 04:43:17PM +0200, Peter Zijlstra wrote: > > > > On Fri, Aug 02, 2019

Re: [PATCH v2] iio: light: si1145: Use device-managed APIs

2019-08-05 Thread Jonathan Cameron
On Mon, 29 Jul 2019 09:43:01 +0800 Chuhong Yuan wrote: > Use device-managed APIs to simplify the code. > The remove functions are redundant now and can > be deleted. > > Signed-off-by: Chuhong Yuan Nice little patch, thanks! Applied to the togreg branch of iio.git and pushed out as testing

[PATCHv2] drivers/amba: add reset control to primecell probe

2019-08-05 Thread Dinh Nguyen
The primecell controller on some SoCs, i.e. SoCFPGA, is held in reset by default. Until recently, the DMA controller was brought out of reset by the bootloader(i.e. U-Boot). But a recent change in U-Boot, the peripherals that are not used are held in reset and are left to Linux to bring them out

Re: [PATCH 06/16] net: phy: adin: support PHY mode converters

2019-08-05 Thread Andrew Lunn
On Mon, Aug 05, 2019 at 07:54:43PM +0300, Alexandru Ardelean wrote: > Sometimes, the connection between a MAC and PHY is done via a > mode/interface converter. An example is a GMII-to-RGMII converter, which > would mean that the MAC operates in GMII mode while the PHY operates in > RGMII. In this

[GIT PULL] SPI fixes for v5.3

2019-08-05 Thread Mark Brown
The following changes since commit 8cc7720470a17558bd6f8d67df63361600e46c55: spi: pxa2xx: Add support for Intel Elkhart Lake (2019-07-03 13:03:44 +0100) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v5.3-rc3 for you to

Re: [PATCH] staging: isdn: remove unnecessary parentheses

2019-08-05 Thread Dan Carpenter
This driver is obselete so we're just keeping it around for a couple kernel releases and then deleting it. We're not taking cleanups for it. regards, dan carpenter

Re: [PATCH] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-05 Thread Roberto Sassu
On 8/2/2019 10:23 PM, Tyler Hicks wrote: On 2019-08-02 22:42:26, Jarkko Sakkinen wrote: On Fri, Aug 02, 2019 at 09:27:22AM -0500, Tyler Hicks wrote: On 2019-08-02 10:21:16, Roberto Sassu wrote: On 8/1/2019 6:32 PM, Jarkko Sakkinen wrote: On Mon, Jul 15, 2019 at 06:44:28PM +0200, Roberto

Re: [RFC] net: dsa: mv88e6xxx: ptp: improve phc2sys precision for mv88e6xxx switch in combination with imx6-fec

2019-08-05 Thread Hubert Feurstein
Hi Vladimir, Am Mo., 5. Aug. 2019 um 11:55 Uhr schrieb Vladimir Oltean : [...] > You guessed correctly (since you copied me) that I'm battling much of > the same issues with the sja1105 and its spi-fsl-dspi controller > driver. I've copied you, because of this discussion on github:

Re: [PATCH RFC tip/core/rcu 14/14] rcu/nohz: Make multi_cpu_stop() enable tick on all online CPUs

2019-08-05 Thread Paul E. McKenney
On Mon, Aug 05, 2019 at 10:07:36AM +0200, Peter Zijlstra wrote: > On Sun, Aug 04, 2019 at 09:19:01PM -0700, Paul E. McKenney wrote: > > On Sun, Aug 04, 2019 at 01:24:46PM -0700, Paul E. McKenney wrote: > > > > For whatever it is worth, the things on my list include using 25 rounds > > > of

Re: [PATCH 4.19 04/74] ARM: dts: rockchip: Mark that the rk3288 timer might stop in suspend

2019-08-05 Thread Pavel Machek
On Mon 2019-08-05 15:02:17, Greg Kroah-Hartman wrote: > [ Upstream commit 8ef1ba39a9fa53d2205e633bc9b21840a275908e ] > > This is similar to commit e6186820a745 ("arm64: dts: rockchip: Arch > counter doesn't tick in system suspend"). Specifically on the rk3288 > it can be seen that the timer

Re: [PATCH 4.19 03/74] ARM: dts: rockchip: Make rk3288-veyron-mickeys emmc work again

2019-08-05 Thread Pavel Machek
On Mon 2019-08-05 15:02:16, Greg Kroah-Hartman wrote: > [ Upstream commit 99fa066710f75f18f4d9a5bc5f6a711968a581d5 ] > > When I try to boot rk3288-veyron-mickey I totally fail to make the > eMMC work. Specifically my logs (on Chrome OS 4.19): > > mmc_host mmc1: card is non-removable. >

Re: [PATCH] locking/percpu_rwsem: Rewrite to not use rwsem

2019-08-05 Thread Boqun Feng
On Mon, Aug 05, 2019 at 04:02:41PM +0200, Peter Zijlstra wrote: [...] > > static inline void percpu_up_read(struct percpu_rw_semaphore *sem) > { > + rwsem_release(>dep_map, 1, _RET_IP_); > + > preempt_disable(); > /* >* Same as in percpu_down_read(). >*/ > -

Re: [PATCH 4.19 02/74] ARM: dts: rockchip: Make rk3288-veyron-minnie run at hs200

2019-08-05 Thread Pavel Machek
Hi! > [ Upstream commit 1c0479023412ab7834f2e98b796eb0d8c627cd62 ] > > As some point hs200 was failing on rk3288-veyron-minnie. See commit > 984926781122 ("ARM: dts: rockchip: temporarily remove emmc hs200 speed > from rk3288 minnie"). Although I didn't track down exactly when it > started

Re: [PATCH 4.14 38/53] IB/hfi1: Fix Spectre v1 vulnerability

2019-08-05 Thread Gustavo A. R. Silva
Hi Greg, Can you please add these other two patches to stable: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d64062b57eeb58d4928aed945515bf53f7944913

Re: [Y2038] [PATCH 04/20] mount: Add mount warning for impending timestamp expiry

2019-08-05 Thread Arnd Bergmann
On Mon, Aug 5, 2019 at 4:12 PM Ben Hutchings wrote: > > On Mon, 2019-07-29 at 18:49 -0700, Deepa Dinamani wrote: > > The warning reuses the uptime max of 30 years used by the > > setitimeofday(). > > > > Note that the warning is only added for new filesystem mounts > > through the mount syscall.

[PATCH v5 4/4] edac: Add support for Amazon's Annapurna Labs L2 EDAC

2019-08-05 Thread Hanna Hawa
Adds support for Amazon's Annapurna Labs L2 EDAC driver to detect and report L2 errors. Signed-off-by: Hanna Hawa Reviewed-by: James Morse --- MAINTAINERS | 6 ++ drivers/edac/Kconfig | 8 ++ drivers/edac/Makefile | 1 + drivers/edac/al_l2_edac.c | 192

[PATCH v5 2/4] edac: Add support for Amazon's Annapurna Labs L1 EDAC

2019-08-05 Thread Hanna Hawa
Adds support for Amazon's Annapurna Labs L1 EDAC driver to detect and report L1 errors. Signed-off-by: Hanna Hawa Reviewed-by: James Morse --- MAINTAINERS | 6 ++ drivers/edac/Kconfig | 8 ++ drivers/edac/Makefile | 1 + drivers/edac/al_l1_edac.c | 158

[PATCH v5 1/4] dt-bindings: EDAC: Add Amazon's Annapurna Labs L1 EDAC

2019-08-05 Thread Hanna Hawa
Document Amazon's Annapurna Labs L1 EDAC SoC binding. Signed-off-by: Hanna Hawa --- .../devicetree/bindings/edac/amazon,al-l1-edac.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-l1-edac.txt diff --git

[PATCH v5 3/4] dt-bindings: EDAC: Add Amazon's Annapurna Labs L2 EDAC

2019-08-05 Thread Hanna Hawa
Document Amazon's Annapurna Labs L2 EDAC SoC binding. Signed-off-by: Hanna Hawa --- .../bindings/edac/amazon,al-l2-edac.txt | 20 +++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-l2-edac.txt diff --git

Re: [PATCH 05/16] net: phy: adin: configure RGMII/RMII/MII modes on config

2019-08-05 Thread Andrew Lunn
On Mon, Aug 05, 2019 at 07:54:42PM +0300, Alexandru Ardelean wrote: > The ADIN1300 chip supports RGMII, RMII & MII modes. Default (if > unconfigured) is RGMII. > This change adds support for configuring these modes via the device > registers. > > For RGMII with internal delays (modes

[PATCH v5 0/4] Add support for Amazon's Annapurna Labs EDAC for L1/L2

2019-08-05 Thread Hanna Hawa
This series adds L1 and L2 caches support for error detection and correction for Amazon's Annapurna Labs SoCs. Alpine SoCs supports L1 and L2 single bit correction and two bits detection capability based on ARM implementation. Changes since v4: - - Added include for cpumask.h in

Re: [RFC PATCH 1/2] dt-bindings: net: macb: Add new property for PS SGMII only

2019-08-05 Thread Harini Katakam
Hi Andrew, On Mon, Aug 5, 2019 at 7:00 PM Andrew Lunn wrote: > > On Mon, Aug 05, 2019 at 11:45:05AM +0530, Harini Katakam wrote: > > Hi Andrew, > > > > On Sun, Aug 4, 2019 at 8:26 PM Andrew Lunn wrote: > > > > > > On Wed, Jul 31, 2019 at 03:10:32PM +0530, Harini Katakam wrote: > > > > Add a new

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