Re: [PATCH] mm: kmemleak: Turn kmemleak_lock to spin lock and RCU primitives

2019-01-07 Thread Catalin Marinas
On Mon, Jan 07, 2019 at 03:31:18PM +0800, He Zhe wrote: > On 1/5/19 2:37 AM, Catalin Marinas wrote: > > On Fri, Jan 04, 2019 at 10:29:13PM +0800, zhe...@windriver.com wrote: > >> It's not necessary to keep consistency between readers and writers of > >> kmemleak_lock. RCU is more proper for this ca

[PATCH v9 02/10] dt-bindings: power: Add qcom rpm power domain driver bindings

2019-01-07 Thread Rajendra Nayak
Add DT bindings to describe the rpm/rpmh power domains found on Qualcomm Technologies, Inc. SoCs. These power domains communicate a performance state to RPM/RPMh, which then translates it into corresponding voltage on a PMIC rail. Signed-off-by: Rajendra Nayak Signed-off-by: Viresh Kumar Reviewe

[PATCH v9 03/10] soc: qcom: rpmpd: Add a Power domain driver to model corners

2019-01-07 Thread Rajendra Nayak
The Power domains for corners just pass the performance state set by the consumers to the RPM (Remote Power manager) which then takes care of setting the appropriate voltage on the corresponding rails to meet the performance needs. We add all power domain data needed on msm8996 here. This driver c

[PATCH v9 00/10] Add power domain driver for corners on msm8996/sdm845

2019-01-07 Thread Rajendra Nayak
Changes in v9: * Updated qcom-opp bindings to be generic and usable across other SoCs with similar needs (Like MediaTek) * Removed the simple_opp_to_performance_state() helper and added a dev_pm_opp_of_get_level() helper instead * Rebased on 5.0-rc1 Changes in v8: * Patch 01/10: Bindings updated

[PATCH v9 05/10] arm64: dts: msm8996: Add rpmpd device node

2019-01-07 Thread Rajendra Nayak
Add rpmpd device node and its OPP table Signed-off-by: Rajendra Nayak Signed-off-by: Viresh Kumar Reviewed-by: Ulf Hansson Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 34 +++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/q

[PATCH v9 08/10] OPP: Add a dev_pm_opp_of_get_level() helper

2019-01-07 Thread Rajendra Nayak
Now that we have atleast 2 genpd providers, both using a simple routine to read a performance state (opp-level) value from device tree, in order to implement the .opp_to_performance_state callback, add a dev_pm_opp_of_get_level() helper to do it, so it can be resued across all such genpd providers

[PATCH v9 10/10] soc: qcom: rpmhpd: Mark mx as a parent for cx

2019-01-07 Thread Rajendra Nayak
Specify the active + sleep and active-only MX power domains as the parents of the corresponding CX power domains. This will ensure that performance state requests on CX automatically generate equivalent requests on MX power domains. This is used to enforce a requirement that exists for various har

[PATCH v9 09/10] soc: qcom: rpmpd: Use dev_pm_opp_of_get_level() helper

2019-01-07 Thread Rajendra Nayak
Get rid of the duplicate code across rpmpd and rpmhpd to read the performance state value (opp-level) from Device tree and use the dev_pm_opp_of_get_level() helper instead. Suggested-by: Stephen Boyd Signed-off-by: Rajendra Nayak Reviewed-by: Ulf Hansson --- drivers/soc/qcom/rpmhpd.c | 11 +---

[PATCH v9 06/10] soc: qcom: rpmhpd: Add RPMh power domain driver

2019-01-07 Thread Rajendra Nayak
The RPMh power domain driver aggregates the corner votes from various consumers for the ARC resources and communicates it to RPMh. With RPMh we use 2 different numbering space for corners, one used by the clients to express their performance needs, and another used to communicate to RPMh hardware.

Re: [PATCH v1 2/2] drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock

2019-01-07 Thread Daniel Vetter
On Sat, Jan 05, 2019 at 09:21:21PM +0500, Ivan Mironov wrote: > On Fri, 2018-12-28 at 13:06 +0100, Daniel Vetter wrote: > > On Fri, Dec 28, 2018 at 04:13:08AM +0500, Ivan Mironov wrote: > > > Strict requirement of pixclock to be zero breaks support of SDL 1.2 > > > which contains hardcoded table of

Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

2019-01-07 Thread Michael Ellerman
Linus Torvalds writes: > On Sat, Jan 5, 2019 at 3:16 PM Linus Torvalds > wrote: >> >> It goes back to forever, it looks like. I can't find a reason. > > mincore() was originally added in 2.3.52pre3, it looks like. Around > 2000 or so. But sadly before the BK history. Yeah, it's here in the comm

[PATCH v9 07/10] arm64: dts: sdm845: Add rpmh powercontroller node

2019-01-07 Thread Rajendra Nayak
Add the DT node for the rpmhpd powercontroller. Signed-off-by: Rajendra Nayak Acked-by: Viresh Kumar Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 51 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch

Re: [PATCH v1 2/2] drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock

2019-01-07 Thread Greg KH
On Sat, Jan 05, 2019 at 09:21:21PM +0500, Ivan Mironov wrote: > On Fri, 2018-12-28 at 13:06 +0100, Daniel Vetter wrote: > > On Fri, Dec 28, 2018 at 04:13:08AM +0500, Ivan Mironov wrote: > > > Strict requirement of pixclock to be zero breaks support of SDL 1.2 > > > which contains hardcoded table of

