[PATCH] spmi: pmic-arb: Enforce the ownership check optionally

2017-08-18 Thread Kiran Gunda
The peripheral ownership check is not necessary on single master platforms. Hence, enforce the peripheral ownership check optioanlly. Signed-off-by: Kiran Gunda --- This patch depends on the below patch series. Please take this patch along with this series. [PATCH V2

Re: linux-next: build warnings after merge of the staging tree

2017-08-18 Thread JB Van Puyvelde
On Thu, 17 Aug 2017 10:57:43 -0700 Greg KH wrote: > On Mon, Jul 31, 2017 at 03:02:27PM +1000, Stephen Rothwell wrote: > > Hi Greg, > > > > After merging the staging tree, today's linux-next build (x86_64 > > allmodconfig) produced this warning: > > > >

[PATCH 05/14] ASoC: hisilicon: constify snd_soc_dai_ops structures

2017-08-18 Thread Arvind Yadav
snd_soc_dai_ops are not supposed to change at runtime. All functions working with snd_soc_dai_ops provided by work with const snd_soc_dai_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/soc/hisilicon/hi6210-i2s.c | 2 +- 1 file

[PATCH 06/14] ASoC: intel: constify snd_soc_dai_ops structures

2017-08-18 Thread Arvind Yadav
snd_soc_dai_ops are not supposed to change at runtime. All functions working with snd_soc_dai_ops provided by work with const snd_soc_dai_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/soc/intel/atom/sst-mfld-platform-pcm.c | 6

Re: [PATCH 01/14] ASoC: blackfin: constify snd_soc_dai_ops structures

2017-08-18 Thread Mark Brown
On Fri, Aug 18, 2017 at 05:35:58PM +0530, Arvind Yadav wrote: > snd_soc_dai_ops are not supposed to change at runtime. All functions > working with snd_soc_dai_ops provided by work with > const snd_soc_dai_ops. So mark the non-const structs as const. A version of this patch has already been

[PATCH v3 4/4] dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY

2017-08-18 Thread Corentin Labbe
This patch add documentation about the MDIO switch used on sun8i-h3-emac for integrated PHY. Signed-off-by: Corentin Labbe --- .../devicetree/bindings/net/dwmac-sun8i.txt| 112 +++-- 1 file changed, 105 insertions(+), 7 deletions(-) diff --git

Re: [RFC v1 2/6] platform/x86: intel_pmc_ipc: Use devm_* calls in driver probe

2017-08-18 Thread Andy Shevchenko
On Tue, Aug 1, 2017 at 9:13 PM, wrote: > From: Kuppuswamy Sathyanarayanan > > This patch cleans up unnecessary free/alloc calls in this driver > by using devm_* calls. > static int ipc_plat_remove(struct

[PATCH v3 2/4] net: stmmac: dwmac-sun8i: choose internal PHY via phy-is-integrated

2017-08-18 Thread Corentin Labbe
The current way to find if the phy is internal is to compare DT phy-mode and emac_variant/internal_phy. But it will negate a possible future SoC where an external PHY use the same phy mode than the internal one. This patch adds a new way to find if the PHY is internal, via the phy-is-integrated

Applied "ASoC: ux500: constify snd_soc_dai_ops structures" to the asoc tree

2017-08-18 Thread Mark Brown
The patch ASoC: ux500: constify snd_soc_dai_ops structures has been applied to the asoc tree at git://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

Applied "ASoC: codecs: constify snd_soc_dai_ops structures" to the asoc tree

2017-08-18 Thread Mark Brown
The patch ASoC: codecs: constify snd_soc_dai_ops structures has been applied to the asoc tree at git://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

[PATCH v3 1/4] ARM: dts: sunxi: h3/h5: represent the mdio switch used by sun8i-h3-emac

2017-08-18 Thread Corentin Labbe
Since dwmac-sun8i could use either an integrated PHY or an external PHY (which could be at same MDIO address), we need to represent this selection by a MDIO switch. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 28 +++-

Re: [PATCH 2/3] KVM: x86: Avoid guest page table walk when gpa_available is set

2017-08-18 Thread Radim Krčmář
2017-08-18 09:57+0200, David Hildenbrand: > > > +++ b/arch/x86/kvm/x86.c > > @@ -4657,25 +4657,18 @@ static int emulator_read_write_onepage(unsigned > > long addr, void *val, > > */ > > if (vcpu->arch.gpa_available && > > emulator_can_use_gpa(ctxt) && > > -

[PATCH] sdhci: remove redundant check of zero slots

2017-08-18 Thread Colin King
From: Colin Ian King Slots can never be zero, PCI_SLOTS_INFO_SLOTS returns a value in the range 0..7; slots is one more than this, 1..8 so cannot be zero and so the zero check is redundant and can be removed. Detected by CoverityScan, CID#744269 ("Logically Dead Code")

Re: [PATCH 3/3] KVM: x86: fix use of L1 MMIO areas in nested guests

2017-08-18 Thread Paolo Bonzini
On 18/08/2017 14:35, Radim Krčmář wrote: > >>> diff --git a/arch/x86/kvm/x86.h b/arch/x86/kvm/x86.h >>> @@ -90,7 +90,11 @@ static inline u32 bit(int bitno) >>> static inline void vcpu_cache_mmio_info(struct kvm_vcpu *vcpu, >>> gva_t gva, gfn_t gfn, unsigned

Re: [PATCH 2/3] KVM: x86: Avoid guest page table walk when gpa_available is set

2017-08-18 Thread Paolo Bonzini
On 18/08/2017 14:36, Radim Krčmář wrote: >>> + gpa = vcpu->arch.gpa_val; >>> + ret = vcpu_is_mmio_gpa(vcpu, addr, gpa, write); >>> + } else { >>> + ret = vcpu_mmio_gva_to_gpa(vcpu, addr, , exception, write); >>> } >>> >>> - ret = vcpu_mmio_gva_to_gpa(vcpu,

Re: [PATCH 2/3] KVM: x86: Avoid guest page table walk when gpa_available is set

2017-08-18 Thread Radim Krčmář
2017-08-18 14:37+0200, Paolo Bonzini: > On 18/08/2017 14:36, Radim Krčmář wrote: > >>> + gpa = vcpu->arch.gpa_val; > >>> + ret = vcpu_is_mmio_gpa(vcpu, addr, gpa, write); > >>> + } else { > >>> + ret = vcpu_mmio_gva_to_gpa(vcpu, addr, , exception, write); > >>> } > >>>

Re: [PATCH v1 4/4] KVM: MMU: Expose the LA57 feature to VM.

2017-08-18 Thread Paolo Bonzini
On 18/08/2017 10:28, Yu Zhang wrote: > > > On 8/17/2017 10:29 PM, Paolo Bonzini wrote: >> On 17/08/2017 13:53, Yu Zhang wrote: >>> >>> On 8/17/2017 7:57 PM, Paolo Bonzini wrote: On 12/08/2017 15:35, Yu Zhang wrote: > index a98b88a..50107ae 100644 > --- a/arch/x86/kvm/emulate.c >

Kredit? so schnell wie möglich? unkompliziert und seriös ?

2017-08-18 Thread Lucas Brown
Kredit? so schnell wie möglich? unkompliziert und seriös ? Bei uns genau richtig. Wir arbeiten europaweit. Wir vermitteln Kredite und Darlehen zu fairen Konditionen. Durch unsere seriöse, kompetente und ehrliche Kreditberatung haben wir über Jahre eine starke Position auf dem Markt. Kontaktieren

Re: [PATCH] KVM: nVMX: Fix trying to cancel vmlauch/vmresume

2017-08-18 Thread Radim Krčmář
2017-08-17 18:30-0700, Wanpeng Li: > From: Wanpeng Li > > [ cut here ] > WARNING: CPU: 7 PID: 3861 at /home/kernel/ssd/kvm/arch/x86/kvm//vmx.c:11299 > nested_vmx_vmexit+0x176e/0x1980 [kvm_intel] > CPU: 7 PID: 3861 Comm: qemu-system-x86 Tainted: G

RE: [PATCH 1/2] sched/wait: Break up long wake list walk

2017-08-18 Thread Liang, Kan
> On Thu, Aug 17, 2017 at 1:18 PM, Liang, Kan wrote: > > > > Here is the call stack of wait_on_page_bit_common when the queue is > > long (entries >1000). > > > > # Overhead Trace output > > # .. > > # > >100.00% (931aefca) > >

[PATCH v4 5/8] MIPS: ranchu: Add Ranchu as a new generic-based board

2017-08-18 Thread Aleksandar Markovic
From: Miodrag Dinic Provide amendments to the Mips generic platform framework so that the new generic-based board Ranchu can be chosen to be built. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc

[PATCH] netxen: fix incorrect loop counter decrement

2017-08-18 Thread Colin King
From: Colin Ian King The loop counter k is currently being decremented from zero which is incorrect. Fix this by incrementing k instead Detected by CoverityScan, CID#401847 ("Infinite loop") Fixes: 83f18a557c6d ("netxen_nic: fw dump support") Signed-off-by: Colin Ian

[PATCH v4 3/8] Documentation: Add device tree binding for Goldfish PIC driver

2017-08-18 Thread Aleksandar Markovic
From: Aleksandar Markovic Add documentation for DT binding of Goldfish PIC driver. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc

[PATCH v4 4/8] irqchip/irq-goldfish-pic: Add Goldfish PIC driver

2017-08-18 Thread Aleksandar Markovic
From: Miodrag Dinic Add device driver for a virtual programmable interrupt controller The virtual PIC is designed as a device tree-based interrupt controller. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag

[PATCH v4 7/8] video: goldfishfb: Add support for device tree bindings

2017-08-18 Thread Aleksandar Markovic
From: Aleksandar Markovic Add ability to the Goldfish FB driver to be recognized by OS via DT. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic

[PATCH v4 8/8] MIPS: Unselect ARCH_MIGHT_HAVE_PC_SERIO if MIPS_GENERIC

2017-08-18 Thread Aleksandar Markovic
From: Miodrag Dinic This effectively disables i8042 driver for MIPS_GENERIC kernel platform. Currently, only sead-3, boston and ranchu boards are supported by the MIPS generic kernel and none of them require this driver. More specifically, kernel would crash if it gets

[PATCH v4 6/8] Documentation: Add device tree binding for Goldfish FB driver

2017-08-18 Thread Aleksandar Markovic
From: Aleksandar Markovic Add documentation for DT binding of Goldfish FB driver. The compatible string used by OS for binding the driver is "google,goldfish-fb". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc

[PATCH 3.2 38/59] x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup

2017-08-18 Thread Ben Hutchings
3.2.92-rc1 review patch. If anyone has any objections, please let me know. -- From: Ashish Kalra commit d594aa0277e541bb997aef0bc0a55172d8138340 upstream. The minimum size for a new stack (512 bytes) setup for arch/x86/boot components when the

[PATCH 3.16 001/134] [media] pvrusb2: reduce stack usage pvr2_eeprom_analyze()

2017-08-18 Thread Ben Hutchings
3.16.47-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 6830733d53a4517588e56227b9c8538633f0c496 upstream. The driver uses a relatively large data structure on the stack, which showed up on my radar as we get a

[PATCH v3] f2fs: add cur_reserved_blocks to support soft block reservation

2017-08-18 Thread Yunlong Song
This patch adds cur_reserved_blocks to extend reserved_blocks sysfs interface to be soft threshold, which allows user configure it exceeding current available user space. To ensure there is enough space for supporting system's activation, this patch does not set the reserved space to the

Re: [PATCH v9 2/2] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions

2017-08-18 Thread Ard Biesheuvel
On 17 August 2017 at 14:04, Baoquan He wrote: > On 08/14/17 at 10:54pm, Baoquan He wrote: >> Currently KASLR will parse all e820 entries of RAM type and add all >> candidate position into slots array. Then we will choose one slot >> randomly as the new position which kernel will

Possible race in xilinx-xadc.ko

2017-08-18 Thread Anton Volkov
Hello. While searching for races in the Linux kernel I've come across "drivers/iio/adc/xilinx-xadc.ko" module. Here is a question that I came up with while analyzing results. Lines are given using the info from Linux v4.12. Consider the following case: Thread 1:Thread 2:

Re: [PATCH 02/13] iommu: Introduce Interface for IOMMU TLB Flushing

2017-08-18 Thread Will Deacon
Hi Joerg, On Thu, Aug 17, 2017 at 11:20:54PM +0200, Joerg Roedel wrote: > On Thu, Aug 17, 2017 at 06:17:05PM +0100, Will Deacon wrote: > > On Thu, Aug 17, 2017 at 06:50:40PM +0200, Joerg Roedel wrote: > > > Problem currently is how to get this information from > > > 'struct iommu_device' to

Possible race in mlx5_ib.ko

2017-08-18 Thread Anton Volkov
Hello. While searching for races in the Linux kernel I've come across "drivers/infiniband/hw/mlx5/mlx5_ib.ko" module. Here are questions that I came up with while analyzing results. Lines are given using the info from Linux v4.12. Consider the following case: Thread 1: Thread

Re: [PATCH v2] f2fs: free_user_blocks should use reserved_segments instead

2017-08-18 Thread Chao Yu
Hi Yunlong, I think you have changed original implication of the function, IMO, it would be more accurate to use user_free_segment_blocks instead of free_user_blocks. Thanks, On 2017/8/18 18:02, Yunlong Song wrote: > ping... > > On 2017/8/15 15:14, Yunlong Song wrote: >> The part

Re: [PATCH v3 2/2] cpuset: Allow v2 behavior in v1 cgroup

2017-08-18 Thread Tejun Heo
On Thu, Aug 17, 2017 at 03:33:10PM -0400, Waiman Long wrote: > Cpuset v2 has some useful behaviors that are not present in v1 because > of backward compatibility concern. One of that is the restoration of > the original cpu and memory node mask after a hot removal and addition > event sequence. >

[PATCH] mlx5: ensure 0 is returned when vport is zero

2017-08-18 Thread Colin King
From: Colin Ian King Currently, if vport is zero then then an uninialized return status in err is returned. Since the only return status at the end of the function esw_add_uc_addr is zero for the current set of return paths we may as well just return 0 rather than err

[PATCH V2] spmi: pmic-arb: Enforce the ownership check optionally

2017-08-18 Thread Kiran Gunda
The peripheral ownership check is not necessary on single master platforms. Hence, enforce the peripheral ownership check optionally. Signed-off-by: Kiran Gunda Tested-by: Shawn Guo --- v2: Fixed the commit message. Added Shawn's

[PATCH][net-next] net: hns3: fix a handful of spelling mistakes

2017-08-18 Thread Colin King
From: Colin Ian King Trival fix to spelling mistakes: firware -> firmware invald -> invalid mutilcast -> multicast Signed-off-by: Colin Ian King --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 2 +-

Re: [PATCH] IB/hfi1: fix spelling mistake in variable name continious

2017-08-18 Thread Doug Ledford
On Thu, 2017-07-13 at 23:27 -0400, Dennis Dalessandro wrote: > On 7/13/2017 6:13 PM, Colin King wrote: > > From: Colin Ian King > > > > Trivial fix to spelling mistake, rename variable 'continious' > > to the correct spelling 'continuous' > > > > Signed-off-by: Colin

Re: [PATCH v3 3/4] btrfs: Add zstd support

2017-08-18 Thread David Sterba
On Wed, Jul 26, 2017 at 12:19:29AM +0100, Giovanni Cabiddu wrote: > Hi Nick, > > On Thu, Jul 20, 2017 at 10:27:42PM +0100, Nick Terrell wrote: > > Add zstd compression and decompression support to BtrFS. zstd at its > > fastest level compresses almost as well as zlib, while offering much > >

Re: [PATCH v3 4/7] pwm: rockchip: Move the configuration of polarity from rockchip_pwm_set_enable() to rockchip_pwm_config()

2017-08-18 Thread Thierry Reding
On Tue, Aug 08, 2017 at 11:38:32PM +0800, David Wu wrote: > It is usually possible to configure the polarity, cycle and duty all at once, > so that the polarity and cycle and duty should be binding together. Move it > into rockchip_pwm_config(), as well as prepared for the next atomic update >

Kernel Panic sysrq questions

2017-08-18 Thread Sriram V
Hi, 1. I am testing my watchdog driver. The driver uses the internal watchdog (Internal to SOC). 2. I use a single core SOC. 3. I have a workqueue which pets the watchdog every 60 seconds. 4. I trigger a kernel crash by doing a echo c > /proc/sysrq-trigger to trigger a kernel crash 5. Even after

[PATCH][netdev-next] bnxt_en: fix spelling mistake: "swtichdev" -> "switchdev"

2017-08-18 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in a netdev_info message Signed-off-by: Colin Ian King --- drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v3 5/7] pwm: rockchip: Use same pwm ops for each IP

2017-08-18 Thread Thierry Reding
On Tue, Aug 08, 2017 at 11:41:28PM +0800, David Wu wrote: > Just use the same pwm ops for each IP, and get rid of the > ops in the struct of rockchip_pwm_data, but still define > the 3 different rockchip_pwm_data to use common interface > for each IP. > > Signed-off-by: David Wu

Re: [PATCH v4 3/8] dt-bindings: pwm: add description for rv1108 pwm

2017-08-18 Thread Thierry Reding
On Mon, Aug 14, 2017 at 04:37:48PM +0800, Andy Yan wrote: > Add device tree bindings document for pwm on > rockchip rv1108 soc. > > Signed-off-by: Andy Yan > > --- > > Changes in v4: None > Changes in v3: > - make the compatible string be: "rockchip,rv1108-pwm",

Re: [PATCH net-next 2/3] vsock: fix vsock_dequeue/enqueue_accept race

2017-08-18 Thread Stefan Hajnoczi
On Tue, Aug 15, 2017 at 10:15:39PM +, Dexuan Cui wrote: > With the current code, when vsock_dequeue_accept() is removing a sock > from the list, nothing prevents vsock_enqueue_accept() from adding a new > sock into the list concurrently. We should add a lock to protect the list. The listener

Re: [PATCH net-next 3/3] hv_sock: implements Hyper-V transport for Virtual Sockets (AF_VSOCK)

2017-08-18 Thread Stefan Hajnoczi
On Tue, Aug 15, 2017 at 10:18:41PM +, Dexuan Cui wrote: > +static u32 hvs_get_local_cid(void) > +{ > + return VMADDR_CID_ANY; > +} Interesting concept: the guest never knows its CID. This is nice from a live migration perspective. Currently VMCI and virtio adjust listen socket local

Re: [PATCH v2] f2fs: introduce cur_reserved_blocks in sysfs

2017-08-18 Thread Yunlong Song
I send a v3 patch, please review, and the main difference is shown below. On 2017/8/18 18:20, Chao Yu wrote: Hi Yunlong, IMO, we don't need additional sysfs entry, how about changing a bit as below? >From 3fc8206871fe457859f1537c9dc8918b45f14601 Mon Sep 17 00:00:00 2001 From: Yunlong Song

Re: [PATCH] IB/qib: fix spelling mistake: "failng" -> "failing"

2017-08-18 Thread Doug Ledford
On Mon, 2017-07-03 at 10:23 +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in qib_dev_err error message > > Signed-off-by: Colin Ian King Thanks, applied. -- Doug Ledford GPG

Re: [PATCH] KVM: SVM: refactor avic VM ID allocation

2017-08-18 Thread Denys Vlasenko
On 08/17/2017 04:33 PM, Paolo Bonzini wrote: On 15/08/2017 22:12, Radim Krčmář wrote: 2017-08-11 22:11+0200, Denys Vlasenko: With lightly tweaked defconfig: textdata bss dec hex filename 11259661 5109408 2981888 19350957 12745ad vmlinux.before 11259661 5109408 884736

Re: [PATCH] mlx5: ensure 0 is returned when vport is zero

2017-08-18 Thread Colin Ian King
On 18/08/17 16:25, Colin King wrote: > From: Colin Ian King > > Currently, if vport is zero then then an uninialized return status > in err is returned. Since the only return status at the end of the > function esw_add_uc_addr is zero for the current set of return

Re: [PATCH kernel] PCI: Disable IOV before pcibios_sriov_disable()

2017-08-18 Thread Bjorn Helgaas
On Fri, Aug 18, 2017 at 08:05:42AM +1000, Alexey Kardashevskiy wrote: > On 11/08/17 18:19, Alexey Kardashevskiy wrote: > > From: Gavin Shan > > > > The PowerNV platform is the only user of pcibios_sriov_disable(). > > The IOV BAR could be shifted by

Re: [RESEND][PATCH v4] drm: kirin: Add mode_valid logic to avoid mode clocks we can't generate

2017-08-18 Thread Sean Paul
On Thu, Aug 17, 2017 at 12:00:04PM -0700, John Stultz wrote: > Currently the hikey dsi logic cannot generate accurate byte > clocks values for all pixel clock values. Thus if a mode clock > is selected that cannot match the calculated byte clock, the > device will boot with a blank screen. > >

Re: [PATCH] MIPS: dts: ralink: Add Mediatek MT7628A SoC

2017-08-18 Thread Rob Herring
On Fri, Aug 18, 2017 at 9:11 AM, Harvey Hunt wrote: > Hi Rob, > > On 18/08/17 15:04, Rob Herring wrote: >> >> On Fri, Aug 18, 2017 at 4:42 AM, Harvey Hunt >> wrote: >>> >>> Hi Rob, >>> >>> Thanks for the review. >>> >>> >>> On 17/08/17 22:34, Rob

Re: [PATCH][-next] RDMA/bnxt_re: fix spelling mistake: "Deallocte" -> "Deallocate"

2017-08-18 Thread Doug Ledford
On Fri, 2017-07-14 at 08:30 +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in dev_err error message > > Signed-off-by: Colin Ian King Thanks, applied. -- Doug Ledford GPG

Re: [PATCH v3 1/7] pwm: rockchip: Add APB and function both clocks support

2017-08-18 Thread Thierry Reding
On Tue, Aug 08, 2017 at 11:38:29PM +0800, David Wu wrote: > New PWM module provides two individual clocks for APB clock > and function clock. > > Signed-off-by: David Wu > Acked-by: Rob Herring > --- > changes in v3: > - clk_get with NULL argument

Re: [PATCH v3 2/7] pwm: rockchip: Remove the judge from return value of pwm_config

2017-08-18 Thread Thierry Reding
On Tue, Aug 08, 2017 at 11:38:30PM +0800, David Wu wrote: > It seems the rockchip_pwm_config always returns the result 0, > so remove the judge. > > Signed-off-by: David Wu > Acked-by: Boris Brezillon > --- >

[PATCH] MIPS: ath79: support devicetree selection

2017-08-18 Thread Rocco Folino
Allow to choose devicetrees from Kconfig. Signed-off-by: Rocco Folino --- arch/mips/ath79/Kconfig | 44 + arch/mips/boot/dts/qca/Makefile | 10 +- 2 files changed, 49 insertions(+), 5 deletions(-) diff --git

[PATCH][next] lkdtm: fix spelling mistake: "incremeted" -> "incremented"

2017-08-18 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in pr_info message Signed-off-by: Colin Ian King --- drivers/misc/lkdtm_refcount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/lkdtm_refcount.c

RE: [PATCH net-next] net: hns3: Add support to change MTU in hardware & netdev

2017-08-18 Thread Salil Mehta
Hi Andrew > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Friday, August 18, 2017 4:04 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); lipeng (Y); > dan.carpen...@oracle.com; mehta.salil@gmail.com; > net...@vger.kernel.org;

Re: [PATCH v3 3/7] pwm: rockchip: Use pwm_apply instead of the pwm_enable

2017-08-18 Thread Thierry Reding
On Tue, Aug 08, 2017 at 11:38:31PM +0800, David Wu wrote: > Drop the custom hook of pwm_enable and implement > pwm_apply_v1 and pwm_apply_v2 instead. > > Signed-off-by: David Wu > --- > drivers/pwm/pwm-rockchip.c | 141 > + >

Re: [PATCH] vsock: only load vmci transport on VMware hypervisor by default

2017-08-18 Thread Stefan Hajnoczi
On Fri, Aug 18, 2017 at 03:07:30AM +, Dexuan Cui wrote: > > From: Jorgen S. Hansen [mailto:jhan...@vmware.com] > > Sent: Thursday, August 17, 2017 08:17 > > > > > > Putting aside nested virtualization, I want to load the transport (vmci, > > > Hyper-V, vsock) for which there is paravirtualized

[PATCH] f2fs: clear FI_HOT_DATA correctly

2017-08-18 Thread Chao Yu
From: Chao Yu This patch fixes to clear FI_HOT_DATA correctly in below path: - error handling in f2fs_ioc_start_atomic_write - after commit atomic write in f2fs_ioc_commit_atomic_write - after drop atomic write in drop_inmem_pages Signed-off-by: Chao Yu

Re: [PATCH v3 5/7] pwm: rockchip: Use same pwm ops for each IP

2017-08-18 Thread Thierry Reding
On Tue, Aug 08, 2017 at 11:41:28PM +0800, David Wu wrote: > Just use the same pwm ops for each IP, and get rid of the > ops in the struct of rockchip_pwm_data, but still define > the 3 different rockchip_pwm_data to use common interface > for each IP. > > Signed-off-by: David Wu

Re: PCI/IB: add support for pci driver attribute groups

2017-08-18 Thread Doug Ledford
On Tue, 2017-08-01 at 16:40 -0500, Bjorn Helgaas wrote: > On Wed, Jul 19, 2017 at 03:01:06PM +0200, Greg KH wrote: > > From: Greg Kroah-Hartman > > > > Some drivers (specifically the nes IB driver), want to create a lot > > of > > sysfs driver attributes. Instead of

Re: [PATCH v3 6/7] pwm: rockchip: Add rk3328 pwm support

2017-08-18 Thread Thierry Reding
On Tue, Aug 08, 2017 at 11:42:47PM +0800, David Wu wrote: > The rk3328 soc supports atomic update, we could lock the configuration > of period and duty at first, after unlock is configured, the period and > duty are effective at the same time. > > If the polarity, period and duty need to be

Re: [PATCH 00/18] PCI: endpoint: Make pci-epf-test more flexible

2017-08-18 Thread Bjorn Helgaas
On Fri, Aug 18, 2017 at 08:27:52PM +0530, Kishon Vijay Abraham I wrote: > Hi Bjorn, > > I've collected all the patches for PCI Endpoint in this series. This > series contains PCI endpoint fixes and making pci-epf-test more > flexible in terms of mapping PCI_ENDPOINT_TEST regs to any BARs, > work

[PATCH v6 2/2] ARM: dts: imx53: Add GE Healthcare PPD

2017-08-18 Thread Martyn Welch
From: Fabien Lahoudere PPD is a product from GE Healthcare to monitor vital biometric signals. Signed-off-by: Fabien Lahoudere Signed-off-by: Sebastian Reichel Signed-off-by: Martyn Welch

Re: [PATCH 2/2] lockd: Adjust 61 checks for null pointers

2017-08-18 Thread Trond Myklebust
On Thu, 2017-08-17 at 16:34 +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 17 Aug 2017 16:00:18 +0200 > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > The script “checkpatch.pl” pointed

[PATCH v6 1/2] dt-bindings: misc: achc: Add device tree binding for GE ACHC

2017-08-18 Thread Martyn Welch
Add Device Tree binding document for GE Healthcare USB Management Controller (ACHC). Signed-off-by: Martyn Welch --- Documentation/devicetree/bindings/misc/ge-achc.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644

[PATCH v6 0/2] Add device tree and associated documentation for GE Healthcare PPD

2017-08-18 Thread Martyn Welch
This series adds the device tree for the GE Healthcare PPD and binding documentation for the ge-achc, as used by the PPD device tree. Fabien Lahoudere (1): ARM: dts: imx53: Add GE Healthcare PPD Martyn Welch (1): dt-bindings: misc: achc: Add device tree binding for GE ACHC

Re: [PATCH] media: venus: fix duplicated code for different branches

2017-08-18 Thread Gustavo A. R. Silva
Hi Stanimir, On 08/18/2017 02:52 AM, Stanimir Varbanov wrote: Hi Gustavo, On 08/18/2017 02:12 AM, Gustavo A. R. Silva wrote: Refactor code in order to avoid identical code for different branches. This issue was detected with the help of Coccinelle. Addresses-Coverity-ID: 1415317

Re: [PATCH v2 3/3] vfio/pci: Don't probe devices that can't be reset

2017-08-18 Thread David Daney
On 08/18/2017 07:12 AM, Alex Williamson wrote: On Fri, 18 Aug 2017 15:42:31 +0200 Jan Glauber wrote: On Thu, Aug 17, 2017 at 07:00:17AM -0600, Alex Williamson wrote: On Thu, 17 Aug 2017 10:14:23 +0200 Jan Glauber wrote: If a PCI

Re: [PATCH net-next] net: hns3: Add support to change MTU in hardware & netdev

2017-08-18 Thread Andrew Lunn
> for example, > file: drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c > static int init_one(struct pci_dev *pdev, const struct pci_device_id *ent) > > netdev->priv_flags |= IFF_UNICAST_FLT; > > + /* MTU range: 81 - 9600 */ > + netdev->min_mtu = 81; > +

[PATCH] staging: rtl8192e: Change fixed function names with "%s: ",__func__

2017-08-18 Thread ??????
From: Shurong Zhang Replace hard-coded function names in strings with "%s", __func__ in the dot11d.c file. Issue found by checkpatch.pl. Signed-off-by: Shurong Zhang --- drivers/staging/rtl8192e/dot11d.c | 4 ++-- 1 file changed, 2

Re: [PATCH] mlx5: ensure 0 is returned when vport is zero

2017-08-18 Thread Leon Romanovsky
On Fri, Aug 18, 2017 at 02:49:25PM +0100, Colin King wrote: > From: Colin Ian King > > Currently, if vport is zero then then an uninialized return status > in err is returned. Since the only return status at the end of the > function esw_add_uc_addr is zero for the

Re: [PATCH 0/3] constify infiniband pci_device_id.

2017-08-18 Thread Doug Ledford
On Sun, 2017-07-16 at 12:00 +0530, Arvind Yadav wrote: > pci_device_id are not supposed to change at runtime. All functions > working with pci_device_id provided by work with > const pci_device_id. So mark the non-const structs as const. > > Arvind Yadav (3): > [PATCH 1/3] infiniband: mthca:

Re: [PATCH v4 6/8] Documentation: Add device tree binding for Goldfish FB driver

2017-08-18 Thread Sergei Shtylyov
On 08/18/2017 04:08 PM, Aleksandar Markovic wrote: From: Aleksandar Markovic Add documentation for DT binding of Goldfish FB driver. The compatible string used by OS for binding the driver is "google,goldfish-fb". Signed-off-by: Miodrag Dinic

Re: [PATCH 2/2] lockd: Adjust 61 checks for null pointers

2017-08-18 Thread Jeff Layton
On Fri, 2017-08-18 at 15:53 +, Trond Myklebust wrote: > On Thu, 2017-08-17 at 16:34 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > > Date: Thu, 17 Aug 2017 16:00:18 +0200 > > MIME-Version: 1.0 > > Content-Type: text/plain; charset=UTF-8 > >

Re: [PATCH v2 4/4] iommu: Prevent VMD child devices from being remapping targets

2017-08-18 Thread Bjorn Helgaas
[+cc Robin] This series looks fine to me as far as PCI is concerned, and I'd be happy to take it via my tree given an ack from David for this IOMMU piece. Alternatively, you can add my Acked-by: Bjorn Helgaas to the other patches if you want to take it via another tree.

Re: [PATCH] i40iw: Simplify code

2017-08-18 Thread Doug Ledford
On Mon, 2017-07-17 at 14:31 -0500, Shiraz Saleem wrote: > On Sun, Jul 16, 2017 at 01:09:23PM +0200, Christophe JAILLET wrote: > > Axe a few lines of code and re-use existing error handling path to > > avoid > > code duplication. > > > > Acked-by: Shiraz Saleem Thanks,

Re: [PATCH] KVM: SVM: refactor avic VM ID allocation

2017-08-18 Thread Paolo Bonzini
On 18/08/2017 17:22, Denys Vlasenko wrote: > On 08/17/2017 04:33 PM, Paolo Bonzini wrote: >> On 15/08/2017 22:12, Radim Krčmář wrote: >>> 2017-08-11 22:11+0200, Denys Vlasenko: With lightly tweaked defconfig: textdata bss dec hex filename 11259661 5109408

[PATCH 0/2] drivers: make i2c_algorithm const

2017-08-18 Thread Bhumika Goyal
Make these const. Bhumika Goyal (2): i2c: busses: make i2c_algorithm const [media] usb: make i2c_algorithm const drivers/i2c/busses/i2c-pnx.c | 2 +- drivers/i2c/busses/i2c-puv3.c| 2 +- drivers/media/usb/au0828/au0828-i2c.c| 2 +-

[PATCH v2] venus: fix copy/paste error in return_buf_error

2017-08-18 Thread Gustavo A. R. Silva
Call function v4l2_m2m_dst_buf_remove_by_buf() instead of v4l2_m2m_src_buf_remove_by_buf() Addresses-Coverity-ID: 1415317 Cc: Stanimir Varbanov Cc: Hans Verkuil Signed-off-by: Gustavo A. R. Silva --- Changes in v2:

[PATCH 2/2] [media] usb: make i2c_algorithm const

2017-08-18 Thread Bhumika Goyal
Make these const as they are only used in a copy operation or are stored in the algo field of i2c_adapter structure, which is const. Signed-off-by: Bhumika Goyal --- drivers/media/usb/au0828/au0828-i2c.c| 2 +- drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c | 2 +- 2

[PATCH 1/2] i2c: busses: make i2c_algorithm const

2017-08-18 Thread Bhumika Goyal
Make these const as they are only stored in the algo field of i2c_adapter structure, which is const. Signed-off-by: Bhumika Goyal --- drivers/i2c/busses/i2c-pnx.c | 2 +- drivers/i2c/busses/i2c-puv3.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

RE: [PATCH net-next] net: hns3: Add support to change MTU in hardware & netdev

2017-08-18 Thread Salil Mehta
Hi Andrew > -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Friday, August 18, 2017 5:02 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org;

[PATCH] kbuild: fix alignment of GPERF log

2017-08-18 Thread Masahiro Yamada
When regenerating *.hash.c_shipped, the GPERF log is unaligned. $ rm -rf scripts/kconfig/zconf.hash.c_shipped $ make REGENERATE_PARSERS=1 defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c GPERF

Re: [PATCH] i40iw: fix spelling mistake: "allloc_buf" -> "alloc_buf"

2017-08-18 Thread Doug Ledford
On Fri, 2017-07-21 at 23:19 +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in i40iw_debug message and > also split up a couple of lines that are too long and cause > checkpatch warnings > > Signed-off-by: Colin Ian King

[PATCH 3/4] gpu: host1x: Improve debug disassembly formatting

2017-08-18 Thread Mikko Perttunen
The host1x driver prints out "disassembly" dumps of the command FIFO and gather contents on submission timeouts. However, the output has been quite difficult to read with unnecessary newlines and occasional missing parentheses. Fix these problems by using pr_cont to remove unnecessary newlines

[PATCH 1/4] gpu: host1x: Enable Tegra186 syncpoint protection

2017-08-18 Thread Mikko Perttunen
Since Tegra186 the Host1x hardware allows syncpoints to be assigned to specific channels, preventing any other channels from incrementing them. Enable this feature where available and assign syncpoints to channels when submitting a job. Syncpoints are currently never unassigned from channels

[PATCH 0/4] Miscellaneous improvements to Host1x and TegraDRM

2017-08-18 Thread Mikko Perttunen
Hi all, here are some new features and improvements. Patch 1 enables syncpoint protection which prevents channels from touching syncpoints not belonging to them on Tegra186. Patch 2 enables the gather filter which prevents userspace command buffers from using CDMA commands usually reserved for

[PATCH 4/4] drm/tegra: Use u64_to_user_ptr helper

2017-08-18 Thread Mikko Perttunen
Use the u64_to_user_ptr helper macro to cast IOCTL argument u64 values to user pointers instead of writing out the cast manually. Signed-off-by: Mikko Perttunen --- drivers/gpu/drm/tegra/drm.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH 2/4] gpu: host1x: Enable gather filter

2017-08-18 Thread Mikko Perttunen
The gather filter is a feature present on Tegra124 and newer where the hardware prevents GATHERed command buffers from executing commands normally reserved for the CDMA pushbuffer which is maintained by the kernel driver. This commit enables the gather filter on all supporting hardware.

Re: [PATCH v4] livepatch: introduce shadow variable API

2017-08-18 Thread Petr Mladek
On Fri 2017-08-18 09:46:08, Joe Lawrence wrote: > On 08/17/2017 10:05 AM, Petr Mladek wrote: > > On Mon 2017-08-14 16:02:43, Joe Lawrence wrote: > >> [ ... snip ... ] > >> diff --git a/samples/livepatch/livepatch-shadow-fix1.c > >> b/samples/livepatch/livepatch-shadow-fix1.c > >> new file mode

Re: [PATCH v2] blktrace: Fix potentail deadlock between delete & sysfs ops

2017-08-18 Thread Bart Van Assche
On Fri, 2017-08-18 at 09:55 -0400, Waiman Long wrote: > On 08/17/2017 05:30 PM, Steven Rostedt wrote: > > On Thu, 17 Aug 2017 17:10:07 -0400 > > Steven Rostedt wrote: > > > Instead of playing games with taking the lock, the only way this race > > > is hit, is if the partition

Re: [PATCH] EDAC, altera: Fix an error handling path in 'altr_edac_device_probe()'

2017-08-18 Thread Borislav Petkov
On Thu, Aug 17, 2017 at 10:30:23AM -0500, Thor Thayer wrote: > > On 08/16/2017 12:05 AM, Christophe JAILLET wrote: > > 'res' is known to be 0 at this point. > > If 'devm_ioremap()' fails, returns -ENOMEM instead of 0 which means > > success. > > > > Signed-off-by: Christophe JAILLET

Re: [PATCH 2/2] mm,fork: introduce MADV_WIPEONFORK

2017-08-18 Thread Rik van Riel
On Thu, 2017-08-17 at 15:50 -0700, Andrew Morton wrote: > On Tue, 15 Aug 2017 22:18:19 -0400 Rik van Riel > wrote: > > > > > --- a/mm/madvise.c > > > > +++ b/mm/madvise.c > > > > @@ -80,6 +80,17 @@ static long madvise_behavior(struct > > > > vm_area_struct *vma, > > > > __

Re: [PATCH v3 2/7] pwm: rockchip: Remove the judge from return value of pwm_config

2017-08-18 Thread Brian Norris
On Fri, Aug 18, 2017 at 05:32:55PM +0200, Thierry Reding wrote: > I don't understand what the "judge" is supposed to be, but I've applied > this to for-4.14/drivers anyway. Thanks. Probably just an artifact of non-native English. Judging by context, David probably meant more like "Remove the

<    5   6   7   8   9   10   11   12   13   14   >