Re: [PATCH 1/6] reset: qcom: AOSS (Always on subsystem) reset controller

2018-03-12 Thread Sibi S
Hi Trilok, Thanks for the review. I will include it in the v3 patch series. On 03/10/2018 02:59 AM, Trilok Soni wrote: Sibi, One cosmetic comment below. On 3/9/2018 6:55 AM, Sibi S wrote: + +This binding describes a reset-controller found on AOSS (Always on SubSysem) +for Qualcomm SDM845 So

[PATCH v4.16-rc4 2/2] x86/vdso: on Intel, VDSO should handle CLOCK_MONOTONIC_RAW

2018-03-12 Thread Jason Vas Dias
Currently the VDSO does not handle clock_gettime( CLOCK_MONOTONIC_RAW, &ts ) on Intel / AMD - it calls vdso_fallback_gettime() for this clock, which issues a syscall, having an unacceptably high latency (minimum measurable time or time between measurements) of 300-700ns on 2 2.

Re: [PATCH 4.9 00/65] 4.9.87-stable review

2018-03-12 Thread Naresh Kamboju
On 10 March 2018 at 05:48, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.87 release. > There are 65 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 know. > > Responses

Re: [PATCH v5 1/6] dt-bindings: add bindings for USB physical connector

2018-03-12 Thread Andrzej Hajda
On 09.03.2018 11:24, Roger Quadros wrote: > Hi, > > On 27/02/18 09:11, Andrzej Hajda wrote: >> These bindings allow to describe most known standard USB connectors >> and it should be possible to extend it if necessary. >> USB connectors, beside USB can be used to route other protocols, >> for examp

[PATCH v2 0/5] update Mediatek MT2712 clock and scpsys support

2018-03-12 Thread Weiyi Lu
This series is based on v4.16-rc1 and composed of scpsys control (PATCH 1-2) and clock control (PATCH 3-5). Basically, all changes are for the ECO design change of MT2712. changes since v1: - Avoid renumbering clocks. Append new clocks at the bottom of each own subsystem. Weiyi Lu (5): dt-bin

[PATCH v2 0/5] update Mediatek MT2712 clock and scpsys support

2018-03-12 Thread Weiyi Lu
This series is based on v4.16-rc1 and composed of scpsys control (PATCH 1-2) and clock control (PATCH 3-5). Basically, all changes are for the ECO design change of MT2712. changes since v1: - Avoid renumbering clocks. Append new clocks at the bottom of each own subsystem. Weiyi Lu (5): dt-bin

[PATCH v2 5/5] clk: mediatek: update clock driver of MT2712

2018-03-12 Thread Weiyi Lu
According to ECO design change, 1. add new clock mux data and change some 2. add new clock gate data and clock factor data 3. change status register offset of infra subsystem Signed-off-by: Weiyi Lu --- drivers/clk/mediatek/clk-mt2712.c | 69 +++ 1 file change

[PATCH v2 1/5] dt-bindings: soc: update MT2712 power dt-bindings

2018-03-12 Thread Weiyi Lu
Add new power domains(MFG_SC1/MFG_SC2/MFG_SC3) for MT2712 according to ECO design change. Signed-off-by: Weiyi Lu Reviewed-by: Rob Herring --- include/dt-bindings/power/mt2712-power.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/power/mt2712-power.h b/include/dt-b

Re: [PATCH v3 1/3] clk: tegra: Mark HCLK, SCLK and EMC as critical

2018-03-12 Thread Thierry Reding
On Fri, Mar 09, 2018 at 09:33:06AM -0800, Stephen Boyd wrote: > Quoting Thierry Reding (2018-03-08 06:44:37) > > On Thu, Mar 01, 2018 at 04:33:29PM +0300, Dmitry Osipenko wrote: > > > On 15.01.2018 13:56, Dmitry Osipenko wrote: > > > > On 10.01.2018 16:59, Dmitry Osipenko wrote: > > > >> Machine di

Re: [PATCH][rds-next] rds: make functions rds_info_from_znotifier and rds_message_zcopy_from_user static

2018-03-12 Thread santosh.shilim...@oracle.com
On 3/11/18 11:54 PM, santosh.shilim...@oracle.com wrote: On 3/11/18 10:03 AM, Colin King wrote: From: Colin Ian King Functions rds_info_from_znotifier and rds_message_zcopy_from_user are local to the source and do not need to be in global scope, so make them static. Cleans up sparse warnins:

[PATCH v2 2/5] soc: mediatek: update power domain data of MT2712

2018-03-12 Thread Weiyi Lu
1. split MFG power domain into MFG/MFG_SC1/MFG_SC2/MFG_SC3 according to MT2712 ECO design change 2. add subdomain support for MT2712 Signed-off-by: Weiyi Lu --- drivers/soc/mediatek/mtk-scpsys.c | 42 +-- 1 file changed, 40 insertions(+), 2 deletions(-) diff

[PATCH v2 4/5] arm64: dts: add clock device nodes of MT2712

2018-03-12 Thread Weiyi Lu
add new clocks according to ECO design change Signed-off-by: Weiyi Lu --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index fdf66

[PATCH v2 3/5] dt-bindings: clock: add clocks for MT2712

2018-03-12 Thread Weiyi Lu
add new clocks according to ECO design change Signed-off-by: Weiyi Lu --- include/dt-bindings/clock/mt2712-clk.h | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/include/dt-bindings/clock/mt2712-clk.h b/include/dt-bindings/clock/mt2712-clk.h index 48a8e797a617..

Re: [PATCH v5 1/6] dt-bindings: add bindings for USB physical connector

