Re: [RFC] net: phy: read link status twice when phy_check_link_status()

2019-07-30 Thread liuyonglong
On 2019/7/31 13:44, Heiner Kallweit wrote: > On 31.07.2019 05:33, liuyonglong wrote: >> >> >> On 2019/7/31 3:04, Heiner Kallweit wrote: >>> On 30.07.2019 08:35, liuyonglong wrote: :/sys/kernel/debug/tracing$ cat trace # tracer: nop # # entries-in-buffer/entries-written:

Re: [PATCH v4 06/10] modpost: Add modinfo flag to livepatch modules

2019-07-30 Thread Masahiro Yamada
Hi Joe, On Thu, May 9, 2019 at 11:39 PM Joe Lawrence wrote: > > From: Miroslav Benes > > Currently, livepatch infrastructure in the kernel relies on > MODULE_INFO(livepatch, "Y") statement in a livepatch module. Then the > kernel module loader knows a module is indeed livepatch module and can

[PATCHv9 3/3] arm64: dts: qcom: msm8996: Add Coresight support

2019-07-30 Thread Sai Prakash Ranjan
From: Vivek Gautam Enable coresight support by adding device nodes for the available source, sinks and channel blocks on msm8996. This also adds coresight cpu debug nodes. Signed-off-by: Vivek Gautam Signed-off-by: Sai Prakash Ranjan Reviewed-by: Mathieu Poirier Acked-by: Suzuki K Poulose

[PATCHv9 0/3] Add coresight support for SDM845, MSM8998 and MSM8996

2019-07-30 Thread Sai Prakash Ranjan
This patch series adds support for coresight on SDM845, MSM8998, and MSM8996. * Patch 1 adds device tree nodes for SDM845 coresight components. * Patch 2 adds device tree nodes for MSM8998 coresight components. * Patch 3 adds device tree nodes for MSM8996 coresight components. All the previous

[PATCHv9 1/3] arm64: dts: qcom: sdm845: Add Coresight support

2019-07-30 Thread Sai Prakash Ranjan
Add coresight components found on Qualcomm SDM845 SoC. Signed-off-by: Sai Prakash Ranjan Reviewed-by: Mathieu Poirier Acked-by: Suzuki K Poulose --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 451 +++ 1 file changed, 451 insertions(+) diff --git

[PATCHv9 2/3] arm64: dts: qcom: msm8998: Add Coresight support

2019-07-30 Thread Sai Prakash Ranjan
Enable coresight support by adding device nodes for the available source, sinks and channel blocks on MSM8998. Signed-off-by: Sai Prakash Ranjan Reviewed-by: Mathieu Poirier Acked-by: Suzuki K Poulose --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 435 ++ 1 file changed,

Re: [PATCH net-next 2/2] net: phy: broadcom: add 1000Base-X support for BCM54616S

2019-07-30 Thread Tao Ren
On 7/30/19 7:34 PM, Andrew Lunn wrote: >> Hi Andrew, >> >> The BCM54616S PHY on my machine is connected to a BCM5396 switch chip over >> backplane (1000Base-KX). > > Ah, that is different. So the board is using it for RGMII to 1000Base-KX? > > phy-mode is about the MAC-PHY link. So in this case

Re: [PATCH net-next 1/2] net: phy: broadcom: set features explicitly for BCM54616S

2019-07-30 Thread Heiner Kallweit
On 31.07.2019 02:12, Tao Ren wrote: > On 7/29/19 11:00 PM, Heiner Kallweit wrote: >> On 30.07.2019 07:05, Tao Ren wrote: >>> On 7/29/19 8:35 PM, Andrew Lunn wrote: On Mon, Jul 29, 2019 at 05:25:32PM -0700, Tao Ren wrote: > BCM54616S feature "PHY_GBIT_FEATURES" was removed by commit

Re: [RFC] net: phy: read link status twice when phy_check_link_status()

2019-07-30 Thread Heiner Kallweit
On 31.07.2019 05:33, liuyonglong wrote: > > > On 2019/7/31 3:04, Heiner Kallweit wrote: >> On 30.07.2019 08:35, liuyonglong wrote: >>> :/sys/kernel/debug/tracing$ cat trace >>> # tracer: nop >>> # >>> # entries-in-buffer/entries-written: 45/45 #P:128 >>> # >>> #

[PATCH v2 0/1] x86/boot: save fields explicitly, zero out everything else

2019-07-30 Thread john . hubbard
From: John Hubbard Hi, This uses the "save each field explicitly" approach that we discussed during the first review [1]. As in [1], this is motivated by a desire to clear the compiler warnings when building with gcc 9. This is difficult to properly test. I've done a basic boot test, but if

[PATCH v2] x86/boot: save fields explicitly, zero out everything else

2019-07-30 Thread john . hubbard
From: John Hubbard Recent gcc compilers (gcc 9.1) generate warnings about an out of bounds memset, if you trying memset across several fields of a struct. This generated a couple of warnings on x86_64 builds. Fix this by explicitly saving the fields in struct boot_params that are intended to be

Re: [PATCH] mm: release the spinlock on zap_pte_range

