Re: [PATCH v3] mtd: spi-nor: fix nor->addr_width when its value configured from SFDP does not match the actual width

2019-06-22 Thread Tudor.Ambarus
Hi, Liu, On 03/31/2019 10:42 AM, Liu Xiang wrote: > Some is25lp256 get BFPT_DWORD1_ADDRESS_BYTES_3_ONLY from BFPT table for > address width. But in actual fact the flash can support 4-byte address. > So we should fix it. It's better to be imperative. Substitute "So we should fix it" with somethi

Re: [PATCH v1 2/3] OPP: Add function to look up required OPP's for a given OPP

2019-06-22 Thread Chanwoo Choi
Hi, Absolutely, I like this approach. I think that it is necessary to make the connection between frequencies of devices. But, I have a question on below. 2019년 6월 22일 (토) 오전 9:35, Saravana Kannan 님이 작성: > > Add a function that allows looking up required OPPs given a source OPP > table, destinati

[GIT PULL] Please pull powerpc/linux.git powerpc-5.2-5 tag

2019-06-22 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Linus, Please pull some more powerpc fixes for 5.2. This is a frustratingly large batch at rc5. Some of these were sent earlier but were missed by me due to being distracted by other things, and some took a while to track down due to needing manua

Re: [PATCH v1 3/3] PM / devfreq: Add required OPPs support to passive governor

2019-06-22 Thread Chanwoo Choi
Hi, Absolutely, I agree this approach. But, I add some comments on below. please check them. 2019년 6월 22일 (토) 오전 9:36, Saravana Kannan 님이 작성: > > Look at the required OPPs of the "parent" device to determine the OPP that > is required from the slave device managed by the passive governor. This >

Re: [PATCH trivial] mtd: spi-nor: Spelling s/Writ/Write/

2019-06-22 Thread Tudor.Ambarus
On 06/07/2019 02:28 PM, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > --- > drivers/mtd/spi-nor/spi-nor.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git, spi-nor/next branch. Thanks, ta

Re: [PATCH 4/4] arm64: dts: imx8mm: Add system counter node

2019-06-22 Thread Martin Kepplinger
On 21.06.19 09:07, anson.hu...@nxp.com wrote: > From: Anson Huang > > Add i.MX8MM system counter node to enable timer-imx-sysctr > broadcast timer driver. > do we need similar additions to imx8mq? If so, I think these would fit in here too. thanks, martin

Re: [PATCH] kbuild: compile-test global headers to ensure they are self-contained

2019-06-22 Thread Masahiro Yamada
Hi Sam, On Sat, Jun 22, 2019 at 2:51 AM Sam Ravnborg wrote: > > Hi Masahiro. > > On Sat, Jun 22, 2019 at 01:39:31AM +0900, Masahiro Yamada wrote: > > Make as many headers self-contained as possible so that they can be > > included without relying on a specific include order. > It is very nice fin

Re: [PATCH v2 0/2] extcon: Add fsa9480 extcon driver

2019-06-22 Thread Chanwoo Choi
Hi, I applied this series to extcon-testing branch. If there are no build problem for few days, I'll move them to extcon-next branch. Best Regards, Chanwoo Choi 2019년 6월 21일 (금) 오후 8:14, Paweł Chmiel 님이 작성: > > This small patchset adds support for Fairchild Semiconductor FSA9480 > microUSB switc

Re: [PATCH] kbuild: compile-test global headers to ensure they are self-contained

2019-06-22 Thread Sam Ravnborg
Hi Masahiro > At first, I tried to split Makefile per directory, > and add header-test-y one by one. > > I think you expect they look like this: > > > include/Makefile: > > subdir-y += drm > subdir-y += linux > subdir-y += media So far we agree. > include/drm/Makefile: > > header-test-y +=

Re: [PATCH v10 09/13] drivers: devfreq: events: add Exynos PPMU new events

2019-06-22 Thread Chanwoo Choi
Hi, 2019년 6월 14일 (금) 오후 6:54, Lukasz Luba 님이 작성: > > Define new performance events supported by Exynos5422 SoC counters. > The counters are built-in in Dynamic Memory Controller and provide > information regarding memory utilization. > > Signed-off-by: Lukasz Luba > --- > drivers/devfreq/event/e

Re: PROBLEM: Marvell 88E8040 (sky2) fails after hibernation

