Re: single copy atomicity for double load/stores on 32-bit systems

2019-06-03 Thread Vineet Gupta
On 6/3/19 1:13 PM, Paul E. McKenney wrote: > On Mon, Jun 03, 2019 at 06:08:35PM +, Vineet Gupta wrote: >> On 5/31/19 1:21 AM, Peter Zijlstra wrote: I'm not sure how to interpret "natural alignment" for the case of double load/stores on 32-bit systems where the hardware and ABI allow

Re: [PATCH v3] selinux: lsm: fix a missing-check bug in selinux_sb_eat_lsm_opts()

2019-06-03 Thread Paul Moore
On Mon, Jun 3, 2019 at 3:27 AM Ondrej Mosnacek wrote: > On Sat, Jun 1, 2019 at 4:15 AM Gen Zhang wrote: > > In selinux_sb_eat_lsm_opts(), 'arg' is allocated by kmemdup_nul(). It > > returns NULL when fails. So 'arg' should be checked. And 'mnt_opts' > > should be freed when error. > > > >

Re: [PATCH 5/7] scsi: mac_scsi: Fix pseudo DMA implementation, take 2

2019-06-03 Thread Michael Schmitz
Hi Finn, On 3/06/19 7:40 PM, Finn Thain wrote: There are several other drivers that contain pieces of assembler code. Does any driver contain assembler code for multiple architectures? I was trying to avoid that -- though admittedly I don't yet have actual code for the PDMA implementation

Re: [PATCH net-next v5 3/5] net: stmmac: add xpcs function hooks into main driver and ethtool