2019-07-30 Thread Minchan Kim
On Tue, Jul 30, 2019 at 02:57:51PM +0200, Michal Hocko wrote: > [Cc Nick - the email thread starts > http://lkml.kernel.org/r/20190729071037.241581-1-minc...@kernel.org > A very brief summary is that mark_page_accessed seems to be quite > expensive and the question is whether we still need it

[PATCH net-next v2 0/4] net: phy: Add AST2600 MDIO support

2019-07-30 Thread Andrew Jeffery
Hello, v2 of the ASPEED MDIO series addresses comments from Rob on the devicetree bindings and Andrew on the driver itself. v1 of the series can be found here: http://patchwork.ozlabs.org/cover/1138140/ Please review! Andrew Andrew Jeffery (4): dt-bindings: net: Add aspeed,ast2600-mdio

[PATCH net-next v2 2/4] net: phy: Add mdio-aspeed

2019-07-30 Thread Andrew Jeffery
The AST2600 design separates the MDIO controllers from the MAC, which is where they were placed in the AST2400 and AST2500. Further, the register interface is reworked again, so now we have three possible different interface implementations, however this driver only supports the interface provided

[PATCH net-next v2 3/4] net: ftgmac100: Add support for DT phy-handle property

2019-07-30 Thread Andrew Jeffery
phy-handle is necessary for the AST2600 which separates the MDIO controllers from the MAC. I've tried to minimise the intrusion of supporting the AST2600 to the FTGMAC100 by leaving in place the existing MDIO support for the embedded MDIO interface. The AST2400 and AST2500 continue to be

[PATCH net-next v2 4/4] net: ftgmac100: Select ASPEED MDIO driver for the AST2600

2019-07-30 Thread Andrew Jeffery
Ensures we can talk to a PHY via MDIO on the AST2600, as the MDIO controller is now separate from the MAC. Signed-off-by: Andrew Jeffery --- drivers/net/ethernet/faraday/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/faraday/Kconfig

[PATCH] ASoC: max98383: add 88200 and 96000 sampling rate support

2019-07-30 Thread chunguo feng
From: fengchunguo 88200 and 96000 sampling rate was not enabled on driver, so can't be played. The error information: max98373 3-0031:rate 96000 not supported max98373 3-0031:ASoC: can't set max98373-aif1 hw params: -22 Signed-off-by: fengchunguo --- sound/soc/codecs/max98373.c | 6 ++

[PATCH net-next v2 1/4] dt-bindings: net: Add aspeed,ast2600-mdio binding

2019-07-30 Thread Andrew Jeffery
The AST2600 splits out the MDIO bus controller from the MAC into its own IP block and rearranges the register layout. Add a new binding to describe the new hardware. Signed-off-by: Andrew Jeffery --- v2: * aspeed: Utilise mdio.yaml * aspeed: Drop status from example ---

[RFC PATCH] compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use

2019-07-30 Thread Joe Perches
Reserve the pseudo keyword 'fallthrough' for the ability to convert the various case block /* fallthrough */ style comments to appear to be an actual reserved word with the same gcc case block missing fallthrough warning capability. All switch/case blocks now must end in one of: break;

Re: "mm: account nr_isolated_xxx in [isolate|putback]_lru_page" breaks OOM with swap

2019-07-30 Thread Minchan Kim
imes, it prints those > message > while hanging. > > [  509.983393][  T711] INFO: task oom01:5331 blocked for more than 122 > seconds. > [  509.983431][  T711]   Not tainted 5.3.0-rc2-next-20190730 #7 > [  509.983447][  T711] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs&qu

linux-next: build failure after merge of the pm tree

2019-07-30 Thread Stephen Rothwell
Hi all, After merging the pm tree, today's linux-next build (x86_64 allnoconfig) failed like this: x86_64-linux-gnu-ld: kernel/sched/core.o: in function `cpuidle_poll_time': core.c:(.text+0x230): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first

Re: [PATCH 4.14 000/293] 4.14.135-stable review

2019-07-30 Thread Kelsey Skunberg
On Mon, Jul 29, 2019 at 09:18:11PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.135 release. > There are 293 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

Re: [PATCH 4.19 000/113] 4.19.63-stable review

2019-07-30 Thread Kelsey Skunberg
On Mon, Jul 29, 2019 at 09:21:27PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.63 release. > There are 113 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

Re: [PATCH 5.2 000/215] 5.2.5-stable review

2019-07-30 Thread Kelsey Skunberg
On Mon, Jul 29, 2019 at 09:19:56PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.2.5 release. > There are 215 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

[PATCH v2] watchdog: pc87413: Rewriting of pc87413_wdt driver to use watchdog subsystem

2019-07-30 Thread Mark Balantzyan
This patch rewrites the pc87413_wdt driver to use the watchdog subsystem. In doing so, it also addresses a potential race condition owing from the swc_base_addr variable being used before being set. Signed-off-by: Mark Balantzyan --- drivers/watchdog/Kconfig | 1 +

Re: [PATCH] watchdog: pc87413: Rewriting of pc87413_wdt driver to use watchdog subsystem

2019-07-30 Thread Mark Balantzyan
Hi all, Guenter, Thank you for your email. Unfortunately, on my end, the indentation is straight and perhaps through protocol transfer there was stray modification. I've made the other changes as indicated that I'll submit in a v2 patch shortly. Is 'v2' permissible to include in the title in

Re: [PATCH] PM/sleep: Expose suspend stats in sysfs

2019-07-30 Thread Greg KH
On Tue, Jul 30, 2019 at 03:52:28PM -0700, Kalesh Singh wrote: > +#define suspend_attr(_name) \ > +static ssize_t _name##_show(struct kobject *kobj,\ > + struct kobj_attribute *attr, char *buf) \ > +{

[PATCH] net: sctp: Rename fallthrough label to unhandled

2019-07-30 Thread Joe Perches
fallthrough may become a pseudo reserved keyword so this only use of fallthrough is better renamed to allow it. Signed-off-by: Joe Perches --- net/sctp/sm_make_chunk.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/sctp/sm_make_chunk.c

Re: [PATCH v8 00/14] Rockchip ISP1 Driver

2019-07-30 Thread Hans Verkuil
On 7/31/19 6:33 AM, Hans Verkuil wrote: > On 7/31/19 6:29 AM, Hans Verkuil wrote: >> On 7/31/19 2:08 AM, Helen Koike wrote: >>> >>> >>> On 7/30/19 5:50 PM, Helen Koike wrote: On 7/30/19 5:15 PM, Hans Verkuil wrote: > On 7/30/19 8:42 PM, Helen Koike wrote: >> Hello, >>

Re: [PATCH v2 5/5] dt-bindings: Update the isa string description

2019-07-30 Thread Paul Walmsley
On Tue, 30 Jul 2019, Atish Patra wrote: > The yaml documentation description of isa strings section doesn't > specify anything about the case sensitiveness of the isa strings. > The RISC-V specification clearly specifies it to be case insensitive. > However, Linux kernel supports only lower case

Re: [PATCH] watchdog: pc87413: Rewriting of pc87413_wdt driver to use watchdog subsystem

2019-07-30 Thread Guenter Roeck
On 7/30/19 8:22 PM, Mark Balantzyan wrote: This patch rewrites the pc87413_wdt driver to use the watchdog subsystem. In doing so, it also addresses a potential race condition owing from the swc_base_addr variable being used before being set. Signed-off-by: Mark Balantzyan ---

[PATCH v2] MIPS: Ingenic: Fix bugs when detecting X1000's parameters.

2019-07-30 Thread Zhou Yanjie
1.fix bugs when detecting L2 cache sets value. 2.fix bugs when detecting L2 cache ways value. 3.fix bugs when calculate bogoMips and loops_per_jiffy. Signed-off-by: Zhou Yanjie --- arch/mips/include/asm/mipsregs.h | 1 + arch/mips/kernel/cpu-probe.c | 7 +++ arch/mips/mm/sc-mips.c

MIPS: Ingenic: Fix bugs when detecting X1000's parameters v2.

2019-07-30 Thread Zhou Yanjie
v1->v2: Use "set_c0_config7(BIT(4))" to simplify code and add comment.

[PATCH V2] IB/core: Add mitigation for Spectre V1

2019-07-30 Thread Luck, Tony
Some processors may mispredict an array bounds check and speculatively access memory that they should not. With a user supplied array index we like to play things safe by masking the value with the array size before it is used as an index. Signed-off-by: Tony Luck --- V2: Mask the index

mmotm 2019-07-30-21-37 uploaded

2019-07-30 Thread akpm
The mm-of-the-moment snapshot 2019-07-30-21-37 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 patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH] ext4: Fix deadlock on page reclaim

