Re: Ozwpan Driver: Removal Recommended

2015-08-10 Thread Jason A. Donenfeld
On Mon, Aug 10, 2015 at 3:31 PM, Jason A. Donenfeld wrote: > Meanwhile Dan > Carpenter has posted a patch for a security vulnerability in ozwpan > that hasn't been reviewed or merged. Sorry, I see that you did in fact pick up this patch, so I retract that statement. Nonetheless, the remainder

Regression 4.0.8->4.1.3 : power button doesn't produce an ACPI event

2015-08-10 Thread Toralf Förster
This happen at a docked 64 bit Gentoo linux (hardened, but that's not the culprit AFAICS) at a ThinkPad T440s. I attached the dmesg of both kernel versions. -- Toralf, pgp key: 872AE508 0076E94E Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Initializing cgroup subsys

[PATCH v5 1/5] KVM: x86: select IRQ_BYPASS_MANAGER

2015-08-10 Thread Eric Auger
From: Feng Wu Select IRQ_BYPASS_MANAGER for x86 when CONFIG_KVM is set Signed-off-by: Feng Wu --- arch/x86/kvm/Kconfig | 2 ++ arch/x86/kvm/Makefile | 3 +++ 2 files changed, 5 insertions(+) diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index d8a1d56..c951d44 100644 ---

[PATCH v5 4/5] KVM: introduce kvm_arch functions for IRQ bypass

2015-08-10 Thread Eric Auger
This patch introduces - kvm_arch_irq_bypass_add_producer - kvm_arch_irq_bypass_del_producer - kvm_arch_irq_bypass_stop - kvm_arch_irq_bypass_start They make possible to specialize the KVM IRQ bypass consumer in case CONFIG_KVM_HAVE_IRQ_BYPASS is set. Signed-off-by: Eric Auger Signed-off-by:

[PATCH v5 2/5] KVM: arm/arm64: select IRQ_BYPASS_MANAGER

2015-08-10 Thread Eric Auger
Select IRQ_BYPASS_MANAGER when CONFIG_KVM is set Also add compilation of virt/lib. Signed-off-by: Eric Auger Signed-off-by: Feng Wu --- v3 -> v4: - add compilation of virt/lib in arm/arm64 KVM v2 -> v3: - [Feng Wu] Correct a typo in 'arch/arm64/kvm/Kconfig' v1 -> v2: - also set

[PATCH v5 3/5] KVM: create kvm_irqfd.h

2015-08-10 Thread Eric Auger
Move _irqfd_resampler and _irqfd struct declarations in a new public header: kvm_irqfd.h. They are respectively renamed into kvm_kernel_irqfd_resampler and kvm_kernel_irqfd. Those datatypes will be used by architecture specific code, in the context of IRQ bypass manager integration.

[PATCH v5 0/5] KVM: irqfd consumer based on IRQ bypass manager

2015-08-10 Thread Eric Auger
This series transforms irqfd into an IRQ bypass consumer and introduce the infrastructure shared by Intel posted-interrupts and ARM forwarded IRQ series. The bypass manager gets compiled for x86 and arm/arm64 when KVM is used. A new kvm_irqfd.h header is created to externalize some irqfd

Re: [PATCH RFC 2/5] drm/msm/hdmi: make use of standard gpio properties.

2015-08-10 Thread Thierry Reding
On Mon, Aug 10, 2015 at 02:15:18PM +0100, Srinivas Kandagatla wrote: > > > On 10/08/15 13:38, Thierry Reding wrote: > >On Mon, Aug 10, 2015 at 12:59:34PM +0100, Srinivas Kandagatla wrote: > >>This patch modifies the driver to support standard gpio properties along > >>with deprecated properties.

[PATCH v3 00/10] ARM IRQ forward control based on IRQ bypass manager

2015-08-10 Thread Eric Auger
This series allows to set ARM IRQ forwarding between a VFIO platform device physical IRQ and a guest virtual IRQ. The link is coordinated by the IRQ bypass manager. The principle is the VFIO platform driver registers an IRQ bypass producer struct on VFIO_IRQ_SET_ACTION_TRIGGER while KVM irqfd

[PATCH v3 01/10] VFIO: platform: registration of a dummy IRQ bypass producer

2015-08-10 Thread Eric Auger
Register a dummy producer with void callbacks Signed-off-by: Eric Auger --- v2 -> v3: - rename vfio_platform_irq_bypass_resume into *_start --- drivers/vfio/platform/vfio_platform_irq.c | 32 +++ drivers/vfio/platform/vfio_platform_private.h | 2 ++ 2 files

Re: [Xen-devel] [PATCH v3 19/20] xen/privcmd: Add support for Linux 64KB page granularity

2015-08-10 Thread Julien Grall
Hi Stefano, On 10/08/15 13:57, Stefano Stabellini wrote: > On Mon, 10 Aug 2015, David Vrabel wrote: >> On 10/08/15 13:03, Stefano Stabellini wrote: >>> On Fri, 7 Aug 2015, Julien Grall wrote: - rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap_range, ); - return rc < 0 ? rc : err;

[PATCH v3 02/10] VFIO: platform: test forwarded state when selecting the IRQ handler