Re: [RFC PATCH 2/3] crypto: Add Xilinx SHA3 driver

2019-01-07 Thread Corentin Labbe
On Mon, Jan 07, 2019 at 02:32:55PM +0530, Kalyani Akula wrote: > This patch adds SHA3 driver suuport for the Xilinx > ZynqMP SoC. > > Signed-off-by: Kalyani Akula Hello I have some comment below > +static int zynqmp_sha_init(struct ahash_request *req) > +{ > + const struct zynqmp_eemi_ops

Re: [PATCH] vfio_pci: Add local source directory as include

2019-01-07 Thread Masahiro Yamada
On Mon, Jan 7, 2019 at 6:18 PM Michael Ellerman wrote: > > Laura Abbott writes: > > Commit 7f92891778df ("vfio_pci: Add NVIDIA GV100GL [Tesla V100 SXM2] > > subdriver") introduced a trace.h file in the local directory but > > missed adding the local include path, resulting in compilation > > fail

Re: [PATCH] Input: goodix - decouple irq and reset lines

2019-01-07 Thread Gonzalez, Alex
Hi Dmitry, Thanks for your quick reply. > >I do not have a datasheet for the device, so I am not sure if reset line >is actually needed to put the device into sleep mode. As far as I can >see from the code we suspend it by pulsing INT line and then sending a >command to the controller, and resumi

Re: [GIT PULL] security: seccomp changes for v4.21

2019-01-07 Thread Ingo Molnar
* James Morris wrote: > From Kees: > > "- Add SECCOMP_RET_USER_NOTIF > > - seccomp fixes for sparse warnings and s390 build (Tycho)" > > > > The following changes since commit 1072bd678547f8663cfb81a22fdb50c589e4976e: > > security: fs: make inode explicitly non-modular (2018-12-12 14:58

Re: [PATCH] v2 staging: rtl8723bs: Clean up dead code

2019-01-07 Thread Greg Kroah-Hartman
On Sun, Jan 06, 2019 at 10:20:59AM -0600, Aditya Pakki wrote: > rtw_wps_start() is part of dead code due to CONFIG_INTEL_WIDI. > The fix removes the deadcode and replaces the function with NULL > in rtw_private_handler. Identified as part of copy_from_user bug. > > Signed-off-by: Aditya Pakki > -

Re: [PATCH] hv_balloon: avoid touching uninitialized struct page during tail onlining

2019-01-07 Thread David Hildenbrand
On 04.01.19 15:19, Vitaly Kuznetsov wrote: > Hyper-V memory hotplug protocol has 2M granularity and in Linux x86 we use > 128M. To deal with it we implement partial section onlining by registering > custom page onlining callback (hv_online_page()). Later, when more memory > arrives we try to online

Re: [RFC][PATCH v2 11/21] kvm: allocate page table pages from DRAM

2019-01-07 Thread Fengguang Wu
On Wed, Jan 02, 2019 at 08:47:25AM -0800, Dave Hansen wrote: On 12/26/18 5:14 AM, Fengguang Wu wrote: +static unsigned long __get_dram_free_pages(gfp_t gfp_mask) +{ + struct page *page; + + page = __alloc_pages(GFP_KERNEL_ACCOUNT, 0, numa_node_id()); + if (!page) +

Re: [LKP] [mtd] c4dfa25ab3: kernel_BUG_at_fs/sysfs/file.c

2019-01-07 Thread Boris Brezillon
Hello Linus, On Wed, 2 Jan 2019 11:53:34 -0800 Linus Torvalds wrote: > Hmm.. > > Adding a few more mtd people to the cc. Sorry for the late reply, I don't have access to my @bootlin.com address anymore and it took me some time to realize you had replied to this bug report. > > On Tue, Jan 1,

Re: [LINUX PATCH v12] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2019-01-07 Thread Romain Perier
Hi, Le mer. 2 janv. 2019 à 10:23, Naga Sureshkumar Relli a écrit : > > Hi, > > > -Original Message- > > From: Miquel Raynal [mailto:miquel.ray...@bootlin.com] > > Sent: Wednesday, January 2, 2019 2:04 PM > > To: Romain Perier > > Cc: Naga Sureshkumar Relli ; Boris Brezillon > > ; linux-.

Re: [PATCH -next] drm: Fix error handling in drm_legacy_addctx

2019-01-07 Thread Daniel Vetter
On Sat, Dec 29, 2018 at 10:49:07AM +0800, YueHaibing wrote: > 'ctx->handle' is unsigned, it never less than zero. > This patch use int 'tmp_handle' to handle the err condition. > > Fixes: 62968144e673 ("drm: convert drm context code to use Linux idr") > Signed-off-by: YueHaibing Queue for 5.1 (s

Re: linux-next: manual merge of the csky tree with Linus' tree

2019-01-07 Thread Stephen Rothwell
Hi Christoph, On Mon, 7 Jan 2019 07:53:44 +0100 Christoph Hellwig wrote: > > On Mon, Jan 07, 2019 at 10:27:27AM +1100, Stephen Rothwell wrote: > > You want to add "select ARCH_NO_SG_CHAIN" to your Kconfig somewhere > > (see the commit from Linus' tree above). > > No, csky should not select it.

Re: CFS scheduler: spin_lock usage causes dead lock when smp_apic_timer_interrupt occurs

2019-01-07 Thread Peter Zijlstra
On Fri, Jan 04, 2019 at 12:42:27PM +, Tom Putzeys wrote: > Dear Ingo and Peter, > > I would like to report a possible bug in the CFS scheduler causing a > dead lock.  > > We suspect this bug to have caused intermittent yet highly-persistent > system freezes on our quad-core SMP systems. > >

Re: [PATCH] HISI LPC: Don't fail probe for unrecognised child devices

2019-01-07 Thread John Garry
322ed0a1eb9c4d4715c4b90c9af57352 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/bus/hisi_lpc.c?h=next-20190107&id=e0aa1563f8945d9b8f472426d100bed190a4308f https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi

Re: [PATCH v2 2/2] mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)

2019-01-07 Thread Faiz Abbas
Hi Olof, On 05/01/19 6:27 AM, Olof Johansson wrote: > On Wed, Jan 2, 2019 at 9:58 PM Faiz Abbas wrote: >> >> Hi Olof, Eduardo, >> >> On 03/01/19 1:26 AM, Eduardo Valentin wrote: >>> On Wed, Jan 02, 2019 at 10:29:31AM -0800, Olof Johansson wrote: Hi, ... This is throwing e

Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

2019-01-07 Thread Vlastimil Babka
On 1/7/19 5:32 AM, Dominique Martinet wrote: > Linus Torvalds wrote on Sat, Jan 05, 2019: >> But I think my patch to just rip out all that page lookup, and just >> base it on the page table state has the fundamental advantage that it >> gets rid of code. Maybe I should jst commit it, and see if any

Re: [PATCH v2 07/14] drm: move EXPORT_SYMBOL_FOR_TESTS_ONLY to drm_util.h

2019-01-07 Thread Daniel Vetter
On Thu, Jan 03, 2019 at 12:16:46AM -0800, Christoph Hellwig wrote: > On Sun, Dec 30, 2018 at 06:48:31PM +0100, Sam Ravnborg wrote: > > +/* > > + * Use EXPORT_SYMBOL_FOR_TESTS_ONLY() for functions that shall > > + * only be visible for drmselftests. > > + */ > > +#if defined(CONFIG_DRM_DEBUG_SELFTES

Re: [PATCH v4 03/11] vga-switcheroo: make PCI dependency explicit

2019-01-07 Thread Daniel Vetter
On Sun, Dec 30, 2018 at 07:56:04PM +, Sinan Kaya wrote: > This driver depends on the PCI infrastructure but the dependency has not > been explicitly called out. > > Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI > set") > Signed-off-by: Sinan Kaya > Reviewed-by: L

Re: [PATCH] drm/mediatek: Add MTK Framebuffer-Device (mt7623)

2019-01-07 Thread Daniel Vetter
On Wed, Jan 02, 2019 at 09:49:17AM +0100, Frank Wunderlich wrote: > From: CK Hu > > This patch adds Framebuffer-Driver for Mediatek > > currently tested on mt7623, maybe works on other platforms > MTK-FBDev written by CK Hu and ported from 4.4 > > based on patchset drm/hdmi for 7623 v5 (except

[PATCH v2] fbdev: fbmem: convert CONFIG_FB_LOGO_CENTER into a cmd, line option

2019-01-07 Thread Peter Rosin
On 2019-01-07 10:11, Geert Uytterhoeven wrote: > Hi Peter, > > On Mon, Jan 7, 2019 at 10:03 AM Peter Rosin wrote: >> On 2019-01-07 09:59, Peter Rosin wrote: >>> On 2019-01-07 09:40, Geert Uytterhoeven wrote: On Mon, Jan 7, 2019 at 9:26 AM Peter Rosin wrote: > On 2019-01-06 10:33, Geert

[PATCH 0/2] x86/mce/amd: apply missing quirks for family 15 models

2019-01-07 Thread S, Shirish
This patch series applies to family 15 CPU's of AMD platforms, so as to address a consistent warning of "[Firmware Bug]: cpu 0, invalid threshold interrupt offset" at every boot and upon completiong of successful S3 cycle, due to a missing quirk, which was not extended to newer models and also not

[PATCH 1/2] x86/mce/amd: Extend "Disable error thresholding bank 4" to more models

2019-01-07 Thread S, Shirish
The below patch added this quirk only for the first generation of family 15 processors, over time its noticed that its required for later generations too. "575203b4747c x86, MCE, AMD: Disable error thresholding bank 4 on some models" This patch extends the quirk to make it applicable till 7th Gen

[PATCH 2/2] x86/mce/amd: Ensure quirks are applied in resume path as well

2019-01-07 Thread S, Shirish
This patch adds threshold quirk applicable for family 15 in resume path as well, since mce_amd_feature_init() does not have quirks applied when originating from mce_syscore_resume(), resulting in the below message at every successful resume: "[Firmware Bug]: cpu 0, invalid threshold interrupt offs

Re: [PATCH] drivers/bus/fsl-mc/dpbp.c: Remove duplicate header

2019-01-07 Thread Laurentiu Tudor
On 09.11.2018 11:51, Brajeswar Ghosh wrote: > Remove linux/fsl/mc.h which is included more than once > > Signed-off-by: Brajeswar Ghosh Acked-by: Laurentiu Tudor --- Best Regards, Laurentiu > --- > drivers/bus/fsl-mc/dpbp.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers

Re: [PATCH 1/1] drm/prime: Use sg_dma_len() macro to get sg's length

2019-01-07 Thread kbuild test robot
Hi Vivek, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.0-rc1 next-20190107] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH v2] kmemleak: survive in a low-memory situation

2019-01-07 Thread Catalin Marinas
On Thu, Jan 03, 2019 at 06:07:35PM +0100, Michal Hocko wrote: > > > On Wed 02-01-19 13:06:19, Qian Cai wrote: > > > [...] > > >> diff --git a/mm/kmemleak.c b/mm/kmemleak.c > > >> index f9d9dc250428..9e1aa3b7df75 100644 > > >> --- a/mm/kmemleak.c > > >> +++ b/mm/kmemleak.c > > >> @@ -576,6 +576,16 @

Re: [PATCH v2 1/5] spmi: pmic-arb: hardcode IRQ counts

2019-01-07 Thread Linus Walleij
On Mon, Jan 7, 2019 at 3:11 AM Brian Masney wrote: > Note: The qcom,pms405-gpio looks suspicious to me. The existing code > will start at gpio1, which is supposed to be a hole according to the > comment. I can fix this in a later patch if there is a desire. I didn't > do it now to try to keep thi

Re: [PATCH] drm: Auto-set allow_fb_modifiers when given modifiers at plane init

2019-01-07 Thread Daniel Vetter
On Fri, Jan 04, 2019 at 09:56:10AM +0100, Paul Kocialkowski wrote: > When drivers pass non-empty lists of modifiers for initializing their > planes, we can infer that they allow framebuffer modifiers and set the > driver's allow_fb_modifiers mode config element. > > In case the allow_fb_modifiers

Re: [PATCH v2 2/5] mfd: qcom-spmi-pmic: use devm_mfd_add_devices instead of devm_of_platform_populate

2019-01-07 Thread Linus Walleij
On Mon, Jan 7, 2019 at 3:11 AM Brian Masney wrote: > pmic_spmi_probe calls devm_of_platform_populate, which traverses all > of the children in device tree from the parent down to the children, > grandchildren, etc. of_irq_count is called on most of the nodes (via > of_device_alloc) and this initi

Re: [PATCH v4 03/11] vga-switcheroo: make PCI dependency explicit

2019-01-07 Thread Rafael J. Wysocki
On Mon, Jan 7, 2019 at 11:34 AM Daniel Vetter wrote: > > On Sun, Dec 30, 2018 at 07:56:04PM +, Sinan Kaya wrote: > > This driver depends on the PCI infrastructure but the dependency has not > > been explicitly called out. > > > > Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without

Re: [PATCH 07/16] tools headers uapi: Update i915_drm.h

2019-01-07 Thread Joonas Lahtinen
Quoting Arnaldo Carvalho de Melo (2019-01-04 20:33:28) > From: Arnaldo Carvalho de Melo > > To get the changes in these csets: > > fe841686470d Revert "drm/i915/perf: add a parameter to control the size of > OA buffer" > cd956bfcd0f5 drm/i915/perf: add a parameter to control the size of OA

Re: [RFC PATCH 1/4] acpi: change the topo of acpi_table_upgrade()

2019-01-07 Thread Rafael J. Wysocki
On Mon, Jan 7, 2019 at 9:25 AM Pingfan Liu wrote: > > The current acpi_table_upgrade() relies on initrd_start, but this var is > only valid after relocate_initrd(). There is requirement to extract the > acpi info from initrd before memblock-allocator can work(see [2/4]), hence > acpi_table_upgrade

Re: [PATCH] [v2] ALSA: ice1712: fix a missing check of snd_i2c_sendbytes

2019-01-07 Thread Takashi Iwai
On Sun, 06 Jan 2019 17:31:44 +0100, Aditya Pakki wrote: > > snd_i2c_sendbytes could fail. The fix checks its return value: if it > fails, issues an error message and returns with its error code. > > Signed-off-by: Aditya Pakki Thanks, applied. Takashi

[PATCH v2 1/4] pmbus: associate PMBUS_SKIP_STATUS_CHECK with driver_data

2019-01-07 Thread Xiaoting Liu
Current code compares device name with name in i2c_device_id to decide whether PMBUS_SKIP_STATUS_CHECK should be set in pmbus_platform_data, which makes adding new devices with PMBUS_SKIP_STATUS_CHECK should also modify code in pmbus_probe(). This patch adds pmbus_device_info to save pages and fla

Re: [PATCH] [v2] ALSA: line6: fix check on snd_card_register

2019-01-07 Thread Takashi Iwai
On Sun, 06 Jan 2019 18:01:47 +0100, Aditya Pakki wrote: > > The fix checks if snd_card_register() fails, and if so logs the error > via dev_err() consistent with other patches. > > Signed-off-by: Aditya Pakki Thanks, applied. Takashi

Re: [PATCH] [v2] ALSA: isa: fix a missing check of snd_ctl_add

2019-01-07 Thread Takashi Iwai
On Sun, 06 Jan 2019 18:16:00 +0100, Aditya Pakki wrote: > > snd_ctl_add() could fail, so let's check its return value and return its > error code upstream upon failure. > > Signed-off-by: Aditya Pakki Applied now. Thanks. Takashi

Re: [PATCH -next] media: staging/intel-ipu3: Fix err handle of ipu3_css_find_binary

2019-01-07 Thread Sakari Ailus
Hi Bingbu, On Mon, Jan 07, 2019 at 10:38:19AM +0800, Bingbu Cao wrote: > Hi, Haibing > > Thanks for your patch, it looks fine for me. > Reviewed-by: Bingbu Cao > > On 12/29/2018 10:45 AM, YueHaibing wrote: > > css->pipes[pipe].bindex = binary; I'm taking Colin's patch with equivalent content;

RE: [EXT] [PATCH] scsi: bnx2i: fix indentation issue, remove a tab

2019-01-07 Thread Manish Rangankar
> -Original Message- > From: Colin King > Sent: Friday, January 4, 2019 10:32 PM > To: qlogic-storage-upstr...@qlogic.com; James E . J . Bottomley > ; Martin K . Petersen ; > linux-s...@vger.kernel.org > Cc: kernel-janit...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [EXT] [PA

[PATCH v2 2/4] dt-bindings: hwmon: add dps650ab documentation

2019-01-07 Thread Xiaoting Liu
Bindings for DPS650AB power, voltage, temperature, and fan monitering. Signed-off-by: Xiaoting Liu --- v2: Change the patch subject. --- Documentation/devicetree/bindings/hwmon/dps650ab.txt | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/hwmon

Linux and license revocation, Explained in American vernacular.

2019-01-07 Thread alicevisionsthereof
Linux and license revocation, Explained in American vernacular: Video: http://openload.co/f/mT_AH3xmIUM/TruthAboutLinuxandGPLv2__.mp4 Audio: http://ufile.io/sdhpl Enjoy.

Re: [RFC RESEND PATCH 2/7] dt-bindings: soc: Add opp table on scpsys bindings

2019-01-07 Thread Henry Chen
On Thu, 2019-01-03 at 12:45 -0600, Rob Herring wrote: > On Wed, Jan 2, 2019 at 8:10 AM Henry Chen wrote: > > > > Add opp table on scpsys dt-bindings for Mediatek SoC. > > > > Signed-off-by: Henry Chen > > --- > > Documentation/devicetree/bindings/opp/mtk-opp.txt | 24 + > > .../devi

[PATCH v2 3/4] dts: dps650ab: add dps650ab device tree

2019-01-07 Thread Xiaoting Liu
Add dps650ab device tree to support power supply dps650ab driver Signed-off-by: Xiaoting Liu --- arch/arm/boot/dts/aspeed-bmc-arm-stardragon4800-rep2.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-arm-stardragon4800-rep2.dts b/arch/arm/boot/dts/

Re: [RFC RESEND PATCH 0/7] Add driver for dvfsrc and add support for active state of scpsys on mt8183

2019-01-07 Thread Henry Chen
On Thu, 2019-01-03 at 14:53 -0800, Stephen Boyd wrote: > Quoting Henry Chen (2019-01-02 06:09:51) > > The patchsets add support for MediaTek hardware module named DVFSRC > > (dynamic voltage and frequency scaling resource collector). The DVFSRC is > > a HW module which is used to collect all the re

Re: [RFC RESEND PATCH 3/7] soc: mediatek: add support for the performance state

2019-01-07 Thread Henry Chen
On Thu, 2019-01-03 at 14:57 -0800, Stephen Boyd wrote: > Quoting Henry Chen (2019-01-02 06:09:54) > > @@ -187,6 +190,18 @@ struct scp_soc_data { > > bool bus_prot_reg_update; > > }; > > > > +BLOCKING_NOTIFIER_HEAD(scpsys_notifier_list); > > static? OK > > > + > > +int register_scpsys_n

[PATCH v2 4/4] hwmon: (pmbus) add support for DPS-650AB

2019-01-07 Thread Xiaoting Liu
Provide support for PSU DPS-650AB from Delta Electronics, INC. Signed-off-by: Xiaoting Liu --- v2: Change the patch subject and commit message. Drop dps650ab.c file. Replace struct name dps650ab_pmbus_info with pmbus_info_one_skip. --- drivers/hwmon/pmbus/pmbus.c | 1 + 1 file changed, 1 i

Re: [PATCH] vfio_pci: Add local source directory as include

2019-01-07 Thread Cornelia Huck
On Mon, 7 Jan 2019 19:12:10 +0900 Masahiro Yamada wrote: > On Mon, Jan 7, 2019 at 6:18 PM Michael Ellerman wrote: > > > > Laura Abbott writes: > > > Commit 7f92891778df ("vfio_pci: Add NVIDIA GV100GL [Tesla V100 SXM2] > > > subdriver") introduced a trace.h file in the local directory but > >

Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

2019-01-07 Thread Dominique Martinet
Vlastimil Babka wrote on Mon, Jan 07, 2019: > On 1/7/19 5:32 AM, Dominique Martinet wrote: > > Linus Torvalds wrote on Sat, Jan 05, 2019: > >> But I think my patch to just rip out all that page lookup, and just > >> base it on the page table state has the fundamental advantage that it > >> gets rid

Re: [RFC RESEND PATCH 6/7] soc: mediatek: add MT8183 dvfsrc support

2019-01-07 Thread Henry Chen
On Fri, 2019-01-04 at 07:08 +0800, Stephen Boyd wrote: > Quoting Henry Chen (2019-01-02 06:09:57) > > diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig > > index a7d0667..f956f03 100644 > > --- a/drivers/soc/mediatek/Kconfig > > +++ b/drivers/soc/mediatek/Kconfig > > @@ -12,6

Re: [PATCH] vfio_pci: Add local source directory as include

2019-01-07 Thread Cornelia Huck
On Fri, 4 Jan 2019 11:57:14 -0800 Laura Abbott wrote: > Commit 7f92891778df ("vfio_pci: Add NVIDIA GV100GL [Tesla V100 SXM2] > subdriver") introduced a trace.h file in the local directory but > missed adding the local include path, resulting in compilation > failures with tracepoints: > > In fi

Re: [PATCH] v2 bakclight: fix missing checks in ambient_light_zone_store

2019-01-07 Thread Daniel Thompson
On Sat, Jan 05, 2019 at 12:48:07PM -0600, Aditya Pakki wrote: > In adp8870_bl_ambient_light_zone_store, set, clear, and write I'm curious... What attracted you to this particular _store function? AFAICT the same ignoring of return values occurs in other _store functions in this file? > can retu

Re: [PATCH v5 02/11] ata: pata_acpi: Make PCI dependency explicit

2019-01-07 Thread Rafael J. Wysocki
On Wed, Jan 2, 2019 at 7:11 PM Sinan Kaya wrote: > > After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without > CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were > satisfied implicitly through dependencies on CONFIG_ACPI have to be > specified directly. PATA_ACPI is a

Re: INFO: rcu detected stall in ndisc_alloc_skb

2019-01-07 Thread Dmitry Vyukov
On Sun, Jan 6, 2019 at 2:47 PM Tetsuo Handa wrote: > > On 2019/01/06 22:24, Dmitry Vyukov wrote: > >> A report at 2019/01/05 10:08 from "no output from test machine (2)" > >> ( https://syzkaller.appspot.com/text?tag=CrashLog&x=1700726f40 ) > >> says that there are flood of memory allocation fa

Re: [PATCH] v2 bakclight: fix missing checks in ambient_light_zone_store

2019-01-07 Thread Daniel Thompson
On Sat, Jan 05, 2019 at 12:48:07PM -0600, Aditya Pakki wrote: > In adp8870_bl_ambient_light_zone_store, set, clear, and write > can return an error but are not checked. The fix adds a check for these > cases and returns -1 to match the return type (ssize_t). Sorry... missed this before but there i

KASAN: user-memory-access Write in dst_release

2019-01-07 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:b71acb0e3721 Merge branch 'linus' of git://git.kernel.org/.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=16f6544f40 kernel config: https://syzkaller.appspot.com/x/.config?x=b03c5892bb940c76 da

Re: [PATCH v6 08/11] ASoC: Intel: atom: Make PCI dependency explicit

2019-01-07 Thread Rafael J. Wysocki
On Sat, Jan 5, 2019 at 11:06 AM Sinan Kaya wrote: > > After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without > CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were > satisfied implicitly through dependencies on CONFIG_ACPI have to be > specified directly. This code reli

Re: [PATCH v6 09/11] mmc: sdhci-acpi: Make PCI dependency explicit

2019-01-07 Thread Rafael J. Wysocki
On Sat, Jan 5, 2019 at 11:06 AM Sinan Kaya wrote: > > After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without > CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were > satisfied implicitly through dependencies on CONFIG_ACPI have to be > specified directly. This driver re

Re: [PATCH v6] arm64: implement ftrace with regs

2019-01-07 Thread Mark Rutland
On Fri, Jan 04, 2019 at 11:41:45PM +0100, Torsten Duwe wrote: > On Fri, Jan 04, 2019 at 01:06:48PM -0500, Steven Rostedt wrote: > > On Fri, 4 Jan 2019 17:50:18 + > > Mark Rutland wrote: > > > > > At Linux Plumbers, I had a conversation with Steve Rostedt, and we came > > > to the conclusion t

Re: [PATCH v6 07/11] drivers: thermal: int3406_thermal: Make PCI dependency explicit

2019-01-07 Thread Rafael J. Wysocki
On Sat, Jan 5, 2019 at 11:06 AM Sinan Kaya wrote: > > After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without > CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were > satisfied implicitly through dependencies on CONFIG_ACPI have to be > specified directly. Need CONFIG_PC

[PATCH] arm64: trap illegal translations in __virt_to_phys()

2019-01-07 Thread Miles Chen
Current __virt_to_phys() only print warning messages for non-linear addresses. It's hard to catch all warnings by those messages. So add a VIRTUAL_BUG_ON() to trap all non-linear and non-symbol addresses (e.g., stack addresses) Tested by pass stack addresses and symbol addresses to __pa(). Result:

Re: [PATCH 0/2] x86/mce/amd: apply missing quirks for family 15 models

2019-01-07 Thread Borislav Petkov
On Mon, Jan 07, 2019 at 10:37:07AM +, S, Shirish wrote: > This patch series applies to family 15 CPU's of AMD platforms, > so as to address a consistent warning of > "[Firmware Bug]: cpu 0, invalid threshold interrupt offset" > at every boot and upon completiong of successful S3 cycle, > due t

Re: [PATCH 1/1] drm/prime: Use sg_dma_len() macro to get sg's length

2019-01-07 Thread Vivek Gautam
On Mon, Jan 7, 2019 at 4:14 PM kbuild test robot wrote: > > Hi Vivek, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v5.0-rc1 next-20190107] > [if your patch is applied to the wrong git tree,

Re: [RFC net-next 11/15] net: lora: Add IMST WiMOD

2019-01-07 Thread Andreas Färber
Hello Heinrich, + linux-lpwan, - other vendors Am 06.01.19 um 15:57 schrieb Heinrich Schuchardt: > On 7/1/18 1:08 PM, Andreas Färber wrote: >> The IMST WiMOD uses a SLIP based binary UART protocol. Two separate >> firmwares are available. By default it ships with a LoRaWAN firmware. >> The altern

Re: [PATCH v2 2/5] mfd: qcom-spmi-pmic: use devm_mfd_add_devices instead of devm_of_platform_populate

2019-01-07 Thread Brian Masney
On Mon, Jan 07, 2019 at 11:53:07AM +0100, Linus Walleij wrote: > I suppose Lee can merge this in orthogonal in the MFD tree, > the end result will be functional after the v5.1 merge window. To keep git bisect happy, it would be nice if either all of the patches go in through the same tree (with th

[PATCH] rpmsg: core: Make remove handler for rpmsg driver optional.

2019-01-07 Thread Pi-Hsun Shih
Most other bus (for example, SPI, i2c) have the remove handler for driver optional. Make remove handler for rpmsg driver optional too. Signed-off-by: Pi-Hsun Shih --- drivers/rpmsg/rpmsg_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/rpmsg/rpmsg_core.c b/dri

Re: [PATCH] vfio_pci: Add local source directory as include

2019-01-07 Thread Masahiro Yamada
On Mon, Jan 7, 2019 at 8:09 PM Cornelia Huck wrote: > > On Mon, 7 Jan 2019 19:12:10 +0900 > Masahiro Yamada wrote: > > > On Mon, Jan 7, 2019 at 6:18 PM Michael Ellerman wrote: > > > > > > Laura Abbott writes: > > > > Commit 7f92891778df ("vfio_pci: Add NVIDIA GV100GL [Tesla V100 SXM2] > > > > s

Re: linux-next: Tree for Jan 7

2019-01-07 Thread Michael Ellerman
Geert Uytterhoeven writes: > Hi Stephen, Michael, > > Happy NY! Looking forward to lots of linux-next releases and build > logs in 2019 ;-) > > On Mon, Jan 7, 2019 at 5:08 AM Stephen Rothwell wrote: >> Status of my local build tests will be at >> http://kisskb.ellerman.id.au/linux-next . If main

Re: [PATCH v4 1/2] xen/blkback: add stack variable 'blkif' in connect_ring()

2019-01-07 Thread Roger Pau Monné
On Mon, Jan 07, 2019 at 01:35:58PM +0800, Dongli Zhang wrote: > As 'be->blkif' is used for many times in connect_ring(), the stack variable > 'blkif' is added to substitute 'be-blkif'. > > Suggested-by: Paul Durrant > Signed-off-by: Dongli Zhang Reviewed-by: Roger Pau Monné

Re: [V3, 2/4] media: platform: dwc: Add DW MIPI DPHY Rx platform

2019-01-07 Thread Sakari Ailus
Hi Luis, On Fri, Oct 19, 2018 at 02:52:24PM +0200, Luis Oliveira wrote: > Add of Synopsys MIPI D-PHY in RX mode support. > Separated in the implementation are platform dependent probing functions. > > Signed-off-by: Luis Oliveira Maxime has a patchset adding D-PHY parameters to the PHY API. I t

[RFC v5 0/4] pstore/block: new support logger for block devices

2019-01-07 Thread liaoweixiong
Why should we need pstore_block? 1. Most embedded intelligent equipment have no persistent ram, which increases costs. We perfer to cheaper solutions, like block devices. In fast, there is already a sample for block device logger in driver MTD (drivers/mtd/mtdoops.c). 2. Do not any equipment have b

[RFC v5 1/4] pstore/blk: new support logger for block devices

2019-01-07 Thread liaoweixiong
pstore_blk is similar to pstore_ram, but dump log to block devices rather than persistent ram. Why should we need pstore_blk? 1. Most embedded intelligent equipment have no persistent ram, which increases costs. We perfer to cheaper solutions, like block devices. In fast, there is already a sample

Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

2019-01-07 Thread Vlastimil Babka
On 1/7/19 12:08 PM, Dominique Martinet wrote: > > With the current mincore change, it will think everything was "in core" > and not flush anything unless my option to just fadvise dontneed > everything is passed though ; so even if we can make it work it is a > change of behaviour that is breaking

[RFC v5 3/4] pstore/blk: support pmsg for pstore block

2019-01-07 Thread liaoweixiong
To enable pmsg, just set pmsg_size when block device register blkzone. Signed-off-by: liaoweixiong --- fs/pstore/blkzone.c| 254 + include/linux/pstore_blk.h | 1 + 2 files changed, 233 insertions(+), 22 deletions(-) diff --git a/fs/pstore/b

[RFC v5 2/4] pstore/blk: add sample for pstore_blk

2019-01-07 Thread liaoweixiong
It is a sample for pstore_blk, using general ram rather than block device. According to pstore_blk, the data will be saved to ram buffer if not register device path and apis for panic. So, it can only used to dump Oops and some things will not reboot. Signed-off-by: liaoweixiong --- fs/pstore/Kc

[RFC v5 4/4] Documentation: pstore/blk: create document for pstore_blk

2019-01-07 Thread liaoweixiong
The documemt, at Documentation/admin-guide/pstore-block.rst, tells user how to use pstore_blk and the attentions about panic read/write Signed-off-by: liaoweixiong --- Documentation/admin-guide/pstore-block.rst | 226 + MAINTAINERS| 1

[PATCH v2 1/1] drm/prime: Use sg_dma_len() macro to get sg's length

2019-01-07 Thread Vivek Gautam
After mapping a sg list the we should use sg_dma_address() and sg_dma_len() macros to access sg->address and sg->length. Fix the same for sg->length in drm_prime_sg_to_page_addr_arrays(). Signed-off-by: Vivek Gautam --- Changes since v1: - Fixed compilation error: replaced sg_dma_length() with

Re: [PATCH v4 2/2] xen/blkback: rework connect_ring() to avoid inconsistent xenstore 'ring-page-order' set by malicious blkfront

2019-01-07 Thread Roger Pau Monné
On Mon, Jan 07, 2019 at 01:35:59PM +0800, Dongli Zhang wrote: > The xenstore 'ring-page-order' is used globally for each blkback queue and > therefore should be read from xenstore only once. However, it is obtained > in read_per_ring_refs() which might be called multiple times during the > initiali

[PATCH net v3 0/4] net: bpfilter: fix two bugs in bpfilter

2019-01-07 Thread Taehee Yoo
This patches fix two bugs in the bpfilter_umh which are related in iptables command. The first patch adds an exit code for UMH process. This provides an opportunity to cleanup members of the umh_info to modules which use the UMH. In order to identify UMH processes, a new flag PF_UMH is added. The

[PATCH net v3 1/4] umh: add exit routine for UMH process

2019-01-07 Thread Taehee Yoo
A UMH process which is created by the fork_usermode_blob() such as bpfilter needs to release members of the umh_info when process is terminated. But the do_exit() does not release members of the umh_info. hence module which uses UMH needs own code to detect whether UMH process is terminated or not.

[PATCH net v3 3/4] net: bpfilter: restart bpfilter_umh when error occurred

2019-01-07 Thread Taehee Yoo
The bpfilter_umh will be stopped via __stop_umh() when the bpfilter error occurred. The bpfilter_umh() couldn't start again because there is no restart routine. The section of the bpfilter_umh_{start/end} is no longer .init.rodata because these area should be reused in the restart routine. hence t

[PATCH net v3 4/4] net: bpfilter: disallow to remove bpfilter module while being used

2019-01-07 Thread Taehee Yoo
The bpfilter.ko module can be removed while functions of the bpfilter.ko are executing. so panic can occurred. in order to protect that, locks can be used. a bpfilter_lock protects routines in the __bpfilter_process_sockopt() but it's not enough because __exit routine can be executed concurrently.

[PATCH net v3 2/4] net: bpfilter: use cleanup callback to release umh_info

2019-01-07 Thread Taehee Yoo
Now, UMH process is killed, do_exit() calls the umh_info->cleanup callback to release members of the umh_info. This patch makes bpfilter_umh's cleanup routine to use the umh_info->cleanup callback. Signed-off-by: Taehee Yoo --- include/linux/bpfilter.h | 11 --- net/bpfilter/bpfilter

Re: [PATCH lora-next 3/5] net: lora: sx130x: Add PicoCell serdev driver

2019-01-07 Thread Oliver Neukum
On Fr, 2019-01-04 at 12:21 +0100, Andreas Färber wrote: > > +struct picogw_device { > + struct serdev_device *serdev; > + > + u8 rx_buf[1024]; No, you cannot do that. AFAICT this buffer can be used for DMA. Thus putting it into another data structure violates the rules of DMA coherency.

[PATCH] KVM: PPC: Book3S: Replace kmalloc_node+memset with kzalloc_node

2019-01-07 Thread wangbo
Replace kmalloc_node and memset with kzalloc_node Signed-off-by: wangbo --- arch/powerpc/kvm/book3s_hv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c index 5a066fc..27112b7 100644 --- a/arch/powerpc/kvm/book3s_

Re: [PATCH v6 08/11] ASoC: Intel: atom: Make PCI dependency explicit

2019-01-07 Thread Mark Brown
On Mon, Jan 07, 2019 at 12:15:35PM +0100, Rafael J. Wysocki wrote: > On Sat, Jan 5, 2019 at 11:06 AM Sinan Kaya wrote: > > Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI > > set") > > Signed-off-by: Sinan Kaya > Sinan, I thought you received an ACK from Pierre-Louis

Applied "ASoC: ti: davinci-mcasp: Add support for GPIO mode of the pins" to the asoc tree

2019-01-07 Thread Mark Brown
The patch ASoC: ti: davinci-mcasp: Add support for GPIO mode of the pins has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 h

Applied "ASoC: ti: davinci-mcasp: Add support for GPIO mode of the pins" to the asoc tree

2019-01-07 Thread Mark Brown
The patch ASoC: ti: davinci-mcasp: Add support for GPIO mode of the pins has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 h

Applied "ASoC: davinci-mcasp: Document GPIO support" to the asoc tree

2019-01-07 Thread Mark Brown
The patch ASoC: davinci-mcasp: Document GPIO support has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Li

Applied "ASoC: davinci-mcasp: Document GPIO support" to the asoc tree

2019-01-07 Thread Mark Brown
The patch ASoC: davinci-mcasp: Document GPIO support has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Li

<    1   2   3   4   5   6   7   8   9   10   >