Re: [git pull] do_move_mount() fix

2019-07-04 Thread pr-tracker-bot
The pull request you sent on Thu, 4 Jul 2019 21:57:41 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2cd7cdc7e420a343743db781484e801fd784a1f1 Thank you! -- Deet-doot-dot, I am a bot. https://k

Re: [GIT PULL] dax fix for v5.2-rc8

2019-07-04 Thread pr-tracker-bot
The pull request you sent on Thu, 4 Jul 2019 17:11:16 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm > tags/dax-fix-5.2-rc8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cde357c392e93aa7fcfc019403e0d1792081d634 Thank you! -- Deet-doot-dot, I

[PATCH] sound: pci: asihpi: Remove unneeded variable change

2019-07-04 Thread Hariprasad Kelam
this patch fixes below issue reported by coccicheck sound/pci/asihpi/asihpi.c:1558:5-11: Unneeded variable: "change". Return "1" on line 1564 Signed-off-by: Hariprasad Kelam --- sound/pci/asihpi/asihpi.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sound/pci/asihpi/

Re: mmotm 2019-07-04-15-01 uploaded (mm/vmscan.c)

2019-07-04 Thread Randy Dunlap
On 7/4/19 3:01 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2019-07-04-15-01 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my -mm

RE: [PATCH v1 net-next] net: stmmac: enable clause 45 mdio support