2015-08-10 Thread Eric Auger
Add a new forwarded flag in vfio_platform_irq. In case the IRQ is forwarded, the VFIO platform IRQ handler does not need to disable the IRQ anymore. When setting the IRQ handler we now also test the forwarded state. In case the IRQ is forwarded we select the vfio_irq_handler. Signed-off-by:

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-08-10 Thread Lee Jones
On Mon, 03 Aug 2015, Viresh Kumar wrote: > On 31-07-15, 09:37, Stephen Boyd wrote: > > For qcom platforms, the frequency is almost always constant. > > There may be some tables where we have a couple higher > > frequencies than others because the speed bin is different. > > Otherwise the

RE: [BUG]: Intel uncore boot warning introduced in 4.1

2015-08-10 Thread Liang, Kan
> On Thu, Aug 06, 2015 at 06:10:40PM +, Liang, Kan wrote: > > The issue may be caused by uncore box initialization. > > > > For preventing the potential issues of uncore box initialization, I > > once moved the uncore_box_init() out of driver initialization in > > commit

[PATCH v3 05/10] VFIO: platform: add vfio_platform_is_active

2015-08-10 Thread Eric Auger
This function returns whether the IRQ is active at irqchip level or VFIO masked. If either is true, it is considered the IRQ is active. Currently there is no way to differentiate userspace masked IRQ from automasked IRQ. There might be false detection of activity. However it is currently

[PATCH v3 06/10] VFIO: platform: add irq bypass producer management

2015-08-10 Thread Eric Auger
This patch populates the IRQ bypass callacks: - stop/start producer simply consist in disabling/enabling the host irq - add/del consumer: basically set the automasked flag to false/true Signed-off-by: Eric Auger --- v2 -> v3: - vfio_platform_irq_bypass_add_consumer now returns an error in case

[PATCH v3 04/10] VFIO: platform: add vfio_platform_set_automasked

2015-08-10 Thread Eric Auger
This function makes possible to change the automasked mode. Signed-off-by: Eric Auger --- v1 -> v2: - set forwarded flag --- drivers/vfio/platform/vfio_platform_irq.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/vfio/platform/vfio_platform_irq.c

[PATCH v3 08/10] KVM: arm/arm64: vgic: support irqfd injection of a forwarded IRQ

2015-08-10 Thread Eric Auger
Currently irqfd injection relies on kvm_vgic_inject_irq function. However this function cannot be used anymore for mapped IRQs. So let's change the implementation to use kvm_vgic_inject_mapped_irq when the IRQ is forwarded. Signed-off-by: Eric Auger --- virt/kvm/arm/vgic.c | 8 +++- 1 file

[PATCH v3 09/10] KVM: arm/arm64: vgic: forwarding control

2015-08-10 Thread Eric Auger
Implements kvm_vgic_[set|unset]_forward. Handle low-level VGIC programming: physical IRQ/guest IRQ mapping, list register cleanup, VGIC state machine. Also interacts with the irqchip. Signed-off-by: Eric Auger --- v2 -> v3: - on unforward, we do not compute & output the active state anymore.

[PATCH v3 10/10] KVM: arm/arm64: implement IRQ bypass consumer functions

2015-08-10 Thread Eric Auger
Implement IRQ bypass callbacks for arm/arm64 IRQ forwarding: - kvm_arch_irq_bypass_add_producer: perform VGIC/irqchip settings for forwarding - kvm_arch_irq_bypass_del_producer: same for inverse operation - kvm_arch_irq_bypass_stop: halt guest execution - kvm_arch_irq_bypass_start: resume guest

[PATCH v3 07/10] KVM: arm/arm64: vgic: Allow HW interrupts for non-shared devices

2015-08-10 Thread Eric Auger
From: Marc Zyngier So far, the only use of the HW interrupt facility was the timer, implying that the active state is context-switched for each vcpu, as the device is is shared across all vcpus. This does not work for a device that has been assigned to a VM, as the guest is entierely in control

[PATCH v3 03/10] VFIO: platform: single handler using function pointer

2015-08-10 Thread Eric Auger
A single handler now is registered whatever the use case: automasked or not. A function pointer is set according to the wished behavior and the handler calls this function. The irq lock is taken/released in the root handler. eventfd_signal can be called in regions not allowed to sleep.

Re: [PATCH RFC 4/5] drm/msm/hdmi: deprecate non standard clock-names

2015-08-10 Thread Srinivas Kandagatla
On 10/08/15 13:49, Thierry Reding wrote: On Mon, Aug 10, 2015 at 12:59:49PM +0100, Srinivas Kandagatla wrote: This patch updates the bindings to discourage the usage of non standard clock names, this will help in projects focused on upstreaming. These deprecated properties are still

Re: [PATCH v2 4/8] drm: rockchip/dp: add rockchip platform dp driver