2019-07-30 Thread Damien Le Moal
Dave, On 2019/07/31 8:48, Dave Chinner wrote: > On Tue, Jul 30, 2019 at 02:06:33AM +, Damien Le Moal wrote: >> If we had a pread_nofs()/pwrite_nofs(), that would work. Or we could define a >> RWF_NORECLAIM flag for pwritev2()/preadv2(). This last one could actually be >> the >> cleanest

Re: media: mtk-vcodec: Handle H264 error bitstreams

2019-07-30 Thread gtk_ruiwang
Dear Mauro, patch v2 uploaded. Thanks, Best Regards On Tue, 2019-07-30 at 13:15 -0300, Mauro Carvalho Chehab wrote: > Em Fri, 26 Jul 2019 16:54:33 +0800 > escreveu: > > > From: gtk_ruiwang > > ... > > > Signed-off-by: gtk_ruiwang > > Please use your real name on your SOB and at the From:

Re: [PATCH v8 00/14] Rockchip ISP1 Driver

2019-07-30 Thread Hans Verkuil
On 7/31/19 6:29 AM, Hans Verkuil wrote: > On 7/31/19 2:08 AM, Helen Koike wrote: >> >> >> On 7/30/19 5:50 PM, Helen Koike wrote: >>> >>> >>> On 7/30/19 5:15 PM, Hans Verkuil wrote: On 7/30/19 8:42 PM, Helen Koike wrote: > Hello, > > I'm re-sending a new version of ISP(Camera) v4l2

Re: [PATCH] MIPS: Ingenic: Fix bugs when detecting X1000's parameters.

2019-07-30 Thread Zhou Yanjie
Hi Paul, On 2019年07月31日 02:02, Paul Cercueil wrote: Hi Zhou, Le mar. 30 juil. 2019 à 10:55, Zhou Yanjie a écrit : 1.fix bugs when detecting L2 cache sets value. 2.fix bugs when detecting L2 cache ways value. 3.fix bugs when calculate bogoMips and loops_per_jiffy. Signed-off-by: Zhou

Re: [PATCH v8 00/14] Rockchip ISP1 Driver

