Re: [PATCH v2] x86: consider effective protection attributes in W+X check

2018-02-22 Thread Jan Beulich
>>> On 23.02.18 at 08:49, wrote: > * Jan Beulich wrote: > >> >>> On 21.02.18 at 17:53, wrote: >> >> > * Jan Beulich wrote: >> > >> >> Using just the leaf page table entry flags would cause a false warning >> >> in case _PAGE_RW is clear or _PAGE_NX is set in a higher level entry. >> >> Hand

Re: [PATCH] iio: light: add driver for bh1730fvc chips

2018-02-22 Thread kbuild test robot
Hi Pierre, Thank you for the patch! Yet something to improve: [auto build test ERROR on iio/togreg] [also build test ERROR on v4.16-rc2 next-20180222] [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

[PATCH v3 1/2] x86/apic: Move pending intr check code into it's own function

2018-02-22 Thread Dou Liyang
the pending interrupt check code is mixed with the local APIC setup code, that looks messy. Extract the related code, move it into a new function named apic_pending_intr_clear(). Signed-off-by: Dou Liyang --- arch/x86/kernel/apic/apic.c | 98 - 1 file

[PATCH v3 2/2] x86/apic: Replace common tools with new ones

2018-02-22 Thread Dou Liyang
The pending interrupt check code is old, update the following code. -Replace for() with for_each_set_bit() -Replace printk() with pr_err() Also merge the printk's code in one line and make curly braces balanced Suggested-by: Andy Shevchenko Signed-off-by: Dou Liyang --- arch/x86/kernel/ap

Re: [PATCH 5/9] drm/xen-front: Implement handling of shared display buffers

2018-02-22 Thread Oleksandr Andrushchenko
On 02/23/2018 02:25 AM, Boris Ostrovsky wrote: On 02/21/2018 03:03 AM, Oleksandr Andrushchenko wrote: static int __init xen_drv_init(void) { + /* At the moment we only support case with XEN_PAGE_SIZE == PAGE_SIZE */ + BUILD_BUG_ON(XEN_PAGE_SIZE != PAGE_SIZE); Why BUILD_BUG_O

Re: [PATCH 1/4] dt-bindings: at24: sort manufacturers alphabetically

2018-02-22 Thread Bartosz Golaszewski
2018-02-21 10:40 GMT+01:00 Wolfram Sang : > >> Will do. What about this (http://patchwork.ozlabs.org/patch/867169/) >> one? It's part of a bigger series, do you want me to apply it to my >> tree and provide you with an immutable branch? > > Well, I would accept it for 4.16 using the "plain new id"

Re: [PATCH 2/2] media: ov2680: Add Omnivision OV2680 sensor driver

2018-02-22 Thread Sakari Ailus
Hi Rui, On Thu, Feb 22, 2018 at 10:23:38AM +, Rui Miguel Silva wrote: > This patch adds V4L2 sub-device driver for OV2680 image sensor. > The OV2680 is a 1/5" CMOS color sensor from Omnivision. > Supports output format: 10-bit Raw RGB. > The OV2680 has a single lane MIPI interface. > > The dr

Re: [PATCH v2] x86: consider effective protection attributes in W+X check

2018-02-22 Thread Ingo Molnar
* Jan Beulich wrote: > >>> On 21.02.18 at 17:53, wrote: > > > * Jan Beulich wrote: > > > >> Using just the leaf page table entry flags would cause a false warning > >> in case _PAGE_RW is clear or _PAGE_NX is set in a higher level entry. > >> Hand through both the current entry's flags as we

Re: [RFCv4 13/21] media: videobuf2-v4l2: support for requests

2018-02-22 Thread Hans Verkuil
On 02/23/2018 08:33 AM, Tomasz Figa wrote: > On Fri, Feb 23, 2018 at 4:21 PM, Hans Verkuil wrote: >> On 02/23/2018 07:34 AM, Tomasz Figa wrote: >>> On Wed, Feb 21, 2018 at 1:18 AM, Hans Verkuil wrote: On 02/20/2018 05:44 AM, Alexandre Courbot wrote: > Add a new vb2_qbuf_request() (a requ

Re: [PATCH] [v4.15-stable] arm64: dts: add #cooling-cells to CPU nodes

2018-02-22 Thread Greg Kroah-Hartman
On Wed, Feb 21, 2018 at 05:29:19PM +0100, Arnd Bergmann wrote: > commit acbf76ee05067c3942852019993f7beb69a0f45f upstream. Now applied, thanks. greg k-h

Re: stable-rc build: 13 warnings 0 failures (stable-rc/v4.15.4-164-g0cbdf96)

2018-02-22 Thread gregkh
On Wed, Feb 21, 2018 at 05:35:26PM +0100, Arnd Bergmann wrote: > On Wed, Feb 21, 2018 at 4:46 PM, Olof's autobuilder wrote: > > Warnings: > > Hi Greg, > > It's much better already, thanks for picking up all the patches so > far. Looking at the > remaining warnings: > > > arm64.allmodcon

Re: [RFC PATCH] mmc: sdhci-of-arasan: Add auto tuning support for ZynqMP Platform

2018-02-22 Thread Adrian Hunter
On 23/02/18 09:29, Manish Narani wrote: > > >> -Original Message- >> From: Adrian Hunter [mailto:adrian.hun...@intel.com] >> Sent: Thursday, February 22, 2018 1:50 PM >> To: Manish Narani ; michal.si...@xilinx.com; >> ulf.hans...@linaro.org; linux-arm-ker...@lists.infradead.org; linux- >>

Re: [PATCH V2 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-02-22 Thread Viresh Kumar
On 21-02-18, 16:29, Daniel Lezcano wrote: > diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c > index 5c219dc..9340216 100644 > --- a/drivers/thermal/cpu_cooling.c > +++ b/drivers/thermal/cpu_cooling.c > @@ -10,18 +10,32 @@ > * Viresh Kumar > * > */ > +#und

Linux 4.15.5

2018-02-22 Thread Greg KH
I'm announcing the release of the 4.15.5 kernel. All users of the 4.15 kernel series must upgrade. The updated 4.15.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.15.y and can be browsed at the normal kernel.org git web browser:

Re: [RFCv4 13/21] media: videobuf2-v4l2: support for requests

2018-02-22 Thread Tomasz Figa
On Fri, Feb 23, 2018 at 4:21 PM, Hans Verkuil wrote: > On 02/23/2018 07:34 AM, Tomasz Figa wrote: >> On Wed, Feb 21, 2018 at 1:18 AM, Hans Verkuil wrote: >>> On 02/20/2018 05:44 AM, Alexandre Courbot wrote: Add a new vb2_qbuf_request() (a request-aware version of vb2_qbuf()) that reques

Linux 4.14.21

2018-02-22 Thread Greg KH
I'm announcing the release of the 4.14.21 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser:

Linux 4.9.83

2018-02-22 Thread Greg KH
I'm announcing the release of the 4.9.83 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.117

2018-02-22 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/dma/snps-dma.txt b/Documentation/devicetree/bindings/dma/snps-dma.txt index c261598164a7..17d43ca27f41 100644 --- a/Documentation/devicetree/bindings/dma/snps-dma.txt +++ b/Documentation/devicetree/bindings/dma/snps-dma.txt @@ -58,6 +58,6 @@ Example:

Re: Linux 4.9.83

2018-02-22 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/dma/snps-dma.txt b/Documentation/devicetree/bindings/dma/snps-dma.txt index 0f5583293c9c..633481e2a4ec 100644 --- a/Documentation/devicetree/bindings/dma/snps-dma.txt +++ b/Documentation/devicetree/bindings/dma/snps-dma.txt @@ -63,6 +63,6 @@ Example:

Linux 4.4.117

2018-02-22 Thread Greg KH
I'm announcing the release of the 4.4.117 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH 2/2] crypto: omap: Improve a size determination in three functions

2018-02-22 Thread SF Markus Elfring
>> @@ -1032,14 +1032,13 @@ static int omap_aes_get_res_pdev(struct omap_aes_dev >> *dd, >> static int omap_aes_probe(struct platform_device *pdev) >> { >> struct device *dev = &pdev->dev; >> -struct omap_aes_dev *dd; >> struct crypto_alg *algp; >> struct aead_alg *aalg; >>

RE: [RFC PATCH] mmc: sdhci-of-arasan: Add auto tuning support for ZynqMP Platform

2018-02-22 Thread Manish Narani
> -Original Message- > From: Adrian Hunter [mailto:adrian.hun...@intel.com] > Sent: Thursday, February 22, 2018 1:50 PM > To: Manish Narani ; michal.si...@xilinx.com; > ulf.hans...@linaro.org; linux-arm-ker...@lists.infradead.org; linux- > m...@vger.kernel.org; linux-kernel@vger.kernel.or

[PATCH v2 2/5] dax: fix dax_mapping() definition in the FS_DAX=n + DEV_DAX=y case

2018-02-22 Thread Dan Williams
An address_space will only have dax exceptional entries when FS_DAX is enabled. The current reliance on S_DAX causes compile failures when S_DAX is defined for DEV_DAX, but FS_DAX is disabled. Make dax_mapping() always return false so that mm/truncate.c drops its link time dependencies on fs/dax.c.

[PATCH v2 3/5] dax: fix S_DAX definition

2018-02-22 Thread Dan Williams
Make sure S_DAX is defined in the CONFIG_FS_DAX=n + CONFIG_DEV_DAX=y case. Otherwise vma_is_dax() may incorrectly return false in the Device-DAX case. Cc: Alexander Viro Cc: linux-fsde...@vger.kernel.org Cc: Christoph Hellwig Cc: Jan Kara Cc: Fixes: dee410792419 ("/dev/dax, core: file operatio

Re: linux-next: manual merge of the kvms390 tree with the nds32 tree

2018-02-22 Thread Geert Uytterhoeven
On Fri, Feb 23, 2018 at 3:09 AM, Stephen Rothwell wrote: > Today's linux-next merge of the kvms390 tree got a conflict in: > > drivers/video/console/Kconfig > > between commit: > > 2312dbf7462b ("drivers/video/concole: add negative dependency for > VGA_CONSOLE on nds32") > > from the nds32 tr

RE: [RFC PATCH] mmc: sdhci-of-arasan: Add auto tuning support for ZynqMP Platform

2018-02-22 Thread Manish Narani
Hi Adrian, > -Original Message- > From: Adrian Hunter [mailto:adrian.hun...@intel.com] > Sent: Thursday, February 22, 2018 1:50 PM > To: Manish Narani ; michal.si...@xilinx.com; > ulf.hans...@linaro.org; linux-arm-ker...@lists.infradead.org; linux- > m...@vger.kernel.org; linux-kernel@vger

[PATCH v2 5/5] vfio: disable filesystem-dax page pinning

2018-02-22 Thread Dan Williams
Filesystem-DAX is incompatible with 'longterm' page pinning. Without page cache indirection a DAX mapping maps filesystem blocks directly. This means that the filesystem must not modify a file's block map while any page in a mapping is pinned. In order to prevent the situation of userspace holding

[PATCH v2 4/5] dax: short circuit vma_is_fsdax() in the CONFIG_FS_DAX=n case

2018-02-22 Thread Dan Williams
Do not bother looking up the file type in the case when Filesystem-DAX is disabled at build time. Cc: Alexander Viro Cc: linux-fsde...@vger.kernel.org Cc: Christoph Hellwig Cc: Jan Kara Signed-off-by: Dan Williams --- include/linux/fs.h |2 ++ 1 file changed, 2 insertions(+) diff --git a

[PATCH v2 1/5] dax: fix vma_is_fsdax() helper

2018-02-22 Thread Dan Williams
Gerd reports that ->i_mode may contain other bits besides S_IFCHR. Use S_ISCHR() instead. Otherwise, get_user_pages_longterm() may fail on device-dax instances when those are meant to be explicitly allowed. Fixes: 2bb6d2837083 ("mm: introduce get_user_pages_longterm") Cc: Reported-by: Gerd Rausch

Re: [PATCH v2 0/2] x86/pti: KVM: fixes and optimizations for IBRS

2018-02-22 Thread Ingo Molnar
* Paolo Bonzini wrote: > Two tiny patches for the IBRS code. They should go in > through the x86/pti tree and should apply to both 4.9 and 4.14 trees. > > Thanks, > > Paolo > > v1->v2: remove patch 2, the same bug has already been fixed > > Paolo Bonzini (3): > KVM: x86: use native MSR op

[PATCH v2 0/5] vfio, dax: prevent long term filesystem-dax pins and other fixes

2018-02-22 Thread Dan Williams
Changes since v1 [1]: * Fix the detection of device-dax file instances in vma_is_fsdax(). (Haozhong, Gerd) * Fix compile breakage in the FS_DAX=n and DEV_DAX=y case. (0day robot) [1]: https://lists.01.org/pipermail/linux-nvdimm/2018-February/014046.html --- The vfio interface, like RDMA, wan

Re: [RFCv4 13/21] media: videobuf2-v4l2: support for requests

2018-02-22 Thread Hans Verkuil
On 02/23/2018 07:34 AM, Tomasz Figa wrote: > On Wed, Feb 21, 2018 at 1:18 AM, Hans Verkuil wrote: >> On 02/20/2018 05:44 AM, Alexandre Courbot wrote: >>> Add a new vb2_qbuf_request() (a request-aware version of vb2_qbuf()) >>> that request-aware drivers can call to queue a buffer into a request >>

[tip:x86/urgent] x86/intel_rdt: Fix incorrect returned value when creating rdgroup sub-directory in resctrl file system

2018-02-22 Thread tip-bot for Wang Hui
Commit-ID: 36e74d355297dde6e69a39c838d24710e442babe Gitweb: https://git.kernel.org/tip/36e74d355297dde6e69a39c838d24710e442babe Author: Wang Hui AuthorDate: Thu, 22 Feb 2018 19:26:03 -0800 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 08:03:21 +0100 x86/intel_rdt: Fix incorrect r

[tip:x86/urgent] x86/apic/vector: Handle vector release on CPU unplug correctly

2018-02-22 Thread tip-bot for Thomas Gleixner
Commit-ID: e84cf6aa501c58bf4bf451f1e425192ec090aed2 Gitweb: https://git.kernel.org/tip/e84cf6aa501c58bf4bf451f1e425192ec090aed2 Author: Thomas Gleixner AuthorDate: Thu, 22 Feb 2018 12:08:06 +0100 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 08:02:00 +0100 x86/apic/vector: Handle

Re: [PATCH] Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version

2018-02-22 Thread Hans de Goede
Hi, On 23-02-18 04:12, Brian Norris wrote: Hi Hans, Sorry if I'm a little slow to follow up here. This hasn't been my top priority... On Mon, Feb 19, 2018 at 11:17:24AM +0100, Hans de Goede wrote: On 16-02-18 18:59, Brian Norris wrote: On Fri, Feb 16, 2018 at 01:10:20PM +0100, Hans de Goede

Re: [PATCH v12 1/3] mm, powerpc, x86: define VM_PKEY_BITx bits if CONFIG_ARCH_HAS_PKEYS is enabled

2018-02-22 Thread kbuild test robot
Hi Ram, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc2 next-20180222] [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] x86/apic: Move pending intr check code into it's own function

2018-02-22 Thread Ingo Molnar
* Dou Liyang wrote: > the pending interrupt check code is mixed with the local APIC setup code, > that looks messy. > > Extract the related code, move it into a new function named > apic_pending_intr_clear(). > > bonus cleanups from Andy Shevchenko's suggestions: > > - for() -> for_each_set

Re: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node

2018-02-22 Thread Geert Uytterhoeven
Hi Simon, On Thu, Feb 22, 2018 at 4:54 PM, Simon Horman wrote: > On Wed, Feb 21, 2018 at 09:53:58PM +0300, Sergei Shtylyov wrote: >> On 02/21/2018 09:23 PM, Simon Horman wrote: >> >> > ... >> > >> +clocks = <&cpg CPG_MOD 812>; >> +power-do

Re: [PATCH] selftest: fix kselftest-merge depend on 'RUNTIME_TESTING_MENU'

2018-02-22 Thread Zong Li
2018-02-23 3:57 GMT+08:00 Anders Roxell : > On 22 February 2018 at 12:53, Zong Li wrote: >> Since the 'commit d3deafaa8b5c ("lib/: make RUNTIME_TESTS a menuconfig >> to ease disabling it all")', the make kselftest-merge cannot merge the >> config dependencies of kselftest to the existing .config f

Re: [PATCH 1/9] scsi: ufs: Allowing power mode change

2018-02-22 Thread Asutosh Das (asd)
On 2/23/2018 10:40 AM, Kyuho Choi wrote: Hi Asutosh, I've simple question in below. On 2/21/18, Asutosh Das wrote: From: Yaniv Gardi Due to M-PHY issues, moving from HS to any other mode or gear or even Hibern8 causes some un-predicted behavior of the device. This patch fixes this issues.

[PATCH arm/aspeed/ast2500 v2] eSPI: add ASPEED AST2500 eSPI driver to boot a host with PCH runs on eSPI

2018-02-22 Thread Haiyue Wang
When PCH works under eSPI mode, the PMC (Power Management Controller) in PCH is waiting for SUS_ACK from BMC after it alerts SUS_WARN. It is in dead loop if no SUS_ACK assert. This is the basic requirement for the BMC works as eSPI slave. Also for the host power on / off actions, from BMC side, th

Re: [PATCH 4/9] drm/xen-front: Implement Xen event channel handling

2018-02-22 Thread Oleksandr Andrushchenko
On 02/23/2018 01:50 AM, Boris Ostrovsky wrote: On 02/21/2018 03:03 AM, Oleksandr Andrushchenko wrote: + +static irqreturn_t evtchnl_interrupt_ctrl(int irq, void *dev_id) +{ + struct xen_drm_front_evtchnl *evtchnl = dev_id; + struct xen_drm_front_info *front_info = evtchnl->front_info

[PATCH bpf-next] bpf: NULL pointer check is not needed in BPF_CGROUP_RUN_PROG_INET_SOCK

2018-02-22 Thread Yafang Shao
sk is already allocated in inet_create/inet6_create, hence when BPF_CGROUP_RUN_PROG_INET_SOCK is executed sk will never be NULL. The logic is as bellow, sk = sk_alloc(); if (!sk) goto out; BPF_CGROUP_RUN_PROG_INET_SOCK(sk); Signed-off-by: Yafang Shao ---

Re: hpsa crashes on boot in 4.16-rc2-00062

2018-02-22 Thread Meelis Roos
> This happens on a HP DL360 G6 with Smart Array 410i. > > Will try to bisect. > > IO completion timeout could be because of some IRQ toubles? Reverting 84676c1f21e8ff54befe985f4f14dc1edc10046b fixes it for me (as suggested by Laurence Oberman). -- Meelis Roos (mr...@linux.ee)

Re: [PATCH v10 6/7] PCI: Unify wait for link active into generic pci

2018-02-22 Thread poza
On 2018-02-23 00:13, Christoph Hellwig wrote: +/** + * pci__wait_for_link - Wait for link till its active/inactive typo - just wants a single underscore. + pcie_capability_read_word(pdev, PCI_EXP_LNKSTA, &lnk_status); + ret = !!(lnk_status & PCI_EXP_LNKSTA_DLLLA); no need for t

Re: [PATCH 3/9] drm/xen-front: Read driver configuration from Xen store

2018-02-22 Thread Oleksandr Andrushchenko
On 02/23/2018 01:20 AM, Boris Ostrovsky wrote: On 02/21/2018 03:03 AM, Oleksandr Andrushchenko wrote: + +static int cfg_connector(struct xen_drm_front_info *front_info, + struct xen_drm_front_cfg_connector *connector, + const char *path, int index) +{ + char *co

[PATCH 4/6] arm64: dts: stratix10: remove 'num-slots' property for dwmmc

2018-02-22 Thread Jaehoon Chung
Since 'num-slots' had already deprecated, remove the property in device-tree file. Signed-off-by: Jaehoon Chung --- arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/

[PATCH 6/6] arm64: dts: hi3660: remove 'num-slots' property for dwmmc

2018-02-22 Thread Jaehoon Chung
Since 'num-slots' had already deprecated, remove the property in device-tree file. Signed-off-by: Jaehoon Chung --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dts

[PATCH 5/6] ARM: dts: lpc18xx: remove 'num-slots' property for dwmmc

2018-02-22 Thread Jaehoon Chung
Since 'num-slots' had already deprecated, remove the property in device-tree file. Signed-off-by: Jaehoon Chung --- arch/arm/boot/dts/lpc18xx.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi index 7cae9c5e27db..10b8249b8ab6 1

[PATCH 3/6] ARM: dts: socfpga: remove 'num-slots' property for dwmmc

2018-02-22 Thread Jaehoon Chung
Since 'num-slots' had already deprecated, remove the property in device-tree file. Signed-off-by: Jaehoon Chung --- arch/arm/boot/dts/socfpga_arria10_socdk_sdmmc.dts | 1 - arch/arm/boot/dts/socfpga_arria5.dtsi | 1 - arch/arm/boot/dts/socfpga_cyclone5.dtsi | 1 - arch/arm/

[PATCH 1/6] mmc: dw_mmc: remove the deprecated "clock-freq-min-max" property

2018-02-22 Thread Jaehoon Chung
'clock-freq-min-max' property had already deprecated. Remove the 'clock-freq-min-max' property that is kept to maintain the compatibility. Signed-off-by: Jaehoon Chung --- .../devicetree/bindings/mmc/synopsys-dw-mshc.txt | 4 drivers/mmc/host/dw_mmc.c

[PATCH] perf annotate: Support to display the LBR data in tui mode

2018-02-22 Thread Jin Yao
Unlike the perf report interactive annotate mode, the perf annotate doesn't display the LBR data. perf record -b ... perf annotate function It should show IPC/cycle, but it doesn't. This patch lets perf annotate support the displaying of LBR data. For example, perf annotate compute_flag Perce

[PATCH 2/6] mmc: dw_mmc: remove the deprecated "num-slots"

2018-02-22 Thread Jaehoon Chung
'num-slots' property had already deprecated. Remove the 'nom-slots' property that is kept to maintain the compatibility. Signed-off-by: Jaehoon Chung --- Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt | 5 - drivers/mmc/host/dw_mmc-pci.c | 1 - driver

Re: [PATCH 1/9] drm/xen-front: Introduce Xen para-virtualized frontend driver

2018-02-22 Thread Oleksandr Andrushchenko
On 02/23/2018 12:23 AM, Boris Ostrovsky wrote: On 02/21/2018 03:03 AM, Oleksandr Andrushchenko wrote: +static struct xenbus_driver xen_driver = { + .ids = xen_drv_ids, + .probe = xen_drv_probe, + .remove = xen_drv_remove, + .otherend_changed = backend_on_changed, What do

Re: [PATCH v9 2/7] PCI/AER: factor out error reporting from AER

2018-02-22 Thread poza
On 2018-02-23 00:53, Randy Dunlap wrote: On 02/21/2018 11:46 PM, Oza Pawandeep wrote: Hi, Just minor stuff: diff --git a/drivers/pci/pcie/pcie-err.c b/drivers/pci/pcie/pcie-err.c new file mode 100644 index 000..a532fe0 --- /dev/null +++ b/drivers/pci/pcie/pcie-err.c @@ -0,0 +1,334 @@ +// S

Re: [RFCv4 13/21] media: videobuf2-v4l2: support for requests

2018-02-22 Thread Tomasz Figa
On Wed, Feb 21, 2018 at 1:18 AM, Hans Verkuil wrote: > On 02/20/2018 05:44 AM, Alexandre Courbot wrote: >> Add a new vb2_qbuf_request() (a request-aware version of vb2_qbuf()) >> that request-aware drivers can call to queue a buffer into a request >> instead of directly into the vb2 queue if relev

Re: [PATCH v9 2/7] PCI/AER: factor out error reporting from AER

2018-02-22 Thread poza
On 2018-02-23 00:53, Randy Dunlap wrote: On 02/21/2018 11:46 PM, Oza Pawandeep wrote: Hi, Just minor stuff: diff --git a/drivers/pci/pcie/pcie-err.c b/drivers/pci/pcie/pcie-err.c new file mode 100644 index 000..a532fe0 --- /dev/null +++ b/drivers/pci/pcie/pcie-err.c @@ -0,0 +1,334 @@ +// S

Re: [PATCH] clk: tegra: fix pllu rate configuration

2018-02-22 Thread Marcel Ziswiler
On February 23, 2018 12:47:56 AM GMT+01:00, Stephen Warren wrote: >On 02/22/2018 04:04 PM, Marcel Ziswiler wrote: >> Turns out latest upstream U-Boot does not configure/enable pllu which >> leaves it at some default rate of 500 kHz: > >I assume this is only because U-Boot just happened not to a

[PATCH] drm/rockchip: vop: Init vskiplines in scl_vop_cal_scale()

2018-02-22 Thread Jeffy Chen
Currently we are calling scl_vop_cal_scale() to get vskiplines for yrgb and cbcr. So the cbcr's vskiplines might be an unexpected value if the second scl_vop_cal_scale() didn't update it. Init vskiplines in scl_vop_cal_scale() to avoid that. Signed-off-by: Jeffy Chen --- drivers/gpu/drm/rockch

Re: [PATCH] lightnvm: fix memory leak in pblk_luns_init

2018-02-22 Thread Matias Bjørling
On 02/23/2018 12:03 AM, Huaicheng Li wrote: Please ignore my previous email as I found the memory is free'ed at pblk_init()'s error handling logic. Sorry for the interruption. On Thu, Feb 22, 2018 at 3:01 PM, Huaicheng Li wrote: Signed-off-by: Huaicheng Li --- drivers/lightnvm/pblk-init.c |

Re: [PATCH 1/2] pci: endpoint: Free func_name after last usage

2018-02-22 Thread Kishon Vijay Abraham I
Hi Lorenzo, On Thursday 22 February 2018 11:49 PM, Lorenzo Pieralisi wrote: > On Wed, Feb 21, 2018 at 01:47:06PM +0100, Rolf Evers-Fischer wrote: >> From: Rolf Evers-Fischer >> >> This commit decreases the number of jump labels and ensures >> that the next commit doesn't increase the number of oc

[PATCH -V6 -mm] mm, swap: Fix race between swapoff and some swap operations

2018-02-22 Thread Huang, Ying
From: Huang Ying When the swapin is performed, after getting the swap entry information from the page table, system will swap in the swap entry, without any lock held to prevent the swap device from being swapoff. This may cause the race like below, CPU 1 CPU 2 -

Re: [PATCH v2 4/6] fs/dcache: Avoid the try_lock loops in dentry_kill()

2018-02-22 Thread Al Viro
On Fri, Feb 23, 2018 at 03:12:14AM +, Al Viro wrote: > failed: > spin_unlock(&dentry->d_lock); > spin_lock(&inode->i_lock); > spin_lock(&dentry->d_lock); > parent = lock_parent(dentry); Hmm... Negative dentry case obviously is trickier - not to mention oopsen, it migh

Re: [PATCH V2 7/7] cpuidle/drivers/cpuidle-arm: Register the cooling device

2018-02-22 Thread Viresh Kumar
On Wed, Feb 21, 2018 at 8:59 PM, Daniel Lezcano wrote: > Register the ARM generic cpuidle driver as a cooling device. > > Signed-off-by: Daniel Lezcano > --- > drivers/cpuidle/cpuidle-arm.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/drivers/cpuidle/cpuidle-arm.c b/drivers/cpui

Re: [PATCH v10 4/7] PCI/DPC: Unify and plumb error handling into DPC

2018-02-22 Thread poza
On 2018-02-23 00:09, Christoph Hellwig wrote: On Thu, Feb 22, 2018 at 09:32:09PM +0530, Oza Pawandeep wrote: Current DPC driver does not do recovery, e.g. calling end-point's driver's callbacks, which sanitize the sw. DPC driver implements link_reset callback, and calls pci_do_recovery. Signe

Re: [PATCH v10 3/7] PCI/ERR: add mutex to synchronize recovery

2018-02-22 Thread poza
On 2018-02-23 00:06, Christoph Hellwig wrote: On Thu, Feb 22, 2018 at 09:32:08PM +0530, Oza Pawandeep wrote: This patch protects pci_do_recovery with mutex. Do we really want a global mutex for this and not one per root complex at very least? This protects pcie_do_recovery, which is called b

Re: [PATCH V2 0/7] CPU cooling device new strategies

2018-02-22 Thread Viresh Kumar
On Wed, Feb 21, 2018 at 8:59 PM, Daniel Lezcano wrote: > Changelog: > V2: > - Dropped the cpu combo cooling device > - Added the acked-by tags > - Replaced task array by a percpu structure > - Fixed the copyright dates > - Fixed the extra lines > - Fixed the compila

Re: [PATCH v10 1/7] PCI/AER: Rename error recovery to generic pci naming

2018-02-22 Thread poza
On 2018-02-23 00:04, Christoph Hellwig wrote: On Thu, Feb 22, 2018 at 09:32:06PM +0530, Oza Pawandeep wrote: This patch renames error recovery to generic name with pci prefix Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c in

Re: [PATCH V2 4/7] thermal/drivers/Kconfig: Convert the CPU cooling device to a choice

2018-02-22 Thread Viresh Kumar
On 21-02-18, 16:29, Daniel Lezcano wrote: > The next changes will add new way to cool down a CPU. In order to > sanitize and make the overall cpu cooling code consistent and robust > we must prevent the cpu cooling devices to co-exists with the same > purpose at the same time in the kernel. > > Ma

Re: [PATCH v9 7/7] PCI/DPC: Enumerate the devices after DPC trigger event

2018-02-22 Thread poza
On 2018-02-23 00:53, Randy Dunlap wrote: On 02/21/2018 11:46 PM, Oza Pawandeep wrote: Implement error_resume callback in DPC so, after DPC trigger event enumerates the devices beneath. Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pcie/pcie-dpc.c b/drivers/pci/pcie/pcie-dpc.c index fc

Re: [PATCH v9 4/7] PCI/DPC: Unify and plumb error handling into DPC

2018-02-22 Thread poza
On 2018-02-23 00:53, Randy Dunlap wrote: On 02/21/2018 11:46 PM, Oza Pawandeep wrote: Current DPC driver does not do recovery, e.g. calling end-point's driver's callbacks, which sanitize the sw. DPC driver implements link_reset callback, and calls pci_do_recovery. Hi, What does DPC mean?

Re: [PATCH 1/9] scsi: ufs: Allowing power mode change

2018-02-22 Thread Kyuho Choi
Hi Asutosh, I've simple question in below. On 2/21/18, Asutosh Das wrote: > From: Yaniv Gardi > > Due to M-PHY issues, moving from HS to any other mode or gear or > even Hibern8 causes some un-predicted behavior of the device. > This patch fixes this issues. > > Signed-off-by: Yaniv Gardi > Si

Long standing kernel warning: perfevents: irq loop stuck!

2018-02-22 Thread Cong Wang
Hello, We keep seeing the following kernel warning from 3.10 kernel to 4.9 kernel, it exists for a rather long time. Google search shows there was a patch from Ingo: https://patchwork.kernel.org/patch/6308681/ but it doesn't look like ever merged into mainline... I don't know how it is triggere

[PATCH 2/2] kbuild: simplify ld-option implementation

2018-02-22 Thread Masahiro Yamada
Currently, linker options are tested by the coordination of $(CC) and $(LD) because LD needs some object to link. As commit 86a9df597cdd ("kbuild: fix linker feature test macros when cross compiling with Clang") addressed, we need to make sure $(CC) and $(LD) agree the underlying architecture of t

[PATCH 1/2] kbuild: test --build-id linker flag by ld-option instead of cc-ldoption

2018-02-22 Thread Masahiro Yamada
'--build-id' is passed to $(LD), so it should be tested by 'ld-option'. This seems a kind of misconversion when ld-option was renamed to cc-ldoption. Commit f86fd3066052 ("kbuild: rename ld-option to cc-ldoption") renamed all instances of 'ld-option' to 'cc-ldoption'. Then, commit 691ef3e7fdc1 (

Re: [RFC tip/locking/lockdep v5 05/17] lockdep: Extend __bfs() to work with multiple kinds of dependencies

2018-02-22 Thread Boqun Feng
On Fri, Feb 23, 2018 at 12:31:20AM +0800, Boqun Feng wrote: > On Thu, Feb 22, 2018 at 04:51:43PM +0100, Peter Zijlstra wrote: > > On Thu, Feb 22, 2018 at 04:30:34PM +0100, Peter Zijlstra wrote: > > > On Thu, Feb 22, 2018 at 11:12:10PM +0800, Boqun Feng wrote: > > > > On Thu, Feb 22, 2018 at 03:26:1

[PATCH v4 2/2] gpio: Add GPIO driver for Spreadtrum SC9860 platform

2018-02-22 Thread Baolin Wang
The Spreadtrum SC9860 platform GPIO controller contains 16 groups and each group contains 16 GPIOs. Each GPIO can set input/output and has the interrupt capability. Signed-off-by: Baolin Wang Reviewed-by: Andy Shevchenko --- Changes since v3: - Add OF_GPIO dependency. - Rename all 'group' to '

[PATCH v4 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation

2018-02-22 Thread Baolin Wang
This patch adds the device tree bindings for the Spreadtrum GPIO controller. The gpios will be supported by the GPIO generic library. Signed-off-by: Baolin Wang Acked-by: Rob Herring --- Changes since v3: - Add acked tag from Rob. Changes since v2: - No updates. Changes since v1: - No updat

Re: The white man -- Who he is

2018-02-22 Thread thetruthbeforeus
Please listen to the arguments made and take them into consideration. Again, fellow FLOSS programmers, the discussion is at: http://youtu.be/Foi_LbdMjXU (Which is, ofcourse, CC-BY-SA licensed) On 2018-02-23 04:24, thetruthbefor...@firemail.cc wrote: Truth about the white man: http://youtu.be/F

Re: [PATCH V2 1/7] thermal/drivers/cpu_cooling: Fixup the header and copyright

2018-02-22 Thread Viresh Kumar
On 21-02-18, 16:29, Daniel Lezcano wrote: > The copyright format does not conform to the format requested by > Linaro: https://wiki.linaro.org/Copyright > > Fix it. > > Signed-off-by: Daniel Lezcano > --- > drivers/thermal/cpu_cooling.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions

Re: [PATCH v2 07/17] tracing: probeevent: Introduce new argument fetching code

2018-02-22 Thread Namhyung Kim
On Wed, Feb 21, 2018 at 11:57:36PM +0900, Masami Hiramatsu wrote: > Replace {k,u}probe event argument fetching framework > with switch-case based. Currently that is implemented > with structures, macros and chain of function-pointers, > which is more complicated than necessary and may get > a perfo

The white man -- Who he is

2018-02-22 Thread thetruthbeforeus
Truth about the white man: http://youtu.be/Foi_LbdMjXU I think all my fellow FLOSS programmers should take a moment to join the discussion, to take a good look at just WHO the white man is and how his essence negatively or positively affects the people of the world, and if any accord can be rea

[PATCH net-next] net/ncsi: Add generic netlink family

2018-02-22 Thread Samuel Mendoza-Jonas
Add a generic netlink family for NCSI. This supports two commands; NCSI_CMD_PKG_INFO which returns information on packages and their associated channels, and NCSI_CMD_SET_INTERFACE which allows a specific package or package/channel combination to be set as the preferred choice. Signed-off-by: Samu

Re: [PATCH] cpufreq: scpi: drop redundant arm_big_little config dependency

2018-02-22 Thread Viresh Kumar
On 22-02-18, 18:00, Sudeep Holla wrote: Not sure if 'redundant' is the right term to be used here. I would rather say: "Fix incorrect config dependency" :) > Commit 343a8d17fa8d (cpufreq: scpi: remove arm_big_little dependency) > removed the SCPI cpufreq dependency on arm_big_little cpufreq drive

Re: [PATCH 2/3] Kconfig: improve handling for all{rand,yes,no,}.config fragments

2018-02-22 Thread Masahiro Yamada
2018-02-22 1:57 GMT+09:00 Arnd Bergmann : > On Tue, Feb 20, 2018 at 6:04 PM, Masahiro Yamada > wrote: >> 2018-02-20 18:59 GMT+09:00 Arnd Bergmann : >>> On Tue, Feb 20, 2018 at 10:26 AM, Masahiro Yamada >>> wrote: 2018-02-17 6:41 GMT+09:00 Arnd Bergmann : >>> > @@ -621,14 +622,24 @@ int m

Re: [PATCH] integrity/security: fix digsig.c build error with header file

2018-02-22 Thread James Morris
On Mon, 12 Feb 2018, Randy Dunlap wrote: > From: Randy Dunlap > > security/integrity/digsig.c has build errors on some $ARCH due to a > missing header file, so add it. > > security/integrity/digsig.c:146:2: error: implicit declaration of function > 'vfree' [-Werror=implicit-function-declarat

Re: [PATCH v11 04/10] clocksource: timer-ti-dm: Replace architecture

2018-02-22 Thread Keerthy
On Friday 23 February 2018 12:15 AM, Tony Lindgren wrote: > * Ladislav Michl [180222 10:58]: >> On Thu, Feb 15, 2018 at 11:31:45AM +0530, Keerthy wrote: >>> Replace architecture specific guard with clocksource guard. >>> >>> Signed-off-by: Keerthy >>> Replace architecture specific defines with

[PATCH] cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()

2018-02-22 Thread Viresh Kumar
commit a307a1e6bc0d ("cpufreq: s3c: use cpufreq_generic_init()") accidentally broke cpufreq on s3c2410 and s3c2412. These two platforms don't have a CPU frequency table and used to skip calling cpufreq_table_validate_and_show() for them. But with the above commit, we started calling it unconditiona

Re: [PATCH v2 6/6] fs/dcache: Avoid remaining try_lock loop in shrink_dentry_list()

2018-02-22 Thread Al Viro
On Fri, Feb 23, 2018 at 03:58:14AM +, Al Viro wrote: > On Fri, Feb 23, 2018 at 12:50:25AM +0100, John Ogness wrote: > > > Avoid the trylock loop by using dentry_kill(). When killing dentries > > from the dispose list, it is very similar to killing a dentry in > > dput(). The difference is that

Re: [PATCH v2 6/6] fs/dcache: Avoid remaining try_lock loop in shrink_dentry_list()

2018-02-22 Thread Al Viro
On Fri, Feb 23, 2018 at 12:50:25AM +0100, John Ogness wrote: > Avoid the trylock loop by using dentry_kill(). When killing dentries > from the dispose list, it is very similar to killing a dentry in > dput(). The difference is that dput() expects to be the last user of > the dentry (refcount=1) an

Re: [PATCH v2 5/6] fs/dcache: Avoid a try_lock loop in shrink_dentry_list()

2018-02-22 Thread Al Viro
On Fri, Feb 23, 2018 at 12:50:24AM +0100, John Ogness wrote: > - while (dentry && !lockref_put_or_lock(&dentry->d_lockref)) { > - parent = lock_parent(dentry); > - if (dentry->d_lockref.count != 1) { > - dentry->d_lockr

linux-next: Tree for Feb 23

2018-02-22 Thread Stephen Rothwell
Hi all, Changes since 20180222: New tree: nds32 The kvms390 tree gained a conflict against the nds32 tree. The staging tree gained a conflict against Linus' tree. The akpm-current tree lost its build failure. Non-merge commits (relative to Linus' tree): 3167 3757 files chang

[PATCH v2] x86/apic: Move pending intr check code into it's own function

2018-02-22 Thread Dou Liyang
the pending interrupt check code is mixed with the local APIC setup code, that looks messy. Extract the related code, move it into a new function named apic_pending_intr_clear(). bonus cleanups from Andy Shevchenko's suggestions: - for() -> for_each_set_bit() - printk() -> pr_err() Signed-o

[PATCH v3] power: reset: Add Spreadtrum SC27xx PMIC power off support

2018-02-22 Thread Baolin Wang
On Spreadtrum platform, we need power off system through external SC27xx series PMICs including the SC2720, SC2721, SC2723, SC2730 and SC2731 chips. Thus this patch adds SC27xx series PMICs power-off support. Signed-off-by: Baolin Wang --- Changes since v2: - Change to build-in this driver. Cha

Re: [PATCH v2] mmc: dw_mmc: Fix the DTO timeout overflow calculation for 32-bit systems

2018-02-22 Thread Jisheng Zhang
On Thu, 22 Feb 2018 16:34:18 +0300 Evgeniy Didin wrote: > In commit 9d9491a7da2a ("mmc: dw_mmc: Fix the DTO timeout calculation") have > been made > changes which cause multiply overflow for 32-bit systems. > The broken timeout calculations caused false interrupt latency warnings > and stacktrace

Re: [GIT PULL] SCSI fixes for 4.16-rc2

2018-02-22 Thread James Bottomley
On Thu, 2018-02-22 at 16:37 -0800, Linus Torvalds wrote: > On Thu, Feb 22, 2018 at 11:28 AM, James Bottomley > wrote: > > > > > > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi- > > fixes > > When I pull that, I get something completely different from what you > claim I should

Re: [PATCH v4 00/16] R-Car DU: Convert LVDS code to bridge driver

2018-02-22 Thread Frank Rowand
Hi Laurent, On 02/22/18 02:25, Laurent Pinchart wrote: > Hi Frank, > > On Thursday, 22 February 2018 08:07:14 EET Frank Rowand wrote: >> On 02/20/18 15:10, Laurent Pinchart wrote: >>> Hello, >>> >>> This patch series addresses a design mistake that dates back from the >>> initial DU support. Supp

Re: [PATCH v2 0/3] Directed kmem charging

2018-02-22 Thread Christopher Lameter
On Wed, 21 Feb 2018, Andrew Morton wrote: > What do others think? I think the changes to the hotpaths of the slab allocators increasing register pressure in some of the hotttest paths of the kernel are problematic. Its better to do the allocation properly in the task context to which it is final

Re: [PATCH v2 4/6] fs/dcache: Avoid the try_lock loops in dentry_kill()

2018-02-22 Thread Al Viro
On Fri, Feb 23, 2018 at 03:12:14AM +, Al Viro wrote: > /* retain_dentry() needs ->count == 1 already checked) ... obviously not even compile-tested ;-)

Re: [PATCH v2 0/3] Directed kmem charging

2018-02-22 Thread Christopher Lameter
On Thu, 22 Feb 2018, Jan Kara wrote: > I don't see how task work can be used here. Firstly I don't know of a case > where task work would be used for something else than the current task - > and that is substantial because otherwise you have to deal with lots of > problems like races with task exi

  1   2   3   4   5   6   7   8   9   10   >