2015-08-10 Thread Thierry Reding
On Mon, Aug 10, 2015 at 08:59:44PM +0800, Yakir Yang wrote: > Hi Thierry, > > 在 2015/8/10 18:00, Thierry Reding 写道: > >On Sat, Aug 08, 2015 at 11:54:38AM +0800, Yakir Yang wrote: > >[...] > >> edp: edp@ff97 { > >[...] > >> hsync-active-high = <0>; > >>

Re: [PATCH v2 4/8] drm: rockchip/dp: add rockchip platform dp driver

2015-08-10 Thread Yakir Yang
Hi Heiko, 在 2015/8/10 20:08, Heiko Stübner 写道: Hi Yakir, Am Samstag, 8. August 2015, 11:54:38 schrieb Yakir Yang: +static int rockchip_dp_init(struct rockchip_dp_device *dp) +{ + struct device *dev = dp->dev; + struct device_node *np = dev->of_node; + int ret; + +

Re: [PATCH RFC 2/5] drm/msm/hdmi: make use of standard gpio properties.

2015-08-10 Thread Srinivas Kandagatla
On 10/08/15 13:38, Thierry Reding wrote: On Mon, Aug 10, 2015 at 12:59:34PM +0100, Srinivas Kandagatla wrote: This patch modifies the driver to support standard gpio properties along with deprecated properties. This will help us upstream and cleanup the non-standard properties over the time.

Re: [PATCH v3 1/2] mpt2sas: Refcount sas_device objects and fix unsafe list usage

2015-08-10 Thread Sreekanth Reddy
On Sat, Aug 1, 2015 at 10:32 AM, Calvin Owens wrote: > These objects can be referenced concurrently throughout the driver, we > need a way to make sure threads can't delete them out from under each > other. This patch adds the refcount, and refactors the code to use it. > > Additionally, we

[PATCH] usb: endpoint: convert spaces to tabs

2015-08-10 Thread Kris Borer
Fix one occurrence of the checkpatch error: ERROR: code indent should use tabs where possible Signed-off-by: Kris Borer --- drivers/usb/core/endpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/core/endpoint.c b/drivers/usb/core/endpoint.c index

[PATCH net-next v3 3/8] net: dsa: mv88e6xxx: rename ATU MAC accessors

2015-08-10 Thread Vivien Didelot
Rename the __mv88e6xxx_{read,write}_addr functions to more explicit _mv88e6xxx_atu_mac_{read,write} functions, which also respect the single underscore convention used in the file (meaning SMI lock must be held). Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx.c | 16

[PATCH net-next v3 7/8] net: switchdev: support static FDB addresses

2015-08-10 Thread Vivien Didelot
This patch adds an ndm_state member to the switchdev_obj_fdb structure, in order to support static FDB addresses. Set Rocker ndm_state to NUD_REACHABLE. Signed-off-by: Vivien Didelot --- drivers/net/ethernet/rocker/rocker.c | 1 + include/net/switchdev.h | 1 +

[PATCH net-next v3 6/8] net: dsa: mv88e6xxx: rework FDB Get Next operation

2015-08-10 Thread Vivien Didelot
Add a low level _mv88e6xxx_atu_getnext function for convenient access to the hardware, and rework the FDB Get Next operation. This will ease the future integration with VLAN IDs. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx.c | 80 + 1

[PATCH net-next v3 2/8] net: dsa: mv88e6xxx: extend fid mask

2015-08-10 Thread Vivien Didelot
The driver currently manages one FID per port (or bridge group), with a mask of DSA_MAX_PORTS bits, where 0 means that the FID is in use. The Marvell 88E6xxx switches support up to 4094 FIDs (from 1 to 0xfff; FID 0 means that multiple address databases are not being used). This patch changes the

[PATCH net-next v3 0/8] net: dsa: mv88e6xxx: support switchdev FDB objects

2015-08-10 Thread Vivien Didelot
This patchset refactors the FDB management in the mv88e6xxx code and adds the glue in DSA to use the switchdev FDB objects. Below is an usage example (ports 0-2 belongs to br0, ports 3-4 belongs to br1): # bridge fdb add 3c:97:0e:11:30:6e dev swp2 # bridge fdb add 3c:97:0e:11:40:78 dev

[PATCH net-next v3 5/8] net: dsa: mv88e6xxx: rework FDB add/del operations

2015-08-10 Thread Vivien Didelot
Add a mv88e6xxx_atu_entry structure and a low level function for the ATU Load operation, and provide FDB add and delete wrappers functions. This implementation handles the eventual trunk mapping. If the related bit is set, then the ATU data register would contain the trunk ID, and not the port

[PATCH net-next v3 1/8] net: dsa: mv88e6xxx: define GLOBAL_ATU_FID

2015-08-10 Thread Vivien Didelot
Define register GLOBAL_ATU_FID instead of the raw value 0x01. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx.c | 2 +- drivers/net/dsa/mv88e6xxx.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/dsa/mv88e6xxx.c b/drivers/net/dsa/mv88e6xxx.c index

[PATCH v3] mfd: mt6397: Implement wake handler and suspend/resume to handle wake up event.

2015-08-10 Thread Henry Chen
Implement .irq_set_wake() to get who is wakeup source and setup on suspend/reumse. Enable mt6393_irq as wake up source properly to pinctrl by enable_irq_wake()/enable_irq_wake(). Reviewed-by: Lee Jones Signed-off-by: Henry Chen --- Changes since v2: Remove the filename of title. Remove

[PATCH net-next v3 8/8] net: dsa: add support for switchdev FDB objects

2015-08-10 Thread Vivien Didelot
Implement the switchdev_port_obj_{add,del,dump} functions in DSA to support the SWITCHDEV_OBJ_PORT_FDB objects. Signed-off-by: Vivien Didelot --- net/dsa/slave.c | 142 1 file changed, 81 insertions(+), 61 deletions(-) diff --git

[PATCH net-next v3 4/8] net: dsa: change FDB routines prototypes

2015-08-10 Thread Vivien Didelot
Change the prototype of port_getnext to include a vid parameter. This is necessary to introduce the support for VLAN. Also rename the fdb_{add,del,getnext} function pointers to port_fdb_{add,del,getnext} since they are specific to a given port. Signed-off-by: Vivien Didelot ---

Re: [PATCH v2 4/8] drm: rockchip/dp: add rockchip platform dp driver

2015-08-10 Thread Yakir Yang
Hi Thierry, 在 2015/8/10 18:00, Thierry Reding 写道: On Sat, Aug 08, 2015 at 11:54:38AM +0800, Yakir Yang wrote: [...] edp: edp@ff97 { [...] hsync-active-high = <0>; vsync-active-high = <0>; interlaced = <0>; These look like they

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-10 Thread Peter Hurley
On 08/10/2015 07:54 AM, Peter Ujfalusi wrote: > On 08/07/2015 11:00 PM, Sebastian Andrzej Siewior wrote: > I don't think this is good thing for the stable _and_ for the mainline at the > same time: > in stable the rx DMA should not be allowed since the stable kernels does not > allow pause/resume

Re: [Xen-devel] [PATCH v3 19/20] xen/privcmd: Add support for Linux 64KB page granularity

2015-08-10 Thread Stefano Stabellini
On Mon, 10 Aug 2015, David Vrabel wrote: > On 10/08/15 13:03, Stefano Stabellini wrote: > > On Fri, 7 Aug 2015, Julien Grall wrote: > >> - rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap_range, ); > >> - return rc < 0 ? rc : err; > >> + for (i = 0; i < nr_gfn; i++) { > >> + if ((i %

Re: [PATCH v3 12/20] xen/balloon: Don't rely on the page granularity is the same for Xen and Linux

2015-08-10 Thread Stefano Stabellini
On Mon, 10 Aug 2015, Julien Grall wrote: > Hi Stefano, > > On 10/08/15 12:18, Stefano Stabellini wrote: > >>/* Link back into the page tables if not highmem. */ > >> @@ -396,14 +413,15 @@ static enum bp_state increase_reservation(unsigned > >> long nr_pages) > >> static enum

RE: [PATCH RFC V9 2/3] perf,tools: per-event callgraph support

2015-08-10 Thread Liang, Kan
> Em Fri, Aug 07, 2015 at 12:38:43PM -0300, Arnaldo Carvalho de Melo > escreveu: > > Em Thu, Aug 06, 2015 at 03:44:53PM -0400, kan.li...@intel.com escreveu: > > > From: Kan Liang Here are some examples and > > > test results. > > > > > > 1. Comparing the elapsed time and perf.data size from

[PATCH] [Telephony/MUX]: solve checkpatch issues

2015-08-10 Thread Gwenn Bourree
In order to prepare the submission of other functional patches, the checkpatch script has been applied and the reported issues have been solved. Signed-off-by: Gwenn Bourree --- drivers/tty/n_gsm.c | 56 + 1 file changed, 44 insertions(+), 12

Re: [PATCH v3 20/20] arm/xen: Add support for 64KB page granularity

2015-08-10 Thread Stefano Stabellini
On Fri, 7 Aug 2015, Julien Grall wrote: > The hypercall interface is always using 4KB page granularity. This is > requiring to use xen page definition macro when we deal with hypercall. > > Note that pfn_to_gfn is working with a Xen pfn (i.e 4KB). We may want to > rename pfn_gfn to make this

Re: [PATCH RFC 4/5] drm/msm/hdmi: deprecate non standard clock-names

2015-08-10 Thread Thierry Reding
On Mon, Aug 10, 2015 at 12:59:49PM +0100, Srinivas Kandagatla wrote: > This patch updates the bindings to discourage the usage of non standard > clock names, this will help in projects focused on upstreaming. > > These deprecated properties are still supported but will be remove over > the time.

Re: [PATCH 16/27] mfd: Export OF module alias information in missing drivers

2015-08-10 Thread Lee Jones
On Thu, 30 Jul 2015, Javier Martinez Canillas wrote: > The I2C core always reports the MODALIAS uevent as "i2c: regardless if the driver was matched using the I2C id_table or the > of_match_table. So technically there's no need for a driver to export > the OF table since currently it's not used.

Re: [PATCH 01/27] mfd: stw481x: Export I2C module alias information

2015-08-10 Thread Lee Jones
On Thu, 30 Jul 2015, Javier Martinez Canillas wrote: > The I2C core always reports the MODALIAS uevent as "i2c: regardless if the driver was matched using the I2C id_table or the > of_match_table. So the driver needs to export the I2C table and this > be built into the module or udev won't have

Re: [PATCH RFC 1/5] drm/msm/hdmi: deprecate non standard gpio properties.

2015-08-10 Thread Thierry Reding
On Mon, Aug 10, 2015 at 12:59:22PM +0100, Srinivas Kandagatla wrote: > This patch updates the bindings to discourage the usage of non standard > gpio properites, this will help in projects focused on upstreaming. That last part is an odd comment to make in the commit message of a patch submitted

Re: [RFC] i.MX25/35/SDHCI: switch off DMA usage

2015-08-10 Thread Alexander Stein
Hello, On Wednesday 22 April 2015 15:33:00, Dong Aisheng wrote: > > On Friday 27 March 2015 12:44:03 Dong Aisheng wrote: > > > On Fri, Mar 27, 2015 at 11:52:04AM +0100, Juergen Borleis wrote: > > > > DMA and the required overhead on very small data blocks seems an > > > > expensive operation. Due

Re: [FYI] tux3: Core changes

2015-08-10 Thread Jan Kara
On Sun 09-08-15 22:42:42, OGAWA Hirofumi wrote: > Jan Kara writes: > > > I'm not sure about which ENOSPC issue you are speaking BTW. Can you > > please ellaborate? > > 1. GUP simulate page fault, and prepare to modify > 2. writeback clear dirty, and make PTE read-only > 3. snapshot/reflink make

Re: [PATCH] pinctrl: mediatek: Implement pictrl irq wake handler

2015-08-10 Thread Linus Walleij
On Wed, Jul 29, 2015 at 11:36 AM, wrote: > From: Maoguang Meng > > This patch implement irq_set_wake for suspend resume. > > Signed-off-by: Maoguang Meng Hongzhou/Yingjoe: are you OK with this patch? Can I have your ACKs? Yours, Linus Walleij -- To unsubscribe from this list: send the line

Re: [PATCH] tools lib traceevent: add checks for returned EVENT_ERROR type

2015-08-10 Thread Dean Nelson
On 08/08/2015 10:10 PM, Namhyung Kim wrote: On Fri, Aug 07, 2015 at 12:59:10PM +0200, Jiri Olsa wrote: On Mon, Aug 03, 2015 at 01:08:05PM -0400, Dean Nelson wrote: The second warning message and SIGSEGV stem from the issue expressed in the first warning message, and are the result of ignoring

Re: [Xen-devel] [PATCH v3 09/20] xen/biomerge: Don't allow biovec to be merge when Linux is not using 4KB page

2015-08-10 Thread David Vrabel
On 10/08/15 12:32, Julien Grall wrote: > On 10/08/15 12:25, Stefano Stabellini wrote: >> yes and page/pages: >> >> xen/biomerge: Don't allow biovec's to be merged when Linux is not using 4KB >> pages > > Why the ' in biovec's ? Shouldn't we says biovecs directly? Pluralizing named C structures

Re: [PATCH RFC 2/5] drm/msm/hdmi: make use of standard gpio properties.

2015-08-10 Thread Thierry Reding
On Mon, Aug 10, 2015 at 12:59:34PM +0100, Srinivas Kandagatla wrote: > This patch modifies the driver to support standard gpio properties along > with deprecated properties. This will help us upstream and cleanup the > non-standard properties over the time. > > Signed-off-by: Srinivas Kandagatla

[PATCH v0] tracing: Allow triggers to filter for CPU ids and process names

2015-08-10 Thread Daniel Wagner
By extending the filter rules by more generic fields we can write triggers filters like echo 'stacktrace if cpu == 1' > \ /sys/kernel/debug/tracing/events/raw_syscalls/sys_enter/trigger or echo 'stacktrace if comm == sshd' > \

Re: [PATCH] cpupower tools: Fix error when running cpupower monitor

2015-08-10 Thread Thomas Renninger
On Monday, August 03, 2015 11:46:00 AM Shreyas B. Prabhu wrote: > get_cpu_topology() tries to get topology info from all cpus by reading > files in the topology sysfs dir. If a cpu is offlined, since it doesn't > have topology dir, this function fails and returns -1. This causes > functions

Re: [PATCH 1/9] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-08-10 Thread Takashi Iwai
On Mon, 10 Aug 2015 12:39:21 +0200, Russell King - ARM Linux wrote: > > On Mon, Aug 10, 2015 at 12:05:07PM +0200, Takashi Iwai wrote: > > On Sat, 08 Aug 2015 18:10:06 +0200, > > Russell King wrote: > > > +static irqreturn_t snd_dw_hdmi_irq(int irq, void *data) > > > +{ > > > + struct snd_dw_hdmi

Re: [PATCH] mfd: mt6397: Implement wake handler and suspend/resume for mt6397-core.c

2015-08-10 Thread Henry Chen
Hi Jones, On Mon, 2015-08-10 at 12:42 +0100, Lee Jones wrote: > No need to mention the filename in the subject line. You already > mentioned which driver is effected by the change. Ok, it will be changed. > > > Register mt6393_irq as wake up source to pinctrl by flag "IRQF_NO_SUSPEND". > >

Re: [PATCH 00/12] dw-hdmi development

2015-08-10 Thread Thierry Reding
On Sat, Aug 08, 2015 at 05:02:51PM +0100, Russell King - ARM Linux wrote: > This sub-series is a mixture of development: > > * Removing the incorrect pixel repetition configuration code > * Preventing pixel-doubled modes from being used > * Adding interlaced video support > * Implementing the

[PATCH v2] tools lib traceevent: add checks for returned EVENT_ERROR type

2015-08-10 Thread Dean Nelson
Running the following perf-stat command on an arm64 system produces the following result... [root@aarch64 ~]# perf stat -e kmem:mm_page_alloc -a sleep 1 Warning: [kmem:mm_page_alloc] function sizeof not defined Warning: Error: expected type 4 but read 0 Segmentation fault

Re: [PATCH RFC] serial: mxs-auart: fix baud rate range

2015-08-10 Thread Fabio Estevam
On Mon, Aug 10, 2015 at 9:12 AM, Stefan Wahren wrote: > /* set baud rate */ > - baud = uart_get_baud_rate(u, termios, old, 0, u->uartclk); > + baud_min = u->uartclk * 32 / 0x3fffc0; > + baud_max = u->uartclk * 32 / 0xec; > + baud = uart_get_baud_rate(u, termios,

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-10 Thread Sebastian Andrzej Siewior
On 08/10/2015 01:54 PM, Peter Ujfalusi wrote: >> diff --git a/drivers/tty/serial/8250/8250_omap.c >> b/drivers/tty/serial/8250/8250_omap.c >> index 0340ee6ba970..07a11e0935e4 100644 >> --- a/drivers/tty/serial/8250/8250_omap.c >> @@ -769,7 +771,9 @@ static void omap_8250_rx_dma_flush(struct

Re: [PATCH 5/8] serial: imx: save and restore context in the suspend path

2015-08-10 Thread Fabio Estevam
On Mon, Aug 10, 2015 at 1:04 AM, Eduardo Valentin wrote: > OK. Do you know what is the status of that patch set? > > did it get accepted by any tree so far? It is in linux-next. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [Xen-devel] [PATCH v3 19/20] xen/privcmd: Add support for Linux 64KB page granularity

2015-08-10 Thread David Vrabel
On 10/08/15 13:03, Stefano Stabellini wrote: > On Fri, 7 Aug 2015, Julien Grall wrote: >> -rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap_range, ); >> -return rc < 0 ? rc : err; >> +for (i = 0; i < nr_gfn; i++) { >> +if ((i % XEN_PFN_PER_PAGE) == 0) { >> +

Re: [PATCH] sched: ensure a task has a non-normalized vruntime when returning back to cfs

2015-08-10 Thread Peter Zijlstra
On Mon, Aug 10, 2015 at 06:02:55PM +0900, byungchul.p...@lge.com wrote: > From: Byungchul Park > > current code ensures a task has a normalized vruntime when switching off > from fair class, but it does not ensure the task has a non-normalized > vruntime when switching back to the fair class. >

[PATCH RFC] serial: mxs-auart: fix baud rate range

2015-08-10 Thread Stefan Wahren
Currently mxs-auart doesn't care correctly about the baud rate divisor. According to reference manual the baud rate divisor must be between 0x00EC and 0x003FFFC0. So calculate the possible baud rate range and use it for uart_get_baud_rate(). Signed-off-by: Stefan Wahren ---

Re: [PATCH v2 4/8] drm: rockchip/dp: add rockchip platform dp driver

2015-08-10 Thread Heiko Stübner
Hi Yakir, Am Samstag, 8. August 2015, 11:54:38 schrieb Yakir Yang: > >> +static int rockchip_dp_init(struct rockchip_dp_device *dp) > >> +{ > >> + struct device *dev = dp->dev; > >> + struct device_node *np = dev->of_node; > >> + int ret; > >> + > >> + dp->grf =

RE: [RFC] bmac:change to use bitrev8() generic function

2015-08-10 Thread David Laight
> From: Tobias Klauser > Sent: 10 August 2015 12:49 > On 2015-08-10 at 11:53:41 +0200, yalin wang wrote: > > This change to use generic bitrev8() for bmac driver. ... > > @@ -871,7 +860,7 @@ bmac_addhash(struct bmac_data *bp, unsigned char *addr) > > > > if (!(*addr)) return; > > crc =

Re: [PATCH v3 19/20] xen/privcmd: Add support for Linux 64KB page granularity

2015-08-10 Thread Stefano Stabellini
On Fri, 7 Aug 2015, Julien Grall wrote: > The hypercall interface (as well as the toolstack) is always using 4KB > page granularity. When the toolstack is asking for mapping a series of > guest PFN in a batch, it expects to have the page map contiguously in > its virtual memory. > > When Linux is

Re: [PATCH v3 18/20] net/xen-netback: Make it running on 64KB page granularity

2015-08-10 Thread Julien Grall
On 10/08/15 12:39, Wei Liu wrote: > On Mon, Aug 10, 2015 at 10:57:48AM +0100, Julien Grall wrote: >> while (size > 0) { >> BUG_ON(offset >= PAGE_SIZE); >> >> bytes = PAGE_SIZE - offset; >> if (bytes > size) >> bytes =

Re: [PATCH 3.2 090/110] NET: AX.25: Stop heartbeat timer on disconnect.

2015-08-10 Thread Richard Stearn
Ben Hutchings wrote: 3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Stearn commit da278622bf04f8ddb14519a2b8214e108ef26101 upstream. This may result in a kernel panic. The bug has always existed but somehow we've run out of luck

[PATCH RFC 5/5] drm/msm/hdmi: remove _clk suffix from clock names.

2015-08-10 Thread Srinivas Kandagatla
This patch modifies the driver to support clock names without _clk suffix, usage of clk names with _clk suffix seems to be non-standard and picked up everytime in DT patch review. So lets fix this and make the other clk names deprecated till we decide to remove them forever. Signed-off-by:

Re: [PATCH v4 2/7] mm: kasan: introduce generic kasan_populate_zero_shadow()

2015-08-10 Thread Andrey Ryabinin
2015-08-10 9:01 GMT+03:00 Aneesh Kumar K.V : > Andrey Ryabinin writes: > >> Introduce generic kasan_populate_zero_shadow(start, end). >> This function maps kasan_zero_page to the [start, end] addresses. >> >> In follow on patches it will be used for ARMv8 (and maybe other >> architectures) and

[PATCH RFC 3/5] drm/msm/hdmi: update bindings to include clock-names.

2015-08-10 Thread Srinivas Kandagatla
This patch updates the bindings to include the clock names used in the driver, this would make it easy to add deprecated warning once we move to use standard clock properties. Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/drm/msm/hdmi.txt | 13 + 1 file

[PATCH RFC 2/5] drm/msm/hdmi: make use of standard gpio properties.

2015-08-10 Thread Srinivas Kandagatla
This patch modifies the driver to support standard gpio properties along with deprecated properties. This will help us upstream and cleanup the non-standard properties over the time. Signed-off-by: Srinivas Kandagatla --- drivers/gpu/drm/msm/hdmi/hdmi.c | 35 +--

[PATCH RFC 4/5] drm/msm/hdmi: deprecate non standard clock-names

2015-08-10 Thread Srinivas Kandagatla
This patch updates the bindings to discourage the usage of non standard clock names, this will help in projects focused on upstreaming. These deprecated properties are still supported but will be remove over the time. Signed-off-by: Srinivas Kandagatla ---

[PATCH RFC 1/5] drm/msm/hdmi: deprecate non standard gpio properties.

2015-08-10 Thread Srinivas Kandagatla
This patch updates the bindings to discourage the usage of non standard gpio properites, this will help in projects focused on upstreaming. These deprecated properties are still supported but will be remove over the time. Signed-off-by: Srinivas Kandagatla ---

[PATCH RFC 0/5] drm/msm/hdmi: DT bindings cleanup

2015-08-10 Thread Srinivas Kandagatla
Hi Rob, Almost every time when we submit the DT changes for hdmi, we are asked why are we using non-standard dt properties. This patchset marks the old style dt properties as deprecated, and let the driver support latest *-gpios and clk names properties. This should allow us to submit the DT

[PATCH v2 5/5] mm/hwpoison: replace most of put_page in memory error handling by put_hwpoison_page

2015-08-10 Thread Wanpeng Li
Replace most of put_page in memory error handling by put_hwpoison_page, except the ones at the front of soft_offline_page since the page maybe THP page and the get refcount in madvise_hwpoison is against the single 4KB page instead of the logic in get_hwpoison_page. Signed-off-by: Wanpeng Li

[PATCH v2 4/5] mm/hwpoison: fix refcount of THP head page in no-injection case

2015-08-10 Thread Wanpeng Li
Hwpoison injection takes a refcount of target page and another refcount of head page of THP if the target page is the tail page of a THP. However, current code doesn't release the refcount of head page if the THP is not supported to be injected wrt hwpoison filter. Fix it by reducing the

[PATCH v2 3/5] mm/hwpoison: introduce put_hwpoison_page to put refcount for memory error handling

2015-08-10 Thread Wanpeng Li
Introduce put_hwpoison_page to put refcount for memory error handling. Suggested-by: Naoya Horiguchi Signed-off-by: Wanpeng Li --- include/linux/mm.h |1 + mm/memory-failure.c | 21 + 2 files changed, 22 insertions(+), 0 deletions(-) diff --git

[PATCH v2 1/5] mm/hwpoison: fix fail to split thp w/ refcount held

2015-08-10 Thread Wanpeng Li
THP pages will get a refcount in madvise_hwpoison() w/ MF_COUNT_INCREASED flag, however, the refcount is still held when fail to split THP pages. Fix it by reducing the refcount of THP pages when fail to split THP. Signed-off-by: Wanpeng Li --- mm/memory-failure.c |2 ++ 1 files changed,

[PATCH v2 2/5] mm/hwpoison: fix PageHWPoison test/set race

2015-08-10 Thread Wanpeng Li
There is a race between madvise_hwpoison path and memory_failure: CPU0 CPU1 madvise_hwpoison get_user_pages_fast PageHWPoison check (false) memory_failure TestSetPageHWPoison

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-10 Thread Peter Ujfalusi
On 08/07/2015 11:00 PM, Sebastian Andrzej Siewior wrote: > The 8250-omap driver requires the DMA-engine driver to support the pause > command in order to properly turn off programmed RX transfer before the > driver stars manually reading from the FIFO. > The lacking support of the requirement has

Re: [PATCH V1 Resend 11/11] net: Drop unlikely before IS_ERR(_OR_NULL)

2015-08-10 Thread Neil Horman
Acked-by: Neil Horman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-10 Thread Hannes Frederic Sowa
Hello, Zang MingJie writes: > Here comes several options: > > 1. reject local next hop w/ EINVAL > 2. delete route when local next hop removed Will also cause some people to complain. > 3. transition between RT_SCOPE_HOST amd RT_SCOPE_LINK I don't understand the scope transition. I know Alex

Re: [RFC] bmac:change to use bitrev8() generic function

2015-08-10 Thread Tobias Klauser
On 2015-08-10 at 11:53:41 +0200, yalin wang wrote: > This change to use generic bitrev8() for bmac driver. > > Signed-off-by: yalin wang > --- > drivers/net/ethernet/apple/bmac.c | 17 +++-- > 1 file changed, 3 insertions(+), 14 deletions(-) > > diff --git

[no subject]

2015-08-10 Thread Alfred Cheuk Chow
Good Day, I am Mr. Alfred Cheuk Yu Chow, the Director for Credit & Marketing Chong Hing Bank, Hong Kong, Chong Hing Bank Centre, 24 Des Voeux Road Central, Hong Kong. I have a business proposal of $38,980,369.00 (Thirty Eight Million, Nine Hundred and Eighty Thousand, Three Hundred and Sixty

Re: [PATCH] sched: sync with the prev cfs when changing cgroup within a cpu

2015-08-10 Thread Peter Zijlstra
On Mon, Aug 10, 2015 at 03:08:59PM +0900, byungchul.p...@lge.com wrote: > From: Byungchul Park > > current code seems to be wrong with cfs_rq->blocked_load_avg when changing > a task's cgroup(=cfs_rq) to another. i tested with "echo pid > cgroup" and > found that cfs_rq->blocked_load_avg became

Re: [tip:perf/core] perf/x86: Add an MSR PMU driver

2015-08-10 Thread Peter Zijlstra
On Mon, Aug 10, 2015 at 01:19:36PM +0200, Jiri Olsa wrote: > On Tue, Aug 04, 2015 at 02:01:20AM -0700, tip-bot for Andy Lutomirski wrote: > > SNIP > > > + /* unsupported modes and filters */ > > + if (event->attr.exclude_user || > > + event->attr.exclude_kernel || > > +

Re: [PATCH] mfd: mt6397: Implement wake handler and suspend/resume for mt6397-core.c

2015-08-10 Thread Lee Jones
No need to mention the filename in the subject line. You already mentioned which driver is effected by the change. > Register mt6393_irq as wake up source to pinctrl by flag "IRQF_NO_SUSPEND". > Implement .irq_set_wake() function of pmic to keep who is wakeup source, > and enable irq on

Re: [Question] lockdep: Is nested lock handled correctly?

2015-08-10 Thread Peter Zijlstra
On Mon, Aug 10, 2015 at 05:52:47PM +0800, Boqun Feng wrote: > Hi Peter and Ingo, > > I'm now learning the code of lockdep and find that nested lock may not > be handled correctly because we fail to take held_lock merging into > consideration. I come up with an example and hope that could explain

Re: [PATCH v3 18/20] net/xen-netback: Make it running on 64KB page granularity

2015-08-10 Thread Wei Liu
On Mon, Aug 10, 2015 at 10:57:48AM +0100, Julien Grall wrote: [...] > > >>+ info.page = page; > >>+ gnttab_foreach_grant_in_range(page, offset, bytes, > >>+ xenvif_gop_frag_copy_grant, > >>+ ); > >

Re: [PATCH 3.2 089/110] net: Clone skb before setting peeked flag

2015-08-10 Thread Konstantin Khlebnikov
On 10.08.2015 13:12, Ben Hutchings wrote: 3.2.71-rc1 review patch. If anyone has any objections, please let me know. Here is important fix: https://patchwork.ozlabs.org/patch/503374/ "net: Fix skb_set_peeked use-after-free". not in upstream yet. -- From: Herbert Xu

Re: [Xen-devel] [PATCH v3 09/20] xen/biomerge: Don't allow biovec to be merge when Linux is not using 4KB page

2015-08-10 Thread Julien Grall
On 10/08/15 12:25, Stefano Stabellini wrote: > yes and page/pages: > > xen/biomerge: Don't allow biovec's to be merged when Linux is not using 4KB > pages Why the ' in biovec's ? Shouldn't we says biovecs directly? Regards, -- Julien Grall -- To unsubscribe from this list: send the line

Re: [PATCH v3 12/20] xen/balloon: Don't rely on the page granularity is the same for Xen and Linux

2015-08-10 Thread Julien Grall
Hi Stefano, On 10/08/15 12:18, Stefano Stabellini wrote: >> /* Link back into the page tables if not highmem. */ >> @@ -396,14 +413,15 @@ static enum bp_state increase_reservation(unsigned >> long nr_pages) >> static enum bp_state decrease_reservation(unsigned long

Re: [Xen-devel] [PATCH v3 09/20] xen/biomerge: Don't allow biovec to be merge when Linux is not using 4KB page

2015-08-10 Thread Stefano Stabellini
On Mon, 10 Aug 2015, Julien Grall wrote: > Hi Stefano, > > On 10/08/15 11:50, Stefano Stabellini wrote: > > On Fri, 7 Aug 2015, Julien Grall wrote: > >> On ARM all dma-capable devices on a same platform may not be protected > >> by an IOMMU. The DMA requests have to use the BFN (i.e MFN on ARM)

Re: Warnings/memory corruption in perf intel events

2015-08-10 Thread Peter Zijlstra
On Sun, Aug 09, 2015 at 03:46:48PM -0400, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running -next I've > stumbled on the following: > [424256.911563] > == > [424256.913989] BUG: KASan:

Re: [Xen-devel] [PATCH v3 09/20] xen/biomerge: Don't allow biovec to be merge when Linux is not using 4KB page

2015-08-10 Thread Julien Grall
Hi Stefano, On 10/08/15 11:50, Stefano Stabellini wrote: > On Fri, 7 Aug 2015, Julien Grall wrote: >> On ARM all dma-capable devices on a same platform may not be protected >> by an IOMMU. The DMA requests have to use the BFN (i.e MFN on ARM) in >> order to use correctly the device. >> >> While

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