2019-07-30 Thread Hans Verkuil
On 7/31/19 2:08 AM, Helen Koike wrote: > > > On 7/30/19 5:50 PM, Helen Koike wrote: >> >> >> On 7/30/19 5:15 PM, Hans Verkuil wrote: >>> On 7/30/19 8:42 PM, Helen Koike wrote: Hello, I'm re-sending a new version of ISP(Camera) v4l2 driver for rockchip rk3399 SoC. I

Re: [PATCH 4/4] net: dsa: mv88e6xxx: add PTP support for MV88E6250 family

2019-07-30 Thread Richard Cochran
On Tue, Jul 30, 2019 at 11:46:51PM +0300, Vladimir Oltean wrote: > Technically it is not "not true". [Sigh] The statement was: The adjfine API clamps ppb between [-32,768,000, 32,768,000] The adjfine API does NOT clamp to that range. That statement is simply false. > And what is the

[v2] media: mtk-vcodec: Handle H264 error bitstreams

2019-07-30 Thread gtk_ruiwang
From: Rui Wang Error h264 bitstreams which picture info are out range of decoder hardware specification, and no nal start code at the beginning of the buffer, stop decoding and exit. Signed-off-by: Rui Wang --- Change note: Updata commint message with Mauro's comment: use real name on SOB and

Re: [PATCH] IB/core: Add mitigation for Spectre V1

2019-07-30 Thread Ira Weiny
On Tue, Jul 30, 2019 at 06:52:12PM -0500, Gustavo A. R. Silva wrote: > > > On 7/30/19 3:24 PM, Tony Luck wrote: > > Some processors may mispredict an array bounds check and > > speculatively access memory that they should not. With > > a user supplied array index we like to play things safe > >

Re: [PATCH v2 2/5] RISC-V: Add riscv_isa reprensenting ISA features common across CPUs

2019-07-30 Thread Paul Walmsley
On Tue, 30 Jul 2019, Atish Patra wrote: > From: Anup Patel > > This patch adds riscv_isa integer to represent ISA features common > across all CPUs. The riscv_isa is not same as elf_hwcap because > elf_hwcap will only have ISA features relevant for user-space apps > whereas riscv_isa will have

[PATCH] Introducing the mask_cstate to disable specific c-states during bootup

2019-07-30 Thread Chen Yu
There is request to disable specific c-states during bootup for debug purpose. For example, deeper c-states except C1,C1E,C10 are disabled during bootup otherwise it might not boot up well due to incorrect setting in FW. For example, intel_idle.mask_cstate=0x3c, would disable cstate 2,3,4,5 in

Re: [RFC PATCH] ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up

2019-07-30 Thread Luis Araneda
Hi Russell, Thanks for reviewing. On Tue, Jul 30, 2019 at 6:47 AM Russell King - ARM Linux admin wrote: > > On Tue, Jul 30, 2019 at 12:43:26AM -0400, Luis Araneda wrote: > > This fixes a kernel panic (read overflow) on memcpy when > > FORTIFY_SOURCE is enabled. [...] > > I'm not convinced that

Re: [PATCH v1 0/2] virtio-mmio: support multiple interrupt vectors

2019-07-30 Thread 李菲
Hi Sergio, Considering your implementing virtio-mmio v2 in Qemu, please help to give some suggestions on this patch series. Thanks :) For web, this link: https://www.spinics.net/lists/kernel/msg3195667.html may help. Have a nice day Fei On Fri, Jul 19, 2019 at 9:31 PM Fei Li wrote: > > Hi, >

Re: [External Email] Re: [PATCH v1 0/2] virtio-mmio: support multiple interrupt vectors

2019-07-30 Thread 李菲
On Wed, Jul 31, 2019 at 4:26 AM Michael S. Tsirkin wrote: > > On Mon, Jul 22, 2019 at 09:43:18PM +0800, 李菲 wrote: > > On Mon, Jul 22, 2019 at 4:39 PM Michael S. Tsirkin wrote: > > > > > > On Mon, Jul 22, 2019 at 11:22:02AM +0800, 李菲 wrote: > > > > On Fri, Jul 19, 2019 at 11:14 PM Michael S.

Dear Friend,

2019-07-30 Thread Aisha Gaddafi
Dear Friend, I came across your e-mail contact prior a private search while in need of your assistance. My name is Aisha Gaddafi a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar Gaddafi). I have investment funds

Re: [PATCH v4 03/10] livepatch: Add klp-convert tool

2019-07-30 Thread Masahiro Yamada
On Wed, Jul 31, 2019 at 11:50 AM Masahiro Yamada wrote: > > On Thu, May 9, 2019 at 11:39 PM Joe Lawrence wrote: > > > > From: Josh Poimboeuf > > > > Livepatches may use symbols which are not contained in its own scope, > > and, because of that, may end up compiled with relocations that will > >

Re: [RFC] net: phy: read link status twice when phy_check_link_status()

2019-07-30 Thread liuyonglong
On 2019/7/31 3:04, Heiner Kallweit wrote: > On 30.07.2019 08:35, liuyonglong wrote: >> :/sys/kernel/debug/tracing$ cat trace >> # tracer: nop >> # >> # entries-in-buffer/entries-written: 45/45 #P:128 >> # >> # _-=> irqs-off >> # /

Re: [PATCH] ARM: check stmfd instruction using right shift

