[PATCH v4 2/3] mmc: host: sdhci: Add request_done ops for struct sdhci_ops

2019-10-21 Thread Baolin Wang
Add request_done ops for struct sdhci_ops as a preparation in case some host controllers have different method to complete one request, such as supporting request completion of MMC software queue. Signed-off-by: Baolin Wang --- drivers/mmc/host/sdhci.c | 12 ++--

[PATCH v4 1/3] mmc: Add MMC host software queue support

2019-10-21 Thread Baolin Wang
Now the MMC read/write stack will always wait for previous request is completed by mmc_blk_rw_wait(), before sending a new request to hardware, or queue a work to complete request, that will bring context switching overhead, especially for high I/O per second rates, to affect the IO performance.

[PATCH v4 2/4] perf/x86: install platform specific sync_task_ctx adapter

2019-10-21 Thread Alexey Budankov
Bridge perf core and x86 sync_task_ctx() method calls. Signed-off-by: Alexey Budankov --- arch/x86/events/core.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c index 7b21455d7504..f51bddf5f48c 100644 --- a/arch/x86/events/core.c +++

Re: [RFC][PATCH 2/3] usb: roles: Add usb role switch notifier.

2019-10-21 Thread John Stultz
On Fri, Oct 18, 2019 at 2:05 PM Hans de Goede wrote: > On 18-10-2019 22:37, John Stultz wrote: > > At least, with the current driver, the functionality is working as > > expected: remove the USB-C cable, and devices connected to the hub > > power on, plug something into the USB-C port and devices

[PATCH v4 0/3] Add MMC software queue support

2019-10-21 Thread Baolin Wang
Hi All, Now the MMC read/write stack will always wait for previous request is completed by mmc_blk_rw_wait(), before sending a new request to hardware, or queue a work to complete request, that will bring context switching overhead, especially for high I/O per second rates, to affect the IO

[PATCH v4 0/5] add dsa switch support for ar9331

2019-10-21 Thread Oleksij Rempel
changes v4: - ag71xx: ag71xx_mac_validate fix always false comparison (&& -> ||) - tag_ar9331: use skb_pull_rcsum() instead of skb_pull(). - tag_ar9331: drop skb_set_mac_header() changes v3: - ag71xx: ag71xx_mac_config: ignore MLO_AN_INBAND mode. It is not supported by HW and SW. - ag71xx:

[PATCH v4 1/4] perf/core,x86: introduce sync_task_ctx() method at struct pmu

2019-10-21 Thread Alexey Budankov
Declare sync_task_ctx() methods at the generic and x86 specific pmu types to bridge calls to platform specific pmu code on optimized context switch path between equivalent task perf event contexts. Signed-off-by: Alexey Budankov --- Changes in v4: - marked sync_task_ctx() as the optional in

[PATCH v4 1/5] net: ag71xx: port to phylink

2019-10-21 Thread Oleksij Rempel
The port to phylink was done as close as possible to initial functionality. Theoretically this HW can support flow control, practically seems to be not enough to just enable it. So, more work should be done. Signed-off-by: Oleksij Rempel --- drivers/net/ethernet/atheros/Kconfig | 2 +-

[PATCH v4 5/5] net: dsa: add support for Atheros AR9331 build-in switch

2019-10-21 Thread Oleksij Rempel
Provide basic support for Atheros AR9331 build-in switch. So far it works as port multiplexer without any hardware offloading support. Signed-off-by: Oleksij Rempel --- drivers/net/dsa/Kconfig | 2 + drivers/net/dsa/Makefile | 1 + drivers/net/dsa/qca/Kconfig | 11 +

[PATCH v4 0/5] add dsa switch support for ar9331

2019-10-21 Thread Oleksij Rempel
changes v4: - ag71xx: ag71xx_mac_validate fix always false comparison (&& -> ||) - tag_ar9331: use skb_pull_rcsum() instead of skb_pull(). - tag_ar9331: drop skb_set_mac_header() changes v3: - ag71xx: ag71xx_mac_config: ignore MLO_AN_INBAND mode. It is not supported by HW and SW. - ag71xx:

[PATCH v4 4/5] net: dsa: add support for Atheros AR9331 TAG format

2019-10-21 Thread Oleksij Rempel
Add support for tag format used in Atheros AR9331 build-in switch. Signed-off-by: Oleksij Rempel --- include/net/dsa.h| 2 + net/dsa/Kconfig | 6 +++ net/dsa/Makefile | 1 + net/dsa/tag_ar9331.c | 96 4 files changed, 105

[PATCH v4 2/5] dt-bindings: net: dsa: qca,ar9331 switch documentation

2019-10-21 Thread Oleksij Rempel
Atheros AR9331 has built-in 5 port switch. The switch can be configured to use all 5 or 4 ports. One of built-in PHYs can be used by first built-in ethernet controller or to be used directly by the switch over second ethernet controller. Signed-off-by: Oleksij Rempel ---

[PATCH v4 3/5] MIPS: ath79: ar9331: add ar9331-switch node

2019-10-21 Thread Oleksij Rempel
Add switch node supported by dsa ar9331 driver. Signed-off-by: Oleksij Rempel --- arch/mips/boot/dts/qca/ar9331.dtsi | 127 ++- arch/mips/boot/dts/qca/ar9331_dpt_module.dts | 13 ++ 2 files changed, 139 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v4] perf record: Add support for limit perf output file size