2019-07-04 Thread Voon, Weifeng
> I think there is too much passing variables around by reference than by > value, to make this code easy to understand. > > Maybe a better structure would be > > static int stmmac_mdion_c45_read(struct stmmac_priv *priv, int phyaddr, > int phyreg) { > > unsigned int reg_shift = priv->hw->

[PATCH v3] checkpatch: add several Kconfig default value tests

2019-07-04 Thread Miles Chen
This change adds 3 Kconfig default value tests. 1. discourage default n cases: e.g., default n 2. discourage default "[ynm]" cases: e.g., arch/powerpc/Kconfig: default "y" if PPC_POWERNV arch/powerpc/Kconfig: default "y" if PPC_POWERNV arch/powerpc/Kconfig: default "n" drivers/auxdisplay/Kc

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-04 Thread Andy Lutomirski
> On Jul 4, 2019, at 7:18 PM, Linus Torvalds > wrote: > >> On Fri, Jul 5, 2019 at 5:03 AM Peter Zijlstra wrote: >> >> Despire the current efforts to read CR2 before tracing happens there >> still exist a number of possible holes: > > So this whole series disturbs me for the simple reason t

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-04 Thread Linus Torvalds
On Fri, Jul 5, 2019 at 12:16 PM Andy Lutomirski wrote: > > If nothing else, MOV to CR2 is architecturally serializing, so, unless > there’s some fancy unwinding involved, this will be quite slow. That's why the NMI code does this: if (unlikely(this_cpu_read(nmi_cr2) != read_cr2()))

Re: [PATCH v2] rtl8xxxu: Fix wifi low signal strength issue of RTL8723BU

2019-07-04 Thread Daniel Drake
On Thu, Jul 4, 2019 at 6:55 PM Chris Chiu wrote: > The WiFi tx power of RTL8723BU is extremely low after booting. So > the WiFi scan gives very limited AP list and it always fails to > connect to the selected AP. This module only supports 1x1 antenna > and the antenna is switched to bluetooth due

Re: [PATCH] rtl8xxxu: Fix wifi low signal strength issue of RTL8723BU

2019-07-04 Thread Daniel Drake
On Wed, Jul 3, 2019 at 8:59 PM Jes Sorensen wrote: > My point is this seems to be very dongle dependent :( We have to be > careful not breaking it for some users while fixing it for others. Do you still have your device? Once we get to the point when you are happy with Chris's two patches here o

RE: audio lost from speaker after reboot from windows on the device ALC295

2019-07-04 Thread He, Bo
Hi, Kailiang: Thanks for your tools, here are the two enclosed alsa-info with and without sound. -Original Message- From: Kailang Sent: Friday, July 5, 2019 10:42 AM To: He, Bo ; alsa-de...@alsa-project.org; linux-kernel@vger.kernel.org Cc: pe...@perex.cz; ti...@suse.com; jian-h...@end

Re: [PATCH] rcuperf: Make rcuperf kernel test more robust for !expedited mode

2019-07-04 Thread Byungchul Park
On Thu, Jul 04, 2019 at 10:40:44AM -0700, Paul E. McKenney wrote: > On Thu, Jul 04, 2019 at 12:34:30AM -0400, Joel Fernandes (Google) wrote: > > It is possible that the rcuperf kernel test runs concurrently with init > > starting up. During this time, the system is running all grace periods > > as

Re: [PATCH v2] RDMA/core: Fix race when resolving IP address

2019-07-04 Thread Leon Romanovsky
On Fri, Jul 05, 2019 at 07:49:06AM +0530, Parav Pandit wrote: > On Fri, Jun 28, 2019 at 2:20 PM Dag Moxnes wrote: > > > > Use neighbour lock when copying MAC address from neighbour data struct > > in dst_fetch_ha. > > > > When not using the lock, it is possible for the function to race with > > ne

[PATCH 1/2] x86/numa: carve node online semantics out of alloc_node_data()

2019-07-04 Thread Pingfan Liu
Node online means either memory online or cpu online. But there is requirement to instance a pglist_data, which has neither cpu nor memory online (refer to [2/2]). So carve out the online semantics, and call node_set_online() where either memory or cpu is online. Signed-off-by: Pingfan Liu Cc: M

[PATCH 2/2] x86/numa: instance all parsed numa node

2019-07-04 Thread Pingfan Liu
I hit a bug on an AMD machine, with kexec -l nr_cpus=4 option. nr_cpus option is used to speed up kdump process, so it is not a rare case. It turns out that some pgdat is not instanced when specifying nr_cpus, e.g, on x86, not initialized by init_cpu_to_node()->init_memory_less_node(). But device-

Re: [PATCH v2] rtl8xxxu: Fix wifi low signal strength issue of RTL8723BU

2019-07-04 Thread Chris Chiu
On Fri, Jul 5, 2019 at 11:41 AM Daniel Drake wrote: > > On Thu, Jul 4, 2019 at 6:55 PM Chris Chiu wrote: > > The WiFi tx power of RTL8723BU is extremely low after booting. So > > the WiFi scan gives very limited AP list and it always fails to > > connect to the selected AP. This module only suppo

[PATCH v2] sched: fix unlikely use of sched_info_on()

2019-07-04 Thread Yi Wang
sched_info_on() is called with unlikely hint, however, the test is to be a constant(1) on which compiler will do nothing when make defconfig, so remove the hint. Also, fix a lack of {}. Signed-off-by: Yi Wang --- v2: remove the hint rather than replace with likely, and fix a coding style. kern

RE: linux-next: build failure after merge of the usb and usb-gadget trees

2019-07-04 Thread Pawel Laszczak
Hi, > >Hi, > >Greg KH writes: > >> On Thu, Jul 04, 2019 at 12:44:08PM +0300, Felipe Balbi wrote: >>> >>> Hi, >>> >>> Pawel Laszczak writes: >>> >>> >> >>> >> >>> >>Hi, >>> >> >>> >>Pawel Laszczak writes: >>> >> >>> >>> Hi, >>> >>> On Thu, Jul 4, 2019 at 9:59 AM Greg KH wrote:

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-07-04 Thread Andrew Lunn
Hi Vladimir > - DSA is typically used for discrete switches, switchdev is typically > used for embedded ones. Typically DSA is for discrete switches, but not exclusively. The b53/SF2 is embedded in a number of Broadcom SoCs. So this is no different to Ocelot, except ARM vs MIPS. Also, i would dis

Re: [PATCH v1 net-next] net: stmmac: enable clause 45 mdio support

2019-07-04 Thread Andrew Lunn
> If the community prefers readability Readability nearly always comes first. There is nothing performance critical here, MDIO is a slow bus. So the code should be readable, simple to understand. , I will suggest to do the c45 setup in > both stmmac_mdio_read() and stmmac_mdio_write() 's if(C45)

[PATCH] mfd: intel-lpss: Remove D3cold delay

2019-07-04 Thread Kai-Heng Feng
Goodix touchpad may drop its first couple input events when i2c-designware-platdrv and intel-lpss it connects to took too long to runtime resume from runtime suspended state. This issue happens becuase the touchpad has a rather small buffer to store up to 13 input events, so if the host doesn't re

[PATCH 4/6] thermal: qoriq: Add clock operations

2019-07-04 Thread Anson . Huang
From: Anson Huang Some platforms like i.MX8MQ has clock control for this module, need to add clock operations to make sure the driver is working properly. Signed-off-by: Anson Huang --- drivers/thermal/qoriq_thermal.c | 24 1 file changed, 24 insertions(+) diff --git

[PATCH 3/6] dt-bindings: thermal: qoriq: Add optional clocks property

2019-07-04 Thread Anson . Huang
From: Anson Huang Some platforms have clock control for TMU, add optional clocks property to the binding doc. Signed-off-by: Anson Huang --- Documentation/devicetree/bindings/thermal/qoriq-thermal.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal

[PATCH 5/6] clk: imx8mq: Remove CLK_IS_CRITICAL flag for IMX8MQ_CLK_TMU_ROOT

2019-07-04 Thread Anson . Huang
From: Anson Huang IMX8MQ_CLK_TMU_ROOT is ONLY used for thermal module, the driver should manage this clock, so no need to have CLK_IS_CRITICAL flag set. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx8mq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/i

[PATCH 1/6] thermal: qoriq: Use devm_platform_ioremap_resource() instead of of_iomap()

2019-07-04 Thread Anson . Huang
From: Anson Huang Use devm_platform_ioremap_resource() instead of of_iomap() to save the iounmap() call in error handle path; Signed-off-by: Anson Huang --- drivers/thermal/qoriq_thermal.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/thermal/q

[PATCH 2/6] thermal: qoriq: Use __maybe_unused instead of #if CONFIG_PM_SLEEP

2019-07-04 Thread Anson . Huang
From: Anson Huang Use __maybe_unused for power management related functions instead of #if CONFIG_PM_SLEEP to simply the code. Signed-off-by: Anson Huang --- drivers/thermal/qoriq_thermal.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/thermal/qoriq_thermal.

[PATCH 6/6] arm64: dts: imx8mq: Add clock for TMU node

2019-07-04 Thread Anson . Huang
From: Anson Huang i.MX8MQ has clock gate for TMU module, add clock info to TMU node for clock management. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dt

Re: [bisected] "mm/vmalloc: Add flag for freeing of special permsissions" corrupts memory on ia64

2019-07-04 Thread Edgecombe, Rick P
On Thu, 2019-07-04 at 12:53 +0300, Meelis Roos wrote: > I noticed that while 5.1 works on my HP Integrity RX2620, 5.2-rc6 > crashed on boot nondeterministically. > Bisecting it took many tries sice it does not happen on each boot and > when it happes, the symptoms are > different each time. But now

Klientskie bazy. Email: proda...@armyspy.com Uznajte podrobnee!

2019-07-04 Thread linux-kernel
Klientskie bazy. Email: proda...@armyspy.com Uznajte podrobnee!

Re: [PATCH 1/2] usb: pci-quirks: Correct AMD PLL quirk detection

2019-07-04 Thread Greg KH
On Thu, Jul 04, 2019 at 11:35:28AM -0400, Ryan Kennedy wrote: > The AMD PLL USB quirk is incorrectly enabled on newer Ryzen > chipsets. The logic in usb_amd_find_chipset_info currently checks > for unaffected chipsets rather than affected ones. This broke > once a new chipset was added in e788787ef

Re: [Linux-kernel-mentees] [Linux-kernel-mentee, PATCH] media: dvb_frontend.h: Fix shifting signed 32-bit value problem

2019-07-04 Thread Greg KH
On Thu, Jul 04, 2019 at 10:04:22AM -0700, Luke Nowakowski-Krijger wrote: > Fix DVBFE_ALGO_RECOVERY and DVBFE_ALGO_SEARCH_ERROR to use U cast which > fixes undefined behavior error by certain compilers. > > Signed-off-by: Luke Nowakowski-Krijger > --- > include/media/dvb_frontend.h | 4 ++-- > 1

[PATCH] mm/kprobes: Add generic kprobe_fault_handler() fallback definition

2019-07-04 Thread Anshuman Khandual
Architectures like parisc enable CONFIG_KROBES without having a definition for kprobe_fault_handler() which results in a build failure. Arch needs to provide kprobe_fault_handler() as it is platform specific and cannot have a generic working alternative. But in the event when platform lacks such a

RE: [PATCH v2] let proc net directory inodes reflect to active net namespace

2019-07-04 Thread Hallsmark, Per
Hello Alexey, Sounds excellent! Could you please drop a notifier of such? For our usecase, the ipv6 is statically linked (=y) and then this happens way before userland starts (thus no access to procfs) so I believe we should be able to continue as is until we can replace with your proper patch.

[PATCH] net: hisilicon: Add an tx_desc to adapt HI13X1_GMAC

2019-07-04 Thread Jiangfeng Xiao
HI13X1 changed the offsets and bitmaps for tx_desc registers in the same peripheral device on different models of the hip04_eth. Signed-off-by: Jiangfeng Xiao --- drivers/net/ethernet/hisilicon/hip04_eth.c | 34 +++--- 1 file changed, 31 insertions(+), 3 deletions(-) dif

[PATCH 01/10] net: hisilicon: Add support for HI13X1 to hip04_eth

2019-07-04 Thread Jiangfeng Xiao
Extend the hip04_eth driver to support HI13X1_GMAC. Enable it with CONFIG_HI13X1_GMAC option. HI13X1 changed the offsets and bitmaps for registers in the same peripheral device on different models of the hip04_eth. Signed-off-by: Jiangfeng Xiao --- drivers/net/ethernet/hisilicon/Kconfig | 1

[PATCH 02/10] net: hisilicon: Cleanup for got restricted __be32

2019-07-04 Thread Jiangfeng Xiao
This patch fixes the following warning from sparse: hip04_eth.c:468:25: warning: incorrect type in assignment hip04_eth.c:468:25:expected unsigned int [usertype] send_addr hip04_eth.c:468:25:got restricted __be32 [usertype] hip04_eth.c:469:25: warning: incorrect type in assignment hip04_eth

[PATCH 03/10] net: hisilicon: Cleanup for cast to restricted __be32

2019-07-04 Thread Jiangfeng Xiao
This patch fixes the following warning from sparse: hip04_eth.c:533:23: warning: cast to restricted __be16 hip04_eth.c:533:23: warning: cast to restricted __be16 hip04_eth.c:533:23: warning: cast to restricted __be16 hip04_eth.c:533:23: warning: cast to restricted __be16 hip04_eth.c:534:23: warning

[PATCH 04/10] net: hisilicon: HI13X1_GMAX skip write LOCAL_PAGE_REG

2019-07-04 Thread Jiangfeng Xiao
HI13X1_GMAC changed the offsets and bitmaps for GE_TX_LOCAL_PAGE_REG registers in the same peripheral device on different models of the hip04_eth. With the default configuration, HI13X1_GMAC can also work without any writes to the GE_TX_LOCAL_PAGE_REG register. Signed-off-by: Jiangfeng Xiao ---

[PATCH 05/10] net: hisilicon: HI13X1_GMAX need dreq reset at first

2019-07-04 Thread Jiangfeng Xiao
HI13X1_GMAC delete request for soft reset at first, otherwise, the subsequent initialization will not take effect. Signed-off-by: Jiangfeng Xiao --- drivers/net/ethernet/hisilicon/hip04_eth.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/net/ethernet/hisil

[PATCH 06/10] net: hisilicon: dt-bindings: Add an field of port-handle

2019-07-04 Thread Jiangfeng Xiao
In general, group is the same as the port, but some boards specify a special group for better load balancing of each processing unit. Signed-off-by: Jiangfeng Xiao --- Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff

[PATCH 07/10] net: hisilicon: Add group field to adapt HI13X1_GMAC

2019-07-04 Thread Jiangfeng Xiao
In general, group is the same as the port, but some boards specify a special group for better load balancing of each processing unit. Signed-off-by: Jiangfeng Xiao --- drivers/net/ethernet/hisilicon/hip04_eth.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/n

[PATCH] mm/isolate: Drop pre-validating migrate type in undo_isolate_page_range()

2019-07-04 Thread Anshuman Khandual
unset_migratetype_isolate() already validates under zone lock that a given page has already been isolated as MIGRATE_ISOLATE. There is no need for another check before. Hence just drop this redundant validation. Cc: Oscar Salvador Cc: Michal Hocko Cc: Qian Cai Cc: Andrew Morton Cc: linux...@kv

[PATCH 10/10] net: hisilicon: Add an tx_desc to adapt HI13X1_GMAC

2019-07-04 Thread Jiangfeng Xiao
HI13X1 changed the offsets and bitmaps for tx_desc registers in the same peripheral device on different models of the hip04_eth. Signed-off-by: Jiangfeng Xiao --- drivers/net/ethernet/hisilicon/hip04_eth.c | 34 +++--- 1 file changed, 31 insertions(+), 3 deletions(-) dif

[PATCH 08/10] net: hisilicon: Offset buf address to adapt HI13X1_GMAC

2019-07-04 Thread Jiangfeng Xiao
The buf unit size of HI13X1_GMAC is cache_line_size, which is 64, so the address we write to the buf register needs to be shifted right by 6 bits. The 31st bit of the PPE_CFG_CPU_ADD_ADDR register of HI13X1_GMAC indicates whether to release the buffer of the message, and the low indicates that it

[PATCH 09/10] net: hisilicon: Add an rx_desc to adapt HI13X1_GMAC

2019-07-04 Thread Jiangfeng Xiao
HI13X1 changed the offsets and bitmaps for rx_desc registers in the same peripheral device on different models of the hip04_eth. Signed-off-by: Jiangfeng Xiao --- drivers/net/ethernet/hisilicon/hip04_eth.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/ethernet/hisilico

Re: [PATCH] [RFC] dmaengine: add fifo_size member

2019-07-04 Thread Sameer Pujar
Hi Vinod, What are your final thoughts regarding this? Thanks, Sameer. Where does ADMAIF driver reside in kernel, who configures it for normal dma txns..? Not yet, we are in the process of upstreaming ADMAIF driver. To describe briefly, audio subsystem is using ALSA SoC(ASoC) layer. ADMAIF i

Re: [PATCH] sound: pci: asihpi: Remove unneeded variable change

2019-07-04 Thread Takashi Iwai
On Fri, 05 Jul 2019 04:57:33 +0200, Hariprasad Kelam wrote: > > this patch fixes below issue reported by coccicheck > sound/pci/asihpi/asihpi.c:1558:5-11: Unneeded variable: "change". Return > "1" on line 1564 > > Signed-off-by: Hariprasad Kelam Applied, thanks. Takashi

Re: [PATCH bpf-next] Enable zext optimization for more RV64G ALU ops

2019-07-04 Thread Björn Töpel
On Fri, 5 Jul 2019 at 02:18, Luke Nelson wrote: > > commit 66d0d5a854a6 ("riscv: bpf: eliminate zero extension code-gen") > added the new zero-extension optimization for some BPF ALU operations. > > Since then, bugs in the JIT that have been fixed in the bpf tree require > this optimization to be

Re: [PATCH] dmaengine: tegra210-adma: remove PM_CLK dependency

2019-07-04 Thread Vinod Koul
On 20-06-19, 17:02, Jon Hunter wrote: > > On 20/06/2019 16:54, Sameer Pujar wrote: > > Tegra ADMA does not use pm-clk interface now and hence the dependency > > is removed from Kconfig. Applied, thanks -- ~Vinod

RE: [PATCH v1 net-next] net: stmmac: enable clause 45 mdio support

2019-07-04 Thread Voon, Weifeng
> > If the community prefers readability > > Readability nearly always comes first. There is nothing performance > critical here, MDIO is a slow bus. So the code should be readable, > simple to understand. > Noted and thanks for the comments. > > , I will suggest to do the c45 setup in > > both

Re: [PATCH bpf] xdp: fix possible cq entry leak

2019-07-04 Thread Björn Töpel
On Thu, 4 Jul 2019 at 16:25, Ilya Maximets wrote: > > Completion queue address reservation could not be undone. > In case of bad 'queue_id' or skb allocation failure, reserved entry > will be leaked reducing the total capacity of completion queue. > > Fix that by moving reservation to the point wh

Re: [PATCH v2 1/2] Bluetooth: Disable LE Advertising in hci_suspend_dev()

2019-07-04 Thread Kai-Heng Feng
at 11:00, Kai Heng Feng wrote: Hi Marcel, at 5:25 PM, Kai-Heng Feng wrote: LE Advertising may wake up system during system-wide sleep, disable it to prevent this issue from happening. Do the reverse in hci_resume_dev(). Do you have any suggestion for this patch? Please let me know wher

<    2   3   4   5   6   7