Re: [PATCH] ARC: ARCv2: jump label: implement jump label patching

2019-06-20 Thread Peter Zijlstra
On Wed, Jun 19, 2019 at 11:55:41PM +, Vineet Gupta wrote: > On 6/19/19 1:12 AM, Peter Zijlstra wrote: > > I'm assuming you've looked at what x86 currently does and found > > something like that doesn't work for ARC? > > Just looked at x86 code and it seems similar I think you missed a bit.

Re: [PATCH 7/8] mpt3sas: set an unlimited max_segment_size for SAS 3.0 HBAs

2019-06-20 Thread Suganath Prabu Subramani
Acked-by: Suganath Prabu On Thu, Jun 20, 2019 at 12:34 PM Suganath Prabu Subramani wrote: > > Please consider this as Acked-by: Suganath Prabu > > > > On Tue, Jun 18, 2019 at 6:16 AM Ming Lei wrote: > > > > On Mon, Jun 17, 2019 at 8:21 PM Christoph Hellwig wrote: > > > > > > When using a virt

Re: [PATCH v2 4/5] mm: introduce MADV_PAGEOUT

2019-06-20 Thread Michal Hocko
On Thu 20-06-19 13:16:20, Minchan Kim wrote: > On Wed, Jun 19, 2019 at 03:24:50PM +0200, Michal Hocko wrote: > > On Mon 10-06-19 20:12:51, Minchan Kim wrote: > > [...] > > > +static int madvise_pageout_pte_range(pmd_t *pmd, unsigned long addr, > > > + unsigned long end, stru

Re: [PATCH v2 1/5] mm: introduce MADV_COLD

2019-06-20 Thread Michal Hocko
On Thu 20-06-19 09:06:51, Minchan Kim wrote: > On Wed, Jun 19, 2019 at 02:56:12PM +0200, Michal Hocko wrote: [...] > > Why cannot we reuse a large part of that code and differ essentially on > > the reclaim target check and action? Have you considered to consolidate > > the code to share as much as

Re: [PATCH v2] mtd: spinand: read return badly if the last page has bitflips

2019-06-20 Thread Boris Brezillon
On Thu, 20 Jun 2019 09:00:16 +0800 liaoweixiong wrote: > In case of the last page containing bitflips (ret > 0), > spinand_mtd_read() will return that number of bitflips for the last > page. But to me it looks like it should instead return max_bitflips like > it does when the last page read retur

Re: [PATCH] ARC: ARCv2: jump label: implement jump label patching

2019-06-20 Thread Peter Zijlstra
On Wed, Jun 19, 2019 at 11:55:41PM +, Vineet Gupta wrote: > FWIW I tried to avoid all of this by using the 2 byte NOP_S and B_S variants > which > ensures we can never straddle cache line so the alignment issue goes away. > There's > a nice code size reduction too - see [1] . But I get build

[PATCH 1/5] dt-bindings: i2c: at91: add new compatible

2019-06-20 Thread Eugen.Hristev
From: Eugen Hristev Add compatible for new Microchip SoC, sam9x60 Signed-off-by: Eugen Hristev --- Documentation/devicetree/bindings/i2c/i2c-at91.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-at91.txt b/Documentation/device

[PATCH 2/5] i2c: at91: add new platform support for sam9x60

2019-06-20 Thread Eugen.Hristev
From: Eugen Hristev Add new platform data support for the sam9x60 SoC Signed-off-by: Eugen Hristev --- drivers/i2c/busses/i2c-at91-core.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/i2c/busses/i2c-at91-core.c b/drivers/i2c/busses/i2c-at91-core.c index 8d55cdd..a66

[PATCH 4/5] i2c: at91: add support for advanced digital filtering

2019-06-20 Thread Eugen.Hristev
From: Eugen Hristev Add new platform data support for advanced digital filtering for i2c. The sama5d2 and sam9x60 support this feature. This digital filter allows the user to configure the maximum width of the spikes that can be filtered. Signed-off-by: Eugen Hristev --- drivers/i2c/busses/i2c

Re: [PATCH] pci/switchtec: fix stream_open.cocci warnings (fwd)

2019-06-20 Thread kirr
Bjorn Helgaas писал 2019-06-19 23:19: On Wed, Jun 19, 2019 at 04:27:52PM +, Kirill Smelkov wrote: Hi Julia, everyone. On Wed, Jun 19, 2019 at 12:28:47PM +0200, Julia Lawall wrote: > Hi, > > Can you forward this patch to the people below if you think it is > appropriate? Yes, this patch is

[PATCH 3/5] i2c: at91: add support for digital filtering

2019-06-20 Thread Eugen.Hristev
From: Eugen Hristev Add new platform data support for digital filtering for i2c. The sama5d4, sama5d2 and sam9x60 support this feature. Signed-off-by: Eugen Hristev --- drivers/i2c/busses/i2c-at91-core.c | 9 + drivers/i2c/busses/i2c-at91-master.c | 6 ++ drivers/i2c/busses/i2c-a

[PATCH 5/5] i2c: at91: add support for analog filtering

2019-06-20 Thread Eugen.Hristev
From: Eugen Hristev Add new platform data support for analog filtering for i2c. The sama5d2 and sam9x60 support this feature. Signed-off-by: Eugen Hristev --- drivers/i2c/busses/i2c-at91-core.c | 9 + drivers/i2c/busses/i2c-at91-master.c | 15 +++ drivers/i2c/busses/i2c-

Re: [PATCH] mm: mempolicy: handle vma with unmovable pages mapped correctly in mbind

2019-06-20 Thread Vlastimil Babka
On 6/19/19 8:19 PM, Yang Shi wrote: This is getting even more muddy TBH. Is there any reason that we have to handle this problem during the isolation phase rather the migration? >>> I think it was already said that if pages can't be isolated, then >>> migration phase won't process t

Re: [PATCH] mm: Generalize and rename notify_page_fault() as kprobe_page_fault()

2019-06-20 Thread Masami Hiramatsu
Hi, On Tue, 18 Jun 2019 08:56:33 -0700 Vineet Gupta wrote: > +CC Masami San, Eugeniy > > On 6/13/19 10:57 AM, Vineet Gupta wrote: > > > > On 6/13/19 3:07 AM, Anshuman Khandual wrote: > >> Questions: > >> > >> AFAICT there is no equivalent of erstwhile notify_page_fault() during page > >> faul

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

2019-06-20 Thread Jiri Pirko
Wed, Jun 19, 2019 at 08:39:38PM CEST, s...@fomichev.me wrote: >On 06/20, YueHaibing wrote: >> We build vlan on top of bonding interface, which vlan offload >> is off, bond mode is 802.3ad (LACP) and xmit_hash_policy is >> BOND_XMIT_POLICY_ENCAP34. >> >> __skb_flow_dissect() fails to get informatio

Re: [PATCH] ARC: ARCv2: jump label: implement jump label patching

2019-06-20 Thread Peter Zijlstra
On Wed, Jun 19, 2019 at 11:55:41PM +, Vineet Gupta wrote: > So we ensure a patched instruction never crosses a > cache line - using .balign 4. This causes a slight mis-optimization that all > patched instruction locations are forced to be 4 bytes aligned while ISA > allows > code to be 2 byte

Re: [PATCH] replace timeconst bc script with an sh script

2019-06-20 Thread Kieran Bingham
Hi Ethan, Thank you for the patch, On 20/06/2019 07:22, Ethan Sommer wrote: > removes the bc build dependency introduced when timeconst.pl was > replaced by timeconst.bc Does this introduction of bc cause you problems when building? Documentation/process/changes.rst states that "You will need b

Re: [PATCH V10 10/15] dt-bindings: PHY: P2U: Add Tegra194 P2U block

2019-06-20 Thread Kishon Vijay Abraham I
On 12/06/19 3:23 PM, Vidya Sagar wrote: > Add support for Tegra194 P2U (PIPE to UPHY) module block which is a glue > module instantiated one for each PCIe lane between Synopsys DesignWare core > based PCIe IP and Universal PHY block. > > Signed-off-by: Vidya Sagar > Reviewed-by: Rob Herring >

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

2019-06-20 Thread 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 of a controller, there is a P2U unit instantiated at > hardware level. This driver provid

[PATCH v5] media: docs-rst: Document m2m stateless video decoder interface

2019-06-20 Thread Alexandre Courbot
Documents the protocol that user-space should follow when communicating with stateless video decoders. The stateless video decoding API makes use of the new request and tags APIs. While it has been implemented with the Cedrus driver so far, it should probably still be considered staging for a shor

[PATCH V4 4/6] PM / QoS: Add support for MIN/MAX frequency constraints

2019-06-20 Thread Viresh Kumar
This patch introduces the min-frequency and max-frequency device constraints, which will be used by the cpufreq core to begin with. Reviewed-by: Matthias Kaehlcke Reviewed-by: Ulf Hansson Signed-off-by: Viresh Kumar --- drivers/base/power/qos.c | 111 ++- in

[PATCH V4 2/6] PM / QOS: Rename __dev_pm_qos_read_value() and dev_pm_qos_raw_read_value()

2019-06-20 Thread Viresh Kumar
dev_pm_qos_read_value() will soon need to support more constraint types (min/max frequency) and will have another argument to it, i.e. type of the constraint. While that is fine for the existing users of dev_pm_qos_read_value(), but not that optimal for the callers of __dev_pm_qos_read_value() and

[PATCH V4 3/6] PM / QOS: Pass request type to dev_pm_qos_read_value()

2019-06-20 Thread Viresh Kumar
In order to allow dev_pm_qos_read_value() to read values for different QoS requests, pass request type as a parameter to these routines. For now, it only supports resume-latency request type but will be extended to frequency limit (min/max) constraints later on. Reviewed-by: Matthias Kaehlcke Re

[PATCH V4 5/6] cpufreq: Register notifiers with the PM QoS framework

2019-06-20 Thread Viresh Kumar
This registers the notifiers for min/max frequency constraints with the PM QoS framework. The constraints are also taken into consideration in cpufreq_set_policy(). This also relocates cpufreq_policy_put_kobj() as it is required to be called from cpufreq_policy_alloc() now. reeval_frequency_limit

[PATCH V4 0/6] cpufreq: Use QoS layer to manage freq-constraints

2019-06-20 Thread Viresh Kumar
Hello, This patchset attempts to manage CPU frequency constraints using the PM QoS framework. It only does the basic stuff right now and moves the userspace constraints to use the QoS infrastructure. This is rebased over pm/linux-next and another cleanup series [1]. Todo: - Migrate all users to

Re: [PATCH v2.5 2/3] firmware: Add support for loading compressed files

2019-06-20 Thread Takashi Iwai
On Thu, 20 Jun 2019 01:26:47 +0200, Luis Chamberlain wrote: > > Sorry for the late review... Ah! No problem, thanks for review. > On Tue, Jun 11, 2019 at 02:26:25PM +0200, Takashi Iwai wrote: > > @@ -354,7 +454,12 @@ module_param_string(path, fw_path_para, > > sizeof(fw_path_para), 0644); > >

[PATCH V4 1/6] PM / QOS: Pass request type to dev_pm_qos_{add|remove}_notifier()

2019-06-20 Thread Viresh Kumar
In order to use the same set of routines to register notifiers for different request types, update the existing dev_pm_qos_{add|remove}_notifier() routines with an additional parameter: request-type. For now, it only supports resume-latency request type but will be extended to frequency limit (min

[PATCH V4 6/6] cpufreq: Add QoS requests for userspace constraints

2019-06-20 Thread Viresh Kumar
This implements QoS requests to manage userspace configuration of min and max frequency. Reviewed-by: Matthias Kaehlcke Reviewed-by: Ulf Hansson Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 87 --- include/linux/cpufreq.h | 8 +--- 2 files

[PATCH V4] regulator: da9061/62: Adjust LDO voltage selection minimum value

2019-06-20 Thread Steve Twiss
From: Felix Riemann According to the DA9061 and DA9062 datasheets the LDO voltage selection registers have a lower value of 0x02. This applies to voltage registers VLDO1_A, VLDO2_A, VLDO3_A and VLDO4_A. This linear offset of 0x02 was previously not observed by the driver, causing the LDO output v

Re: [PATCH RFC 0/3] Automatically choose a bigger font for high resolution screens

2019-06-20 Thread Takashi Iwai
On Thu, 20 Jun 2019 08:28:21 +0200, Greg Kroah-Hartman wrote: > > On Tue, Jun 18, 2019 at 10:34:22PM +0200, Takashi Iwai wrote: > > Hi, > > > > this is an RFC patch for automatically selecting a bigger font for > > high resolution monitors if available. Although we recently got a > > 16x32 sized

Re: [PATCH v2 2/5] net: macb: add support for sgmii MAC-PHY interface

2019-06-20 Thread Russell King - ARM Linux admin
On Thu, Jun 20, 2019 at 05:56:32AM +, Parshuram Raju Thombare wrote: > For in band mode, I see two places to config MAC speed > and duplex mode, 1. mac_link_state 2. mac_link_up. In mac_link_up, though > state > read from mac_link_state is passed, it is only used for printing log and > updati

Re: [PATCH] arm64: defconfig: update and enable CONFIG_RANDOMIZE_BASE

2019-06-20 Thread Will Deacon
Hi Nick, On Wed, Jun 19, 2019 at 05:32:42PM -0700, Nick Desaulniers wrote: > Generated via: > $ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make defconfig > $ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make menuconfig > > $ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make savedefconfig > $ mv de

Re: SPDX conversion under scripts/dtc/ of Linux Kernel

2019-06-20 Thread David Gibson
On Wed, Jun 19, 2019 at 09:39:13AM -0600, Rob Herring wrote: > On Wed, Jun 19, 2019 at 6:59 AM Greg Kroah-Hartman > wrote: > > > > On Wed, Jun 19, 2019 at 07:23:19PM +0900, Masahiro Yamada wrote: > > > Hi. > > > > > > In this development cycle of Linux kernel, > > > lots of files were converted to

Re: [PATCH] ARC: ARCv2: jump label: implement jump label patching

2019-06-20 Thread Peter Zijlstra
On Wed, Jun 19, 2019 at 11:55:41PM +, Vineet Gupta wrote: > On 6/19/19 1:12 AM, Peter Zijlstra wrote: > >>> +static inline u32 arc_gen_nop(void) > >>> +{ > >>> + /* 1x 32bit NOP in middle endian */ > > I dare not ask... > > :-) The public PRM is being worked on for *real* so this will be reme

Re: [PATCH 1/2] i2c: aspeed: allow to customize base clock divisor

2019-06-20 Thread Tao Ren
On 6/20/19 12:29 AM, Ryan Chen wrote: > Hello Tao, > Our recommend about clk divider setting is follow the datasheet clock > setting table for clock divisor. > > Ryan Thanks Ryan for the response. Could you also share some recommendations/hints on how to solve the intermittent i2c tran

Re: cifs: Fix tracing build error with O=

2019-06-20 Thread Herbert Xu
On Thu, Jun 20, 2019 at 06:54:42AM +, yamada.masah...@socionext.com wrote: > > I cannot reproduce the build error on the latest Linus tree. > > > $ make O=build allmodconfig fs/cifs/ > > perfectly works for me. I was trying to build just the fs/cifs directory with make O=build M=fs

RE: [PATCH 1/2] i2c: aspeed: allow to customize base clock divisor

2019-06-20 Thread Ryan Chen
Hello Tao, Our recommend about clk divider setting is follow the datasheet clock setting table for clock divisor. Ryan -Original Message- From: Linux-aspeed [mailto:linux-aspeed-bounces+ryan_chen=aspeedtech@lists.ozlabs.org] On Behalf Of Tao Ren Sent: Thursday

RE: [PATCH 1/2] i2c: aspeed: allow to customize base clock divisor

2019-06-20 Thread Ryan Chen
Hello Tao, Let me more clear. When you set (3, 15, 14) the device sometimes response nack. but when you set (4, 7, 7), the device always ack. Am I right? Ryan -Original Message- From: Tao Ren [mailto:tao...@fb.com] Sent: Thursday, June 20, 2019 3:57 PM To: Ryan Chen ; B

Re: [PATCH][V2] x86/apic: fix integer overflow on 10 bit left shift of cpu_khz

2019-06-20 Thread Dan Carpenter
On Wed, Jun 19, 2019 at 07:14:46PM +0100, Colin King wrote: > From: Colin Ian King > > The left shift of unsigned int cpu_khz will overflow for large values > of cpu_khz, so cast it to a long long before shifting it to avoid > overvlow. For example, this can happen when cpu_khz is 4194305 (just

Re: [PATCH] staging: rtl8723bs: hal: hal_btcoex: Remove variables pHalData and pU1Tmp

2019-06-20 Thread Dan Carpenter
Looks good. Reviewed-by: Dan Carpenter regards, dan carpenter

selftests: bpf: test_libbpf.sh failed at file test_l4lb.o

2019-06-20 Thread Naresh Kamboju
selftests: bpf test_libbpf.sh failed running Linux -next kernel 20190618 and 20190619. Here is the log from x86_64, # selftests bpf test_libbpf.sh bpf: test_libbpf.sh_ # # [0] libbpf BTF is required, but is missing or corrupted. libbpf: BTF_is # # test_libbpf failed at file test_l4lb.o failed: at_

Re: [PATCH v2.5 2/3] firmware: Add support for loading compressed files

2019-06-20 Thread Greg Kroah-Hartman
On Thu, Jun 20, 2019 at 09:36:03AM +0200, Takashi Iwai wrote: > On Thu, 20 Jun 2019 01:26:47 +0200, > Luis Chamberlain wrote: > > > > Sorry for the late review... Ah! > > No problem, thanks for review. > > > On Tue, Jun 11, 2019 at 02:26:25PM +0200, Takashi Iwai wrote: > > > @@ -354,7 +454,12 @@

Re: [PATCH v12 00/31] Speculative page faults

2019-06-20 Thread Haiyan Song
Hi Laurent, I downloaded your script and run it on Intel 2s skylake platform with spf-v12 patch serials. Here attached the output results of this script. The following comparison result is statistics from the script outputs. a). Enable THP SPF_0

[PATCH 1/3] slimbus: fix kerneldoc comments

2019-06-20 Thread Srinivas Kandagatla
From: Jonathan Corbet The kerneldoc comments in drivers/slimbus/stream.c were not properly formatted, leading to a distinctly unsatisfying "no structured comments found" warning in the docs build. Sprinkle some asterisks around so that the comments will be properly recognized. Signed-off-by: Jo

[PATCH 2/3] slimbus: remove redundant dev_err message

2019-06-20 Thread Srinivas Kandagatla
From: Ding Xiang devm_ioremap_resource already contains error message, so remove the redundant dev_err message Signed-off-by: Ding Xiang Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ctrl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/slimbus/qc

Re: [PATCH v2 2/5] nvme: rename "pci" operations to "mmio"

2019-06-20 Thread Daniel Drake
On Thu, Jun 20, 2019 at 2:11 PM Christoph Hellwig wrote: > The Linux NVMe driver will deal with NVMe as specified plus whatever > minor tweaks we'll need for small bugs. Hiding it behind an AHCI > device is completely out of scope and will not be accepted. Do you have any new suggestions for alt

[PATCH 3/3] slimbus: core: generate uevent for non-dt only

2019-06-20 Thread Srinivas Kandagatla
Rely on MODULE_ALIAS() for automatic kernel module loading, rather than basing it on the OF compatible. This ensures that drivers without of_device_id table, such as wcd9335, will be automatically loaded. Signed-off-by: Srinivas Kandagatla [bjorn: Added commit message] Signed-off-by: Bjorn Anders

Re: [PATCH 1/5] media: venus: Add codec data table

2019-06-20 Thread amasule
Hi Stan, On 2019-06-17 14:07, Stanimir Varbanov wrote: Hi Aniket, On 6/11/19 9:05 AM, Aniket Masule wrote: Add vpp cycles for for different types of codec It indicates the cycles required by video hardware to process each macroblock. Signed-off-by: Aniket Masule --- drivers/media/platform/q

[PATCH 0/3] drivers: slimbus: patches for 5.3

2019-06-20 Thread Srinivas Kandagatla
Hi Greg, Here are some slimbus patches that are good to go in 5.3 One of them is doc fix and other one is redundant message and the last one is fix for module autoloading which have dt entry. Thanks, srini Ding Xiang (1): slimbus: remove redundant dev_err message Jonathan Corbet (1): slimb

[PATCH] usb: dwc3: remove unused @lock member of dwc3_ep struct

2019-06-20 Thread Chunfeng Yun
The member @lock of dwc2_ep struct is only initialized, and not used elsewhere, so remove it. Signed-off-by: Chunfeng Yun --- drivers/usb/dwc3/core.h | 2 -- drivers/usb/dwc3/gadget.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index

Re: [PATCH RFC 0/3] Automatically choose a bigger font for high resolution screens

2019-06-20 Thread Greg Kroah-Hartman
On Thu, Jun 20, 2019 at 09:43:21AM +0200, Takashi Iwai wrote: > On Thu, 20 Jun 2019 08:28:21 +0200, > Greg Kroah-Hartman wrote: > > > > On Tue, Jun 18, 2019 at 10:34:22PM +0200, Takashi Iwai wrote: > > > Hi, > > > > > > this is an RFC patch for automatically selecting a bigger font for > > > high

Re: [PATCH 2/5] media: venus: Initialize codec data

2019-06-20 Thread amasule
Hi Stan, On 2019-06-17 14:07, Stanimir Varbanov wrote: Hi Aniket, On 6/11/19 9:05 AM, Aniket Masule wrote: Initialize the codec data with core resources. Please squash this patch in 1/5 patch. Yes Stan. Signed-off-by: Aniket Masule --- drivers/media/platform/qcom/venus/helpers.c | 30

RE: [PATCH 3/3] mmc: sdhci-of-arasan: Add support for ZynqMP Platform Tap Delays Setup

2019-06-20 Thread Manish Narani
Hi Uffe, > -Original Message- > From: Ulf Hansson > Sent: Wednesday, June 19, 2019 7:09 PM > To: Manish Narani > Cc: Michal Simek ; Rob Herring ; > Mark Rutland ; Adrian Hunter > ; Rajan Vaja ; Jolly Shah > ; Nava kishore Manne ; Olof > Johansson ; linux-...@vger.kernel.org; DTML > ; Li

Re: [PATCH 1/2] i2c: aspeed: allow to customize base clock divisor

2019-06-20 Thread Tao Ren
On 6/20/19 1:01 AM, Ryan Chen wrote: > Hello Tao, > Let me more clear. When you set (3, 15, 14) the device sometimes > response nack. > but when you set (4, 7, 7), the device always ack. Am I right? > Ryan Hello Ryan, It's correct. We have seen the problem on 2 Facebook BMC platfor

Re: [PATCH] staging: vt6656: fix indentation on break statement

2019-06-20 Thread Quentin Deslandes
On Wed, Jun 19, 2019 at 05:54:05PM +0100, Colin King wrote: > From: Colin Ian King > > The break statement is indented one level too deep, fix this. > > Signed-off-by: Colin Ian King > --- > drivers/staging/vt6656/card.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a

Re: [PATCH] arm64: defconfig: update and enable CONFIG_RANDOMIZE_BASE

2019-06-20 Thread Ard Biesheuvel
On Thu, 20 Jun 2019 at 09:47, Will Deacon wrote: > > Hi Nick, > > On Wed, Jun 19, 2019 at 05:32:42PM -0700, Nick Desaulniers wrote: > > Generated via: > > $ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make defconfig > > $ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make menuconfig > > > > $ ARCH=

Re: [PATCH] KVM: vmx: Fix the broken usage of vmx_xsaves_supported

2019-06-20 Thread Paolo Bonzini
On 20/06/19 08:46, Xiaoyao Li wrote: >> >> It depends on whether or not processors support the 1-setting instead >> of “enable XSAVES/XRSTORS” is 1 in VM-exection control field. Anyway, > > Yes, whether this field exist or not depends on whether processors > support the 1-setting. > > But if "ena

Re: [PATCH] usb: dwc3: remove unused @lock member of dwc3_ep struct

2019-06-20 Thread Felipe Balbi
Hi, Chunfeng Yun writes: > The member @lock of dwc2_ep struct is only initialized, > and not used elsewhere, so remove it. > > Signed-off-by: Chunfeng Yun > --- > drivers/usb/dwc3/core.h | 2 -- > drivers/usb/dwc3/gadget.c | 2 -- > 2 files changed, 4 deletions(-) > > diff --git a/drivers/

Re: [PATCH v2.5 2/3] firmware: Add support for loading compressed files

2019-06-20 Thread Takashi Iwai
On Thu, 20 Jun 2019 10:10:03 +0200, Greg Kroah-Hartman wrote: > > On Thu, Jun 20, 2019 at 09:36:03AM +0200, Takashi Iwai wrote: > > On Thu, 20 Jun 2019 01:26:47 +0200, > > Luis Chamberlain wrote: > > > > > > Sorry for the late review... Ah! > > > > No problem, thanks for review. > > > > > On Tu

[PATCH] Revert "x86/module: Detect and skip invalid relocations"

2019-06-20 Thread Cheng Jian
This reverts commit eda9cec4c9a12208a6f69fbe68f72a6311d50032. Since commit (eda9cec4c9a1 'x86/module: Detect and skip invalid relocations') add some sanity check in apply_relocate_add, borke re-insmod a kernel module which has been patched before, The relocation informations of the livepatch modu

RE: [PATCH 3/3] mmc: sdhci-of-arasan: Add support for ZynqMP Platform Tap Delays Setup

2019-06-20 Thread Manish Narani
Hi Uffe, > -Original Message- > From: Ulf Hansson > Sent: Wednesday, June 19, 2019 8:11 PM > To: Manish Narani > Cc: Michal Simek ; Rob Herring ; > Mark Rutland ; Adrian Hunter > ; Rajan Vaja ; Jolly Shah > ; Nava kishore Manne ; Olof > Johansson ; linux-...@vger.kernel.org; DTML > ; Li

Re: [PATCH] usb: dwc3: remove unused @lock member of dwc3_ep struct

2019-06-20 Thread Chunfeng Yun
Hi, On Thu, 2019-06-20 at 11:19 +0300, Felipe Balbi wrote: > Hi, > > Chunfeng Yun writes: > > > The member @lock of dwc2_ep struct is only initialized, > > and not used elsewhere, so remove it. Sorry, I need send v2 to fix typo of dwc2_ep > > > > Signed-off-by: Chunfeng Yun > > --- > > driver

[v2 PATCH] usb: dwc3: remove unused @lock member of dwc3_ep struct

2019-06-20 Thread Chunfeng Yun
The member @lock of dwc3_ep struct is only initialized, and not used elsewhere, so remove it. Signed-off-by: Chunfeng Yun --- v2: fix typo of dwc3_ep in commit log --- drivers/usb/dwc3/core.h | 2 -- drivers/usb/dwc3/gadget.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/usb/dw

Re: [PATCH] KVM: vmx: Fix the broken usage of vmx_xsaves_supported

2019-06-20 Thread Wanpeng Li
On Thu, 20 Jun 2019 at 16:17, Paolo Bonzini wrote: > > On 20/06/19 08:46, Xiaoyao Li wrote: > >> > >> It depends on whether or not processors support the 1-setting instead > >> of “enable XSAVES/XRSTORS” is 1 in VM-exection control field. Anyway, > > > > Yes, whether this field exist or not depend

Re: [PATCH 3/5] i2c: at91: add support for digital filtering

2019-06-20 Thread Alexandre Belloni
On 20/06/2019 07:16:13+, eugen.hris...@microchip.com wrote: > From: Eugen Hristev > > Add new platform data support for digital filtering for i2c. > The sama5d4, sama5d2 and sam9x60 support this feature. > > Signed-off-by: Eugen Hristev > --- > drivers/i2c/busses/i2c-at91-core.c | 9

Re: [PATCH 3/5] media: venus: Update clock scaling

2019-06-20 Thread amasule
Hi Stan, On 2019-06-17 14:28, Stanimir Varbanov wrote: Hi Aniket, On 6/11/19 9:05 AM, Aniket Masule wrote: Current clock scaling calculations are same for vpu4 and previous versions. For vpu4, Clock scaling calculations are updated with cycles/mb. This helps in getting precise clock required.

Re: [PATCH] soc: aspeed: fix probe error handling

2019-06-20 Thread Joel Stanley
On Wed, 19 Jun 2019 at 12:56, Arnd Bergmann wrote: > > gcc warns that a mising "flash" phandle node leads to undefined > behavior later: > > drivers/soc/aspeed/aspeed-lpc-ctrl.c: In function 'aspeed_lpc_ctrl_probe': > drivers/soc/aspeed/aspeed-lpc-ctrl.c:201:18: error: '*((void *)&resm+8)' may >

Re: [PATCH] Revert "x86/module: Detect and skip invalid relocations"

2019-06-20 Thread Miroslav Benes
On Thu, 20 Jun 2019, Cheng Jian wrote: > This reverts commit eda9cec4c9a12208a6f69fbe68f72a6311d50032. > > Since commit (eda9cec4c9a1 'x86/module: Detect and skip invalid > relocations') add some sanity check in apply_relocate_add, borke > re-insmod a kernel module which has been patched before,

Re: [PATCH v2 1/1] watchdog: atmel: atmel-sama5d4-wdt: Disable watchdog on system suspend

2019-06-20 Thread Alexandre Belloni
On 14/06/2019 12:53:22+, Ken Sloat wrote: > From: Ken Sloat > > Currently, the atmel-sama5d4-wdt continues to run after system suspend. > Unless the system resumes within the watchdog timeout period so the > userspace can kick it, the system will be reset. This change disables > the watchdog

Re: [PATCH v6 1/2] arm64: tegra: add ACONNECT, ADMA and AGIC nodes

2019-06-20 Thread Jon Hunter
On 19/06/2019 12:51, Sameer Pujar wrote: > Add DT nodes for following devices on Tegra186 and Tegra194 > * ACONNECT > * ADMA > * AGIC > > Signed-off-by: Sameer Pujar > --- > changes in current revision >* updated ranges property for aconnect >* renamed agic node > > arch/arm64/boo

Re: [PATCH] KVM: vmx: Fix the broken usage of vmx_xsaves_supported

2019-06-20 Thread Paolo Bonzini
On 20/06/19 10:27, Wanpeng Li wrote: > Agreed, in addition, guest can enable/disable cpuid bits by grub > parameter Through what path? Guest can disable X86_FEATURE_* but that's purely a Linux feature, the few CPUID bits that can change at runtime already call kvm_x86_ops->cpuid_update(). Paolo

Re: [PATCH v6 2/2] arm64: tegra: enable ACONNECT, ADMA and AGIC

2019-06-20 Thread Jon Hunter
On 19/06/2019 12:51, Sameer Pujar wrote: > Enable ACONNECT, ADMA and AGIC devices for following platforms > * Jetson TX2 > * Jetson Xavier > > Verified driver probe path and devices get registered fine. > > Signed-off-by: Sameer Pujar > --- > changes in current revision >* renamed agi

Re: [PATCH v2] dmaengine: tegra-apb: Support per-burst residue granularity

2019-06-20 Thread Jon Hunter
On 18/06/2019 12:50, Dmitry Osipenko wrote: > Tegra's APB DMA engine updates words counter after each transferred burst > of data, hence it can report transfer's residual with more fidelity which > may be required in cases like audio playback. In particular this fixes > audio stuttering during pl

Re: [PATCH v2 4/5] mm: introduce MADV_PAGEOUT

2019-06-20 Thread Minchan Kim
On Thu, Jun 20, 2019 at 09:04:44AM +0200, Michal Hocko wrote: > On Thu 20-06-19 13:16:20, Minchan Kim wrote: > > On Wed, Jun 19, 2019 at 03:24:50PM +0200, Michal Hocko wrote: > > > On Mon 10-06-19 20:12:51, Minchan Kim wrote: > > > [...] > > > > +static int madvise_pageout_pte_range(pmd_t *pmd, uns

Re: [PATCH v2 1/5] mm: introduce MADV_COLD

2019-06-20 Thread Minchan Kim
On Thu, Jun 20, 2019 at 09:08:54AM +0200, Michal Hocko wrote: > On Thu 20-06-19 09:06:51, Minchan Kim wrote: > > On Wed, Jun 19, 2019 at 02:56:12PM +0200, Michal Hocko wrote: > [...] > > > Why cannot we reuse a large part of that code and differ essentially on > > > the reclaim target check and act

Re: [PATCH] media: Clarify the meaning of file descriptors in VIDIOC_DQBUF

2019-06-20 Thread Sakari Ailus
On Wed, Jun 12, 2019 at 06:36:48PM +0900, Tomasz Figa wrote: > When the application calls VIDIOC_DQBUF with the DMABUF memory type, the > v4l2_buffer structure (or v4l2_plane structures) are filled with DMA-buf > file descriptors. However, the current documentation does not explain > whether those

Re: [PATCH 1/3] slimbus: fix kerneldoc comments

2019-06-20 Thread Greg KH
On Thu, Jun 20, 2019 at 09:11:27AM +0100, Srinivas Kandagatla wrote: > From: Jonathan Corbet > > The kerneldoc comments in drivers/slimbus/stream.c were not properly > formatted, leading to a distinctly unsatisfying "no structured comments > found" warning in the docs build. Sprinkle some asteri

Re: [PATCH 1/3] slimbus: fix kerneldoc comments

2019-06-20 Thread Srinivas Kandagatla
On 20/06/2019 09:46, Greg KH wrote: On Thu, Jun 20, 2019 at 09:11:27AM +0100, Srinivas Kandagatla wrote: From: Jonathan Corbet The kerneldoc comments in drivers/slimbus/stream.c were not properly formatted, leading to a distinctly unsatisfying "no structured comments found" warning in the d

[PATCH v5 3/3] KVM: vmx: handle vm-exit for UMWAIT and TPAUSE

2019-06-20 Thread Tao Xu
As the latest Intel 64 and IA-32 Architectures Software Developer's Manual, UMWAIT and TPAUSE instructions cause a VM exit if the RDTSC exiting and enable user wait and pause VM-execution controls are both 1. This patch is to handle the vm-exit for UMWAIT and TPAUSE as this should never happen. C

[PATCH v5 0/3] KVM: x86: Enable user wait instructions

2019-06-20 Thread Tao Xu
UMONITOR, UMWAIT and TPAUSE are a set of user wait instructions. UMONITOR arms address monitoring hardware using an address. A store to an address within the specified address range triggers the monitoring hardware to wake up the processor waiting in umwait. UMWAIT instructs the processor to ente

[PATCH v5 1/3] KVM: x86: add support for user wait instructions

2019-06-20 Thread Tao Xu
UMONITOR, UMWAIT and TPAUSE are a set of user wait instructions. This patch adds support for user wait instructions in KVM. Availability of the user wait instructions is indicated by the presence of the CPUID feature flag WAITPKG CPUID.0x07.0x0:ECX[5]. User wait instructions may be executed at any

[PATCH v5 2/3] KVM: vmx: Emulate MSR IA32_UMWAIT_CONTROL

2019-06-20 Thread Tao Xu
UMWAIT and TPAUSE instructions use IA32_UMWAIT_CONTROL at MSR index E1H to determines the maximum time in TSC-quanta that the processor can reside in either C0.1 or C0.2. This patch emulates MSR IA32_UMWAIT_CONTROL in guest and differentiate IA32_UMWAIT_CONTROL between host and guest. The variable

Re: [PATCH v2 0/3] Add support of RGB565, YUV and JPEG to MIPID02 bridge

2019-06-20 Thread Hans Verkuil
On 6/17/19 3:43 PM, Hugues Fruchet wrote: > Add support of RGB565, YUV and JPEG to MIPID02 bridge. > > === > = history = > === > version 2: > - Link frequency could not be computed from pixel rate for JPEG, > remove JPEG case in bpp_from_code(). > > version 1: > - Initial

Re: [PATCH] usb: dwc3: remove unused @lock member of dwc3_ep struct

2019-06-20 Thread Felipe Balbi
Hi, Chunfeng Yun writes: > Hi, > On Thu, 2019-06-20 at 11:19 +0300, Felipe Balbi wrote: >> Hi, >> >> Chunfeng Yun writes: >> >> > The member @lock of dwc2_ep struct is only initialized, >> > and not used elsewhere, so remove it. > Sorry, I need send v2 to fix typo of dwc2_ep I fixed when app

Re: [PATCH v11 2/2] phy: Add driver for mixel mipi dphy found on NXP's i.MX8 SoCs

2019-06-20 Thread Kishon Vijay Abraham I
Hi, On 24/05/19 9:31 PM, Kishon Vijay Abraham I wrote: > Hi, > > On 24/05/19 5:53 PM, Fabio Estevam wrote: >> Hi Kishon, >> >> On Sun, May 12, 2019 at 7:49 AM Guido Günther wrote: >>> >>> This adds support for the Mixel DPHY as found on i.MX8 CPUs but since >>> this is an IP core it will likely

Re: [PATCH 2/5] clocksource/drivers/timer-microchip-pit64b: add Microchip PIT64B support

2019-06-20 Thread Daniel Lezcano
Hi Claudiu, sorry for the late reply. On 13/06/2019 16:12, claudiu.bez...@microchip.com wrote: > Hi Daniel, > > On 31.05.2019 13:41, Daniel Lezcano wrote: >> >> Hi Claudiu, >> >> >> On 30/05/2019 09:46, claudiu.bez...@microchip.com wrote: >>> Hi Daniel, >>> >>> Taking into account the discuss

[PATCH net-next 06/11] net: hns3: modify handling of out of memory in hclge_err.c

2019-06-20 Thread Huazhong Tan
From: Weihang Li Users should be informed if HNS driver failed to allocate memory for descriptor when handling hw errors. This patch solve above issues. Signed-off-by: Weihang Li Signed-off-by: Peng Li Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 6

[PATCH net-next 04/11] net: hns3: restore the MAC autoneg state after reset

2019-06-20 Thread Huazhong Tan
From: Jian Shen When doing global reset, the MAC autoneg state of fibre port is set to default, which may cause user configuration lost. This patch fixes it by restore the MAC autoneg state after reset. Fixes: 22f48e24a23d ("net: hns3: add autoneg and change speed support for fibre port") Signe

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

2019-06-20 Thread Huazhong Tan
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. [patch 4/11] restores the MAC autoneg state after reset. [patch 5/11 - 8/11]

Re: [PATCH] mlxsw: spectrum_ptp: fix 32-bit build

2019-06-20 Thread Sergei Shtylyov
Hello! On 19.06.2019 16:31, Arnd Bergmann wrote: On 32-bit architectures, we cannot easily device 64-bit numbers: s/device/divide/? ERROR: "__aeabi_uldivmod" [drivers/net/ethernet/mellanox/mlxsw/mlxsw_spectrum.ko] undefined! Use do_div() to annotate the fact that we know this is an

[PATCH net-next 10/11] net: hns3: fixes wrong place enabling ROCE HW error when loading

2019-06-20 Thread Huazhong Tan
The ROCE HW errors should only be enabled when initializing ROCE's client, the current code enable it no matter initializing NIC or ROCE client. So this patch fixes it. Fixes: 00ea6e5fda9d ("net: hns3: delay and separate enabling of NIC and ROCE HW errors") Signed-off-by: Huazhong Tan --- driv

[PATCH net-next 03/11] net: hns3: sync VLAN filter entries when kill VLAN ID failed

2019-06-20 Thread Huazhong Tan
From: Jian Shen When HW is resetting, firmware is unable to handle commands from driver. So if remove VLAN device from stack at this time, it will fail to remove the VLAN ID from HW VLAN filter, then the VLAN filter status is unsynced with stack. This patch fixes it by recording the VLAN ID dele

[PATCH net-next 05/11] net: hns3: code optimizaition of hclge_handle_hw_ras_error()

2019-06-20 Thread Huazhong Tan
From: Weihang Li This patch optimizes hclge_handle_hw_ras_error() to make the code logic clearer. 1. If there was no NIC or Roce RAS when we read HCLGE_RAS_PF_OTHER_INT_STS_REG, we return directly. 2. Because NIC and Roce RAS may occurs at the same time, so we should check value of revision

Re: [RESEND PATCH] block: move tag field position in struct request

2019-06-20 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH net-next 01/11] net: hns3: fix selftest fail issue for fibre port with autoneg on

2019-06-20 Thread Huazhong Tan
From: Jian Shen When doing selftest for fibre port with autoneg on, the MAC speed may be incorrect, which may cause the selftest failed. This patch fixes it by halting autoneg during the selftest. Fixes: 22f48e24a23d ("net: hns3: add autoneg and change speed support for fibre port") Signed-off-

[PATCH net-next 07/11] net: hns3: remove override_pci_need_reset

2019-06-20 Thread Huazhong Tan
From: Weihang Li We add override_pci_need_reset to prevent redundant and unwanted PF resets if a RAS error occurs in commit 69b51bbb03f7 ("net: hns3: fix to stop multiple HNS reset due to the AER changes"). Now in HNS3 driver, we use hw_err_reset_req to record reset level that we need to recover

[PATCH net-next 08/11] net: hns3: add check to number of buffer descriptors

2019-06-20 Thread Huazhong Tan
From: Weihang Li This patch adds check to number of bds before we allocate memory for them. If we get an invalid bd num in some cases, it will cause a memory overflow. Signed-off-by: Weihang Li Signed-off-by: Huazhong Tan --- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 86 +++

[PATCH net-next 02/11] net: hns3: remove VF VLAN filter entry inexistent warning print

2019-06-20 Thread Huazhong Tan
From: Jian Shen For VF VLAN filter is disabled when VF VLAN table is full, then the new VLAN ID won't be added into VF VLAN table, it will always print fail log when remove these VLAN IDs. If user has added too many VLANs, it will cause massive verbose print logs. Signed-off-by: Jian Shen Signe

[PATCH net-next 11/11] net: hns3: add exception handling when enable NIC HW error interrupts

2019-06-20 Thread Huazhong Tan
From: Weihang Li If we failed to enable NIC HW error interrupts during client initialization in some cases, we should do exception handling to clear flags and free the resources. Fixes: 00ea6e5fda9d ("net: hns3: delay and separate enabling of NIC and ROCE HW errors") Signed-off-by: Weihang Li

Re: [PATCH] KVM: vmx: Fix the broken usage of vmx_xsaves_supported

2019-06-20 Thread Xiaoyao Li
On 6/20/2019 4:17 PM, Paolo Bonzini wrote: On 20/06/19 08:46, Xiaoyao Li wrote: It depends on whether or not processors support the 1-setting instead of “enable XSAVES/XRSTORS” is 1 in VM-exection control field. Anyway, Yes, whether this field exist or not depends on whether processors suppor

  1   2   3   4   5   6   7   8   9   10   >