2019-10-21 Thread Jiwei Sun
Hi Jirka, On 2019e9410f21f% 21:41, Jiri Olsa wrote: > On Wed, Sep 25, 2019 at 03:06:37PM +0800, Jiwei Sun wrote: > > SNIP > >> SEE ALSO >> >> linkperf:perf-stat[1], linkperf:perf-list[1] >> diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c >> index

RE: [PATCH net-next 4/4] r8152: support firmware of PHY NC for RTL8153A

2019-10-21 Thread Hayes Wang
Jakub Kicinski [mailto:jakub.kicin...@netronome.com] > Sent: Tuesday, October 22, 2019 11:36 AM > To: Hayes Wang > Cc: net...@vger.kernel.org; nic_swsd; linux-kernel@vger.kernel.org; > pmal...@chromium.org; grund...@chromium.org > Subject: Re: [PATCH net-next 4/4] r8152: support firmware of PHY NC

Re: [PATCH 14/18] arm64: efi: restore x18 if it was corrupted

2019-10-21 Thread Ard Biesheuvel
On Tue, 22 Oct 2019 at 00:40, Sami Tolvanen wrote: > > On Sun, Oct 20, 2019 at 11:20 PM Ard Biesheuvel > wrote: > > You'll have to elaborate a bit here and explain that this is > > sufficient, given that we run EFI runtime services with interrupts > > enabled. > > I can add a note about this in

Re: [PATCH v2 3/4] watchdog: add meson secure watchdog driver

2019-10-21 Thread Xingyu Chen
Hi, Guenter On 2019/10/21 21:38, Guenter Roeck wrote: On 10/21/19 1:03 AM, Xingyu Chen wrote: Hi, Guenter On 2019/10/21 0:56, Guenter Roeck wrote: On 10/18/19 1:33 AM, Xingyu Chen wrote: The watchdog controller on the Meson-A/C series SoCs is moved to secure world, watchdog operation needs

[PATCH v4 0/4]: perf/core: fix restoring of Intel LBR call stack on a context switch

2019-10-21 Thread Alexey Budankov
Restore Intel LBR call stack from cloned inactive task perf context on a context switch. This change inherently addresses inconsistency in LBR call stack data provided on a sample in record profiling mode: $ perf record -N -B -T -R --call-graph lbr \ -e

Re: [PATCH v2 1/3] dt-bindings: clock: meson: add A1 clock controller bindings

2019-10-21 Thread Jian Hu
Hi, Jerome Thanks for your review. On 2019/10/21 18:43, Jerome Brunet wrote: On Fri 18 Oct 2019 at 09:14, Jian Hu wrote: Add the documentation to support Amlogic A1 clock driver, and add A1 clock controller bindings. Signed-off-by: Jian Hu ---

Re: [PATCH v2 11/13] drivers: irqchip: qcom-pdc: Add irqchip for sc7180

2019-10-21 Thread Maulik Shah
On 10/21/2019 1:40 PM, Marc Zyngier wrote: On 2019-10-21 07:55, Rajendra Nayak wrote: From: Maulik Shah Add sc7180 pdc irqchip Signed-off-by: Maulik Shah Signed-off-by: Rajendra Nayak Cc: Lina Iyer Cc: Marc Zyngier --- v2: No change  drivers/irqchip/qcom-pdc.c | 1 +  1 file changed, 1

linux-next: Tree for Oct 22