2018-03-12 Thread Andrzej Hajda
On 12.03.2018 08:02, Andrzej Hajda wrote: > On 09.03.2018 11:24, Roger Quadros wrote: >> Hi, >> >> On 27/02/18 09:11, Andrzej Hajda wrote: >>> These bindings allow to describe most known standard USB connectors >>> and it should be possible to extend it if necessary. >>> USB connectors, beside USB

Re: [PATCH 1/2] net: rds: drop VLA in rds_for_each_conn_info()

2018-03-12 Thread santosh.shilim...@oracle.com
On 3/11/18 2:07 PM, Salvatore Mesoraca wrote: Avoid VLA[1] by using an already allocated buffer passed by the caller. [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Salvatore Mesoraca --- Thanks for both VLA fixes Salvatore. FWIW, Acked-by: Santosh Shilimkar

Re: [PATCH v5 3/4] arm64: dts: sdm845: Add minimal dts/dtsi files for sdm845 SoC and MTP

2018-03-12 Thread Rajendra Nayak
On 03/10/2018 02:30 AM, Doug Anderson wrote: > Hi, > > On Wed, Feb 21, 2018 at 10:12 PM, Rajendra Nayak > wrote: >> + gcc: clock-controller@10 { >> + compatible = "qcom,gcc-sdm845"; >> + reg = <0x10 0x1f>; >> +

Re: [PATCH 2/2] net: rds: drop VLA in rds_walk_conn_path_info()

2018-03-12 Thread santosh.shilim...@oracle.com
On 3/11/18 2:07 PM, Salvatore Mesoraca wrote: Avoid VLA[1] by using an already allocated buffer passed by the caller. [1] https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Salvatore Mesoraca --- Acked-by: Santosh Shilimkar

Re: [PATCH 4.15 00/11] 4.15.9-stable review

2018-03-12 Thread Naresh Kamboju
On 10 March 2018 at 05:49, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.15.9 release. > There are 11 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 know. > > Responses

RE: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-12 Thread Jun Li
> -Original Message- > From: 李書帆 [mailto:leechu...@gmail.com] > Sent: 2018年3月12日 14:57 > To: Jun Li > Cc: Greg Kroah-Hartman ; > heikki.kroge...@linux.intel.com; li...@roeck-us.net; g...@kroah.com; > shufan_...@richtek.com; cy_hu...@richtek.com; > linux-kernel@vger.kernel.org; linux-...@v

Re: [PATCH v3 1/3] clk: tegra: Mark HCLK, SCLK and EMC as critical

2018-03-12 Thread Thierry Reding
On Fri, Mar 09, 2018 at 05:35:46PM +0300, Dmitry Osipenko wrote: > On 08.03.2018 17:44, Thierry Reding wrote: > > On Thu, Mar 01, 2018 at 04:33:29PM +0300, Dmitry Osipenko wrote: > >> On 15.01.2018 13:56, Dmitry Osipenko wrote: > >>> On 10.01.2018 16:59, Dmitry Osipenko wrote: > Machine dies i

Re: EXT: [PATCH 3/4] gpio: Remove VLA from xra1403 driver

2018-03-12 Thread Nandor Han
On 10/03/18 02:10, Laura Abbott wrote: The new challenge is to remove VLAs from the kernel (see https://lkml.org/lkml/2018/3/7/621) This patch replaces a VLA with an appropriate call to kmalloc_array. Signed-off-by: Laura Abbott --- This looks good to me. Reviewed-by: Nandor Han Nandor

Re: [PATCH] drm/panel: simple: Fix the bus_format for the Ontat panel.

2018-03-12 Thread Thierry Reding
On Fri, Mar 09, 2018 at 03:33:32PM -0800, Eric Anholt wrote: > This fixes bad color output. When I was first testing the device I > had the DPI hardware set to 666 mode, but apparently in the refactor > to use the bus_format information from the panel driver, I failed to > actually update the pane

Re: [PATCH] ARM: dts: i.MX25: define SSI FIFO depth

2018-03-12 Thread Shawn Guo
On Tue, Mar 06, 2018 at 10:58:19PM +0100, Martin Kaiser wrote: > According to the i.MX25 reference manuals, each SSI has four FIFOs. All > of those FIFOs can store up to 15 entries. > > The fsl_ssi driver's internal default for the FIFO depth in 8. Set our > non-default FIFO depth explicitly in th

Re: [PATCH v4.16-rc4 1/2] x86/vdso: on Intel, VDSO should handle CLOCK_MONOTONIC_RAW

2018-03-12 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Mon, 12 Mar 2018, Jason Vas Dias wrote: > > checkpatch.pl still reports: > >total: 15 errors, 3 warnings, 165 lines checked > > > +notrace static u64 vread_tsc_raw(void) > > +{ > > + u64 tsc, last=gtod->raw_cycle_last; > > + if( likely( gtod->has_rdtscp )

Re: [RFC PATCH 01/35] syscalls: define goal to not call sys_xyzzy() from within the kernel

2018-03-12 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Sun, Mar 11, 2018 at 10:55 AM, Dominik Brodowski > wrote: > > The syscall entry points to the kernel defined by SYSCALL_DEFINEx() > > and COMPAT_SYSCALL_DEFINEx() should only be called from userspace > > through kernel entry points, but not from the kernel itself.

Re: [RFC PATCH 02/35] syscalls: use kernel_wait4() instead of sys_wait4()

2018-03-12 Thread Ingo Molnar
* Dominik Brodowski wrote: > All call sites of sys_wait4() set *rusage to NULL. Therefore, there is > no need for the copy_to_user() handling of *rusage, and we can use > kernel_wait4() directly. > > CC: Luis R. Rodriguez > CC: Al Viro > CC: Andrew Morton Could you please fix the Cc: tags i

Re: [PATCH 3.16 56/76] x86/syscall: Sanitize syscall table de-references under speculation

2018-03-12 Thread Jiri Slaby
On 03/12/2018, 04:06 AM, Ben Hutchings wrote: > In 3.16 the x86_32 syscall table lookup is also written in assembly. > So I've taken Jiri's version and added similar masking in entry_32.S, > using edx as the temporary. edx is clobbered by SAVE_REGS and seems > to be free at this point. I don't kn

Re: [RFC PATCH 00/35] remove in-kernel syscall invocations

2018-03-12 Thread Ingo Molnar
* Dominik Brodowski wrote: > I'm a bit more unsure about these remaining patches. They use inline stubs > named ksys_xyzzy() which (mostly) call fs-internal functions. Another > alternative would be to define these in fs/*, but then we'd get more and > more indirections. > > syscalls: do

Re: [PATCH v5 0/4] new driver for Valve Steam Controller

2018-03-12 Thread Rodrigo Rivas Costa
On Sun, Mar 11, 2018 at 04:12:41PM -0700, Pierre-Loup A. Griffais wrote: > > > On 03/11/2018 12:58 PM, Rodrigo Rivas Costa wrote: > > This patchset implements a driver for Valve Steam Controller, based on a > > reverse analysis by myself. > > > > Sorry, I've been out of town for a few weeks and

Re: [PATCH] drm: zte: Fix an error handling path in 'zx_crtc_bind()'

2018-03-12 Thread Shawn Guo
+ Daniel On Sun, Mar 11, 2018 at 11:32:03PM +0100, Christophe JAILLET wrote: > 'ret' is known to be 0 at this point. It must be updated by the value > returned by 'clk_prepare_enable()'. > > Fixes: 0a886f59528a ("drm: zte: add initial vou drm driver") > Signed-off-by: Christophe JAILLET Acked-b

Re: [RFC PATCH 35/35] syscalls: do not call sys_close() within the kernel

2018-03-12 Thread Ingo Molnar
* Dominik Brodowski wrote: > --- a/fs/open.c > +++ b/fs/open.c > @@ -1200,7 +1200,7 @@ SYSCALL_DEFINE1(close, unsigned int, fd) > > return retval; > } > -EXPORT_SYMBOL(sys_close); > + > > /* Nit: this introduces a stray newline. > --- a/include/linux/syscalls.h > +++ b/include/linu

Re: [PATCH v3 5/7] drm/panel: Add Ilitek ILI9881c panel driver

2018-03-12 Thread Thierry Reding
On Tue, Mar 06, 2018 at 02:56:02PM +0100, Maxime Ripard wrote: > From: Maxime Ripard > > The LHR050H41 panel is the panel shipped with the BananaPi M2-Magic, and is > based on the Ilitek ILI9881c Controller. Add a driver for it, modelled > after the other Ilitek controller drivers. > > Signed-of

Re: [PATCH 00/11] kexec_file: Clean up purgatory load

2018-03-12 Thread Dave Young
Hi Philipp, On 03/09/18 at 03:25pm, Philipp Rudo wrote: > Hi Dave, > > On Fri, 9 Mar 2018 13:19:40 +0800 > Dave Young wrote: > > > Hi Philipp, > > On 02/26/18 at 04:16pm, Philipp Rudo wrote: > > > > > > Hi everybody > > > > > > following the discussion with Dave and AKASHI, here are the common

Re: [PATCH 09/11] kexec_file: Remove mis-use of sh_offset field

2018-03-12 Thread Dave Young
Hi Philipp, On 03/09/18 at 11:02am, Philipp Rudo wrote: > Hi Dave, > > > On Fri, 9 Mar 2018 11:14:20 +0800 > Dave Young wrote: > > > On 02/26/18 at 04:16pm, Philipp Rudo wrote: > > > The current code uses the sh_offset field in purgatory_info->sechdrs to > > > store a pointer to the current loa

drivers/net//ethernet/intel/i40e/i40e_ethtool.c:4326:6: error: implicit declaration of function 'cmpxchg64'; did you mean 'cmpxchg'?

2018-03-12 Thread kbuild test robot
Hi Alice, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c8efd610b58cb23cefdfa12015799079aef94ae commit: 60f481b9703867330dc6010868054f68f6d52f7a i40e: change flags to use 64 bits date: 6 weeks ago config: mips-

Re: [PATCH v5 02/11] xfs, dax: introduce xfs_dax_aops

2018-03-12 Thread Christoph Hellwig
On Sun, Mar 11, 2018 at 12:16:25PM -0700, Dan Williams wrote: > I did the rename, and am housing these in fs/dax.c, I assume that's > what you wanted. libfs.c would seem ok to, but we're into micro-management land now :)

Re: Bug: Microblaze stopped booting after 0fa1c579349fdd90173381712ad78aa99c09d38b

2018-03-12 Thread Alvaro G. M.
On Fri, Mar 09, 2018 at 01:05:11PM -0600, Rob Herring wrote: > On Fri, Mar 9, 2018 at 6:51 AM, Alvaro G. M. wrote: > > Hi, > > > > I've found via git bisect that 0fa1c579349fdd90173381712ad78aa99c09d38b > > makes microblaze unbootable. > > > > I'm sorry I can't provide any console output, as nothi

Re: [PATCH RESEND v5] perf/core: Fix installing arbitrary cgroup event into cpu

2018-03-12 Thread Ingo Molnar
* linxiu...@gmail.com wrote: > /* >* Because cgroup events are always per-cpu events, >* this will always be called from the right CPU. >*/ > + /* > + * if only the cgroup is running on this cpu > + * and cpuctx->cgrp == NULL (otherwise it would've >

Re: [pci PATCH v4 1/4] pci-iov: Add support for unmanaged SR-IOV

2018-03-12 Thread Christoph Hellwig
On Sun, Mar 11, 2018 at 09:59:09PM -0600, Alex Williamson wrote: > I still struggle to understand why we need this "unmanaged" > complication and how a user of the sysfs API is expected to have any > idea whether a PF is managed or unmanaged and why they should care. > Can't we just have a pci_simp

Re: [PATCH v2 01/13] PCI/portdrv: Merge pcieport_if.h into portdrv.h

2018-03-12 Thread Christoph Hellwig
On Fri, Mar 09, 2018 at 12:59:54PM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > pcieport_if.h contained the interfaces to register port service driver, > e.g., pcie_port_service_register(). portdrv.h contained internal data > structures of the port driver. > > I don't think it's worth

Re: [PATCH v2 02/13] PCI/PM: Move pcie_clear_root_pme_status() to core

2018-03-12 Thread Christoph Hellwig
On Fri, Mar 09, 2018 at 01:00:00PM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Move pcie_clear_root_pme_status() from the port driver to the PCI core so > it will be available even when the port driver isn't present. No > functional change intended. > > Signed-off-by: Bjorn Helgaas >

Re: [PATCH v2 06/13] PCI/portdrv: Remove pcie_port_bus_type link order dependency

2018-03-12 Thread Christoph Hellwig
> + if ((driver->port_type != PCIE_ANY_PORT) && > + (driver->port_type != pci_pcie_type(pciedev->port))) No need for the inner braces here. Otherwise looks good: Reviewed-by: Christoph Hellwig

Re: [PATCH v2 07/13] PCI/portdrv: Remove unused PCIE_PORT_SERVICE_VC

2018-03-12 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [RFC PATCH ghak21 4/4] audit: add parent of refused symlink to audit_names

2018-03-12 Thread Richard Guy Briggs
On 2018-03-08 19:50, Paul Moore wrote: > On Wed, Feb 14, 2018 at 11:18 AM, Richard Guy Briggs wrote: > > Audit link denied events for symlinks were missing the parent PATH > > record. Add it. Since the full pathname may not be available, > > reconstruct it from the path in the nameidata supplied

Re: [PATCH v2 08/13] PCI/portdrv: Simplify PCIe feature permission checking

2018-03-12 Thread Christoph Hellwig
> + * We assume we can manage these PCIe features. Some systems may > + * reserve these for use by the platform itself, e.g., an ACPI BIOS > + * may implement its own AER handling and use _OSC to prevent the > + * OS from interfering. > + */ > + bridge->use_aer = 1; >

Re: [PATCH v2 0/2] drm/panel: Add support for Raydium RM68200 panel

2018-03-12 Thread Thierry Reding
On Fri, Mar 02, 2018 at 04:32:20PM +0100, Philippe Cornu wrote: > The Raydium Semiconductor Corporation RM68200 is a 5.5" 720x1280 > TFT LCD panel connected using a MIPI-DSI video interface. > > Version 2: > - Add Rob Herring Reviewed-by on dt-bindings. > - Update Kconfig & driver thanks to Thierr

Re: [RFC PATCH ghak21 2/4] audit: link denied should not directly generate PATH record

2018-03-12 Thread Richard Guy Briggs
On 2018-03-08 19:26, Paul Moore wrote: > On Wed, Feb 14, 2018 at 11:18 AM, Richard Guy Briggs wrote: > > Audit link denied events generate duplicate PATH records which disagree > > in different ways from symlink and hardlink denials. > > audit_log_link_denied() should not directly generate PATH re

[PATCH v6 3/3] arm64: dts: sdm845: Add minimal dts/dtsi files for sdm845 SoC and MTP

2018-03-12 Thread Rajendra Nayak
Add a skeletal sdm845 SoC dtsi and MTP board dts/dtsi files Signed-off-by: Rajendra Nayak Reviewed-by: Doug Anderson --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 15 ++ arch/arm64/boot/dts/qcom/sdm845.dtsi| 278 +

[PATCH v6 2/3] dt-bindings: qcom: Add SDM845 bindings

2018-03-12 Thread Rajendra Nayak
Add a SoC string 'sdm845' for the qualcomm SDM845 SoC Signed-off-by: Rajendra Nayak Reviewed-by: Douglas Anderson Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/qcom.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.txt b/Do

[PATCH v6 1/3] dt-bindings: arm: Document kryo385 cpu

2018-03-12 Thread Rajendra Nayak
Document the compatible string for the Kryo385 cpus found in qualcomm SoCs. Signed-off-by: Rajendra Nayak Reviewed-by: Rob Herring Reviewed-by: Douglas Anderson --- Documentation/devicetree/bindings/arm/cpus.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindi

[PATCH v6 0/3] Add DTS for SDM845 SoC and MTP

2018-03-12 Thread Rajendra Nayak
These are basic device tree files needed to boot a SDM845 MTP board to a ramfs based serial console shell Bindings are based on whats proposed for pinctrl/serial/clock drivers for SDM845 SoC pinctrl: https://patchwork.kernel.org/patch/10157143/ (This is now pulled in by Linus Walleij for 4.17) clo

Re: [PATCH v4.16-rc4 1/2] x86/vdso: on Intel, VDSO should handle CLOCK_MONOTONIC_RAW

2018-03-12 Thread Peter Zijlstra
On Mon, Mar 12, 2018 at 08:24:13AM +0100, Ingo Molnar wrote: > - Code quality of the submitted patches is atrocious, please run them through >scripts/checkpatch.pl (and make sure they pass) to at least enable the > reading >of them. I'd suggest also reading: Documentation/CodingStyle

Re: [RFCv4,19/21] media: vim2m: add request support

2018-03-12 Thread Paul Kocialkowski
Hi, On Sun, 2018-03-11 at 22:42 +0300, Dmitry Osipenko wrote: > Hello, > > On 07.03.2018 19:37, Paul Kocialkowski wrote: > > Hi, > > > > First off, I'd like to take the occasion to say thank-you for your > > work. > > This is a major piece of plumbing that is required for me to add > > support >

Re: [PATCH v6 01/12] drivers: base: Unified device connection lookup

2018-03-12 Thread Heikki Krogerus
On Sun, Mar 11, 2018 at 07:24:18PM +0100, Hans de Goede wrote: > Hi all, > > On 09-03-18 18:53, Greg Kroah-Hartman wrote: > > On Fri, Mar 02, 2018 at 11:20:46AM +0100, Hans de Goede wrote: > > > From: Heikki Krogerus > > > > > > Several frameworks - clk, gpio, phy, pmw, etc. - maintain > > > loo

Re: [PATCH ghak21 V2 0/4] audit: address ANOM_LINK excess records

2018-03-12 Thread Richard Guy Briggs
On 2018-03-12 02:31, Richard Guy Briggs wrote: > Audit link denied events were being unexpectedly produced in a disjoint > way when audit was disabled, and when they were expected, there were > duplicate PATH records. This patchset addresses both issues for > symlinks and hardlinks. > > This was

[PATCH v4.16-rc4 1/3] x86/vdso: on Intel, VDSO should handle CLOCK_MONOTONIC_RAW

2018-03-12 Thread Jason Vas Dias
Currently the VDSO does not handle clock_gettime( CLOCK_MONOTONIC_RAW, &ts ) on Intel / AMD - it calls vdso_fallback_gettime() for this clock, which issues a syscall, having an unacceptably high latency (minimum measurable time or time between measurements) of 300-700ns on 2 2.

Re: KASAN: use-after-free Read in sctp_association_free (2)

2018-03-12 Thread Xin Long
On Sun, Mar 11, 2018 at 3:04 AM, Neil Horman wrote: > On Sun, Mar 11, 2018 at 12:22:32AM +0800, Xin Long wrote: >> On Sat, Mar 10, 2018 at 9:13 PM, Neil Horman wrote: >> > On Sat, Mar 10, 2018 at 03:58:04PM +0800, Xin Long wrote: >> >> On Sat, Mar 10, 2018 at 6:08 AM, Neil Horman >> >> wrote: >

Re: [RFCv4,19/21] media: vim2m: add request support

2018-03-12 Thread Tomasz Figa
Hi Paul, Dmitry, On Mon, Mar 12, 2018 at 5:10 PM, Paul Kocialkowski wrote: > Hi, > > On Sun, 2018-03-11 at 22:42 +0300, Dmitry Osipenko wrote: >> Hello, >> >> On 07.03.2018 19:37, Paul Kocialkowski wrote: >> > Hi, >> > >> > First off, I'd like to take the occasion to say thank-you for your >> > w

Re: smp_mb__after_spinlock requirement too strong?

2018-03-12 Thread 焦晓冬
>> Peter pointed out in this patch https://patchwork.kernel.org/patch/9771921/ >> that the spinning-lock used at __schedule() should be RCsc to ensure >> visibility of writes prior to __schedule when the task is to be migrated to >> another CPU. >> >> And this is emphasized at the comment of the ne

i915: Screen blanking problems with DRRS on HP Elitebook 820

2018-03-12 Thread Juha Erkkilä
Hello folks, I am seeing some blank screen issues with some HP machines that have a product name "HP Elitebook 820 G1". The problem does not occur with all machines with this product name. The problem manifests itself thus that all of a sudden, maybe after an hour or two of use, the laptop scree

Re: [PATCH v4.16-rc4 1/2] x86/vdso: on Intel, VDSO should handle CLOCK_MONOTONIC_RAW

2018-03-12 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Mon, Mar 12, 2018 at 08:24:13AM +0100, Ingo Molnar wrote: > > > - Code quality of the submitted patches is atrocious, please run them > > through > >scripts/checkpatch.pl (and make sure they pass) to at least enable the > > reading > >of them. > > I'd s

Re: [RFCv4,19/21] media: vim2m: add request support

2018-03-12 Thread Paul Kocialkowski
Hi, On Mon, 2018-03-12 at 17:15 +0900, Tomasz Figa wrote: > Hi Paul, Dmitry, > > On Mon, Mar 12, 2018 at 5:10 PM, Paul Kocialkowski > wrote: > > Hi, > > > > On Sun, 2018-03-11 at 22:42 +0300, Dmitry Osipenko wrote: > > > Hello, > > > > > > On 07.03.2018 19:37, Paul Kocialkowski wrote: > > > >

Re: [PATCH v2 2/3] drm: bridge: Add LVDS decoder driver

2018-03-12 Thread Andrzej Hajda
On 09.03.2018 14:51, Jacopo Mondi wrote: > Add transparent LVDS decoder driver. > > A transparent LVDS decoder is a DRM bridge device that does not require > any configuration and converts LVDS input to digital CMOS/TTL parallel > data output. Neither code, neither bindings are LVDS specific, this

Re: [PATCH 04/13] x86: use generic swiotlb_ops

2018-03-12 Thread Christoph Hellwig
On Thu, Mar 08, 2018 at 04:03:12PM +, Robin Murphy wrote: >> Also fix the sta2x11 case. For that SOC the dma map ops need an >> additional physical to dma address translations. For swiotlb buffers >> that is done throught the phys_to_dma helper, but the sta2x11_dma_ops >> also added an additi

Re: [PATCH v4.16-rc4 2/2] x86/vdso: on Intel, VDSO should handle CLOCK_MONOTONIC_RAW

2018-03-12 Thread Peter Zijlstra
On Mon, Mar 12, 2018 at 07:01:20AM +, Jason Vas Dias wrote: > Sometimes, particularly when correlating elapsed time to performance > counter values, So what actual problem are you tring to solve here? Perf can already give you sample time in various clocks, including MONOTONIC_RAW.

Re: [PATCH v4.16-rc4 1/1] x86/vdso: on Intel, VDSO should handle CLOCK_MONOTONIC_RAW

2018-03-12 Thread kbuild test robot
Hi Jason, Thank you for the patch! Yet something to improve: [auto build test ERROR on v4.16-rc4] url: https://github.com/0day-ci/linux/commits/Jason-Vas-Dias/x86-vdso-on-Intel-VDSO-should-handle-CLOCK_MONOTONIC_RAW/20180312-161442 config: x86_64-randconfig-x010-201810 (attached as .config

RE: [PATCH v2] power: supply: da9150-fg: remove VLA usage

2018-03-12 Thread Adam Thomson
On 09 March 2018 18:27, Gustavo A. R. Silva wrote: > In preparation to enabling -Wvla, remove VLA usage and replace it > with fixed-length arrays. > > DA9150_QIF_LONG_SIZE (4 bytes) is the biggest size of an attribute which can > be accessed [1]. > > Fixed as part of the directive to remove all

Re: [RFCv4,19/21] media: vim2m: add request support

2018-03-12 Thread Tomasz Figa
On Mon, Mar 12, 2018 at 5:25 PM, Paul Kocialkowski wrote: > Hi, > > On Mon, 2018-03-12 at 17:15 +0900, Tomasz Figa wrote: >> Hi Paul, Dmitry, >> >> On Mon, Mar 12, 2018 at 5:10 PM, Paul Kocialkowski >> wrote: >> > Hi, >> > >> > On Sun, 2018-03-11 at 22:42 +0300, Dmitry Osipenko wrote: >> > > Hell

Re: [PATCH v4.16-rc4 1/2] x86/vdso: on Intel, VDSO should handle CLOCK_MONOTONIC_RAW

2018-03-12 Thread Jason Vas Dias
Good day - On 12/03/2018, Ingo Molnar wrote: > > * Thomas Gleixner wrote: > >> On Mon, 12 Mar 2018, Jason Vas Dias wrote: >> >> checkpatch.pl still reports: >> >>total: 15 errors, 3 warnings, 165 lines checked >> Sorry I didn't see you had responded until 40 mins ago . I finally found wher

RE: [PATCH v4 0/7] typec: tcpm: Add sink side support for PPS

2018-03-12 Thread Adam Thomson
On 09 March 2018 17:34, Greg Kroah-Hartman wrote: > On Tue, Jan 02, 2018 at 03:50:48PM +, Adam Thomson wrote: > > This patch set adds sink side support for the PPS feature introduced in the > > USB PD 3.0 specification. > > > > The source PPS supply is represented using the Power Supply framew

Re: [PATCH v2 00/12] Introduce STM32MP1 clock driver

2018-03-12 Thread Gabriel FERNANDEZ
Many Thanks Mike ! Best Regards Gabriel. On 03/11/2018 11:42 PM, Michael Turquette wrote: > Excerpts from gabriel.fernan...@st.com's message of March 8, 2018 8:53 > am: >> From: Gabriel Fernandez >> >> v2: >>   - Don't use MFD, use existing binding of STM32 RCC. >>   - Rework Peripheral and K

Re: [RFC PATCH 04/35] syscalls: do not call sys_getpgid() within the kernel

2018-03-12 Thread Christoph Hellwig
The subject (and lack of description) for this and the following patches is rather confusing. I'd expect something like: snip Subject: kernel: add a do_getpgid helper And use it to avoid an in-kernel sys_getpgid call. snip instead. On Sun, Mar 11, 2018 at 11:55:26AM +0100,

[PATCH RESEND v1 0/3] perf/core: expose thread context switch out event type to user space

2018-03-12 Thread Alexey Budankov
Here is a series of small patches that implement exposing type of context-switch-out event as a part of PERF_RECORD_SWITCH[_CPU_WIDE] record. Introduced types of context-switch-out events assumed to be: a) preempt: task->state == TASK_RUNNING misc &= PERF_RECORD_MISC_SWITCH_OUT

From: Mr.Ahmed Owain

2018-03-12 Thread Mr.Ahmed Owain
Good Day, Please accept my apologies for writing you a surprise letter.I am Mr.Ahmed Owain, account Manager with an investment bank here in Burkina Faso.I have a very important business I want to discuss with you.There is a draft account opened in my firm by a long-time client of our bank.I have t

Re: 答复: [PATCH] Delete some unusefull operations for centaur CPU/platform

2018-03-12 Thread Ingo Molnar
* David Wang wrote: > [David] pr->flags.has_cst means BIOS define valid C state table. And at > lease > define 2 entries. On all centaur platform which support C3, this condition is > always true. > [David] Just as the following comment said, we need not execute WBINVD and > ARB_DISABLE/AR

[PATCH RESEND v1 1/3] perf/core: store context switch out type into Perf trace

2018-03-12 Thread Alexey Budankov
Store thread context-switch-out event type into Perf trace as a part of PERF_RECORD_SWITCH[_CPU_WIDE] records. Introduced types of switch-out events assumed to be a) preempt: task->state == TASK_RUNNING and b) yield: !preempt; New yield event type is encoded using special PERF_RECORD_MISC_SWIT

Re: [PATCH] net/mlx4_en: Fix a memory leak in case of error in 'mlx4_en_init_netdev()'

2018-03-12 Thread Tariq Toukan
On 12/03/2018 12:45 AM, Christophe JAILLET wrote: If 'kzalloc' fails, we must free some memory before returning. Fixes: 67f8b1dcb9ee ("net/mlx4_en: Refactor the XDP forwarding rings scheme") Signed-off-by: Christophe JAILLET --- drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 2 +- 1 file

[PATCH RESEND v1 2/3] perf report: extend raw dump (-D) out with switch out event type

2018-03-12 Thread Alexey Budankov
Print additional 'yield' tag for PERF_RECORD_SWITCH[_CPU_WIDE] OUT records when event header misc field contains PERF_RECORD_MISC_SWITCH_OUT_YIELD bit set designating synchronization context switch out event: perf report -D -i system-wide.perf: 0x1b9c50 [0x30]: event: 15 . . ... raw event: size

[PATCH RESEND v1 3/3] perf script: extend misc field deconding with switch out event type

2018-03-12 Thread Alexey Budankov
Append 'y' sign to 'S' tag designating the type of context switch out event so 'S' means preemption context switch and 'Sy' means synchronization context switch. Documentation is extended to cover new presentation changes. perf script --show-switch-events -F +misc -I -i system-wide.perf: amplxe

Re: [PATCH 0/4] ARM: dts: sun8i: a33: Improvements for A33-OLinuXino

2018-03-12 Thread Maxime Ripard
On Mon, Mar 12, 2018 at 12:23:52PM +0800, Chen-Yu Tsai wrote: > Hi, > > Here are some cleanup and improvements for the A33-OLinuXino device > tree. The first two patches drop some unneeded bits. The latter two > enable peripherals that we now support. Applied all four, thanks! Maxime -- Maxime

[GIT PULL 0/5] more EFI changes for v4.17

2018-03-12 Thread Ard Biesheuvel
The following changes since commit f779ca740f25c8a6a72d951334f9efc3158a318b: efi: Make const array 'apple' static (2018-03-09 09:30:35 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-next for you to fetch changes up to a6072c

[PATCH 4/5] efi/esrt: fix handling of early ESRT table mapping

2018-03-12 Thread Ard Biesheuvel
As reported by Tyler, efi_esrt_init() will return without releasing the ESRT table header mapping if it encounters a table with an unexpected version. Replacing the 'return' with 'goto err_memunmap' would fix this particular occurrence, but, as it turns out, the code is rather peculiar to begin wit

[PATCH 5/5] efi: use string literals for efi_char16_t variable initializers

2018-03-12 Thread Ard Biesheuvel
Now that we unambiguously build the entire kernel with -fshort-wchar, it is no longer necessary to open code efi_char16_t[] initializers as arrays of characters, and we can move to the L"xxx" notation instead. Cc: Arnd Bergmann Cc: Lukas Wunner Signed-off-by: Ard Biesheuvel --- arch/x86/boot/c

[PATCH 2/5] x86/efi: Replace efi_pgd with efi_mm.pgd

2018-03-12 Thread Ard Biesheuvel
From: Sai Praneeth Since the previous patch added support for efi_mm, let's handle efi_pgd through efi_mm and remove global variable efi_pgd. Signed-off-by: Sai Praneeth Prakhya Cc: "Lee, Chun-Yi" Cc: Borislav Petkov Cc: Tony Luck Cc: Andy Lutomirski Cc: Michael S. Tsirkin Cc: Bhupesh Shar

[PATCH 1/5] efi: Use efi_mm in x86 as well as ARM

2018-03-12 Thread Ard Biesheuvel
From: Sai Praneeth Presently, only ARM uses mm_struct to manage efi page tables and efi runtime region mappings. As this is the preferred approach, let's make this data structure common across architectures. Specially, for x86, using this data structure improves code maintainability and readabili

Re: [PATCH] ARM: dts: sun8i: reference tablet design: Enable PMIC power supplies

2018-03-12 Thread Maxime Ripard
On Mon, Mar 12, 2018 at 12:21:16PM +0800, Chen-Yu Tsai wrote: > The A23/A33 reference tablet design has a DC barrel tied to the ACIN > of the PMIC. And being a tablet, it has a Li-Po battery. > > Enable both power supplies in the device tree. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Max

[PATCH 3/5] x86/efi: Use efi_switch_mm() rather than manually twiddling with %cr3

2018-03-12 Thread Ard Biesheuvel
From: Sai Praneeth Use helper function efi_switch_mm() to switch to/from efi_mm when invoking any UEFI runtime services. Likewise, we need to switch back to previous mm (mm context stolen by efi_mm) after the above calls return successfully. We can use efi_switch_mm() helper function only with x

Re: [PATCH v1 0/2] drm/panel: otm8009a: Add support for the optional power-supply

2018-03-12 Thread Thierry Reding
On Mon, Feb 05, 2018 at 10:45:30AM +0100, Philippe Cornu wrote: > Some boards use a dedicated voltage regulator for this panel. > Add & Document this related optional power-supply property and > add its support in the driver. > > Philippe Cornu (2): > dt-bindings/display/panel: otm8009a: Add opt

[PATCH] staging: wilc1000: use pre-defined macro is_broadcast_ether_addr

2018-03-12 Thread hariprasath . elango
From: Hari Prasath Use the kernel pre-defined macro is_broadcast_ether_addr() instead of doing a memcmp here. Signed-off-by: Hari Prasath --- drivers/staging/wilc1000/linux_mon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/linux_mon.c b/drive

Re: [PATCH 1/4] perf/x86/intel: Add Tremont CPU PMU support

2018-03-12 Thread Ingo Molnar
* kan.li...@linux.intel.com wrote: > + /*TODO: test Adaptive PEBS, no extra implementation needed */ > + /*TODO: test PDIR fixed counter */ > + /* TODO: OFFCORE_RESPONSE mask updates for 10nm convered IDI */ > + /*TODO: implement topdown metrics, base metr

[PATCH v4 0/6] staging: Introduce DPAA2 Ethernet Switch driver

2018-03-12 Thread Razvan Stefanescu
This patchset introduces the Ethernet Switch Driver for Freescale/NXP SoCs with DPAA2 (DataPath Acceleration Architecture v2). The driver manages switch objects discovered on the fsl-mc bus. A description of the driver can be found in the associated README file. The patchset consists of: * A set o

[PATCH v4 1/6] staging: fsl-dpaa2/ethsw: Add APIs for DPSW object

2018-03-12 Thread Razvan Stefanescu
Add the command build/parse APIs for operating on DPSW objects through the DPAA2 Management Complex. Signed-off-by: Razvan Stefanescu --- Changelog: v2: - use u8 for en parameter of dpsw_if_set_flooding/broadcast() v3: - no changes v4: - adjust to moving MC-bus out of staging -

[PATCH v4 3/6] staging: fsl-dpaa2/ethsw: Add ethtool support

2018-03-12 Thread Razvan Stefanescu
Add driver information, link details and hardware statistics to be reported via ethtool -S. Signed-off-by: Razvan Stefanescu --- Changelog: v2: - no changes v3: - removed driver version v4: - no changes drivers/staging/fsl-dpaa2/ethsw/Makefile| 2 +- drivers/staging/fsl

[PATCH v4 5/6] staging: fsl-dpaa2/ethsw: Add README

2018-03-12 Thread Razvan Stefanescu
Add a README file describing the driver architecture, components and interfaces. Signed-off-by: Razvan Stefanescu --- Changelog: v2: - no changes v3: - no changes v4: - no changes drivers/staging/fsl-dpaa2/ethsw/README | 106 + 1 file changed, 106

Re: [PATCH] can: m_can: select pinctrl state in each suspend/resume function

2018-03-12 Thread Bich HEMON
Hi all, On 03/01/2018 01:29 PM, Bich HEMON wrote: > Make sure to apply the correct pin state in suspend/resume callbacks. > Putting pins in sleep state saves power. > > Signed-off-by: Bich Hemon > --- > drivers/net/can/m_can/m_can.c | 4 > 1 file changed, 4 insertions(+) > > diff --git

Re: [PATCH v3 4/7] drm/panel: simple: Add support for KEO TX31D200VM0BAA

2018-03-12 Thread Thierry Reding
On Sun, Feb 04, 2018 at 11:19:28PM +0530, Jagan Teki wrote: > This adds support for the Kaohsiung Opto-Electronics., > TX31D200VM0BAA 12.3" HSXGA LVDS panel, which can be > supported by the simple panel driver. > > Signed-off-by: Jagan Teki > Reviewed-by: Rob Herring > --- > Changes for v3: > -

[PATCH v4 6/6] staging: fsl-dpaa2/ethsw: Add TODO

2018-03-12 Thread Razvan Stefanescu
Add a TODO file describing what needs to be added/changed before the driver can be moved out of staging. Signed-off-by: Razvan Stefanescu --- Changelog: v2: - no changes v3: - no changes v4: - remove fsl-mc bus driver dependency as it is out of staging drivers/staging/fsl-dpaa2/e

[PATCH v4 4/6] staging: fsl-dpaa2/ethsw: Add maintainer for Ethernet Switch driver

2018-03-12 Thread Razvan Stefanescu
Signed-off-by: Razvan Stefanescu --- Changelog: v2: - no changes v3: - no changes v4: - no changes MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c3c2b75..20d7bf2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4410,6 +4410,12

Re: smp_mb__after_spinlock requirement too strong?

2018-03-12 Thread Boqun Feng
On Mon, Mar 12, 2018 at 04:18:00PM +0800, 焦晓冬 wrote: > >> Peter pointed out in this patch https://patchwork.kernel.org/patch/9771921/ > >> that the spinning-lock used at __schedule() should be RCsc to ensure > >> visibility of writes prior to __schedule when the task is to be migrated to > >> anoth

Re: [PATCH] X86/KVM: Update the exit_qualification access bits while walking an address

2018-03-12 Thread Raslan, KarimAllah
On Sun, 2018-03-04 at 10:17 +, Raslan, KarimAllah wrote: > On Fri, 2018-03-02 at 18:41 +0100, Paolo Bonzini wrote: > > > > On 28/02/2018 19:06, KarimAllah Ahmed wrote: > > > > > > > > > ... to avoid having a stale value when handling an EPT misconfig for MMIO > > > regions. > > > > > > MMIO

  1   2   3   4   5   6   7   8   9   10   >