2019-07-30 Thread Chunyan Zhang
On Tue, 30 Jul 2019 at 19:02, Russell King - ARM Linux admin wrote: > > On Tue, Jul 30, 2019 at 03:18:31PM +0800, Chunyan Zhang wrote: > > Gentle ping > > > > probably this patch was missed or entered into spam? > > Please submit it to the patch system, thanks. Ok, thanks. > > > > > On Mon, 22

[PATCH] thp: update split_huge_page_pmd() commnet

2019-07-30 Thread Kefeng Wang
According to 78ddc5347341 ("thp: rename split_huge_page_pmd() to split_huge_pmd()"), update releated comment. Signed-off-by: Kefeng Wang --- arch/powerpc/mm/book3s64/hash_utils.c | 2 +- include/asm-generic/pgtable.h | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff

[PATCH] atm: iphase: Fix Spectre v1 vulnerability

2019-07-30 Thread Gustavo A. R. Silva
board is controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. This issue was detected with the help of Smatch: drivers/atm/iphase.c:2765 ia_ioctl() warn: potential spectre issue 'ia_dev' [r] (local cap) drivers/atm/iphase.c:2774 ia_ioctl()

[PATCH] watchdog: pc87413: Rewriting of pc87413_wdt driver to use watchdog subsystem

2019-07-30 Thread Mark Balantzyan
This patch rewrites the pc87413_wdt driver to use the watchdog subsystem. In doing so, it also addresses a potential race condition owing from the swc_base_addr variable being used before being set. Signed-off-by: Mark Balantzyan --- drivers/watchdog/Kconfig | 1 +

Re: [PATCH v3 8/9] x86/mm/tlb: Remove UV special case

2019-07-30 Thread Nadav Amit
> On Jul 18, 2019, at 7:25 PM, Mike Travis wrote: > > It is a fact that the UV is still the UV and SGI is now part of HPE. The > current external product is known as SuperDome Flex. It is both up to date > as well as very well maintained. The ACK I provided was an okay to change > the code, but

Re: linux-next: build warnings after merge of the keys tree

2019-07-30 Thread Stephen Rothwell
Hi Eric, On Tue, 30 Jul 2019 18:40:34 -0700 Eric Biggers wrote: > > On Tue, Jul 30, 2019 at 01:52:16PM +1000, Stephen Rothwell wrote: > > Hi Eric, > > > > On Mon, 29 Jul 2019 20:47:04 -0700 Eric Biggers > > wrote: > > > > > > On Tue, Jul 30, 2019 at 12:30:42PM +1000, Stephen Rothwell wrote:

[PATCH v3 2/2] iio: tsl2772: Use regulator_bulk_() APIs

2019-07-30 Thread Chuhong Yuan
Use regulator_bulk_() APIs to shrink driver size. Signed-off-by: Chuhong Yuan --- Changes in v3: - Split v2 into two patches. - Add dev_err to log error messages. - Add a check for EPROBE_DEFER. drivers/iio/light/tsl2772.c | 82 +++-- 1 file changed, 24

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

2019-07-30 Thread Chuhong Yuan
Use devm_() APIs to simplify the code. Signed-off-by: Chuhong Yuan --- Changes in v3: - Split v2 into two patches. drivers/iio/light/tsl2772.c | 36 +++- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/drivers/iio/light/tsl2772.c

Re: [PATCH v5.3-rc2] Bluetooth: hci_uart: check for missing tty operations

2019-07-30 Thread Al Cho
On Tue, 2019-07-30 at 11:33 +0200, Marcel Holtmann wrote: > From: Vladis Dronov > > Certain ttys operations (pty_unix98_ops) lack tiocmget() and > tiocmset() > functions which are called by the certain HCI UART protocols > (hci_ath, > hci_bcm, hci_intel, hci_mrvl, hci_qca) via >

Re: [PATCH 0/7] media: vimc: Add a V4L2 output device

2019-07-30 Thread André Almeida
On 7/13/19 7:03 AM, Hans Verkuil wrote: > On 7/12/19 5:38 PM, André Almeida wrote: >> Hello, >> >> On 7/10/19 4:33 AM, Hans Verkuil wrote: >>> On 7/10/19 12:19 AM, Helen Koike wrote: Hi André, Thanks for the patches. On 7/2/19 12:47 PM, André Almeida wrote: > Hello,

[PATCH] cpufreq: schedutil: Don't skip freq update when limits change

2019-07-30 Thread Viresh Kumar
To avoid reducing the frequency of a CPU prematurely, we skip reducing the frequency if the CPU had been busy recently. This should not be done when the limits of the policy are changed, for example due to thermal throttling. We should always get the frequency within the new limits as soon as

Re: Reminder: 99 open syzbot bugs in net subsystem

2019-07-30 Thread Eric Biggers
On Thu, Jul 25, 2019 at 07:04:47AM +0200, Eric Dumazet wrote: > > > On 7/24/19 11:09 PM, Eric Biggers wrote: > > On Wed, Jul 24, 2019 at 01:09:28PM -0700, David Miller wrote: > >> From: Eric Biggers > >> Date: Wed, 24 Jul 2019 11:37:12 -0700 > >> > >>> We can argue about what words to use to

Re: [PATCH v4 03/10] livepatch: Add klp-convert tool