2019-06-22 Thread Thomas Gleixner
Octavio, On Wed, 19 Jun 2019, Octavio Alvarez wrote: > On 6/13/19 3:45 PM, Thomas Gleixner wrote: > > Can you please provide the content of /proc/interrupts with the driver > > loaded and working after boot (don't hibernate) for the following kernels: > > > > $ cat linux-master-after-boot.txt >

linux-next: Fixes tag needs some work in the pci tree

2019-06-22 Thread Stephen Rothwell
Hi all, In commit 46c1bfcfcd87 ("PCI: xilinx-nwl: Fix Multi MSI data programming") Fixes tag Fixes: ab597d35ef11 ("PCI: xilinx-nwl: Add support for Xilinx NWL PCIe has these problem(s): - Subject has leading but no trailing parentheses - Subject has leading but no trailing quotes Ple

Re: [PATCH v2 net] be2net: fix link failure after ethtool offline test

2019-06-22 Thread David Miller
From: Petr Oros Date: Wed, 19 Jun 2019 14:29:42 +0200 > Certain cards in conjunction with certain switches need a little more > time for link setup that results in ethtool link test failure after > offline test. Patch adds a loop that waits for a link setup finish. > > Changes in v2: > - added f

[PATCH v5.2-rc5] Bluetooth: Fix regression with minimum encryption key size alignment

2019-06-22 Thread Marcel Holtmann
When trying to align the minimum encryption key size requirement for Bluetooth connections, it turns out doing this in a central location in the HCI connection handling code is not possible. Original Bluetooth version up to 2.0 used a security model where the L2CAP service would enforce authentica

linux-next: Fixes tag needs some work in the v4l-dvb tree

2019-06-22 Thread Stephen Rothwell
Hi Mauro, In commit 3a959dcd11a4 ("media: mt9m111: add regulator support") Fixes tag Fixes: 5c10113cc668 ("media: mt9m111: make a standalone v4l2 subdevice") has these problem(s): - Target SHA1 does not exist Did you mean 5d7cc01b20fc ("[media] media: mt9m111: make a standalone v4l2

Re: [PATCH net-next 00/11] net: hns3: some code optimizations & bugfixes

2019-06-22 Thread David Miller
From: Huazhong Tan Date: Thu, 20 Jun 2019 16:52:34 +0800 > This patch-set includes code optimizations and bugfixes for > the HNS3 ethernet controller driver. > > [patch 1/11] fixes a selftest issue when doing autoneg. > > [patch 2/11 - 3-11] adds two code optimizations about VLAN issue. > > [p

linux-next: Signed-off-by missing for commit in the amdgpu tree

2019-06-22 Thread Stephen Rothwell
Hi all, Commit e48c277af9db ("drm/amd/powrplay: add interface for dc to get max clock values") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpTKCheTpCjz.pgp Description: OpenPGP digital signature

Re: possible deadlock in console_trylock_spinning

2019-06-22 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:abf02e29 Merge tag 'pm-5.2-rc6' of git://git.kernel.org/pu.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11834c41a0 kernel config: https://syzkaller.appspot.com/x/.config?x=28ec34

linux-next: Fixes tag needs some work in the tip tree

2019-06-22 Thread Stephen Rothwell
Hi all, In commit 5f4318c1b1d2 ("perf/x86: Add Intel Ice Lake NNPI uncore support") Fixes tag Fixes: e39875d15ad6 ("perf/x86: add Intel Icelake uncore support") has these problem(s): - Target SHA1 does not exist. Did you mean Fixes: 6e394376ee89 ("perf/x86/intel/uncore: Add Intel Icel

Re: [PATCH 3/3] arm64: dts: imx8mq: Add system counter node

2019-06-22 Thread Martin Kepplinger
On 21.06.19 10:28, anson.hu...@nxp.com wrote: > From: Anson Huang > > Add i.MX8MQ system counter node to enable timer-imx-sysctr > broadcast timer driver. with these changes and TIMER_IMX_SYS_CTR selected, I don't see cpuidle working yet (which is what I want to achieve on imx8mq). Might there b

Mrs Clara David.

2019-06-22 Thread Mrs Clara David.
Dear Friend, I am Mrs Clara David. am sending you this brief letter to solicit your partnership to transfer $18.5 million US Dollars.I shall send you more information and procedures when I receive positive response from you. please send me a message in my Email box (mrsclarad...@gmail.com) as i wa

Re: [PATCH v6 18/19] x86: Add support for generic vDSO

2019-06-22 Thread Thomas Gleixner
On Fri, 14 Jun 2019, Sasha Levin wrote: > On Fri, Jun 14, 2019 at 01:15:23PM +0200, Thomas Gleixner wrote: > > On Thu, 30 May 2019, Michael Kelley wrote: > > > Vincenzo -- these changes for Hyper-V are a subset of a larger patch set > > > I have that moves all of the Hyper-V clock/timer code into a

Re: [PATCH] ARM: dts: rockchip: add ethernet phy node for tinker board

2019-06-22 Thread Katsuhiro Suzuki
Hello, Current linux-next on my environment, 'ifconfig eth0 up' does not work correctly with following message... - root@linaro-alip:~# ifconfig eth0 up [ 105.028916] rk_gmac-dwmac ff29.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19) SIOCSIFFLAGS: No such device - I

Re: [PATCH v3 0/5] net: macb: cover letter

2019-06-22 Thread Andrew Lunn
On Sat, Jun 22, 2019 at 03:18:42AM +, Parshuram Raju Thombare wrote: > Hi Andrew, > > >On Fri, Jun 21, 2019 at 09:33:57AM +0100, Parshuram Thombare wrote: > >> Hello ! > >> > >> 2. 0002-net-macb-add-support-for-sgmii-MAC-PHY-interface.patch > >>This patch add support for SGMII mode. > > >

Mrs patricia lugan

2019-06-22 Thread Mrs.Patricia Lugan
Dear Friend, I am Mrs Patricia lugan.am sending you this brief letter to solicit your partnership to transfer $18.5 million US Dollars.I shall send you more information and procedures when I receive positive response from you. please send me a message in my Email box(mrs.patricialu...@gmail.c

Re: [PATCH v10 12/16] sched/core: uclamp: Extend CPU's cgroup controller

2019-06-22 Thread Tejun Heo
Hello, Generally looks good to me. Some nitpicks. On Fri, Jun 21, 2019 at 09:42:13AM +0100, Patrick Bellasi wrote: > @@ -951,6 +951,12 @@ controller implements weight and absolute bandwidth > limit models for > normal scheduling policy and absolute bandwidth allocation model for > realtime sc

Re: [PATCH v10 13/16] sched/core: uclamp: Propagate parent clamps

2019-06-22 Thread Tejun Heo
Hello, On Fri, Jun 21, 2019 at 09:42:14AM +0100, Patrick Bellasi wrote: > Since it can be interesting for userspace, e.g. system management > software, to know exactly what the currently propagated/enforced > configuration is, the effective clamp values are exposed to user-space > by means of a ne

[PATCH 1/2] staging: rtl8188eu: cleanup lines ending with a '('

2019-06-22 Thread Michael Straube
Cleanup checkpatch issues in usb_halinit.c. CHECK: Lines should not end with a '(' Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 21 + 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c

[PATCH 2/2] staging: rtl8188eu: remove hal_init_macaddr()

2019-06-22 Thread Michael Straube
Function hal_init_macaddr() just calls rtw_hal_set_hwreg(). Use rtw_hal_set_hwreg() directly and remove hal_init_macaddr(). Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/hal_com.c | 6 -- drivers/staging/rtl8188eu/hal/usb_halinit.c | 3 ++- drivers/staging/rtl8188eu/in

Re: [PATCH] ARM: dts: rockchip: add ethernet phy node for tinker board

2019-06-22 Thread Heiko Stuebner
Hi Katsuhiro, Am Samstag, 22. Juni 2019, 16:50:10 CEST schrieb Katsuhiro Suzuki: > Current linux-next on my environment, 'ifconfig eth0 up' does not > work correctly with following message... > > - > root@linaro-alip:~# ifconfig eth0 up > [ 105.028916] rk_gmac-dwmac ff29.ethernet eth0: s

Re: [PATCH V6 2/3] PCI: dwc: Cleanup DBI read and write APIs

2019-06-22 Thread Vidya Sagar
On 6/22/2019 10:56 AM, Jingoo Han wrote: On 6/21/19, 8:10 PM, Vidya Sagar wrote: Cleanup DBI read and write APIs by removing "__" (underscore) from their names as there are no no-underscore versions and the underscore versions are already doing what no-underscore versions typically do. It also

[PATCH 1/2] staging: rtl8723bs: os_dep: Modify return type of function loadparam(..) to void

2019-06-22 Thread Shobhit Kukreti
The function static uint loadparam(struct adapter *padapter, _nic_hdl pnetdev) return type is modified to void. The initial return value was always returning _SUCCESS and the return value is never checked when the function is called. This resolves coccicheck warnings of unneeded variables. Signed

[PATCH 0/2] Modify functions return type to void

2019-06-22 Thread Shobhit Kukreti
This patchset modifies two function return types to void. The return values of the function are never checked and they always return success. This resolves coccicheck Unneeded variable warnings PATCH[1/2] : This patch modifies return type of function loadparam() to void. PATCH[2/2] : This patch

[PATCH 2/2] staging: rtl8723bs: os_dep: Modify return type of function rtw_reset_drv_sw() to void.

2019-06-22 Thread Shobhit Kukreti
The function rtw_reset_drv_sw() return value is set to _SUCCESS. The return value is never checked when the function is called. Modified the return value to void to remove "Unneeded Variable warning of coccicheck. Signed-off-by: Shobhit Kukreti --- drivers/staging/rtl8723bs/include/osdep_intf.h

[tip:x86/cpu] x86/cpu: Disable frequency requests via aperfmperf IPI for nohz_full CPUs

2019-06-22 Thread tip-bot for Konstantin Khlebnikov
Commit-ID: cc9e303c91f5c25c49a4312552841f4c23fa2b69 Gitweb: https://git.kernel.org/tip/cc9e303c91f5c25c49a4312552841f4c23fa2b69 Author: Konstantin Khlebnikov AuthorDate: Wed, 15 May 2019 09:59:00 +0300 Committer: Thomas Gleixner CommitDate: Sat, 22 Jun 2019 17:23:48 +0200 x86/cpu: Disa

Difference in values of addresses in System.map and /proc/kallsyms

2019-06-22 Thread Ajay Garg
Hi All. My system is ajay@latitude-3480:~$ uname -a Linux latitude-3480 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux When I see the address for a symbol, say linux_banner, in /boot/System.map-4.13.0-38-generic, it shows 81e00120 R

Re: [PATCH v12 07/13] clocksource: Add a new timer-ingenic driver

2019-06-22 Thread Paul Cercueil
Hi, I'll make a V13 of this patchset on top of -rc6, any feedback for this clocksource driver? It's been already one month. Thanks, -Paul Le mar. 21 mai 2019 à 16:51, Paul Cercueil a écrit : This driver handles the TCU (Timer Counter Unit) present on the Ingenic JZ47xx SoCs, and provides t

[GIT PULL] SCSI fixes for 5.2-rc5

2019-06-22 Thread James Bottomley
Three driver fixes (and one version number update): a suspend hang in ufs, a qla hard lock on module removal and a qedi panic during discovery. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Arun Easi (1): scsi:

Re: Inmail

2019-06-22 Thread Regional Manager Karen
Did you get my previous E-mail ?

[PATCH 2/3] kbuild: save $(strip ...) for calling any-prepreq

2019-06-22 Thread Masahiro Yamada
The string returned by $(filter-out ...) does not contain any leading or trailing spaces. So, only the space that matters is the one between $(filter-out $(PHONY),$?) and $(filter-out $(PHONY) $(wildcard $^),$^) By removing it from the code, we can save $(strip ...) evaluation. This refact

[PATCH 3/3] kbuild: save $(strip ...) for calling if_changed and friends

2019-06-22 Thread Masahiro Yamada
The string returned by $(filter-out ...) does not contain any leading or trailing spaces. With the previous commit, 'any-prereq' no longer contains any excessive spaces. Nor does 'cmd-check' since it expands to a $(filter-out ...) call. So, only the space that matters is the one between 'any-pre

[PATCH 1/3] kbuild: rename arg-check to cmd-check

2019-06-22 Thread Masahiro Yamada
I prefer 'cmd-check' for consistency. We have 'echo-cmd', 'cmd', 'cmd_and_fixdep', etc. in this file. Signed-off-by: Masahiro Yamada --- scripts/Kbuild.include | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include ind

[GIT PULL] PCI fixes for v5.2

2019-06-22 Thread Bjorn Helgaas
PCI fixes: - If an IOMMU is present, ignore the P2PDMA whitelist we added for v5.2 because we don't yet know how to support P2PDMA in that case (Logan Gunthorpe) The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) a

Re: [PATCH stable-4.4 v3] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-06-22 Thread Michal Hocko
On Sat 22-06-19 06:30:37, Ajay Kaher wrote: > > > On Mon, Jun 17, 2019 at 08:58:24AM +0200, Michal Hocko wrote: > > > From: Andrea Arcangeli > > > > > > Upstream 04f5866e41fb70690e28397487d8bd8eea7d712a commit. > > > > > > Signed-off-by: Michal Hocko > > > --- > > > drivers/android/binder.c

From:Miss: Fatima Yusuf.

2019-06-22 Thread Miss.Fatima Yusuf
From:Miss: Fatima Yusuf. For sure this mail would definitely come to you as a surprise, but do take your good time to go through it, My name is Ms. Fatima Yusuf,i am from Ivory Coast. I lost my parents a year and couple of months ago. My father was a serving director of the Agro-exporting bo

[PATCH 2/3] staging: rtl8723bs: os_dep: modified return type of function rtw_suspend_wow() to void

2019-06-22 Thread Shobhit Kukreti
Changed return type of function rtw_suspend_wow() to void. The function always return _SUCCESS and the value is never checked in the calling function. Resolves coccicheck Unneeded variable "ret" warning. Signed-off-by: Shobhit Kukreti --- drivers/staging/rtl8723bs/include/drv_types.h | 2 +- dr

[PATCH 1/3] staging: rtl8723bs: os_dep: Change return type of function rtw_suspend_normal() to void

2019-06-22 Thread Shobhit Kukreti
Coccicheck issues Unneeded variable "ret" warning. The return value of function rtw_suspend_normal() is set to _SUCCESS. The return value is never never checked by the calling function. Modified return type to void to remove the coccicheck warning.. Signed-off-by: Shobhit Kukreti --- drivers/sta

[PATCH 0/3] Change function return type to void

2019-06-22 Thread Shobhit Kukreti
This patchset modifies function return types to void. The return values of the function are never checked and they always return success. This resolves coccicheck Unneeded variable warnings. PATCH[1/3]: This patch changes return type of rtw_suspend_normal() to void PATCH[2/3]: This patch change

[PATCH 3/3] staging: rtl8723bs: os_dep: Change return type of rtw_init_default_value() to void

2019-06-22 Thread Shobhit Kukreti
rtw_init_default_value() func always returns a value (u8)_SUCCESS. Modified return type to void to resolve coccicheck warnings of unneeded variable. Signed-off-by: Shobhit Kukreti --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --

[PATCH V7 2/3] PCI: dwc: Cleanup DBI,ATU read and write APIs

2019-06-22 Thread Vidya Sagar
Cleanup DBI read and write APIs by removing "__" (underscore) from their names as there are no no-underscore versions and the underscore versions are already doing what no-underscore versions typically do. It also removes passing dbi/dbi2 base address as one of the arguments as the same can be deri

[PATCH V7 1/3] PCI: dwc: Add API support to de-initialize host

2019-06-22 Thread Vidya Sagar
Add an API to group all the tasks to be done to de-initialize host which can then be called by any DesignWare core based driver implementations while adding .remove() support in their respective drivers. Signed-off-by: Vidya Sagar Acked-by: Gustavo Pimentel --- Changes from v6: * None Changes f

[PATCH V7 3/3] PCI: dwc: Export APIs to support .remove() implementation

2019-06-22 Thread Vidya Sagar
Export all configuration space access APIs and also other APIs to support host controller drivers of DesignWare core based implementations while adding support for .remove() hook to build their respective drivers as modules Signed-off-by: Vidya Sagar Acked-by: Gustavo Pimentel --- Changes from v

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.2-5 tag

2019-06-22 Thread pr-tracker-bot
The pull request you sent on Sat, 22 Jun 2019 21:52:06 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.2-5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a8282bf087bcfb348ad97c8ed1f457bc11fd9709 Thank you! -- Deet-doot-do

Re: [GIT PULL] PCI fixes for v5.2

2019-06-22 Thread pr-tracker-bot
The pull request you sent on Sat, 22 Jun 2019 11:16:23 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git > tags/pci-v5.2-fixes-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b253d5f3ecc95c2b4e8d4a525fd754c9e32b0f6e Thank you! -- Deet-doot-dot

Re: [GIT PULL] SCSI fixes for 5.2-rc5

2019-06-22 Thread pr-tracker-bot
The pull request you sent on Sat, 22 Jun 2019 08:31:49 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f4102766463a66026bd4af6c30cbbd01f10e6c42 Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [PATCH] mm/gup: continue VM_FAULT_RETRY processing event for pre-faults

2019-06-22 Thread Andrea Arcangeli
Hello everyone, On Wed, May 22, 2019 at 02:18:03PM -0700, Andrew Morton wrote: > > arch/x86/kernel/fpu/signal.c:198:8-31: -> gup with !pages This simply had not to return -EFAULT if ret < nr_pages.. but ret >= 0. Instead it did: if (ret == nr_pages) goto r

Re: [PATCH V34 10/29] hibernate: Disable when the kernel is locked down

2019-06-22 Thread Pavel Machek
On Fri 2019-06-21 17:03:39, Matthew Garrett wrote: > From: Josh Boyer > > There is currently no way to verify the resume image when returning > from hibernate. This might compromise the signed modules trust model, > so until we can work with signed hibernate images we disable it when the > kerne

RE: [PATCH V7 00/11] misc: xilinx sd-fec drive

2019-06-22 Thread Dragan Cvetic
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Saturday 22 June 2019 07:02 > To: Dragan Cvetic > Cc: a...@arndb.de; Michal Simek ; > linux-arm-ker...@lists.infradead.org; robh...@kernel.org; > mark.rutl...@arm.com; devicet...@vger.kernel.org; > linux-

Q: incorrect llist_empty() call in flush_smp_call_function_queue ?

2019-06-22 Thread Luigi Rizzo
flush_smp_call_function_queue() starts with the code below. My impression is that the !llist_empty(head) term below is wrong and should be replaced by !entry llist_del_all(head) is xchg(&head->first, NULL) so it leaves the list empty, the only chance that !llist_empty(head) is true is when a new

Re: [PATCH] ARM: dts: rockchip: add ethernet phy node for tinker board

2019-06-22 Thread Andrew Lunn
On Sat, Jun 22, 2019 at 11:50:10PM +0900, Katsuhiro Suzuki wrote: > Hello, Hi Katsuhiro Please also report this to netdev, and the stmmac maintainers. ./scripts/get_maintainer.pl -f drivers/net/ethernet/stmicro/stmmac/stmmac_main.c Giuseppe Cavallaro (supporter:STMMAC ETHERNET DRIVER) Alexandre

Re: [PATCH V10 13/15] phy: tegra: Add PCIe PIPE2UPHY support

2019-06-22 Thread Vidya Sagar
On 6/21/2019 4:53 AM, Dmitry Osipenko wrote: 20.06.2019 10:24, Kishon Vijay Abraham I пишет: On 12/06/19 3:23 PM, Vidya Sagar wrote: Synopsys DesignWare core based PCIe controllers in Tegra 194 SoC interface with Universal PHY (UPHY) module through a PIPE2UPHY (P2U) module. For each PCIe lane

Re: [tip:x86/cpu] x86/cpu: Create Zhaoxin processors architecture support file

2019-06-22 Thread Joe Perches
On Sat, 2019-06-22 at 03:16 -0700, tip-bot for Tony W Wang-oc wrote: > Commit-ID: 761fdd5e3327db6c646a09bab5ad48cd42680cd2 > Gitweb: > https://git.kernel.org/tip/761fdd5e3327db6c646a09bab5ad48cd42680cd2 > Author: Tony W Wang-oc > AuthorDate: Tue, 18 Jun 2019 08:37:05 + > Committer:

Re: d_lookup: Unable to handle kernel paging request

2019-06-22 Thread Vicente Bergas
Hi Al, i think have a hint of what is going on. With the last kernel built with your sentinels at hlist_bl_*lock it is very easy to reproduce the issue. In fact it is so unstable that i had to connect a serial port in order to save the kernel trace. Unfortunately all the traces are at different ad

Re: [PATCH v5 02/25] mm: userfault: return VM_FAULT_RETRY on signals

2019-06-22 Thread Linus Torvalds
So I still think this all *may* ok, but at a minimum some of the comments are misleading, and we need more docs on what happens with normal signals. I'm picking on just the first one I noticed, but I think there were other architectures with this too: On Wed, Jun 19, 2019 at 7:20 PM Peter Xu wro

Re: [PATCH v5.2-rc5] Bluetooth: Fix regression with minimum encryption key size alignment

2019-06-22 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a "Fixes:" tag, fixing commit: d5bb334a8e17 Bluetooth: Align minimum encryption key size for LE and BR/EDR connections. The bot has tested the following trees: v5.1.12, v4.19.53, v4.14.128, v4.9.182, v4.4.182.

Re: [PATCH v2] riscv: dts: Add DT node for SiFive FU540 Ethernet controller driver

2019-06-22 Thread Troy Benjegerdes
> On Jun 21, 2019, at 2:14 PM, Atish Patra wrote: > > On Fri, 2019-06-21 at 16:23 +0530, Yash Shah wrote: >> DT node for SiFive FU540-C000 GEMGXL Ethernet controller driver added >> >> Signed-off-by: Yash Shah >> --- >> arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 16 >>

Re: [PATCH v5.2-rc5] Bluetooth: Fix regression with minimum encryption key size alignment

2019-06-22 Thread Marcel Holtmann
Hi Sasha, > [This is an automated email] > > This commit has been processed because it contains a "Fixes:" tag, > fixing commit: d5bb334a8e17 Bluetooth: Align minimum encryption key size for > LE and BR/EDR connections. > > The bot has tested the following trees: v5.1.12, v4.19.53, v4.14.128,

Re: [PATCH 08/16] nfsd: escape high characters in binary data

2019-06-22 Thread J. Bruce Fields
On Fri, Jun 21, 2019 at 03:26:00PM -0700, Kees Cook wrote: > On Fri, Jun 21, 2019 at 01:45:44PM -0400, J. Bruce Fields wrote: > > I'm not sure who to get review from for this kind of thing. > > > > Kees, you seem to be one of the only people to touch string_helpers.c > > at all recently, any ideas

Re: [RFC PATCH RT 3/4] rcu: unlock special: Treat irq and preempt disabled the same

2019-06-22 Thread Paul E. McKenney
On Fri, Jun 21, 2019 at 05:26:06PM -0700, Paul E. McKenney wrote: > On Thu, Jun 20, 2019 at 06:08:19PM -0500, Scott Wood wrote: > > On Thu, 2019-06-20 at 15:25 -0700, Paul E. McKenney wrote: > > > On Thu, Jun 20, 2019 at 04:59:30PM -0500, Scott Wood wrote: > > > > On Thu, 2019-06-20 at 14:10 -0700,

[PATCH v3] arm64: defconfig: Enable Panfrost and Lima drivers

2019-06-22 Thread Krzysztof Kozlowski
Enable support for Mali GPU with Panfrost and Lima drivers for: 1. Samsung Exynos5433 and Exynos7 (having Mali T760), 2. Allwiner A64 and H5 (Mali 400/450). Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Enable Lima driver --- arch/arm64/configs/defconfig | 3 ++- 1 file changed,

[tip:timers/core] timekeeping: Use proper ktime_add when adding nsecs in coarse offset

2019-06-22 Thread tip-bot for Jason A. Donenfeld
Commit-ID: 0354c1a3cdf31f44b035cfad14d32282e815a572 Gitweb: https://git.kernel.org/tip/0354c1a3cdf31f44b035cfad14d32282e815a572 Author: Jason A. Donenfeld AuthorDate: Fri, 21 Jun 2019 22:32:47 +0200 Committer: Thomas Gleixner CommitDate: Sat, 22 Jun 2019 12:11:27 +0200 timekeeping: Use

[tip:timers/core] timekeeping: Use proper clock specifier names in functions

2019-06-22 Thread tip-bot for Jason A. Donenfeld
Commit-ID: 9285ec4c8b61d4930a575081abeba2cd4f449a74 Gitweb: https://git.kernel.org/tip/9285ec4c8b61d4930a575081abeba2cd4f449a74 Author: Jason A. Donenfeld AuthorDate: Fri, 21 Jun 2019 22:32:48 +0200 Committer: Thomas Gleixner CommitDate: Sat, 22 Jun 2019 12:11:27 +0200 timekeeping: Use

[tip:timers/core] timekeeping: Add missing _ns functions for coarse accessors

2019-06-22 Thread tip-bot for Jason A. Donenfeld
Commit-ID: 4c54294d01e605a9f992361b924c5d8b12822a6d Gitweb: https://git.kernel.org/tip/4c54294d01e605a9f992361b924c5d8b12822a6d Author: Jason A. Donenfeld AuthorDate: Fri, 21 Jun 2019 22:32:49 +0200 Committer: Thomas Gleixner CommitDate: Sat, 22 Jun 2019 12:11:28 +0200 timekeeping: Add

[tip:timers/core] posix-timers: Remove "it_signal = NULL" assignment in itimer_delete()

2019-06-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 12063d431078be73d11cb5e48a17c6db5f0d8254 Gitweb: https://git.kernel.org/tip/12063d431078be73d11cb5e48a17c6db5f0d8254 Author: Sebastian Andrzej Siewior AuthorDate: Fri, 21 Jun 2019 16:36:42 +0200 Committer: Thomas Gleixner CommitDate: Sat, 22 Jun 2019 12:14:22 +0200 posix-tim

[tip:timers/core] posix-timers: Use spin_lock_irq() in itimer_delete()

2019-06-22 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 7586addb99322faf4d096fc8beb140f879409212 Gitweb: https://git.kernel.org/tip/7586addb99322faf4d096fc8beb140f879409212 Author: Sebastian Andrzej Siewior AuthorDate: Fri, 21 Jun 2019 16:36:43 +0200 Committer: Thomas Gleixner CommitDate: Sat, 22 Jun 2019 12:14:22 +0200 posix-tim

Re: BUG: unable to handle kernel paging request in cpuacct_account_field

2019-06-22 Thread Thomas Gleixner
On Fri, 21 Jun 2019, syzbot wrote: Cc+: > Hello, > > syzbot found the following crash on: > > HEAD commit:abf02e29 Merge tag 'pm-5.2-rc6' of git://git.kernel.org/pu.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=164d94f6a0 > kernel config:

[PATCH v2] lkdtm: Check for SMEP clearing protections

2019-06-22 Thread Kees Cook
This adds an x86-specific test for pinned cr4 bits. A successful test will validate pinning and check the ROP-style call-middle-of-function defense, if needed. For example, in the case of native_write_cr4() looking like this: 8171bce0 : 8171bce0: 48 8b 35 79 46 f2 00mov

[PATCH V1] scsi: ufs-bsg: complete ufs-bsg job only if no error

2019-06-22 Thread Bean Huo (beanhuo)
From: Bean Huo In the case of UPIU/DME request execution failed in UFS device, ufs_bsg_request() will complete this failed bsg job by calling bsg_job_done(). Meanwhile, it returns this error status to blk-mq layer, then trigger blk-mq complete this request again, this will cause below panic. [

Re: [PATCH 08/16] nfsd: escape high characters in binary data

2019-06-22 Thread Kees Cook
On Sat, Jun 22, 2019 at 03:00:58PM -0400, J. Bruce Fields wrote: > The logic around ESCAPE_NP and the "only" string is really confusing. I > started assuming I could just add an ESCAPE_NONASCII flag and stick " > and \ into the "only" string, but it doesn't work that way. Yeah, if ESCAPE_NP isn't

Re: [PATCH] structleak: disable BYREF_ALL in combination with KASAN_STACK

2019-06-22 Thread Kees Cook
On Fri, Jun 21, 2019 at 03:50:02PM +0200, Ard Biesheuvel wrote: > On Fri, 21 Jun 2019 at 15:44, Arnd Bergmann wrote: > > One pattern I have seen here is temporary variables from macros or > > inline functions whose lifetime now extends over the entire function > > rather than just the basic block

Re: [PATCH net-next 6/6] net/mssc/ocelot: Add basic Felix switch driver

2019-06-22 Thread Andrew Lunn
On Fri, Jun 21, 2019 at 06:38:52PM +0300, Claudiu Manoil wrote: > This supports a switch core ethernet device from Microsemi > (VSC9959) that can be integrated on different SoCs as a PCIe > endpoint device. > > The switchdev functionality is provided by the core Ocelot > switch driver. In this reg

Re: [PATCH v1 2/3] OPP: Add function to look up required OPP's for a given OPP

2019-06-22 Thread Saravana Kannan
On Sat, Jun 22, 2019 at 4:50 AM Chanwoo Choi wrote: > > Hi, > > Absolutely, I like this approach. I think that it is necessary to make > the connection > between frequencies of devices. Happy to hear that. > But, I have a question on below. > > 2019년 6월 22일 (토) 오전 9:35, Saravana Kannan 님이 작성: >

Re: [PATCH v1 3/3] PM / devfreq: Add required OPPs support to passive governor

2019-06-22 Thread Saravana Kannan
On Sat, Jun 22, 2019 at 5:01 AM Chanwoo Choi wrote: > > Hi, > > Absolutely, I agree this approach. Thanks! > But, I add some comments on below. please check them. > > 2019년 6월 22일 (토) 오전 9:36, Saravana Kannan 님이 작성: > > > > Look at the required OPPs of the "parent" device to determine the OPP th

Re: [PATCH v3 1/2] media: vimc: stream: add missing function documentation

2019-06-22 Thread André Almeida
Hello Mauro, On 6/21/19 6:17 PM, Mauro Carvalho Chehab wrote: > Em Mon, 17 Jun 2019 10:32:20 -0300 > André Almeida escreveu: > >> Add comments at vimc_streamer_s_stream and vimc_streamer_thread, making >> the vimc-stream totally documented. > I'm applying it right now. > > Yet, if this is fully d

Re: [PATCH v3 1/2] media: vimc: stream: add missing function documentation

2019-06-22 Thread Mauro Carvalho Chehab
Em Sat, 22 Jun 2019 18:51:06 -0300 André Almeida escreveu: > Hello Mauro, > > On 6/21/19 6:17 PM, Mauro Carvalho Chehab wrote: > > Em Mon, 17 Jun 2019 10:32:20 -0300 > > André Almeida escreveu: > > > >> Add comments at vimc_streamer_s_stream and vimc_streamer_thread, making > >> the vimc-stre

[PATCH] x86/vdso: Give the [ph]vclock_page declarations real types

2019-06-22 Thread Andy Lutomirski
Clean up the vDSO code a bit by giving pvclock_page and hvclock_page their actual types instead of u8[PAGE_SIZE]. This shouldn't materially affect the generated code. Heavily based on a patch from Linus. Cc: Borislav Petkov Cc: Peter Zijlstra Signed-off-by: Linus Torvalds Signed-off-by: Andy

[PATCH v2] kexec: fix warnig of crash_zero_bytes in crash.c

2019-06-22 Thread Tiezhu Yang
Fix the following sparse warning: arch/x86/kernel/crash.c:59:15: warning: symbol 'crash_zero_bytes' was not declared. Should it be static? First, make crash_zero_bytes static. In addition, crash_zero_bytes is used when CONFIG_KEXEC_FILE is set, so make it only available under CONFIG_KEXEC_FILE. O

Re: [net v1] net: stmmac: fixed new system time seconds value calculation

2019-06-22 Thread David Miller
From: Voon Weifeng Date: Wed, 19 Jun 2019 22:13:48 +0800 > From: Roland Hii > > When ADDSUB bit is set, the system time seconds field is calculated as > the complement of the seconds part of the update value. > > For example, if 3.1 seconds need to be subtracted from the > system time,

Re: [net v1] net: stmmac: set IC bit when transmitting frames with HW timestamp

2019-06-22 Thread David Miller
From: Voon Weifeng Date: Wed, 19 Jun 2019 22:41:48 +0800 > From: Roland Hii > > When transmitting certain PTP frames, e.g. SYNC and DELAY_REQ, the > PTP daemon, e.g. ptp4l, is polling the driver for the frame transmit > hardware timestamp. The polling will most likely timeout if the tx > coales

Re: [PATCH] flow_dissector: Fix vlan header offset in __skb_flow_dissect

2019-06-22 Thread David Miller
From: YueHaibing Date: Thu, 20 Jun 2019 00:01:32 +0800 > @@ -785,6 +785,9 @@ bool __skb_flow_dissect(const struct sk_buff *skb, > skb && skb_vlan_tag_present(skb)) { > proto = skb->protocol; > } else { > + if (dissector_vla

Re: [PATCH V34 02/29] security: Add a "locked down" LSM hook

2019-06-22 Thread Kees Cook
On Fri, Jun 21, 2019 at 05:03:31PM -0700, Matthew Garrett wrote: > Add a mechanism to allow LSMs to make a policy decision around whether > kernel functionality that would allow tampering with or examining the > runtime state of the kernel should be permitted. > > Signed-off-by: Matthew Garrett

Re: [PATCH V34 01/29] security: Support early LSMs

2019-06-22 Thread Kees Cook
On Fri, Jun 21, 2019 at 05:03:30PM -0700, Matthew Garrett wrote: > The lockdown module is intended to allow for kernels to be locked down > early in boot - sufficiently early that we don't have the ability to > kmalloc() yet. Add support for early initialisation of some LSMs, and > then add them to

Re: [PATCH V34 03/29] security: Add a static lockdown policy LSM

2019-06-22 Thread Kees Cook
On Fri, Jun 21, 2019 at 05:03:32PM -0700, Matthew Garrett wrote: > While existing LSMs can be extended to handle lockdown policy, > distributions generally want to be able to apply a straightforward > static policy. This patch adds a simple LSM that can be configured to > reject either integrity or

Re: [PATCH net-next] hinic: implement the statistical interface of ethtool

2019-06-22 Thread David Miller
From: Xue Chaojing Date: Thu, 20 Jun 2019 05:58:08 + > + p = (char *)(&txq_stats) + > + hinic_tx_queue_stats[j].offset; Parenthesis around &txq_stats is unnecessary. > + p = (char *)(&rxq_stats) + > +

Linux 5.2-rc6

2019-06-22 Thread Linus Torvalds
Uhh-uh. I really was hoping that we'd continue to have an increasingly quiet and shrinking rc series. But that was not to be. rc6 is the biggest rc in number of commits we've had so far for this 5.2 cycle (obviously ignoring the merge window itself and rc1). And it's not just because of trivial p

Re: [PATCH V34 04/29] Enforce module signatures if the kernel is locked down

2019-06-22 Thread Kees Cook
On Fri, Jun 21, 2019 at 05:03:33PM -0700, Matthew Garrett wrote: > From: David Howells > > If the kernel is locked down, require that all modules have valid > signatures that we can verify. > > I have adjusted the errors generated: > > (1) If there's no signature (ENODATA) or we can't check it

Re: [PATCH V34 05/29] Restrict /dev/{mem,kmem,port} when the kernel is locked down

2019-06-22 Thread Kees Cook
On Fri, Jun 21, 2019 at 05:03:34PM -0700, Matthew Garrett wrote: > From: Matthew Garrett > > Allowing users to read and write to core kernel memory makes it possible > for the kernel to be subverted, avoiding module loading restrictions, and > also to steal cryptographic information. > > Disallo

Re: [PATCH V34 10/29] hibernate: Disable when the kernel is locked down

2019-06-22 Thread Kees Cook
On Fri, Jun 21, 2019 at 05:03:39PM -0700, Matthew Garrett wrote: > From: Josh Boyer > > There is currently no way to verify the resume image when returning > from hibernate. This might compromise the signed modules trust model, > so until we can work with signed hibernate images we disable it wh

Re: [PATCH V34 11/29] PCI: Lock down BAR access when the kernel is locked down

2019-06-22 Thread Kees Cook
On Fri, Jun 21, 2019 at 05:03:40PM -0700, Matthew Garrett wrote: > From: Matthew Garrett > > Any hardware that can potentially generate DMA has to be locked down in > order to avoid it being possible for an attacker to modify kernel code, > allowing them to circumvent disabled module loading or m

Re: [PATCH V34 12/29] x86: Lock down IO port access when the kernel is locked down

2019-06-22 Thread Kees Cook
On Fri, Jun 21, 2019 at 05:03:41PM -0700, Matthew Garrett wrote: > From: Matthew Garrett > > IO port access would permit users to gain access to PCI configuration > registers, which in turn (on a lot of hardware) give access to MMIO > register space. This would potentially permit root to trigger

<    1   2   3   >