2019-06-03 Thread David Miller
From: Voon Weifeng Date: Sat, 1 Jun 2019 03:58:12 +0800 > +static bool mac_adjust_link(struct stmmac_priv *priv, > + int *speed, int *duplex) > +{ > + bool new_state = false; > + > + u32 ctrl = readl(priv->ioaddr + MAC_CTRL_REG); Again please don't break up the

Re: [PATCH net-next v5 2/5] net: stmmac: introducing support for DWC xPCS logics

2019-06-03 Thread David Miller
From: Voon Weifeng Date: Sat, 1 Jun 2019 03:58:11 +0800 > +static void dw_xpcs_init(struct net_device *ndev, int pcs_mode) > +{ > + struct stmmac_priv *priv = netdev_priv(ndev); > + int xpcs_phy_addr = priv->plat->xpcs_phy_addr; > + int phydata; Reverse christmas tree please. Put

Re: [PATCH v3 2/4] mm/vmap: preload a CPU with one object for split purpose

2019-06-03 Thread Uladzislau Rezki
On Mon, Jun 03, 2019 at 07:53:12PM +0200, Uladzislau Rezki wrote: > Hello, Roman! > > On Wed, May 29, 2019 at 04:34:40PM +, Roman Gushchin wrote: > > On Wed, May 29, 2019 at 04:27:15PM +0200, Uladzislau Rezki wrote: > > > Hello, Roman! > > > > > > > On Mon, May 27, 2019 at 11:38:40AM +0200,

Re: [PATCH] PCI: rpaphp: Avoid a sometimes-uninitialized warning

2019-06-03 Thread Nathan Chancellor
Hi Nick, On Mon, Jun 03, 2019 at 02:07:50PM -0700, Nick Desaulniers wrote: > On Mon, Jun 3, 2019 at 10:44 AM Nathan Chancellor > wrote: > > Looking at the loop in a vacuum as clang would, fndit could be > > uninitialized if entries was ever zero or the if statement was > > always true within the

Re: SGX vs LSM (Re: [PATCH v20 00/28] Intel SGX1 support)

2019-06-03 Thread Sean Christopherson
On Mon, Jun 03, 2019 at 11:54:05PM +0300, Jarkko Sakkinen wrote: > On Thu, May 30, 2019 at 09:14:10AM -0700, Andy Lutomirski wrote: > > > What is the "source file" i.e. the target of the check? Enclave file, > > > sigstruct file, or /dev/sgx/enclave? > > > > Enclave file -- that is, the file

Re: [PATCH 1/6] mailbox: add support for doorbell/signal mode controllers

2019-06-03 Thread Jassi Brar
On Fri, May 31, 2019 at 9:33 AM Sudeep Holla wrote: > diff --git a/drivers/mailbox/mailbox.c b/drivers/mailbox/mailbox.c > index 38d9df3fb199..e26a079f8223 100644 > --- a/drivers/mailbox/mailbox.c > +++ b/drivers/mailbox/mailbox.c > @@ -77,7 +77,10 @@ static void msg_submit(struct mbox_chan

Re: [PATCH v2] net: ethernet: ti: cpsw_ethtool: fix ethtool ring param set

2019-06-03 Thread David Miller
From: Ivan Khoronzhuk Date: Fri, 31 May 2019 16:47:25 +0300 > Fix ability to set RX descriptor number, the reason - initially > "tx_max_pending" was set incorrectly, but the issue appears after > adding sanity check, so fix is for "sanity" patch. > > Fixes: 37e2d99b59c476 ("ethtool: Ensure new

Re: [RFCv2 1/6] mm: introduce MADV_COLD

2019-06-03 Thread Johannes Weiner
On Mon, Jun 03, 2019 at 10:32:30PM +0200, Michal Hocko wrote: > On Mon 03-06-19 13:27:17, Johannes Weiner wrote: > > On Mon, Jun 03, 2019 at 09:16:07AM +0200, Michal Hocko wrote: > > > On Fri 31-05-19 23:34:07, Minchan Kim wrote: > > > > On Fri, May 31, 2019 at 04:03:32PM +0200, Michal Hocko

Re: [lttng-dev] [RELEASE] Userspace RCU 0.11

2019-06-03 Thread Mathieu Desnoyers
- On May 6, 2019, at 4:32 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > Hi, > > This is a 0.11 release of the Userspace RCU project. FYI, I just released a 0.11.1 tag of Userspace RCU which does a mandatory soname bump. Distributions wishing to package it should grab

Re: [PATCH v3 05/11] drivers/base/memory: Pass a block_id to init_memory_block()

2019-06-03 Thread Wei Yang
On Mon, May 27, 2019 at 01:11:46PM +0200, David Hildenbrand wrote: >We'll rework hotplug_memory_register() shortly, so it no longer consumes >pass a section. > >Cc: Greg Kroah-Hartman >Cc: "Rafael J. Wysocki" >Signed-off-by: David Hildenbrand >--- > drivers/base/memory.c | 15 +++ >

Re: SGX vs LSM (Re: [PATCH v20 00/28] Intel SGX1 support)

2019-06-03 Thread Andy Lutomirski
On Mon, Jun 3, 2019 at 1:54 PM Jarkko Sakkinen wrote: > > On Thu, May 30, 2019 at 09:14:10AM -0700, Andy Lutomirski wrote: > > > What is the "source file" i.e. the target of the check? Enclave file, > > > sigstruct file, or /dev/sgx/enclave? > > > > Enclave file -- that is, the file backing the

Re: [PATCH 1/4] zstd: pass pointer rathen than structure to functions

2019-06-03 Thread Andrew Morton
On Mon, 3 Jun 2019 14:32:03 +0530 Maninder Singh wrote: > currently params structure is passed in all functions, which increases > stack usage in all the function and lead to stack overflow on target like > ARM with kernel stack size of 8 KB so better to pass pointer. > > Checked for ARM: >

[PATCH] net: mscc: ocelot: Fix some struct initializations

2019-06-03 Thread Nathan Chancellor
Clang warns: drivers/net/ethernet/mscc/ocelot_ace.c:335:37: warning: suggest braces around initialization of subobject [-Wmissing-braces] struct ocelot_vcap_u64 payload = { 0 }; ^ {}

memory leak in raw_sendmsg

2019-06-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:3ab4436f Merge tag 'nfsd-5.2-1' of git://linux-nfs.org/~bf.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=158090a6a0 kernel config: https://syzkaller.appspot.com/x/.config?x=50393f7bfe444ff6

Re: [PATCH] HID: hid-logitech-hidpp: detect wireless lightspeed devices

2019-06-03 Thread Pedro Vanzella
On 05/28, Benjamin Tissoires wrote: > On Tue, May 28, 2019 at 6:30 PM Pedro Vanzella > wrote: > > > > Send a low device index when the device is connected via the lightspeed > > receiver so that the receiver will pass the message along to the device > > instead of responding. If we don't do

Re: memory leak in nf_hook_entries_grow

2019-06-03 Thread Julian Anastasov
Hello, On Mon, 3 Jun 2019, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:3ab4436f Merge tag 'nfsd-5.2-1' of git://linux-nfs.org/~bf.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15feaf82a0 > kernel

[PATCH v2] sched: fix "runnable_avg_yN_inv" not used warnings

2019-06-03 Thread Qian Cai
runnable_avg_yN_inv[] is only used in kernel/sched/pelt.c but was included in several other places because they need other macros all came from kernel/sched/sched-pelt.h which was generated by Documentation/scheduler/sched-pelt. As the result, it causes compilation a lot of warnings, In file

Re: [PATCH v3 04/11] arm64/mm: Add temporary arch_remove_memory() implementation

2019-06-03 Thread Wei Yang
On Mon, May 27, 2019 at 01:11:45PM +0200, David Hildenbrand wrote: >A proper arch_remove_memory() implementation is on its way, which also >cleanly removes page tables in arch_add_memory() in case something goes >wrong. Would this be better to understand? removes page tables created in

Re: [PATCH v1 4/4] mm: introduce MADV_PAGEOUT

2019-06-03 Thread Johannes Weiner
On Mon, Jun 03, 2019 at 02:36:55PM +0900, Minchan Kim wrote: > When a process expects no accesses to a certain memory range > for a long time, it could hint kernel that the pages can be > reclaimed instantly but data should be preserved for future use. > This could reduce workingset eviction so it

Re: [GIT PULL 1/1] bcm2835-dt-next-2019-06-01

2019-06-03 Thread Florian Fainelli
On 6/1/19 1:09 PM, Stefan Wahren wrote: > Hi Florian, > > the following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: > > Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) > > are available in the git repository at: > > git://github.com/anholt/linux tags/bcm2835-dt-next-2019-06-01

Re: [RFC PATCH v5 16/16] dcache: Add CONFIG_DCACHE_SMO

2019-06-03 Thread Roman Gushchin
On Mon, Jun 03, 2019 at 02:26:20PM +1000, Tobin C. Harding wrote: > On Wed, May 29, 2019 at 04:16:51PM +, Roman Gushchin wrote: > > On Wed, May 29, 2019 at 01:54:06PM +1000, Tobin C. Harding wrote: > > > On Tue, May 21, 2019 at 02:05:38AM +, Roman Gushchin wrote: > > > > On Tue, May 21,

[PATCH] EDAC/altera: Warm Reset option for Stratix10 peripheral DBE

2019-06-03 Thread thor . thayer
From: Thor Thayer The Stratix10 peripheral FIFO memories can recover from double bit errors with a warm reset instead of a cold reset. Add the option of a warm reset for peripheral (USB, Ethernet) memories. CPU memories such as SDRAM and OCRAM require a cold reset for DBEs. Filter on whether

Re: [RFC PATCH 2/2] mmc: sdhci: Quirk for AMD SDHC Device 0x7906

2019-06-03 Thread Raul Rangel
On Tue, May 28, 2019 at 09:41:07AM +0200, Ulf Hansson wrote: > On Wed, 1 May 2019 at 19:55, Raul E Rangel wrote: > > > > AMD SDHC 0x7906 requires a hard reset to clear all internal state. > > Otherwise it can get into a bad state where the DATA lines are always > > read as zeros. > > > > This

Re: [PATCH] kprobes: Fix to init kprobes in subsys_initcall

2019-06-03 Thread Anders Roxell
On Mon, 3 Jun 2019 at 15:04, Masami Hiramatsu wrote: > > Since arm64 kernel initializes breakpoint trap vector in arch_initcall(), > initializing kprobe (and run smoke test) in postcore_initcall() causes > a kernel panic. > > To fix this issue, move the kprobe initialization in subsys_initcall()

Re: [RFCv2 1/6] mm: introduce MADV_COLD

2019-06-03 Thread Michal Hocko
On Mon 03-06-19 13:27:17, Johannes Weiner wrote: > On Mon, Jun 03, 2019 at 09:16:07AM +0200, Michal Hocko wrote: > > On Fri 31-05-19 23:34:07, Minchan Kim wrote: > > > On Fri, May 31, 2019 at 04:03:32PM +0200, Michal Hocko wrote: > > > > On Fri 31-05-19 22:39:04, Minchan Kim wrote: > > > > > On

Re: [PATCH v3 4/4] mm/vmap: move BUG_ON() check to the unlink_va()

2019-06-03 Thread Roman Gushchin
On Mon, Jun 03, 2019 at 07:35:28PM +0200, Uladzislau Rezki wrote: > Hello, Roman! > > On Wed, May 29, 2019 at 04:26:43PM +, Roman Gushchin wrote: > > On Wed, May 29, 2019 at 03:58:17PM +0200, Uladzislau Rezki wrote: > > > Hello, Roman! > > > > > > > > Move the BUG_ON()/RB_EMPTY_NODE() check

deadline scheduler BUG_ON trigger

2019-06-03 Thread noman pouigt
Folks, I am using sched deadline in the case of audio recording over SPI to maintain the consistency in reading the data. However, getting this BUG_ON triggered rarely. Is it because the calculated runtime is less than actual runtime? I only have one SCHED_DEADLINE task in the entire system.

Re: [PATCH v2 5/5] i2c: mux: pca9541: add support for PCA9641

2019-06-03 Thread Pradeep Srinivasan
I got some cycles to test the patches on a Celestica seastone switch which has the PCA 9541 mux. A rough sketch of the I2C mux tree on seastone switch is shown below. I tested by accessing the all the devices behind PCA9548 mux. There are 3 PCA 9548 mux devices behind PCA 9541. I was able to

Re: linux-next: build warning after merge of the scsi tree

2019-06-03 Thread Tyrel Datwyler
On 05/30/2019 08:36 PM, Stephen Rothwell wrote: > Hi all, > > After merging the scsi tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > drivers/scsi/ibmvscsi/ibmvscsi.c: In function 'ibmvscsi_work': > drivers/scsi/ibmvscsi/ibmvscsi.c:2151:5: warning: 'rc' may

Compliment of the day,

2019-06-03 Thread Mr.Philip
Compliment of the day, I am Mr.Philip.Kabore I Have a Business Proposal of $5.3 million For You. I am aware of the unsafe nature of the internet, and was compelled to use this medium due to the nature of this project. I have access to very vital information that can be used to transfer this huge

[PATCH] acpi/osl: fix a W=1 kernel-doc warning

2019-06-03 Thread Qian Cai
It appears that kernel-doc does not understand the return type *__ref, drivers/acpi/osl.c:306: warning: cannot understand function prototype: 'void __iomem *__ref acpi_os_map_iomem(acpi_physical_address phys, acpi_size size) Signed-off-by: Qian Cai --- drivers/acpi/osl.c | 4 ++--

Re: rcu_read_lock lost its compiler barrier

2019-06-03 Thread Linus Torvalds
On Mon, Jun 3, 2019 at 12:53 PM Paul E. McKenney wrote: > > I agree that !PREEMPT rcu_read_lock() would not affect compiler code > generation, but given that get_user() is a volatile asm, isn't the > compiler already forbidden from reordering it with the volatile-casted > WRITE_ONCE() access,

Re: [PATCH] sched/fair: don't restart enqueued cfs quota slack timer

2019-06-03 Thread bsegall
Peter Zijlstra writes: > On Mon, Jun 03, 2019 at 12:43:09PM +0800, Liangyan wrote: >> From: "liangyan.ply" >> >> start_cfs_slack_bandwidth() will restart the quota slack timer, >> if it is called frequently, this timer will be restarted continuously >> and may have no chance to expire to

Re: Testing the recent RISC-V DT patchsets

2019-06-03 Thread Troy Benjegerdes
> On Jun 3, 2019, at 4:49 AM, Loys Ollivier wrote: > > On Wed 29 May 2019 at 12:25, Troy Benjegerdes > wrote: > >>> On May 29, 2019, at 5:04 AM, Loys Ollivier wrote: >>> >>> On Wed 29 May 2019 at 00:50, Atish Patra wrote: >>> On 5/28/19 8:36 AM, Karsten Merker wrote: > On Tue,

Re: [RFC PATCH 3/9] x86/sgx: Allow userspace to add multiple pages in single ioctl()

2019-06-03 Thread Dave Hansen
On 5/31/19 4:31 PM, Sean Christopherson wrote: > -struct sgx_enclave_add_page { > +struct sgx_enclave_add_pages { > __u64 addr; > __u64 src; > __u64 secinfo; > + __u32 nr_pages; > __u16 mrmask; > } __attribute__((__packed__)); IMNHO this follows a user

Re: [PATCH v9 1/1] Add support for IPMB driver

2019-06-03 Thread Wolfram Sang
Hi Asmaa, sorry for the long wait. I missed this mail was still sitting in my Drafts folder :( > >> Am I overlooking something? Why are you protecting an atomic_read with a > >> spinlock? > > A thread would lock the ipmb_dev->lock spinlock (above) for all the code > below ONLY IF the

Re: single copy atomicity for double load/stores on 32-bit systems

2019-06-03 Thread Paul E. McKenney
On Mon, Jun 03, 2019 at 06:08:35PM +, Vineet Gupta wrote: > On 5/31/19 1:21 AM, Peter Zijlstra wrote: > >> I'm not sure how to interpret "natural alignment" for the case of double > >> load/stores on 32-bit systems where the hardware and ABI allow for 4 byte > >> alignment (ARCv2 LDD/STD, ARM

Re:[RFC 1/1] Add dm verity root hash pkcs7 sig validation.

2019-06-03 Thread jaskarankhurana
On Tue, 21 May 2019, Milan Broz wrote: On 20/05/2019 23:54, Jaskaran Khurana wrote: Adds in-kernel pkcs7 signature checking for the roothash of the dm-verity hash tree. Adds DM_VERITY_VERIFY_ROOTHASH_SIG_FORCE: roothash signature *must* be specified for all dm verity volumes and

Re: [RFC PATCH 3/9] x86/sgx: Allow userspace to add multiple pages in single ioctl()

2019-06-03 Thread Sean Christopherson
On Sun, Jun 02, 2019 at 11:26:09PM -0700, Xing, Cedric wrote: > > From: Christopherson, Sean J > > Sent: Friday, May 31, 2019 4:32 PM > > > > +/** > > + * sgx_ioc_enclave_add_pages - handler for %SGX_IOC_ENCLAVE_ADD_PAGES > > + * > > + * @filep: open file to /dev/sgx > > + * @cmd: the command

Re: [PATCH net-next v3 00/10] net: dsa: mv88e6xxx: support for mv88e6250

2019-06-03 Thread David Miller
From: Rasmus Villemoes Date: Mon, 3 Jun 2019 14:42:11 + > This adds support for the mv88e6250 chip. Please make the rearrangements requested by Andrew in patch #1 and respin. It looks otherwise ready to go to me :-)

Re: rcu_read_lock lost its compiler barrier

2019-06-03 Thread Paul E. McKenney
On Mon, Jun 03, 2019 at 02:42:00PM +0800, Boqun Feng wrote: > On Mon, Jun 03, 2019 at 01:26:26PM +0800, Herbert Xu wrote: > > On Sun, Jun 02, 2019 at 08:47:07PM -0700, Paul E. McKenney wrote: > > > > > > 1.These guarantees are of full memory barriers, -not- compiler > > > barriers. > >

[PATCH] media: mt9m111: fix fw-node refactoring

2019-06-03 Thread Robert Jarzmik
In the patch refactoring the fw-node, the mt9m111 was broken for all platform_data based platforms, which were the first aim of this driver. Only the devicetree platform are still functional, probably because the testing was done on these. The result is that -EINVAL is systematically return for

Re: arm64 patch

2019-06-03 Thread Rasmus Villemoes
On 22/05/2019 08.21, Rasmus Villemoes wrote: > On 22/05/2019 07.42, Andrew Morton wrote: > > Andrew, please drop the following five patches from your tree (sha1s as > per next-20190522): > > f418571688c5 powerpc: select DYNAMIC_DEBUG_RELATIVE_POINTERS for PPC64 > 0dd95e972ef8 arm64: select

Re: [RFC PATCH 02/57] drivers: ipmi: Drop device reference

2019-06-03 Thread Corey Minyard
On Mon, Jun 03, 2019 at 09:09:21PM +0200, Greg KH wrote: > On Mon, Jun 03, 2019 at 04:49:28PM +0100, Suzuki K Poulose wrote: > > Drop the reference to a device found via bus_find_device() > > > > Cc: Corey Minyard > > Cc: Arnd Bergmann > > Cc: Greg Kroah-Hartman > > Signed-off-by: Suzuki K

Re: [linux-sunxi] Re: [PATCH v3 10/12] arm64: dts: allwinner: h6: Add IR receiver node

2019-06-03 Thread Clément Péron
Hi Ondrej, On Fri, 31 May 2019 at 14:46, Ondřej Jirman wrote: > > Hello Clément, > > On Fri, May 31, 2019 at 12:25:32AM +0200, Clément Péron wrote: > > Hi Ondrej, > > > > On Thu, 30 May 2019 at 16:55, Ondřej Jirman wrote: > > > > > > Hello Clément, > > > > > > On Tue, May 28, 2019 at 06:14:38PM

Re: [RFC][Patch v10 1/2] mm: page_hinting: core infrastructure

2019-06-03 Thread David Hildenbrand
On 03.06.19 19:03, Nitesh Narayan Lal wrote: > This patch introduces the core infrastructure for free page hinting in > virtual environments. It enables the kernel to track the free pages which > can be reported to its hypervisor so that the hypervisor could > free and reuse that memory as per its

RE: [PATCH v3 0/6] soc/fsl/qe: cleanups and new DT binding

2019-06-03 Thread Leo Li
> -Original Message- > From: Rasmus Villemoes > Sent: Monday, June 3, 2019 2:54 PM > To: devicet...@vger.kernel.org; Qiang Zhao ; Leo Li > > Cc: linuxppc-...@lists.ozlabs.org; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org; Rob Herring ; Scott > Wood ; Christophe

Re: [PATCH 0/2] cpufreq: brcmstb-avs-cpufreq: Couple fixes

2019-06-03 Thread Markus Mayer
On Wed, 29 May 2019 at 10:02, Florian Fainelli wrote: > > On 5/27/19 3:51 AM, Rafael J. Wysocki wrote: > > On Wednesday, May 22, 2019 8:45:45 PM CEST Florian Fainelli wrote: > >> Hi Rafael, Viresh, > >> > >> These patch series contains two minor fixes for the brcmstb-avs-cpufreq > >> driver. > >>

Re: [PATCHv3] fs/proc: allow reporting eip/esp for all coredumping threads

2019-06-03 Thread Jan Lübbe
On Thu, 2019-05-30 at 02:58 +0200, John Ogness wrote: > Commit 0a1eb2d474ed ("fs/proc: Stop reporting eip and esp in > /proc/PID/stat") stopped reporting eip/esp and commit fd7d56270b52 > ("fs/proc: Report eip/esp in /prod/PID/stat for coredumping") > reintroduced the feature to fix a regression

Re: [PATCH v3 0/6] soc/fsl/qe: cleanups and new DT binding

2019-06-03 Thread Rasmus Villemoes
On 13/05/2019 13.14, Rasmus Villemoes wrote: > This small series consists of some small cleanups and simplifications > of the QUICC engine driver, and introduces a new DT binding that makes > it much easier to support other variants of the QUICC engine IP block > that appears in the wild: There's

Re: rcu_read_lock lost its compiler barrier

2019-06-03 Thread Paul E. McKenney
On Mon, Jun 03, 2019 at 09:07:29AM -0700, Linus Torvalds wrote: > On Mon, Jun 3, 2019 at 8:55 AM Linus Torvalds > wrote: > > > > I don't believe that it would necessarily help to turn a > > rcu_read_lock() into a compiler barrier, because for the non-preempt > > case rcu_read_lock() doesn't need

Re: [PATCH net-next v3 01/10] net: dsa: mv88e6xxx: add mv88e6250_g1_ieee_pri_map

2019-06-03 Thread Rasmus Villemoes
On 03/06/2019 17.37, Vivien Didelot wrote: > Hi Rasmus, > > On Mon, 3 Jun 2019 14:42:12 +, Rasmus Villemoes > wrote: >> Quite a few of the existing supported chips that use >> mv88e6085_g1_ieee_pri_map as ->ieee_pri_map (including, incidentally, >> mv88e6085 itself) actually have a reset

Re: [RESEND PATCH v3 00/30] Update cros_ec_commands.h

2019-06-03 Thread Mark Brown
On Mon, Jun 03, 2019 at 11:33:31AM -0700, Gwendal Grignou wrote: > The interface between CrosEC embedded controller and the host, > described by cros_ec_commands.h, as diverged from what the embedded > controller really support. I'm not clear why I keep getting copied on this series or why it's

Re: [RFC 1/6] rcu: Add support for consolidated-RCU reader checking

2019-06-03 Thread Joel Fernandes
On Mon, Jun 03, 2019 at 10:18:47AM -0400, Joel Fernandes wrote: > On Mon, Jun 03, 2019 at 10:01:28AM +0200, Peter Zijlstra wrote: > > On Sat, Jun 01, 2019 at 06:27:33PM -0400, Joel Fernandes (Google) wrote: > > > +#define list_for_each_entry_rcu(pos, head, member, cond...) > > > \ >

Re: [PATCH 4.19 00/32] 4.19.48-stable review

2019-06-03 Thread Naresh Kamboju
On Mon, 3 Jun 2019 at 14:45, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.48 release. > There are 32 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. > >

Re: [PATCH 0/6] mailbox: arm_mhu: add support to use in doorbell mode

2019-06-03 Thread Mark Brown
On Fri, May 31, 2019 at 05:53:26PM +0100, Sudeep Holla wrote: > On Fri, May 31, 2019 at 11:21:08AM -0500, Jassi Brar wrote: > > On Fri, May 31, 2019 at 9:33 AM Sudeep Holla wrote: > > > This is my another attempt to extend mailbox framework to support > > > doorbell mode mailbox hardware. It

Re: [PATCH 5.1 00/40] 5.1.7-stable review

2019-06-03 Thread Naresh Kamboju
On Mon, 3 Jun 2019 at 14:44, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.7 release. > There are 40 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. > >

Re: [PATCH v3 1/4] coresight: tmc-etr: Do not call smp_processor_id() from preemptible

2019-06-03 Thread Mathieu Poirier
On Thu, May 30, 2019 at 05:54:24PM +0100, Suzuki K Poulose wrote: > Instead of using smp_processor_id() to figure out the node, > use the numa_node_id() for the current CPU node to avoid > splats like : I was in the process of applying this set when I noticed the changelogs are still referring to

[PATCH] config: android: Remove left-over BACKLIGHT_LCD_SUPPORT

2019-06-03 Thread Krzysztof Kozlowski
The CONFIG_BACKLIGHT_LCD_SUPPORT was removed in commit 8c5dc8d9f19c ("video: backlight: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol"). Options protected by CONFIG_BACKLIGHT_LCD_SUPPORT are now available directly. Signed-off-by: Krzysztof Kozlowski ---

[PATCH] platform/x86: Remove left-over BACKLIGHT_LCD_SUPPORT

2019-06-03 Thread Krzysztof Kozlowski
The CONFIG_BACKLIGHT_LCD_SUPPORT was removed in commit 8c5dc8d9f19c ("video: backlight: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol"). Options protected by CONFIG_BACKLIGHT_LCD_SUPPORT are now available directly. Signed-off-by: Krzysztof Kozlowski --- drivers/platform/x86/Kconfig | 2 --

[PATCH] ARM: config: Remove left-over BACKLIGHT_LCD_SUPPORT

2019-06-03 Thread Krzysztof Kozlowski
The CONFIG_BACKLIGHT_LCD_SUPPORT was removed in commit 8c5dc8d9f19c ("video: backlight: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol"). Options protected by CONFIG_BACKLIGHT_LCD_SUPPORT are now available directly. Signed-off-by: Krzysztof Kozlowski --- arch/arm/configs/cm_x2xx_defconfig

Re: [RFC PATCH v4] rtl8xxxu: Improve TX performance of RTL8723BU on rtl8xxxu driver

2019-06-03 Thread Jes Sorensen
On 5/31/19 5:12 AM, Chris Chiu wrote: > We have 3 laptops which connect the wifi by the same RTL8723BU. > The PCI VID/PID of the wifi chip is 10EC:B720 which is supported. > They have the same problem with the in-kernel rtl8xxxu driver, the > iperf (as a client to an ethernet-connected server)

[PATCH] iio: light: stk3310: Add support for stk3335

2019-06-03 Thread Luca Weiss
From: Martijn Braam The stk3335 light/proximity sensor is similar to the stk3310 and stk3311 sensors and works with the stk3310 driver. Signed-off-by: Martijn Braam Signed-off-by: Luca Weiss --- drivers/iio/light/stk3310.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[PATCH] MIPS: config: Remove left-over BACKLIGHT_LCD_SUPPORT

2019-06-03 Thread Krzysztof Kozlowski
The CONFIG_BACKLIGHT_LCD_SUPPORT was removed in commit 8c5dc8d9f19c ("video: backlight: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol"). Options protected by CONFIG_BACKLIGHT_LCD_SUPPORT are now available directly. Signed-off-by: Krzysztof Kozlowski --- arch/mips/configs/gpr_defconfig

Re: [BUG BISECT] bug mm/vmalloc.c:470 (mm/vmalloc.c: get rid of one single unlink_va() when merge)

2019-06-03 Thread Dexuan-Linux Cui
On Mon, Jun 3, 2019 at 7:37 AM Krzysztof Kozlowski wrote: > > On Mon, 3 Jun 2019 at 16:32, Stephen Rothwell wrote: > > > > Hi Krzysztof, > > > > On Mon, 3 Jun 2019 16:10:40 +0200 Krzysztof Kozlowski > > wrote: > > > > > > Indeed it looks like effect of merge conflict resolution or applying. >

[PATCH] sh: config: Remove left-over BACKLIGHT_LCD_SUPPORT

2019-06-03 Thread Krzysztof Kozlowski
The CONFIG_BACKLIGHT_LCD_SUPPORT was removed in commit 8c5dc8d9f19c ("video: backlight: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol"). Options protected by CONFIG_BACKLIGHT_LCD_SUPPORT are now available directly. Signed-off-by: Krzysztof Kozlowski --- arch/sh/configs/hp6xx_defconfig | 1

Re: [RESEND PATCH v3] KVM: x86: Add Intel CPUID.1F cpuid emulation support

2019-06-03 Thread Sean Christopherson
On Mon, Jun 03, 2019 at 06:56:17PM +0200, Radim Krčmář wrote: > > + break; > > + } > > entry->eax = min(entry->eax, (u32)(f_intel_pt ? 0x14 : 0xd)); > > Similarly in the existing code. If we don't have f_intel_pt, then we > should make sure that leaf 0x14

Re: [PATCH v3] mm: add account_locked_vm utility function

2019-06-03 Thread Alex Williamson
On Wed, 29 May 2019 16:50:19 -0400 Daniel Jordan wrote: > locked_vm accounting is done roughly the same way in five places, so > unify them in a helper. > > Include the helper's caller in the debug print to distinguish between > callsites. > > Error codes stay the same, so user-visible

Re: [PATCH v2 0/5] Introduce OPP bandwidth bindings

2019-06-03 Thread Saravana Kannan
On Mon, Jun 3, 2019 at 8:56 AM Jordan Crouse wrote: > > On Fri, May 31, 2019 at 07:12:28PM -0700, Saravana Kannan wrote: > > I'll have to Nack this series because it's making a couple of wrong > > assumptions > > about bandwidth voting. > > > > Firstly, it's mixing up OPP to bandwidth mapping

Re: [RFC PATCH 46/57] driver: Add variants of driver_find_device()

2019-06-03 Thread Greg KH
On Mon, Jun 03, 2019 at 04:50:12PM +0100, Suzuki K Poulose wrote: > Add a wrappers to lookup a device by name for a given driver, by various > generic properties of a device. This can avoid the proliferation of custom > match functions throughout the drivers. > > Cc: Greg Kroah-Hartman > Cc:

Re: [RFC PATCH 46/57] driver: Add variants of driver_find_device()

2019-06-03 Thread Greg KH
On Mon, Jun 03, 2019 at 04:50:12PM +0100, Suzuki K Poulose wrote: > Add a wrappers to lookup a device by name for a given driver, by various > generic properties of a device. This can avoid the proliferation of custom > match functions throughout the drivers. > > Cc: Greg Kroah-Hartman > Cc:

Re: [RFC PATCH 46/57] driver: Add variants of driver_find_device()

2019-06-03 Thread Greg KH
On Mon, Jun 03, 2019 at 04:50:12PM +0100, Suzuki K Poulose wrote: > Add a wrappers to lookup a device by name for a given driver, by various > generic properties of a device. This can avoid the proliferation of custom > match functions throughout the drivers. > > Cc: Greg Kroah-Hartman > Cc:

Re: [RFC PATCH 02/57] drivers: ipmi: Drop device reference

2019-06-03 Thread Greg KH
On Mon, Jun 03, 2019 at 04:49:28PM +0100, Suzuki K Poulose wrote: > Drop the reference to a device found via bus_find_device() > > Cc: Corey Minyard > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman > Signed-off-by: Suzuki K Poulose > --- > drivers/char/ipmi/ipmi_si_platform.c | 1 + > 1 file

Re: [RFC PATCH 03/57] drivers: coresight: Drop device references found via bus_find_device

2019-06-03 Thread Greg KH
On Mon, Jun 03, 2019 at 04:49:29PM +0100, Suzuki K Poulose wrote: > We must drop references to the device found via bus_find_device(). > > Cc: Mathieu Poirier > Signed-off-by: Suzuki K Poulose > --- > drivers/hwtracing/coresight/coresight.c | 4 ++-- > 1 file changed, 2 insertions(+), 2

Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-06-03 Thread Subash Abhinov Kasiviswanathan
I can't (or won't) comment right now on whether IPA needs its own netdev for rmnet to use. The IPA endpoints used for the modem network interfaces are enabled when the netdev is opened and disabled when closed. Outside of that, TX and RX are pretty much immediately passed through to the layer

Re: [PATCH] Staging: emxx_udc: fix warning "sum of probable bitmasks, consider |"

2019-06-03 Thread Greg Kroah-Hartman
On Tue, Jun 04, 2019 at 12:24:12AM +0530, Hariprasad Kelam wrote: > Knowing the fact that operator '|' is faster than '+'. > Its better we replace + with | in this case. > > Issue reported by coccicheck > drivers/staging/emxx_udc/emxx_udc.h:94:34-35: WARNING: sum of probable > bitmasks, consider

[PATCH v4 03/10] clocksource/drivers/tegra: Reset hardware state on init

2019-06-03 Thread Dmitry Osipenko
Reset timer's hardware state to ensure that initially it is in a predictable state. Signed-off-by: Dmitry Osipenko --- drivers/clocksource/timer-tegra20.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clocksource/timer-tegra20.c b/drivers/clocksource/timer-tegra20.c index

Re: [RFC][Patch v10 1/2] mm: page_hinting: core infrastructure

2019-06-03 Thread Alexander Duyck
On Mon, Jun 3, 2019 at 10:04 AM Nitesh Narayan Lal wrote: > > This patch introduces the core infrastructure for free page hinting in > virtual environments. It enables the kernel to track the free pages which > can be reported to its hypervisor so that the hypervisor could > free and reuse that

[PATCH v4 06/10] clocksource/drivers/tegra: Minor code clean up

2019-06-03 Thread Dmitry Osipenko
Correct typo and use proper upper casing for acronyms in the comments, use common style for error messages, prepend error messages with "tegra-timer:", add error message for cpuhp_setup_state() failure and clean up whitespaces in the code to fix checkpatch warnings. Signed-off-by: Dmitry Osipenko

[PATCH v4 05/10] clocksource/drivers/tegra: Release all IRQ's on request_irq() error

2019-06-03 Thread Dmitry Osipenko
Release all requested IRQ's on the request error to properly clean up allocated resources. Signed-off-by: Dmitry Osipenko --- drivers/clocksource/timer-tegra20.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/timer-tegra20.c

[PATCH v4 10/10] clocksource/drivers/tegra: Rename timer-tegra20.c to timer-tegra.c

2019-06-03 Thread Dmitry Osipenko
Rename driver's source file to better reflect that it's not specific to older SoC generations. Suggested-by: Daniel Lezcano Signed-off-by: Dmitry Osipenko --- drivers/clocksource/Makefile | 2 +- drivers/clocksource/{timer-tegra20.c => timer-tegra.c} | 0 2 files

[PATCH v4 00/10] NVIDIA Tegra clocksource driver improvements

2019-06-03 Thread Dmitry Osipenko
Hello, This series primarily unifies the driver code across all Tegra SoC generations. In a result the clocksources are allocated per-CPU on older Tegra's and have a higher rating than the arch-timer where appropriate, the newer Tegra210 is getting support for microsecond clocksource and the

[PATCH v4 09/10] clocksource/drivers/tegra: Lower clocksource rating for some Tegra's

2019-06-03 Thread Dmitry Osipenko
Arch-timer is more preferable for a range of Tegra SoC generations as it has higher precision and is not affect by any kind of problems. Pointed-out-by: Peter De Schrijver Signed-off-by: Dmitry Osipenko --- drivers/clocksource/timer-tegra20.c | 30 + 1 file changed,

[PATCH v4 02/10] clocksource/drivers/tegra: Unify timer code

2019-06-03 Thread Dmitry Osipenko
Tegra132 is 64bit platform and it has the tegra20-timer hardware unit. Right now the corresponding timer code isn't compiled for ARM64, remove ifdef'iness from the code and compile tegra20-timer for both 32 and 64 bit platforms. Also note that like the older generations, Tegra210 has the

[PATCH v4 01/10] clocksource/drivers/tegra: Support per-CPU timers on all Tegra's

2019-06-03 Thread Dmitry Osipenko
Assign TMR1-4 per-CPU core on 32bit Tegra's in a way it is done for Tegra210. In a result each core can handle its own timer events, less code is unique to ARM64 and Tegra's clock events driver now has higher rating on all Tegra's, replacing the ARM's TWD timer which isn't very accurate due to the

[PATCH v4 07/10] clocksource/drivers/tegra: Use SPDX identifier

2019-06-03 Thread Dmitry Osipenko
Use SPDX tag for the license identification instead of a free form text to aid license-checking automation and for brevity. Signed-off-by: Dmitry Osipenko --- drivers/clocksource/timer-tegra20.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git

[PATCH v4 04/10] clocksource/drivers/tegra: Replace readl/writel with relaxed versions

2019-06-03 Thread Dmitry Osipenko
The readl/writel functions are inserting memory barrier to ensure that outstanding memory writes are completed, this results in L2 cache syncing being done on Tegra20 and Tegra30 which isn't a very cheap operation. Replace all readl/writel occurrences in the code with the relaxed versions since

[PATCH v4 08/10] clocksource/drivers/tegra: Support COMPILE_TEST universally

2019-06-03 Thread Dmitry Osipenko
Remove build dependency on ARM for compile-testing to allow non-arch specific build-bots (like Intel's test robot) to compile the driver and report about problems. Signed-off-by: Dmitry Osipenko --- drivers/clocksource/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

memory leak in nf_hook_entries_grow

2019-06-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:3ab4436f Merge tag 'nfsd-5.2-1' of git://linux-nfs.org/~bf.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15feaf82a0 kernel config: https://syzkaller.appspot.com/x/.config?x=50393f7bfe444ff6

memory leak in proc_register

2019-06-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:9221dced Merge tag 'for-linus-20190601' of git://git.kerne.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=179a80f2a0 kernel config: https://syzkaller.appspot.com/x/.config?x=50393f7bfe444ff6

Re: [PATCH] Documentation: coresight: Update the generic device names

2019-06-03 Thread Mathieu Poirier
Hi Suzuki, On Thu, May 30, 2019 at 04:11:17PM +0100, Suzuki K Poulose wrote: > Update the documentation to reflect the new naming scheme with > latest changes. > > Reported-by: Leo Yan > Cc: Mathieu Poirier > Cc: Jonathan Corbet > Signed-off-by: Suzuki K Poulose > --- >

Re: [PATCH 6/6] svm: Temporary deactivate AVIC during ExtINT handling

2019-06-03 Thread Suthikulpanit, Suravee
Hi Jan, On 5/8/19 12:37 PM, Jan H. Schönherr wrote: > [CAUTION: External Email] > > Hi Suravee. > > I wonder, how this interacts with Hyper-V SynIC; see comments below. > > On 22/03/2019 12.57, Suthikulpanit, Suravee wrote: >> AMD AVIC does not support ExtINT. Therefore, AVIC must be temporary

[PATCHv6 0/3] vfio/mdev: Improve vfio/mdev core module

2019-06-03 Thread Parav Pandit
As we would like to use mdev subsystem for wider use case as discussed in [1], [2] apart from an offline discussion. This use case is also discussed with wider forum in [4] in track 'Lightweight NIC HW functions for container offload use cases'. This series is prep-work and improves vfio/mdev

[PATCHv6 2/3] vfio/mdev: Avoid creating sysfs remove file on stale device removal

2019-06-03 Thread Parav Pandit
If device is removal is initiated by two threads as below, mdev core attempts to create a syfs remove file on stale device. During this flow, below [1] call trace is observed. cpu-0cpu-1 --

[PATCHv6 1/3] vfio/mdev: Improve the create/remove sequence

2019-06-03 Thread Parav Pandit
This patch addresses below two issues and prepares the code to address 3rd issue listed below. 1. mdev device is placed on the mdev bus before it is created in the vendor driver. Once a device is placed on the mdev bus without creating its supporting underlying vendor device, mdev driver's

[PATCHv6 3/3] vfio/mdev: Synchronize device create/remove with parent removal

2019-06-03 Thread Parav Pandit
In following sequences, child devices created while removing mdev parent device can be left out, or it may lead to race of removing half initialized child mdev devices. issue-1: cpu-0 cpu-1 - -

[PATCH] Staging: emxx_udc: fix warning "sum of probable bitmasks, consider |"

2019-06-03 Thread Hariprasad Kelam
Knowing the fact that operator '|' is faster than '+'. Its better we replace + with | in this case. Issue reported by coccicheck drivers/staging/emxx_udc/emxx_udc.h:94:34-35: WARNING: sum of probable bitmasks, consider | Signed-off-by: Hariprasad Kelam --- drivers/staging/emxx_udc/emxx_udc.h |

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