2019-07-30 Thread Masahiro Yamada
On Thu, May 9, 2019 at 11:39 PM Joe Lawrence wrote: > > From: Josh Poimboeuf > > Livepatches may use symbols which are not contained in its own scope, > and, because of that, may end up compiled with relocations that will > only be resolved during module load. Yet, when the referenced symbols >

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

2019-07-30 Thread Li, Aubrey
On 2019/7/26 23:21, Julien Desfossez wrote: > On 25-Jul-2019 10:30:03 PM, Aaron Lu wrote: >> >> I tried a different approach based on vruntime with 3 patches following. > [...] > > We have experimented with this new patchset and indeed the fairness is > now much better. Interactive tasks with v3

Re: [PATCH net-next 2/2] net: phy: broadcom: add 1000Base-X support for BCM54616S

2019-07-30 Thread Andrew Lunn
> Hi Andrew, > > The BCM54616S PHY on my machine is connected to a BCM5396 switch chip over > backplane (1000Base-KX). Ah, that is different. So the board is using it for RGMII to 1000Base-KX? phy-mode is about the MAC-PHY link. So in this case RGMII. There is no DT way to configure the

Re: Reminder: 1 open syzbot bug in rtc subsystem

2019-07-30 Thread Eric Biggers
On Mon, Jul 29, 2019 at 03:47:45PM +0800, Hillf Danton wrote: > > On Tue, 23 Jul 2019 19:50:08 -0700 > > > > [This email was generated by a script. Let me know if you have any > > suggestions > > to make it better, or if you want it re-generated with the latest status.] > > > > Of the

Re: Reminder: 1 open syzbot bug in rtc subsystem

2019-07-30 Thread Eric Biggers
On Sun, Jul 28, 2019 at 03:23:33PM +0200, Pavel Machek wrote: > On Tue 2019-07-23 19:50:08, Eric Biggers wrote: > > [This email was generated by a script. Let me know if you have any > > suggestions > > to make it better, or if you want it re-generated with the latest status.] > > > > Of the

Re: [PATCH v7 0/7] Solve postboot supplier cleanup and optimize probe ordering

2019-07-30 Thread Frank Rowand
Hi Greg, Rob, On 7/26/19 7:32 AM, Greg Kroah-Hartman wrote: > On Thu, Jul 25, 2019 at 02:04:23PM -0700, Frank Rowand wrote: >> On 7/25/19 6:42 AM, Greg Kroah-Hartman wrote: >>> On Tue, Jul 23, 2019 at 05:10:53PM -0700, Saravana Kannan wrote: Add device-links to track functional dependencies

Re: [PATCH v2 0/5] Allocate memmap from hotadded memory

2019-07-30 Thread Rashmica Gupta
On Mon, 2019-07-29 at 10:06 +0200, David Hildenbrand wrote: > > > Of course, other interfaces might make sense. > > > > > > You can then start using these memory blocks and hinder them from > > > getting onlined (as a safety net) via memory notifiers. > > > > > > That would at least avoid you

Re: [PATCH net-next 2/2] net: phy: broadcom: add 1000Base-X support for BCM54616S

2019-07-30 Thread Tao Ren
On 7/30/19 6:36 PM, Andrew Lunn wrote: >> The INTF_SEL pins report correct mode (RGMII-Fiber) on my machine, >> but there are 2 "sub-modes" (1000Base-X and 100Base-FX) and I >> couldn't find a proper/safe way to auto-detect which "sub-mode" is >> active. The datasheet just describes instructions

Re: [PATCH 19/24] tty: serial: fsl_lpuart: Introduce lpuart_tx_dma_startup()

2019-07-30 Thread Andrey Smirnov
On Tue, Jul 30, 2019 at 8:56 AM Greg Kroah-Hartman wrote: > > On Mon, Jul 29, 2019 at 12:52:21PM -0700, Andrey Smirnov wrote: > > Code configure DMA TX path in lpuart_startup(), lpuart32_startup() and > > lpuart_resume() is doing exactly the same thing, so move it into a > > standalone

Re: [PATCH 06/24] tty: serial: fsl_lpuart: Drop unnecessary sg_set_buf() call

2019-07-30 Thread Andrey Smirnov
On Tue, Jul 30, 2019 at 8:51 AM Greg Kroah-Hartman wrote: > > On Mon, Jul 29, 2019 at 12:52:08PM -0700, Andrey Smirnov wrote: > > Sg_init_one() will already call sg_set_buf(), so another explicit call > > right after it is unnecessary. Drop it. > > > > Signed-off-by: Andrey Smirnov > > Cc:

Re: [PATCH v2 07/10] powerpc/fsl_booke/32: randomize the kernel image offset

2019-07-30 Thread Jason Yan
On 2019/7/30 17:44, Christophe Leroy wrote: Le 30/07/2019 à 09:42, Jason Yan a écrit : After we have the basic support of relocate the kernel in some appropriate place, we can start to randomize the offset now. Entropy is derived from the banner and timer, which will change every build

Re: [PATCH v2 06/10] powerpc/fsl_booke/32: implement KASLR infrastructure

2019-07-30 Thread Jason Yan
On 2019/7/30 17:34, Christophe Leroy wrote: Le 30/07/2019 à 09:42, Jason Yan a écrit : This patch add support to boot kernel from places other than KERNELBASE. Since CONFIG_RELOCATABLE has already supported, what we need to do is map or copy kernel to a proper place and relocate. Freescale