2019-10-21 Thread Stephen Rothwell
Hi all, Changes since 20191021: The tip tree lost its build failure. The char-misc tree gained a conflict against the keys tree. Non-merge commits (relative to Linus' tree): 5034 5044 files changed, 178274 insertions(+), 83401 deletions

Re: [PATCH v4 3/3] powerpc/prom_init: Use -ffreestanding to avoid a reference to bcmp

2019-10-21 Thread Nathan Chancellor
On Fri, Oct 18, 2019 at 03:02:10PM -0500, Segher Boessenkool wrote: > On Fri, Oct 18, 2019 at 12:00:22PM -0700, Nathan Chancellor wrote: > > Just as an FYI, there was some more discussion around the availablity > > and use of bcmp in this LLVM bug which spawned > > commit 5f074f3e192f

Re: [PATCH v9 18/22] RISC-V: KVM: Simplify stage2 page table programming

2019-10-21 Thread Anup Patel
On Mon, Oct 21, 2019 at 11:01 PM Paolo Bonzini wrote: > > On 16/10/19 18:11, Anup Patel wrote: > > Instead of dealing with PGD, PMD, and PTE differently in stage2 > > page table progamming, we can simply use iterative and recursive > > helper functions to program stage2 page tables of any level.

Re: [PATCH v3 1/5] net: ag71xx: port to phylink

2019-10-21 Thread Oleksij Rempel
On 22.10.19 00:21, Russell King - ARM Linux admin wrote: On Mon, Oct 21, 2019 at 07:38:07AM +0200, Oleksij Rempel wrote: +static void ag71xx_mac_validate(struct phylink_config *config, + unsigned long *supported, + struct phylink_link_state

Re: [PATCH v3 1/6] perf cs-etm: Fix unsigned variable comparison to zero

2019-10-21 Thread Leo Yan
Hi Mathieu, On Fri, Oct 11, 2019 at 02:16:06PM -0600, Mathieu Poirier wrote: > On Sat, Oct 05, 2019 at 05:16:09PM +0800, Leo Yan wrote: > > If the u64 variable 'offset' is a negative integer, comparison it with > > bigger than zero is always going to be true because it is unsigned. > > Fix this

Re: [PATCH v9 19/22] RISC-V: KVM: Remove per-CPU vsip_shadow variable

2019-10-21 Thread Anup Patel
On Mon, Oct 21, 2019 at 10:58 PM Paolo Bonzini wrote: > > On 16/10/19 18:12, Anup Patel wrote: > > Currently, we track last value wrote to VSIP CSR using per-CPU > > vsip_shadow variable but this easily goes out-of-sync because > > Guest can update VSIP.SSIP bit directly. > > > > To simplify

Re: [PATCH v9 20/22] RISC-V: KVM: Fix race-condition in kvm_riscv_vcpu_sync_interrupts()

2019-10-21 Thread Anup Patel
On Mon, Oct 21, 2019 at 10:57 PM Paolo Bonzini wrote: > > On 16/10/19 18:12, Anup Patel wrote: > > + /* Read current VSIP and VSIE CSRs */ > > + vsip = csr_read(CSR_VSIP); > > + csr->vsie = csr_read(CSR_VSIE); > > + > > + /* Sync-up VSIP.SSIP bit changes does by Guest */ > > +

Re: [PATCH v3 3/6] perf cs-etm: Support thread stack

2019-10-21 Thread Leo Yan
Hi Mathieu, On Fri, Oct 11, 2019 at 11:53:53AM -0600, Mathieu Poirier wrote: > On Sat, Oct 05, 2019 at 05:16:11PM +0800, Leo Yan wrote: > > Since Arm CoreSight doesn't support thread stack, the decoding cannot > > display symbols with indented spaces to reflect the stack depth. > > > > This

[PATCH] 802.11n IBSS: wlan0 stops receiving packets due to aggregation after sender reboot

2019-10-21 Thread Krzysztof Hałasa
Fix a bug where the mac80211 RX aggregation code sets a new aggregation "session" at the remote station's request, but the head_seq_num (the sequence number the receiver expects to receive) isn't reset. Spotted on a pair of AR9580 in IBSS mode. Signed-off-by: Krzysztof Halasa diff --git

Re: [alsa-devel] [PATCH v2 4/5] soundwire: intel/cadence: add flag for interrupt enable

2019-10-21 Thread Vinod Koul
On 21-10-19, 05:26, Pierre-Louis Bossart wrote: > On 10/20/19 11:14 PM, Vinod Koul wrote: > > On 16-09-19, 14:09, Pierre-Louis Bossart wrote: > > > Prepare for future PM support and fix error handling by disabling > > > interrupts as needed. > > > > > > Signed-off-by: Pierre-Louis Bossart > > >

Re: [alsa-devel] [PATCH v2 2/5] soundwire: cadence_master: add hw_reset capability in debugfs

2019-10-21 Thread Vinod Koul
On 21-10-19, 05:20, Pierre-Louis Bossart wrote: > On 10/20/19 11:04 PM, Vinod Koul wrote: > > On 16-09-19, 14:09, Pierre-Louis Bossart wrote: > > > Provide debugfs capability to kick link and devices into hard-reset > > > (as defined by MIPI). This capability is really useful when some > > >

Re: [PATCH v3 6/6] perf cs-etm: Synchronize instruction sample with the thread stack

2019-10-21 Thread Leo Yan
Hi Mathieu, On Fri, Oct 11, 2019 at 02:17:50PM -0600, Mathieu Poirier wrote: > On Sat, Oct 05, 2019 at 05:16:14PM +0800, Leo Yan wrote: > > The synthesized flow use 'tidq->packet' for instruction samples; on the > > other hand, 'tidp->prev_packet' is used to generate the thread stack and > > the

[PATCH] dt-bindings: serial: lpuart: Drop unsupported RS485 bindings

2019-10-21 Thread Andrey Smirnov
LPUART driver does not support 'rs485-rts-delay' or 'rs485-rx-during-tx' properties. Remove them. Signed-off-by: Andrey Smirnov Cc: Stefan Agner Cc: Chris Healy Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-...@nxp.com Cc: linux-ser...@vger.kernel.org Cc: linux-kernel@vger.kernel.org ---

[PATCH] cpufreq: imx-cpufreq-dt: Correct i.MX8MN's default speed grade value

2019-10-21 Thread Anson Huang
i.MX8MN has different speed grade definition compared to i.MX8MQ/i.MX8MM, when fuses are NOT written, the default speed_grade should be set to minimum available OPP defined in DT which is 1.2GHz, the corresponding speed_grade value should be 0xb. Fixes: 5b8010ba70d5 ("cpufreq: imx-cpufreq-dt: Add

Re: [PATCH v2] scripts/nsdeps: use alternative sed delimiter

2019-10-21 Thread Masahiro Yamada
On Tue, Oct 22, 2019 at 1:05 AM Jessica Yu wrote: > > When doing an out of tree build with O=, the nsdeps script constructs > the absolute pathname of the module source file so that it can insert > MODULE_IMPORT_NS statements in the right place. However, ${srctree} > contains an unescaped path to

Re: [PATCH v6 11/43] compat_ioctl: move drivers to compat_ptr_ioctl

2019-10-21 Thread Al Viro
On Wed, Oct 09, 2019 at 09:10:11PM +0200, Arnd Bergmann wrote: > Each of these drivers has a copy of the same trivial helper function to > convert the pointer argument and then call the native ioctl handler. > > We now have a generic implementation of that, so use it. I'd rather flipped your #7

Re: [Y2038] [PATCH v6 10/43] compat_ioctl: move rtc handling into rtc-dev.c

2019-10-21 Thread Al Viro
On Thu, Oct 17, 2019 at 04:33:09PM +0200, Arnd Bergmann wrote: > However, looking at this again after your comment I found a rather > more serious bug in my new RTC_IRQP_SET handling: Any 64-bit > machine can now bypass the permission check for RTC_IRQP_SET by > calling RTC_IRQP_SET32 instead.

[v5,1/3] dt-bindings: i2c: support property idle-state

2019-10-21 Thread Biwen Li
This supports property idle-state Signed-off-by: Biwen Li --- Change in v5: - none Change in v4: - none Change in v3: - update subject and description - add some information for property idle-state Change in v2: - update subject and description

[v5,2/3] i2c: mux: pca954x: support property idle-state

2019-10-21 Thread Biwen Li
This supports property idle-state,if present, overrides i2c-mux-idle-disconnect. My use cases: - Use the property idle-state to fix an errata on LS2085ARDB and LS2088ARDB. - Errata id: E-00013(board LS2085ARDB and LS2088ARDB revision on Rev.B, Rev.C and Rev.D).

[v5,3/3] arm64: dts: fsl-ls208xa-rdb: fix an errata E-00013

2019-10-21 Thread Biwen Li
Specify a channel zero in idle state to avoid enterring tri-stated state for PCA9547. About E-00013: - Description: I2C1 and I2C3 buses are missing pull-up. - Impact: When the PCA954x device is tri-stated, the I2C bus will float. This makes the I2C bus and its

[PATCH v2] ARM: imx: Drop imx_anatop_usb_chrg_detect_disable()

2019-10-21 Thread Andrey Smirnov
With commit b5bbe2235361 ("usb: phy: mxs: Disable external charger detect in mxs_phy_hw_init()") in tree all of the necessary charger setup is done by the USB PHY driver which covers all of the affected i.MX6 SoCs. NOTE: imx_anatop_usb_chrg_detect_disable() was also called for i.MX7D, but looking

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-21 Thread Alexei Starovoitov
On Mon, Oct 21, 2019 at 11:19:04PM -0400, Steven Rostedt wrote: > On Mon, 21 Oct 2019 23:16:30 -0400 > Steven Rostedt wrote: > > > > what bugs you're seeing? > > > The IPI frequency that was mentioned in this thread or something else? > > > I'm hacking ftrace+bpf stuff in the same spot and would

[PATCH 3/3] ARM: dts: imx6qdl-zii-rdu2: Specify supplies for accelerometer

2019-10-21 Thread Andrey Smirnov
Specify 'vdd' and 'vddio' supplies for accelerometer to avoid warnings during boot. Signed-off-by: Andrey Smirnov Cc: Fabio Estevam Cc: Chris Healy Cc: Lucas Stach Cc: Shawn Guo Cc: linux-arm-ker...@lists.infradead.org, Cc: linux-kernel@vger.kernel.org ---

[PATCH 2/3] ARM: dts: imx6qdl-zii-rdu2: Fix accelerometer interrupt-names

2019-10-21 Thread Andrey Smirnov
According to Documentation/devicetree/bindings/iio/accel/mma8452.txt, the correct interrupt-names are "INT1" and "INT2", so fix them accordingly. While at it, modify the node to only specify "INT2" since providing two interrupts is not necessary or useful (the driver will only use one).

[PATCH 1/3] ARM: dts: imx6qdl-zii-rdu2: Drop GPIO_ACTIVE_LOW form reg_5p0v_user_usb

2019-10-21 Thread Andrey Smirnov
Drop GPIO_ACTIVE_LOW form reg_5p0v_user_usb since it is ignored by the gpiolib and results in a warning. Signed-off-by: Andrey Smirnov Cc: Fabio Estevam Cc: Chris Healy Cc: Lucas Stach Cc: Shawn Guo Cc: linux-arm-ker...@lists.infradead.org, Cc: linux-kernel@vger.kernel.org ---

[PATCH v4 3/3] iio: documentation: light: Add veml6030 sysfs documentation

2019-10-21 Thread Rishi Gupta
The driver for veml6030 light sensor provides custom sysfs entries used to know parameters supported by the driver and to configure sensor like setting power saving mode and persistence etc. This commit document them. Signed-off-by: Rishi Gupta --- Changes in v4: * None Changes in v3: * Updated

[PATCH v4 2/3] dt-bindings: iio: light: add veml6030 ALS bindings

2019-10-21 Thread Rishi Gupta
This commit adds device tree bindings for veml6030 ambient light sensor. Signed-off-by: Rishi Gupta --- Changes in v4: * Added enum in reg property * Removed maxItems from reg property Changes in v3: * None Changes in v2: * Corrected grammatical mistake from 'is' to 'are' in description of

[PATCH] dt-bindings: mma8452: Re-word 'interrupt-names' description

2019-10-21 Thread Andrey Smirnov
Current wording in the binding documentation doesn't make it 100% clear that only one of "INT1" and "INT2" will ever be used by the driver and that specifying both has no advantages. Re-word it to make this aspect a bit more explicit. Signed-off-by: Andrey Smirnov Cc: Chris Healy Cc: Jonathan

[PATCH v4 1/3] iio: light: add driver for veml6030 ambient light sensor

2019-10-21 Thread Rishi Gupta
veml6030 is an ambient light sensor from Vishay semiconductors. It has 16-bit resolution, supports both ambient light measurement and white channel which is more responsive to wider wavelength spectrum. It has flexible power saving, integration time and gain options. Communication with host is

Re: [PATCH v8 5/5] media: imx: Try colorimetry at both sink and source pads

2019-10-21 Thread Steve Longerbeam
On 10/21/19 8:26 PM, Steve Longerbeam wrote: Hi Laurent, On 10/21/19 6:44 PM, Laurent Pinchart wrote: Hi Steve, On Tue, May 21, 2019 at 06:03:17PM -0700, Steve Longerbeam wrote: Retask imx_media_fill_default_mbus_fields() to try colorimetry parameters, renaming it to to

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-21 Thread Alexei Starovoitov
On Mon, Oct 21, 2019 at 11:16:30PM -0400, Steven Rostedt wrote: > On Mon, 21 Oct 2019 20:10:09 -0700 > Alexei Starovoitov wrote: > > > On Mon, Oct 21, 2019 at 5:43 PM Steven Rostedt wrote: > > > > > > On Mon, 21 Oct 2019 17:36:54 -0700 > > > Alexei Starovoitov wrote: > > > > > > > > > > What

[RFC PATCH 1/2] dt-bindings: soc: mediatek: Add document for mmdvfs driver

2019-10-21 Thread Anthony Huang
This document describes the properties what mtk mmdvfs device node support. Signed-off-by: Anthony Huang --- .../devicetree/bindings/soc/mediatek/mmdvfs.txt| 149 1 file changed, 149 insertions(+) create mode 100644

[RFC PATCH 2/2] soc: mediatek: Add mtk-mmdvfs driver

2019-10-21 Thread Anthony Huang
Mediatek MMDVFS driver is used to set clk for Mediatek multimedia hardwares. The MMDVFS registers a regulator callback and multimedia hardwares set voltage by regulator API and then this callback will be triggered. The MMDVFS will get current opp level from opp table according to the voltage, and

[RFC PATCH 0/2] Add Mediatek MMDVFS driver

2019-10-21 Thread Anthony Huang
This RFC patch adds the Mediatek MMDVFS(Multimedia Dynamic Voltage and Frequency Scaling) driver. The multimedia HWs, such as display, camera, share the same power supplier, and on some platforms, they share the same clock MUX. If each HW needs different clock frequency at the same time, the clock

RE: [EXT] Re: [v4,2/2] i2c: mux: pca954x: support property idle-state

2019-10-21 Thread Biwen Li
> Caution: EXT Email > > On 2019-10-21 10:00, Biwen Li wrote: > > This supports property idle-state > > > > You should expand this a little bit to explain that idle-state, if present, > overrides > i2c-mux-idle-disconnect. You could also mention your use case where you need > to avoid

Re: [PATCHv1] arm64: dts: agilex: add service layer, fpga manager and fpga region

2019-10-21 Thread Dinh Nguyen
On 10/17/19 2:34 PM, richard.g...@linux.intel.com wrote: > From: Richard Gong > > Add service layer, fpga manager and fpga region to the device tree > on Intel Agilex platform. > > Signed-off-by: Richard Gong > --- > arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 32 >

Re: [PATCHv2] arm64: dts: agilex: add QSPI support for Intel Agilex

2019-10-21 Thread Dinh Nguyen
On 10/17/19 8:00 PM, Ley Foon Tan wrote: > On Wed, 2019-10-16 at 02:40 -0700, Ooi, Joyce wrote: >> This patch adds QSPI flash interface in device tree for Intel Agilex >> >> Signed-off-by: Ooi, Joyce >> --- >> v2: update the qspi_rootfs partition size >> --- >>  

Re: [PATCH net-next 4/4] r8152: support firmware of PHY NC for RTL8153A

2019-10-21 Thread Jakub Kicinski
On Mon, 21 Oct 2019 11:41:13 +0800, Hayes Wang wrote: > Support the firmware of PHY NC which is used to fix the issue found > for PHY. Currently, only RTL_VER_04, RTL_VER_05, and RTL_VER_06 need > it. > > The order of loading PHY firmware would be > > RTL_FW_PHY_START > RTL_FW_PHY_NC

Re: [PATCH v8 5/5] media: imx: Try colorimetry at both sink and source pads

2019-10-21 Thread Steve Longerbeam
Hi Laurent, On 10/21/19 6:44 PM, Laurent Pinchart wrote: Hi Steve, On Tue, May 21, 2019 at 06:03:17PM -0700, Steve Longerbeam wrote: Retask imx_media_fill_default_mbus_fields() to try colorimetry parameters, renaming it to to imx_media_try_colorimetry(), and call it at both sink and source

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-21 Thread Steven Rostedt
On Mon, 21 Oct 2019 23:16:30 -0400 Steven Rostedt wrote: > > what bugs you're seeing? > > The IPI frequency that was mentioned in this thread or something else? > > I'm hacking ftrace+bpf stuff in the same spot and would like to > > base my work on the latest and greatest. I'm also going to

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-21 Thread Steven Rostedt
On Mon, 21 Oct 2019 20:10:09 -0700 Alexei Starovoitov wrote: > On Mon, Oct 21, 2019 at 5:43 PM Steven Rostedt wrote: > > > > On Mon, 21 Oct 2019 17:36:54 -0700 > > Alexei Starovoitov wrote: > > > > > > > What is the status of this set ? > > > Steven, did you apply it ? > > > > There's

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-21 Thread Alexei Starovoitov
On Mon, Oct 21, 2019 at 5:43 PM Steven Rostedt wrote: > > On Mon, 21 Oct 2019 17:36:54 -0700 > Alexei Starovoitov wrote: > > > > What is the status of this set ? > > Steven, did you apply it ? > > There's still bugs to figure out. what bugs you're seeing? The IPI frequency that was mentioned in

[PATCH] KVM: x86/vPMU: Declare kvm_pmu->reprogram_pmi field using DECLARE_BITMAP

2019-10-21 Thread Like Xu
Replace the explicit declaration of "u64 reprogram_pmi" with the generic macro DECLARE_BITMAP for all possible appropriate number of bits. Suggested-by: Paolo Bonzini Signed-off-by: Like Xu --- arch/x86/include/asm/kvm_host.h | 2 +- arch/x86/kvm/pmu.c | 15 +-- 2

RE:PERSONAL LETTER FROM MRS RASHIA AMIRA

2019-10-21 Thread Mr Barrister Hans Erich
Greetings My name is Barrister Hans Erich. I have a client who is interested to invest in your country, she is a well known politician in her country and deserve a lucrative investment partnership with you outside her country without any delay Please can you manage such investment please

Re: [PATCH] mmc: fix mmc dma operation

2019-10-21 Thread Nan Li
在 2019/10/21 17:17, Jerome Brunet 写道: > On Mon 21 Oct 2019 at 09:57, Neil Armstrong wrote: > >> Hi, >> >> Thanks for the fix. >> >> First, you should add "mmc: meson-gx:" in the subject. >> >> On 21/10/2019 07:59, Jianxin Pan wrote: >>> From: Nan Li >>> >>> In MMC dma transfer, the region

[PATCH v3 ] iommu/vt-d: Fix panic after kexec -p for kdump

2019-10-21 Thread John Donnelly
This cures a panic on restart after a kexec operation on 5.3 and 5.4 kernels. The underlying state of the iommu registers (iommu->flags & VTD_FLAG_TRANS_PRE_ENABLED) on a restart results in a domain being marked as "DEFER_DEVICE_DOMAIN_INFO" that produces an Oops in identity_mapping(). [

Re: [PATCH RFC] net: vlan: reverse 4 bytes of vlan header when setting initial MTU

2019-10-21 Thread David Ahern
On 10/21/19 7:31 PM, Yunsheng Lin wrote: > Or we just leave it as it is, and expect user to manually configure the MTU > of vlan netdev to the MTU of thelower device minus vlan header when the > performace in the above case is a concern to user? > for now, I would think so. vlan on a vxlan

Re: [PATCH v6 3/5] x86/kvm: Add "nopvspin" parameter to disable PV spinlocks

2019-10-21 Thread Zhenzhong Duan
On 2019/10/21 19:14, Vitaly Kuznetsov wrote: index 249f14a..e9c76d8 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -825,18 +825,44 @@ __visible bool __kvm_vcpu_is_preempted(long cpu) */ void __init kvm_spinlock_init(void) { - /* Does host kernel support

linux-next: manual merge of the char-misc tree with the keys tree

2019-10-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the char-misc tree got conflicts in: samples/Kconfig samples/Makefile between commit: 0b9c31597d81 ("Add sample notification program") from the keys tree and commit: 6859eba4f6fb ("samples: mei: use hostprogs kbuild constructs") from the char-misc

Re: [PATCH 110/110] lib/vdso: Improve do_hres() and update vdso data unconditionally

2019-10-21 Thread Huacai Chen
Hi, Thomas, If we use (s64)cycles < 0, then how to solve the problem that a 64bit counter become negative? Maybe we can change the "invalid" value from U64_MAX to 0? I think the performance of "cycles == 0" is better than "cycles == U64_MAX". Huacai On Mon, Oct 21, 2019 at 10:58 PM Thomas

RE: [PATCH] ethernet/intel: release the local packet buffer

2019-10-21 Thread Brown, Aaron F
> From: netdev-ow...@vger.kernel.org [mailto:netdev- > ow...@vger.kernel.org] On Behalf Of Navid Emamdoost > Sent: Tuesday, September 17, 2019 5:00 PM > Cc: emamd...@umn.edu; smcca...@umn.edu; k...@umn.edu; Navid > Emamdoost ; Kirsher, Jeffrey T > ; David S. Miller ; >

Re: [RFC] kasan: include the hashed pointer for an object's location

2019-10-21 Thread Dmitry Vyukov
On Tue, Oct 22, 2019 at 4:19 AM Lyude Paul wrote: > > The vast majority of the kernel that needs to print out pointers as a > way to keep track of a specific object in the kernel for debugging > purposes does so using hashed pointers, since these are "good enough". > Ironically, the one place we

RE:PERSONAL LETTER FROM MRS RASHIA AMIRA

2019-10-21 Thread Mr Barrister Hans Erich
Greetings My name is Barrister Hans Erich. I have a client who is interested to invest in your country, she is a well known politician in her country and deserve a lucrative investment partnership with you outside her country without any delay Please can you manage such investment please

Re: [PATCH] cpufreq: Move cancelling of policy update work just after removing notifiers

2019-10-21 Thread Viresh Kumar
On 21-10-19, 14:28, Sudeep Holla wrote: > Commit 099967699ad9 ("cpufreq: Cancel policy update work scheduled before > freeing") > added cancel_work_sync(policy->update) after the frequency QoS were > removed. We can cancel the work just after taking the last CPU in the > policy offline and

RE: [PATCH 0/7] towards QE support on ARM

2019-10-21 Thread Qiang Zhao
On Mon, Oct 22, 2019 at 6:11 AM Leo Li wrote > -Original Message- > From: Li Yang > Sent: 2019年10月22日 6:11 > To: Rasmus Villemoes > Cc: Timur Tabi ; Greg Kroah-Hartman > ; linux-kernel@vger.kernel.org; > linux-ser...@vger.kernel.org; Jiri Slaby ; > linuxppc-...@lists.ozlabs.org;

Re: [PATCH v2 2/2] usb: cdns3: Add TI specific wrapper driver

2019-10-21 Thread Peter Chen
On 19-10-21 16:13:05, Roger Quadros wrote: > The J721e platform comes with 2 Cadence USB3 controller > instances. This driver supports the TI specific wrapper > on this platform. > > Signed-off-by: Roger Quadros > Signed-off-by: Sekhar Nori > --- > drivers/usb/cdns3/Kconfig| 10 ++ >

Re: [PATCH v4 15/16] module: Move where we mark modules RO,X

2019-10-21 Thread Steven Rostedt
On Fri, 18 Oct 2019 09:35:40 +0200 Peter Zijlstra wrote: > Now that set_all_modules_text_*() is gone, nothing depends on the > relation between ->state = COMING and the protection state anymore. > This enables moving the protection changes later, such that the COMING > notifier callbacks can

[RFC] kasan: include the hashed pointer for an object's location

2019-10-21 Thread Lyude Paul
The vast majority of the kernel that needs to print out pointers as a way to keep track of a specific object in the kernel for debugging purposes does so using hashed pointers, since these are "good enough". Ironically, the one place we don't do this is within kasan. While simply printing a hashed

Re: [GIT PULL] SafeSetID LSM changes for 5.4

2019-10-21 Thread Paul E. McKenney
On Mon, Oct 21, 2019 at 08:58:11AM +0200, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > --- a/include/linux/rcupdate.h > > +++ b/include/linux/rcupdate.h > > @@ -383,20 +383,22 @@ do { > > \ > > } while (0) > >

RE:PERSONAL LETTER FROM MRS RASHIA AMIRA

2019-10-21 Thread Mr Barrister Hans Erich
Greetings My name is Barrister Hans Erich. I have a client who is interested to invest in your country, she is a well known politician in her country and deserve a lucrative investment partnership with you outside her country without any delay Please can you manage such investment please

Re: [PATCH v1 1/2] usb: chipidea: use of extcon framework to work for non OTG case

2019-10-21 Thread Peter Chen
On 19-10-21 19:16:53, Igor Opaniuk wrote: > From: Stefan Agner > > The existing usage of extcon in chipidea driver freezes the kernel > presumably due to OTGSC register access. > > Prevent accessing any OTG registers for SoC with dual role devices > but no true OTG support. Use the flag

Re: [PATCH 4/4] rtc: sc27xx: remove .remove

2019-10-21 Thread Baolin Wang
On Mon, 21 Oct 2019 at 23:58, Alexandre Belloni wrote: > > dpm_sysfs_remove() and device_pm_remove() are already called by > device_del() on device removal so there is no need to call > device_init_wakeup(dev, false) from the driver and it allows to remove the > .remove callback. Right, feel

Re: arch/riscv doesn't support xchg() on bool

2019-10-21 Thread Eric Biggers
Hi Paul, On Mon, Oct 21, 2019 at 06:23:11PM -0700, Paul Walmsley wrote: > Hi Eric, > > On Mon, 21 Oct 2019, Eric Biggers wrote: > > > The kbuild test robot reported a build error on RISC-V in this patch: > > > > https://patchwork.kernel.org/patch/11182389/ > > > > ... because of the line:

Re: [PATCH v8 5/5] media: imx: Try colorimetry at both sink and source pads

2019-10-21 Thread Laurent Pinchart
Hi Steve, On Tue, May 21, 2019 at 06:03:17PM -0700, Steve Longerbeam wrote: > Retask imx_media_fill_default_mbus_fields() to try colorimetry parameters, > renaming it to to imx_media_try_colorimetry(), and call it at both sink and > source pad try_fmt's. The unrelated check for uninitialized

Re: [PATCH v4 12/16] x86/kprobes: Fix ordering

2019-10-21 Thread Masami Hiramatsu
On Fri, 18 Oct 2019 09:35:37 +0200 Peter Zijlstra wrote: > Kprobes does something like: > > register: > arch_arm_kprobe() > text_poke(INT3) > /* guarantees nothing, INT3 will become visible at some point, > maybe */ > > kprobe_optimizer() > /*

RE:PERSONAL LETTER FROM MRS RASHIA AMIRA

2019-10-21 Thread Mr Barrister Hans Erich
Greetings My name is Barrister Hans Erich. I have a client who is interested to invest in your country, she is a well known politician in her country and deserve a lucrative investment partnership with you outside her country without any delay Please can you manage such investment please

RE:PERSONAL LETTER FROM MRS RASHIA AMIRA

2019-10-21 Thread Mr Barrister Hans Erich
Greetings My name is Barrister Hans Erich. I have a client who is interested to invest in your country, she is a well known politician in her country and deserve a lucrative investment partnership with you outside her country without any delay Please can you manage such investment please

Re: [RFC 1/2] vhost: IFC VF hardware operation layer

2019-10-21 Thread Jason Wang
On 2019/10/22 上午12:31, Simon Horman wrote: On Mon, Oct 21, 2019 at 05:55:33PM +0800, Zhu, Lingshan wrote: On 10/16/2019 5:53 PM, Simon Horman wrote: Hi Zhu, thanks for your patch. On Wed, Oct 16, 2019 at 09:10:40AM +0800, Zhu Lingshan wrote: ... +static void ifcvf_read_dev_config(struct

Re: [PATCH RFC] net: vlan: reverse 4 bytes of vlan header when setting initial MTU

2019-10-21 Thread Yunsheng Lin
On 2019/10/22 7:27, Stephen Hemminger wrote: > On Mon, 21 Oct 2019 20:26:03 +0800 > Yunsheng Lin wrote: > >> Currently the MTU of vlan netdevice is set to the same MTU >> of the lower device, which requires the underlying device >> to handle it as the comment has indicated: >> >> /* need 4

Re: [PATCH RFC] net: vlan: reverse 4 bytes of vlan header when setting initial MTU

2019-10-21 Thread Yunsheng Lin
On 2019/10/21 22:46, David Laight wrote: > From: Yunsheng Lin >> Sent: 21 October 2019 13:26 >> Currently the MTU of vlan netdevice is set to the same MTU >> of the lower device, which requires the underlying device >> to handle it as the comment has indicated: >> >> /* need 4 bytes for extra

[PATCH] x86: Add trace points to (nearly) all vectors

2019-10-21 Thread Andi Kleen
From: Andi Kleen In some scenarios it can be useful to count or trace every kernel entry. Most entry paths are covered by trace points already, but some of the more obscure entry points do not have trace points. The most common uncovered one was KVM async page fault. This patch kit adds trace

Re: arch/riscv doesn't support xchg() on bool

2019-10-21 Thread Paul Walmsley
Hi Eric, On Mon, 21 Oct 2019, Eric Biggers wrote: > The kbuild test robot reported a build error on RISC-V in this patch: > > https://patchwork.kernel.org/patch/11182389/ > > ... because of the line: > > if (!xchg(>logged_impl_name, true)) { > > where logged_impl_name is a

Re: [PATCH v3] tracing: Introduce trace event injection

2019-10-21 Thread Cong Wang
On Mon, Oct 21, 2019 at 4:21 PM Steven Rostedt wrote: > > On Mon, 21 Oct 2019 13:41:51 -0700 > Cong Wang wrote: > > > On Mon, Sep 23, 2019 at 2:13 PM Cong Wang wrote: > > > > > > Hi, Steven > > > > > > Any reviews for V3? I've addressed your concern about Kconfig. > > > > > > > Ping.. > >

Re: [PATCH v2 3/5] perf report: Sort by sampled cycles percent per block for stdio

2019-10-21 Thread Jin, Yao
On 10/22/2019 12:08 AM, Jiri Olsa wrote: On Tue, Oct 15, 2019 at 01:33:48PM +0800, Jin Yao wrote: SNIP + cycles += bi->cycles_aggr / bi->num_aggr; + + he_block = hists__add_entry_block(>block_hists, +

Re: [PATCH] KVM: X86: Make fpu allocation a common function

2019-10-21 Thread Xiaoyao Li
On 10/21/2019 9:09 PM, Paolo Bonzini wrote: On 17/10/19 18:05, Sean Christopherson wrote: On Wed, Oct 16, 2019 at 11:41:05AM +0200, Paolo Bonzini wrote: On 16/10/19 09:48, Xiaoyao Li wrote: BTW, could you have a look at the series I sent yesterday to refactor the vcpu creation flow, which is

Re: [PATCH v2 3/5] perf report: Sort by sampled cycles percent per block for stdio

2019-10-21 Thread Jin, Yao
On 10/22/2019 12:07 AM, Jiri Olsa wrote: On Tue, Oct 15, 2019 at 01:33:48PM +0800, Jin Yao wrote: SNIP --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c @@ -51,6 +51,7 @@ #include "util/util.h" // perf_tip() #include "ui/ui.h" #include "ui/progress.h" +#include

Re: [PATCH] dynamic_debug: provide dynamic_hex_dump stub

2019-10-21 Thread Jakub Kicinski
On Wed, 18 Sep 2019 21:55:11 +0200, Arnd Bergmann wrote: > The ionic driver started using dymamic_hex_dump(), but > that is not always defined: > > drivers/net/ethernet/pensando/ionic/ionic_main.c:229:2: error: implicit > declaration of function 'dynamic_hex_dump' >

linux-next: build warning after merge of the mmc tree

2019-10-21 Thread Stephen Rothwell
Hi all, After merging the mmc tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/mmc/core/block.c: In function '__mmc_blk_ioctl_cmd': drivers/mmc/core/block.c:500:6: warning: unused variable 'status' [-Wunused-variable] 500 | u32 status = 0; |

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-21 Thread Steven Rostedt
On Mon, 21 Oct 2019 17:36:54 -0700 Alexei Starovoitov wrote: > What is the status of this set ? > Steven, did you apply it ? There's still bugs to figure out. -- Steve

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-21 Thread Alexei Starovoitov
On Fri, Oct 4, 2019 at 6:45 AM Steven Rostedt wrote: > > On Fri, 4 Oct 2019 13:22:37 +0200 > Peter Zijlstra wrote: > > > On Thu, Oct 03, 2019 at 06:10:45PM -0400, Steven Rostedt wrote: > > > But still, we are going from 120 to 660 IPIs for every CPU. Not saying > > > it's a problem, but

  1   2   3   4   5   6   7   8   9   10   >