Re: [RFC PATCH 13/16] RISC-V: KVM: Add timer functionality

2019-07-30 Thread Atish Patra
On Tue, 2019-07-30 at 13:26 +0200, Paolo Bonzini wrote: > On 29/07/19 13:57, Anup Patel wrote: > > + if (delta_ns > VCPU_TIMER_PROGRAM_THRESHOLD_NS) { > > + hrtimer_start(>hrt, ktime_add_ns(ktime_get(), > > delta_ns), > > I think the guest would prefer if you saved the time before

[PATCH net v3] net: ipv6: Fix a bug in ndisc_send_ns when netdev only has a global address

2019-07-30 Thread Su Yanjun
When the egress interface does not have a link local address, it can not communicate with other hosts. In RFC4861, 7.2.2 says "If the source address of the packet prompting the solicitation is the same as one of the addresses assigned to the outgoing interface, that address SHOULD be placed in

Re: [PATCH bpf-next v10 10/10] landlock: Add user and kernel documentation for Landlock

2019-07-30 Thread Randy Dunlap
On 7/21/19 2:31 PM, Mickaël Salaün wrote: > This documentation can be built with the Sphinx framework. > > Signed-off-by: Mickaël Salaün > Cc: Alexei Starovoitov > Cc: Andy Lutomirski > Cc: Daniel Borkmann > Cc: David S. Miller > Cc: James Morris > Cc: Jonathan Corbet > Cc: Kees Cook >

[PATCH v16 0/2] spi: Add Renesas R-Car Gen3 RPC-IF SPI driver

2019-07-30 Thread Mason Yang
Hi Mark, v16 patch including: 1) fixed typo and spi-tx/rx-bus-width in DTS. 2) v14 dt-binding file has reviewed by Rob Herring. v15 patch including: 1) A typo in dt-bindings and add flash subnode description 2) v14 dt-binding file has reviewed by Rob Herring. v14 patch including: 1) Patch

[PATCH v16 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-07-30 Thread Mason Yang
Document the bindings used by the Renesas R-Car Gen3 RPC-IF controller. Signed-off-by: Mason Yang Reviewed-by: Rob Herring --- .../devicetree/bindings/spi/spi-renesas-rpc.txt| 45 ++ 1 file changed, 45 insertions(+) create mode 100644

[PATCH v16 1/2] spi: Add Renesas R-Car Gen3 RPC-IF SPI controller driver

2019-07-30 Thread Mason Yang
Add a driver for Renesas R-Car Gen3 RPC-IF SPI controller. Signed-off-by: Mason Yang Signed-off-by: Sergei Shtylyov --- drivers/spi/Kconfig | 6 + drivers/spi/Makefile | 1 + drivers/spi/spi-renesas-rpc.c | 754 ++ 3 files changed,

Re: [PATCH] tracefs: Restrict tracefs when the kernel is locked down

2019-07-30 Thread Steven Rostedt
On Tue, 30 Jul 2019 11:47:34 -0700 Matthew Garrett wrote: > Tracefs may release more information about the kernel than desirable, so > restrict it when the kernel is locked down in confidentiality mode by > preventing open(). > > Signed-off-by: Matthew Garrett > Cc: Steven Rostedt

Re: [PATCH] scsi: ibmvfc: Mark expected switch fall-throughs

2019-07-30 Thread Tyrel Datwyler
On 7/28/19 5:26 PM, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warnings: > > drivers/scsi/ibmvscsi/ibmvfc.c: In function 'ibmvfc_npiv_login_done': > drivers/scsi/ibmvscsi/ibmvfc.c:4022:3: warning: this statement may

Re: linux-next: build warnings after merge of the keys tree

2019-07-30 Thread Eric Biggers
On Tue, Jul 30, 2019 at 01:52:16PM +1000, Stephen Rothwell wrote: > Hi Eric, > > On Mon, 29 Jul 2019 20:47:04 -0700 Eric Biggers wrote: > > > > On Tue, Jul 30, 2019 at 12:30:42PM +1000, Stephen Rothwell wrote: > > > +static struct key_acl fsverity_acl = { > > > + .usage = REFCOUNT_INIT(1), > >

Re: [PATCH net-next 2/2] net: phy: broadcom: add 1000Base-X support for BCM54616S

2019-07-30 Thread Andrew Lunn
> The INTF_SEL pins report correct mode (RGMII-Fiber) on my machine, > but there are 2 "sub-modes" (1000Base-X and 100Base-FX) and I > couldn't find a proper/safe way to auto-detect which "sub-mode" is > active. The datasheet just describes instructions to enable a > specific mode, but it doesn't

linux-next: manual merge of the hwmon-staging tree with the mips tree

2019-07-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the hwmon-staging tree got a conflict in: drivers/hwmon/jz4740-hwmon.c between commit: d202742058b2 ("hwmon: Drop obsolete JZ4740 driver") from the mips tree and commit: 8d91bfd06bc1 ("hwmon: Remove dev_err() usage after platform_get_irq()") from

[PATCH v2 net] hv_sock: Fix hang when a connection is closed

2019-07-30 Thread Dexuan Cui
There is a race condition for an established connection that is being closed by the guest: the refcnt is 4 at the end of hvs_release() (Note: here the 'remove_sock' is false): 1 for the initial value; 1 for the sk being in the bound list; 1 for the sk being in the connected list; 1 for the

[PATCH v2 0/5] Miscellaneous fixes

2019-07-30 Thread Atish Patra
This patch series have some unrelated fixes related to clocksource, dt-bindings and isa strings. I combined them into series as most of them are prerequisite for kvm patch series. Changes from v1->v2: 1. Dropped the case-insensitive support patch and added a dt-bindings update patch. 2.

[PATCH v2 3/5] RISC-V: Fix unsupported isa string info.

2019-07-30 Thread Atish Patra
Currently, kernel prints a info warning if any of the extensions from "mafdcsu" is missing in device tree. This is not entirely correct as Linux can boot with "f or d" extensions if kernel is configured accordingly. Moreover, it will continue to print the info string for future extensions such as

[PATCH v2 2/5] RISC-V: Add riscv_isa reprensenting ISA features common across CPUs

2019-07-30 Thread Atish Patra
From: Anup Patel This patch adds riscv_isa integer to represent ISA features common across all CPUs. The riscv_isa is not same as elf_hwcap because elf_hwcap will only have ISA features relevant for user-space apps whereas riscv_isa will have ISA features relevant to both kernel and user-space

[PATCH v2 5/5] dt-bindings: Update the isa string description

2019-07-30 Thread Atish Patra
The yaml documentation description of isa strings section doesn't specify anything about the case sensitiveness of the isa strings. The RISC-V specification clearly specifies it to be case insensitive. However, Linux kernel supports only lower case isa strings. Update the yaml documentation

[PATCH v2 1/5] RISC-V: Remove per cpu clocksource

2019-07-30 Thread Atish Patra
There is only one clocksource in RISC-V. The boot cpu initializes that clocksource. No need to keep a percpu data structure. Signed-off-by: Atish Patra --- drivers/clocksource/timer-riscv.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH v2 4/5] RISC-V: Export few kernel symbols

2019-07-30 Thread Atish Patra
Export few symbols used by kvm module. Without this, kvm can not be compiled as a module. Signed-off-by: Atish Patra --- arch/riscv/kernel/smp.c | 2 +- arch/riscv/kernel/time.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/riscv/kernel/smp.c

Re: [PATCH 1/2] KEYS: Replace uid/gid/perm permissions checking with an ACL

2019-07-30 Thread Eric Biggers
On Mon, Jul 29, 2019 at 08:49:56PM -0700, Eric Biggers wrote: > Hi David, > > On Tue, Jul 09, 2019 at 06:16:01PM -0700, Eric Biggers wrote: > > On Thu, May 23, 2019 at 04:58:27PM +0100, David Howells wrote: > > > Replace the uid/gid/perm permissions checking on a key with an ACL to > > > allow >

Re: [PATCH 08/13] mm: remove the mask variable in hmm_vma_walk_hugetlb_entry

2019-07-30 Thread Ralph Campbell
On 7/29/19 10:51 PM, Christoph Hellwig wrote: The pagewalk code already passes the value as the hmask parameter. Signed-off-by: Christoph Hellwig --- mm/hmm.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mm/hmm.c b/mm/hmm.c index f26d6abc4ed2..88b77a4a6a1e

Re: [RFC 0/9] platform/x86: Huawei WMI laptop extras driver

2019-07-30 Thread Ayman Bagabas
On 19/07/25 04:05PM, Ayman Bagabas wrote: > On 19/07/25 08:33PM, Andy Shevchenko wrote: > > On Sun, Jun 30, 2019 at 8:41 AM Ayman Bagabas > > wrote: > > > > > > This patch series introduce changes to huawei-wmi driver that includes: > > > * Move to platform driver > > > * Implement WMI

Re: [PATCH] ARM: dts: aspeed: Add Mihawk BMC platform

2019-07-30 Thread Andrew Jeffery
Hello Ben, Thanks for the patch! Some minor comments below. On Tue, 30 Jul 2019, at 15:30, Ben Pai wrote: > The Mihawk BMC is an ASPEED ast2500 based BMC that is part of an > OpenPower Power9 server. > > This adds the device tree description for most upstream components. It > is a squashed

Re: [PATCH 12/20] fs: fat: Initialize filesystem timestamp ranges

2019-07-30 Thread OGAWA Hirofumi
Deepa Dinamani writes: >> At least, it is wrong to call fat_time_fat2unix() before setup parameters >> in sbi. > > All the parameters that fat_time_fat2unix() cares in sbi is accessed through > > static inline int fat_tz_offset(struct msdos_sb_info *sbi) > { > return (sbi->options.tz_set ? >

linux-next: manual merge of the fsverity tree with the f2fs tree

2019-07-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the fsverity tree got conflicts in: fs/f2fs/file.c fs/f2fs/inode.c between commits: cf3dbe1481d1 ("f2fs: support FS_IOC_{GET,SET}FSLABEL") 01ff2b3740a6 ("f2fs: Support case-insensitive file name lookups") from the f2fs tree and commit:

[PATCH v2] Fix annotate.c use of uninitialized value error

2019-07-30 Thread Numfor Mbiziwo-Tiapo
Our local MSAN (Memory Sanitizer) build of perf throws a warning that comes from the "dso__disassemble_filename" function in "tools/perf/util/annotate.c" when running perf record. The warning stems from the call to readlink, in which "build_id_path" was being read into "linkname". Since readlink

  1   2   3   4   5   6   7   8   9   10   >