Re: [GIT PULL] overlayfs fixes for 4.9-rc3

2016-11-04 Thread Amir Goldstein
On Sat, Nov 5, 2016 at 5:06 AM, Linus Torvalds wrote: > On Fri, Nov 4, 2016 at 2:30 AM, Miklos Szeredi wrote: >> >> Also introduce the concept of feature flags to allow backward incompatible >> changes to the overlay format. This should have been there from day one; the >> best we can do now is

Re: [PATCH] drm/sun4i: Fix error handling

2016-11-04 Thread Christophe JAILLET
Le 02/11/2016 à 19:14, Maxime Ripard a écrit : Hi, On Sun, Oct 30, 2016 at 12:53:02PM +0100, Christophe JAILLET wrote: BTW, memory allocation in 'sun4i_layers_init()' looks spurious, especially the use of 'layer' in the for loop. Just my 2 cents. What do you mean by it's spurious? Hi Maxime,

United States Postal Inspection Services (USPIS)

2016-11-04 Thread Dr. Johnson West
United States Postal Inspection Services (USPIS) Address: 475 L'Enfant Plaza SW, Washington, D.C. United States. Phone: 704-612-9472 e-mail: inorb...@inorbit.com This is to inform you that we were checking over some files and packages in the office and we discover an ATM CARD which was addressed

Re: [PATCH v2] phy: sun4i: check PMU presence when poking unknown bit of pmu

2016-11-04 Thread Kishon Vijay Abraham I
On Friday 28 October 2016 11:45 PM, Hans de Goede wrote: > Hi, > > On 28-10-16 18:27, Icenowy Zheng wrote: >> Allwinner SoC's PHY 0, when used as OTG controller, have no pmu part. >> The code that poke some unknown bit of PMU for H3/A64 didn't check >> the PHY, and will cause kernel oops when PH

Re: [PATCH] phy-rockchip-pcie: remove deassert of phy_rst from exit callback

2016-11-04 Thread Kishon Vijay Abraham I
On Friday 28 October 2016 02:01 PM, Heiko Stuebner wrote: > Am Donnerstag, 13. Oktober 2016, 12:42:13 CEST schrieb Shawn Lin: >> The deassert of phy_rst from exit callback is incorrect as when >> doing phy_exit, we expect the phy_rst is on asserted state which was >> done by power_off callback, b

Re: [PATCH V3 0/6] ARM64: Uprobe support added

2016-11-04 Thread Pratyush Anand
On Saturday 05 November 2016 12:16 AM, Catalin Marinas wrote: On Fri, Nov 04, 2016 at 11:49:51AM -0600, Catalin Marinas wrote: On Wed, Nov 02, 2016 at 02:40:40PM +0530, Pratyush Anand wrote: Pratyush Anand (6): arm64: kprobe: protect/rename few definitions to be reused by uprobe arm64: kg

Re: [PATCH v2 2/3] phy: da8xx-usb: rename the ohci device to ohci-da8xx

2016-11-04 Thread Kishon Vijay Abraham I
On Thursday 03 November 2016 09:33 PM, Axel Haslam wrote: > The ohci device name has changed in the board configuraion files, > hence, change the phy lookup table to match the new name. > > Signed-off-by: Axel Haslam merged, thanks. -Kishon > --- > drivers/phy/phy-da8xx-usb.c | 5 +++-- > 1

Re: [RFC 0/8] Define coherent device memory node

2016-11-04 Thread Anshuman Khandual
On 10/25/2016 09:56 AM, Aneesh Kumar K.V wrote: > I looked at the hmm-v13 w.r.t migration and I guess some form of device > callback/acceleration during migration is something we should definitely > have. I still haven't figured out how non addressable and coherent device > memory can fit together

Re: redraw issues on i915 since 4.9-rc

2016-11-04 Thread Norbert Preining
> It won't apply directly, but you could try testing that commit and its > parent to see if my hunch was correct. Unfortunately parent commit was also ok. I am trying to bisect, but somehow git tells me something about "...merge commit..." - will see how it goes. Norbert -- PREINING Norbert + Te

task isolation discussion at Linux Plumbers

2016-11-04 Thread Chris Metcalf
A bunch of people got together this week at the Linux Plumbers Conference to discuss nohz_full, task isolation, and related stuff. (Thanks to Thomas for getting everyone gathered at one place and time!) Here are the notes I took; I welcome any corrections and follow-up. == rcu_nocbs == We star

Re: [PATCH 4/7] mm: defer vmalloc from atomic context

2016-11-04 Thread Joel Fernandes
On Mon, Oct 24, 2016 at 8:44 AM, Andrey Ryabinin wrote: > > > On 10/22/2016 06:17 PM, Christoph Hellwig wrote: >> We want to be able to use a sleeping lock for freeing vmap to keep >> latency down. For this we need to use the deferred vfree mechanisms >> no only from interrupt, but from any atomi

Re: [PATCH 2/3] ARM: cache-uniphier: refactor jump label to follow coding style guideline

2016-11-04 Thread Masahiro Yamada
2016-11-04 22:32 GMT+09:00 Russell King - ARM Linux : > On Fri, Nov 04, 2016 at 09:50:56PM +0900, Masahiro Yamada wrote: >> Hi Russell, >> >> 2016-11-04 21:23 GMT+09:00 Russell King - ARM Linux : >> > On Fri, Nov 04, 2016 at 08:43:35PM +0900, Masahiro Yamada wrote: >> >> Documentation/CodingStyle r

[PATCH v2 2/2] Revert "f2fs: do not recover from previous remained wrong dnodes"

2016-11-04 Thread Chao Yu
From: Chao Yu i_times of inode will be set with current system time which can be configured through 'date', so it's not safe to judge dnode block as garbage data or unchanged inode depend on i_times. Now, we have used enhanced 'cp_ver + cp' crc method to verify valid dnode block, so I expect rec

Re: [PATCH 2/2] f2fs: don't skip recovering inode depend on i_times

2016-11-04 Thread Chao Yu
On 2016/11/5 6:53, Jaegeuk Kim wrote: > On Fri, Nov 04, 2016 at 04:30:09PM +0800, Chao Yu wrote: >> On 2016/11/4 2:02, Jaegeuk Kim wrote: >>> On Fri, Nov 04, 2016 at 12:26:56AM +0800, Chao Yu wrote: From: Chao Yu i_times of inode will be set with current system time which can be >>>

Re: [PATCH] include/linux/rtmutex.h: NOOP rt_mutex_destroy if !CONFIG_DEBUG_RT_MUTEXES

2016-11-04 Thread Alex Goins
Pinging in case this got buried. Thanks, Alex

Re: [GIT PULL] overlayfs fixes for 4.9-rc3

2016-11-04 Thread Linus Torvalds
On Fri, Nov 4, 2016 at 2:30 AM, Miklos Szeredi wrote: > > Also introduce the concept of feature flags to allow backward incompatible > changes to the overlay format. This should have been there from day one; the > best we can do now is backport to stable kernels. Add the check for features > wit

Re: [PATCH 1/3] tpm, tpm_vtpm_proxy: add kdoc comments for VTPM_PROXY_IOC_NEW_DEV

2016-11-04 Thread Jarkko Sakkinen
On Thu, Nov 03, 2016 at 05:57:50PM -0600, Jarkko Sakkinen wrote: > Added kdoc comments for VTPM_PROXY_IOC_NEW_DEV so that these can be > imported to the kernel documentation written with rst markup and > generated with Sphinx. > > Signed-off-by: Jarkko Sakkinen Stefan, is this OK? Are you willin

Re: [PATCH 2/3] tpm: transition tpm_vtpm_proxy documentation to the Sphinx

2016-11-04 Thread Jarkko Sakkinen
On Thu, Nov 03, 2016 at 05:57:51PM -0600, Jarkko Sakkinen wrote: > Transitioned the tpm_vtpm_proxy documentation to the Sphinx > infrastructure and removed parts from the documentation that are easier > to pull from the sources. Restructured vtpm_proxy.h and tpm_vtpm_proxy.c > to be compatible with

Re: [PATCH v2 1/2] phy: rockchip-inno-usb2: support otg-port for rk3399

2016-11-04 Thread wlf
Hi Kishon, 在 2016年11月04日 01:17, Kishon Vijay Abraham I 写道: On Thursday 03 November 2016 07:36 AM, William Wu wrote: The rk3399 SoC USB2 PHY is comprised of one Host port and one OTG port. And OTG port is for USB2.0 part of USB3.0 OTG controller, as a part to construct a fully feature Type-C su

Re: [PATCH 0/3] Add memremap executable mapping and extend drivers/misc/sram.c

2016-11-04 Thread Alexandre Belloni
Hi, On 27/10/2016 at 13:56:09 -0500, Dave Gerlach wrote : > There are several instances when one would want to execute out of on-chip > SRAM, such as PM code on ARM platforms, so once again revisiting this > series to allow that in a generic manner. Seems that having a solution for > allowing SRAM

Re: [f2fs-dev] [PATCH 3/3 v2] f2fs: keep dirty inodes selectively for checkpoint

2016-11-04 Thread Chao Yu
On 2016/10/20 10:26, Jaegeuk Kim wrote: > Change log from v1: > o avoid performance regression > >>From b34a3d3c4c3fa2d6e000acc99bc5216a247bd6cb Mon Sep 17 00:00:00 2001 > From: Jaegeuk Kim > Date: Fri, 14 Oct 2016 11:51:23 -0700 > Subject: [PATCH] f2fs: keep dirty inodes selectively for checkpo

Re: [PATCH] KVM: nVMX: add tracepoint for vmwrite

2016-11-04 Thread kbuild test robot
Hi Paolo, [auto build test ERROR on kvm/linux-next] [also build test ERROR on v4.9-rc3 next-20161028] [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/commits/Paolo-Bonzini/KVM-nVMX-add-tracepoint-for-vmw

Re: [PATCH 1/2] rtc: omap: Fix selecting external osc

2016-11-04 Thread Alexandre Belloni
On 27/10/2016 at 11:27:25 +0530, Keerthy wrote : > From: Lokesh Vutla > > RTC can be clocked from an external 32KHz oscillator, or from the > Peripheral PLL. The RTC has an internal oscillator buffer to support > direct operation with a crystal. > > --

[PATCH] pstore/dump: solution pstore data abort.

2016-11-04 Thread Li Pengcheng
If not return,data abort will happen when two threads call pstore_dump at the same time. Signed-off-by: Liu Hailong Signed-off-by: Li Pengcheng Signed-off-by: Li Zhong --- fs/pstore/platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index

Re: How to debug DEBUG_TEST_DRIVER_REMOVE hang during loading of kernel?

2016-11-04 Thread Randy Dunlap
On 11/04/16 13:47, Maarten Maathuis wrote: > Anyone have advice where else I can ask? > > On Sat, Oct 29, 2016 at 1:07 PM, Maarten Maathuis > wrote: >> Anyone have suggestions? Besides serial console, there are also netconsole, earlycon (probably not useful to you), and earlyprintk. You can us

[PATCH] drm: move allocation out of drm_get_format_name()

2016-11-04 Thread Eric Engestrom
Fixes: 90844f00049e9f42573fd31d7c32e8fd31d3fd07 drm: make drm_get_format_name thread-safe Signed-off-by: Eric Engestrom [danvet: Clarify that the returned pointer must be freed with kfree().] Signed-off-by: Daniel Vetter Suggested-by: Ville Syrjälä Signed-off-by: Eric Enge

Re: Children Under Miserable Condition

2016-11-04 Thread Mrs. Maima Farooq
Good Day, As an Aging widow with no child, suffering from long time incurable illness; presently admitted in a private hospital. I decided to give away my estate to the vulnerable through a sincere person. This is because at this point, life seems miserable for there is nobody to inherit my es

[GIT PULL] MD update for 4.9-rc3

2016-11-04 Thread Shaohua Li
Hi Linus, Please pull MD changes for 4.9-rc3. There are several bug fixes queued: - Fix raid5-cache recovery bugs - Fix discard IO error handling for raid1/10 - Fix array sync writes bogus position to superblock - Fix IO error handling for raid array with external metadata Thanks, Shaohua The f

I Hope You Get My Message This Time

2016-11-04 Thread Dr Friedrich Mayrhofer
-- This is the second time i am sending you this mail.I, Friedrich Mayrhofer Donate $ 1,000,000.00 to You, Email Me personally for more details. Regards. Friedrich Mayrhofer

Re: Children Under Miserable Condition

2016-11-04 Thread Mrs. Maima Farooq
Good Day, As an Aging widow with no child, suffering from long time incurable illness; presently admitted in a private hospital. I decided to give away my estate to the vulnerable through a sincere person. This is because at this point, life seems miserable for there is nobody to inherit my es

[GIT PULL] MTD updates for 4.9-rc4

2016-11-04 Thread Brian Norris
Hi Linus, The following changes since commit 07d9a380680d1c0eb51ef87ff2eab5c994949e69: Linux 4.9-rc2 (2016-10-23 17:10:14 -0700) are available in the git repository at: git://git.infradead.org/linux-mtd.git tags/for-linus-20161104 for you to fetch changes up to

Re: [PATCH v8 7/7] KVM: x86: virtualize cpuid faulting

2016-11-04 Thread David Matlack
On Fri, Nov 4, 2016 at 2:57 PM, Paolo Bonzini wrote: > > On 04/11/2016 21:34, David Matlack wrote: >> On Mon, Oct 31, 2016 at 6:37 PM, Kyle Huey wrote: >>> + case MSR_PLATFORM_INFO: >>> + /* cpuid faulting is supported */ >>> + msr_info->data = PLATINFO_CPUID_FAU

[PATCH] staging: lustre: o2iblnd: replace space indentation with tabs

2016-11-04 Thread Nicholas Hanley
This patch fixes all CODE_INDENT checkpatch errors in o2iblnd. Signed-off-by: Nicholas Hanley --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 2 +- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 22 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff -

Re: [PATCH v2 1/3] remoteproc: qcom: Encapsulate pvt data structure for q6v56 hexagon.

2016-11-04 Thread kbuild test robot
for-q6v56-hexagon/20161104-220712 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm64-allyesconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/

Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS

2016-11-04 Thread Mark Rutland
On Wed, Nov 02, 2016 at 12:15:50PM -0700, Dave Hansen wrote: > On 10/31/2016 05:08 PM, Mark Rutland wrote: > > When an architecture does not select CONFIG_ARCH_HAS_PKEYS, the pkey_alloc > > syscall will return -ENOSPC for all (otherwise well-formed) requests, as the > > generic implementation of mm

[PATCH] drm/vc4: Use runtime autosuspend to avoid thrashing V3D power state.

2016-11-04 Thread Eric Anholt
The pm_runtime_put() we were using immediately released power on the device, which meant that we were generally turning the device off and on once per frame. In many profiles I've looked at, that added up to about 1% of CPU time, but this could get worse in the case of frequent rendering and readb

Re: [PATCH v3 1/3] dt-bindings: mediatek: Add a binding for Mediatek JPEG Decoder

2016-11-04 Thread Laurent Pinchart
Hi Rick, Thank you for the patch. On Friday 04 Nov 2016 13:51:18 Rick Chang wrote: > Add a DT binding documentation for Mediatek JPEG Decoder of > MT2701 SoC. This version looks much better ! > Signed-off-by: Rick Chang > Signed-off-by: Minghsiu Tsai > --- > .../bindings/media/mediatek-jpeg-

Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build

2016-11-04 Thread Pandruvada, Srinivas
On Fri, 2016-11-04 at 23:16 +0100, Pavel Machek wrote: > Hi! > [...] > So we seem to have thermal or ACPI regression in v4.9-rc3. > It is possible. Can you add either add printk in acpi_processor_ppc_has_changed() or use ftrace and see do you get to these functions acpi_processor_ppc_init() ac

Re: [v17 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2016-11-04 Thread Daniel Kurtz
On Tue, Oct 25, 2016 at 6:23 AM, Matthias Brugger wrote: > > On 10/18/2016 04:37 PM, Enric Balletbo Serra wrote: > [...] >>> --- /dev/null >>> +++ b/drivers/gpu/drm/bridge/parade-ps8640.c > [...] >>> >>> + >>> +/* Firmware */ >>> +#define PS_FW_NAME "ps864x_fw.bin" >>> + >> >> From whe

[PATCH] KVM: nVMX: add tracepoint for vmwrite

2016-11-04 Thread Paolo Bonzini
Both the field and the value are in registers, so they are not clear from existing tracepoints. Cc: Ladi Prosek Signed-off-by: Paolo Bonzini --- arch/x86/kvm/trace.h | 23 +++ arch/x86/kvm/vmx.c | 2 ++ 2 files changed, 25 insertions(+) diff --git a/arch/x86/kvm/trace.h

[PATCH] crypto: caam: do not register AES-XTS mode on LP units

2016-11-04 Thread Sven Ebenfeld
When using AES-XTS on a Wandboard, we receive a Mode error: caam_jr 2102000.jr1: 20001311: CCB: desc idx 19: AES: Mode error. Due to the Security Reference Manual, the Low Power AES units of the i.MX6 do not support the XTS mode. Therefore we should try to provide them them in the API. Signed-off

Re: [PATCH 1/4] block: add scalable completion tracking of requests

2016-11-04 Thread Ming Lei
On Fri, Nov 4, 2016 at 12:55 AM, Jens Axboe wrote: > On 11/03/2016 08:57 AM, Ming Lei wrote: >> >> On Thu, Nov 3, 2016 at 9:38 PM, Jens Axboe wrote: >>> >>> On 11/03/2016 05:17 AM, Ming Lei wrote: > > > diff --git a/block/blk-core.c b/block/blk-core.c > index 0bfaa54d3e9f..ca77c72

Re: [PATCH 3/4] rtc: Enable compile testing for Maxim and Samsung drivers

2016-11-04 Thread Alexandre Belloni
On 02/10/2016 at 22:58:16 +0200, Krzysztof Kozlowski wrote : > max8907, max77686 and s5m RTC drivers can be compile tested to increase > build coverage. The s5m-rtc uses REGMAP_IRQ so add this as explicit > dependency. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/rtc/Kconfig | 7 -

Re: [PATCH v3 1/7] rtc: rtc-jz4740: Add support for the RTC in the jz4780 SoC

2016-11-04 Thread Alexandre Belloni
On 31/10/2016 at 21:39:45 +0100, Paul Cercueil wrote : > The RTC unit present in the JZ4780 works mostly the same as the one in > the JZ4740. The major difference is that register writes need to be > explicitly enabled, by writing a magic code (0xA55A) to a "write > enable" register before each acc

Re: Children Under Miserable Condition

2016-11-04 Thread Mrs. Maima Farooq
Good Day, As an Aging widow with no child, suffering from long time incurable illness; presently admitted in a private hospital. I decided to give away my estate to the vulnerable through a sincere person. This is because at this point, life seems miserable for there is nobody to inherit my es

Re: [PATCH V5] pinctrl: qcom: Add msm8994 pinctrl driver

2016-11-04 Thread Linus Walleij
On Thu, Nov 3, 2016 at 10:15 PM, Michael Scott wrote: > Initial pinctrl driver for QCOM msm8994 platforms. > > In order to continue the initial board support for QCOM msm8994/msm8992 > presented in patches from Jeremy McNicoll , let's put > a proper pinctrl driver in place. > > Currently, the DT

[PATCH 2/2] f2fs: remove checkpoint in f2fs_freeze

2016-11-04 Thread Jaegeuk Kim
The generic freeze_super() calls sync_filesystems() before f2fs_freeze(). So, basically we don't need to do checkpoint in f2fs_freeze(). But, in xfs/068, it triggers circular locking problem below due to gc_mutex for checkpoint. == [ INFO: possib

[PATCH 1/2] f2fs: assign segments correctly for direct_io

2016-11-04 Thread Jaegeuk Kim
Previously, we assigned CURSEG_WARM_DATA for direct_io, but if we have two or four logs, we do not use that type at all. Let's fix it. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.

Re: [PATCH 2/2] f2fs: don't skip recovering inode depend on i_times

2016-11-04 Thread Jaegeuk Kim
On Fri, Nov 04, 2016 at 04:30:09PM +0800, Chao Yu wrote: > On 2016/11/4 2:02, Jaegeuk Kim wrote: > > On Fri, Nov 04, 2016 at 12:26:56AM +0800, Chao Yu wrote: > >> From: Chao Yu > >> > >> i_times of inode will be set with current system time which can be > >> configured through 'date', so it's not

[PATCH net-next 5/5] net: l2tp: fix negative assignment to unsigned int

2016-11-04 Thread Asbjoern Sloth Toennesen
recv_seq, send_seq and lns_mode mode are all defined as unsigned int foo:1; Signed-off-by: Asbjoern Sloth Toennesen --- net/l2tp/l2tp_core.c | 2 +- net/l2tp/l2tp_ppp.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index a

[PATCH net-next 4/5] net: l2tp: cleanup: remove redundant condition

2016-11-04 Thread Asbjoern Sloth Toennesen
These assignments follow this pattern: unsigned int foo:1; struct nlattr *nla = info->attrs[bar]; if (nla) foo = nla_get_flag(nla); /* expands to: foo = !!nla */ This could be simplified to: if (nla) foo = 1; but lets just remove the condition and use the

[PATCH net-next 1/5] net: l2tp: fix L2TP_ATTR_UDP_CSUM attribute type

2016-11-04 Thread Asbjoern Sloth Toennesen
L2TP_ATTR_UDP_CSUM is a flag, and gets read with nla_get_flag, but it is defined as NLA_U8 in the nla_policy. It appears that this is only publicly used in iproute2, where it's broken, because it's used as a NLA_FLAG, and fails validation as a NLA_U8. The only place it's used as a NLA_U8 is in l2

[PATCH net-next 2/5] net: l2tp: fix L2TP_ATTR_UDP_ZERO_CSUM6_{RX,TX} attribute types

2016-11-04 Thread Asbjoern Sloth Toennesen
The attributes L2TP_ATTR_UDP_ZERO_CSUM6_RX and L2TP_ATTR_UDP_ZERO_CSUM6_TX are used as flags, but is defined as a u8 in a comment. This patch redocuments them as flags, and adds them to the nla_policy, so they gets validated. The only publicly user, iproute2, already treat these attributes as fla

[PATCH net-next 3/5] net: l2tp: netlink: l2tp_nl_tunnel_send: set UDP6 checksum flags

2016-11-04 Thread Asbjoern Sloth Toennesen
This patch causes the proper attribute flags to be set, in the case that IPv6 UDP checksums are disabled, so that userspace ie. `ip l2tp show tunnel` knows about it. Signed-off-by: Asbjoern Sloth Toennesen --- net/l2tp/l2tp_netlink.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

Re: [PATCH 0/3] rtc: remove modular usage from non-modular code

2016-11-04 Thread Alexandre Belloni
On 31/10/2016 at 14:55:24 -0400, Paul Gortmaker wrote : > My ongoing audit looking for non-modular code that needlessly uses > modular macros (vs. built-in equivalents) and/or has dead code > relating to module unloading that can never be executed led to the > creation of these rtc related commits.

Re: [PATCH 1/2] pinctrl: tegra: Add DT binding for io pads control

2016-11-04 Thread Linus Walleij
On Wed, Nov 2, 2016 at 10:09 AM, Laxman Dewangan wrote: > NVIDIA Tegra124 and later SoCs support the multi-voltage level and > low power state of some of its IO pads. The IO pads can work in > the voltage of the 1.8V and 3.3V of IO power rail sources. When IO > interface are not used then IO pads

Re: [PATCH] pinctrl: sunxi: make bool drivers explicitly non-modular

2016-11-04 Thread Linus Walleij
On Sun, Oct 30, 2016 at 2:00 AM, Paul Gortmaker wrote: > None of the Kconfigs for any of these drivers are tristate, > meaning that they currently are not being built as a module by anyone. > > Lets remove the modular code that is essentially orphaned, so that > when reading the drivers there is

Re: [PATCH 2/2] pinctrl: tegra: Add driver to configure voltage and power of io pads

2016-11-04 Thread Linus Walleij
On Wed, Nov 2, 2016 at 10:09 AM, Laxman Dewangan wrote: > NVIDIA Tegra124 and later SoCs support the multi-voltage level and > low power state of some of its IO pads. The IO pads can work in > the voltage of the 1.8V and 3.3V of IO power rail sources. When IO > interface are not used then IO pads

Re: [PATCH v2 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2016-11-04 Thread Marc Zyngier
On Fri, Nov 04 2016 at 04:42:57 AM, Youlin Pei wrote: > On Tue, 2016-11-01 at 20:49 +, Marc Zyngier wrote: >> On Tue, Nov 01 2016 at 11:52:01 AM, Youlin Pei >> wrote: >> > In Mediatek SOCs, the CIRQ is a low power interrupt controller >> > designed to works outside MCUSYS which comprises wit

Re: [PATCH 1/1] gpio: lib: Add gpio_is_enabled() to get pin mode

2016-11-04 Thread Linus Walleij
On Wed, Nov 2, 2016 at 1:17 PM, Laxman Dewangan wrote: > Many of devices/SoCs supports the GPIO and special IO function > from their pins. On such cases, there is always configuration > bits to select the mode of pin as GPIO or as the special IO mode. > The functional modes are selected by pinmux

Re: console issue since 3.6, console=ttyS1 hangs

2016-11-04 Thread Peter Hurley
On Fri, Nov 4, 2016 at 3:33 PM, Nathan Zimmer wrote: > On Thu, Nov 03, 2016 at 06:25:46PM -0600, Peter Hurley wrote: >> On Wed, Nov 2, 2016 at 9:29 AM, Nathan Zimmer wrote: >> > On Mon, Oct 31, 2016 at 08:55:49PM -0600, Peter Hurley wrote: >> >> On Mon, Oct 31, 2016 at 2:27 PM, Sean Young wrote:

Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build

2016-11-04 Thread Pavel Machek
Hi! > I'd prefer mails over bugzilla for now... > > 4.9-rc2 has bios_limit: > > pavel@duo:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/bios_limit > 1833000 > > and it has thermal zones: > > /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp 127000 > /sys/devices/virtual/thermal/therma

Re: [PATCH] pinctrl: meson: Add GXL pinctrl definitions

2016-11-04 Thread Linus Walleij
On Mon, Oct 31, 2016 at 5:32 PM, Neil Armstrong wrote: > Add support for the Amlogic Meson GXL SoC, this is a partially complete > definition only based on the Amlogic Vendor tree. > > This definition differs a lot from the GXBB and needs a separate entry. > > Acked-by: Rob Herring > Signed-off-

Re: [PATCH] gpio: htc-egpio: Make it explicitly non-modular

2016-11-04 Thread Linus Walleij
On Mon, Oct 31, 2016 at 7:27 PM, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/gpio/Kconfig:config HTC_EGPIO > drivers/gpio/Kconfig: bool "HTC EGPIO support" > > ...meaning that it currently is not being built as a module by anyone. > > Lets

Re: [PATCH v6] powerpc: Do not make the entire heap executable

2016-11-04 Thread Kees Cook
Hi, Jason just reminded me about this patch. :) Denys, can you resend a v7 with all the Acked/Reviewed/Tested-bys added and send it To: akpm, with everyone else (and lkml) in CC? That should be the easiest way for Andrew to pick it up. Thanks! -Kees On Mon, Oct 24, 2016 at 5:17 PM, Kees Cook

Re: [git pull] drm fixes for 4.9-rc4

2016-11-04 Thread Theodore Ts'o
On Fri, Nov 04, 2016 at 01:38:25PM -0700, Linus Torvalds wrote: > On Wed, Nov 2, 2016 at 5:31 PM, Dave Airlie wrote: > > > > There are a set of fixes for an oops we've been seeing around MST > > display unplug, > > Side note: I heard from a couple of people at the KS that said that > they had had

Re: [PATCH v8 7/7] KVM: x86: virtualize cpuid faulting

2016-11-04 Thread Paolo Bonzini
On 04/11/2016 21:34, David Matlack wrote: > On Mon, Oct 31, 2016 at 6:37 PM, Kyle Huey wrote: >> + case MSR_PLATFORM_INFO: >> + /* cpuid faulting is supported */ >> + msr_info->data = PLATINFO_CPUID_FAULT; >> + break; > > This could break save/res

Re: [PATCH 4/4] ARM: dts: Add #pinctrl-cells for pinctrl-single instances

2016-11-04 Thread Linus Walleij
On Thu, Nov 3, 2016 at 5:35 PM, Tony Lindgren wrote: > Drivers using pinctrl-single,pins have #pinctrl-cells = <1>, while > pinctrl-single,bits need #pinctrl-cells = <2>. > > Note that this patch can be optionally applied separately from the > driver changes as the driver supports also the legacy

Re: [PATCH 3/4] pinctrl: single: Use generic parser and #pinctrl-cells for pinctrl-single,bits

2016-11-04 Thread Linus Walleij
On Thu, Nov 3, 2016 at 5:35 PM, Tony Lindgren wrote: > We can now use generic parser and keep things compatible with the > old binding. > > Signed-off-by: Tony Lindgren V2 Patch applied. Yours, Linus Walleij

Re: [PATCH 2/4] pinctrl: single: Use generic parser and #pinctrl-cells for pinctrl-single,pins

2016-11-04 Thread Linus Walleij
On Thu, Nov 3, 2016 at 5:35 PM, Tony Lindgren wrote: > We can now use generic parser. To support the legacy binding without > #pinctrl-cells, add pcs_quirk_missing_pinctrl_cells() and warn about > missing #pinctrl-cells. > > Let's also update the documentation for struct pcs_soc_data while at it

Re: [PATCH 1/4] pinctrl: Introduce generic #pinctrl-cells and pinctrl_parse_index_with_args

2016-11-04 Thread Linus Walleij
On Thu, Nov 3, 2016 at 5:35 PM, Tony Lindgren wrote: > Introduce #pinctrl-cells helper binding and generic helper functions > pinctrl_count_index_with_args() and pinctrl_parse_index_with_args(). > > Acked-by: Rob Herring > Signed-off-by: Tony Lindgren Ooops applied this v2 version instead of t

RE: [PATCH 8/9] bus: fsl-mc: dpio: add the DPAA2 DPIO object driver

2016-11-04 Thread Ruxandra Ioana Radulescu
> -Original Message- > From: Stuart Yoder > Sent: Thursday, November 03, 2016 4:38 PM > To: Ruxandra Ioana Radulescu > Subject: FW: [PATCH 8/9] bus: fsl-mc: dpio: add the DPAA2 DPIO object > driver > > > > -Original Message- > From: Stuart Yoder [mailto:stuart.yo...@nxp.com] > S

Re: [PATCH v2 2/2] power: bq27xxx_battery: add poll interval property query

2016-11-04 Thread Pavel Machek
On Fri 2016-11-04 13:39:19, Matt Ranostay wrote: > On Fri, Nov 4, 2016 at 1:29 PM, Pavel Machek wrote: > > On Fri 2016-11-04 07:58:55, Tony Lindgren wrote: > >> * Pavel Machek [161104 00:10]: > >> > On Thu 2016-11-03 22:00:56, Matt Ranostay wrote: > >> > Do you actually have hardware with more th

Re: [PATCH 2/4] pinctrl: single: Use generic parser and #pinctrl-cells for pinctrl-single,pins

2016-11-04 Thread Linus Walleij
On Tue, Oct 25, 2016 at 6:45 PM, Tony Lindgren wrote: > We can now use generic parser. To support the legacy binding without > #pinctrl-cells, add pcs_quirk_missing_pinctrl_cells() and warn about > missing #pinctrl-cells. > > Let's also update the documentation for struct pcs_soc_data while at it

Re: [PATCH 1/4] pinctrl: Introduce generic #pinctrl-cells and pinctrl_parse_index_with_args

2016-11-04 Thread Linus Walleij
On Fri, Oct 28, 2016 at 6:53 PM, Tony Lindgren wrote: > From tony Mon Sep 17 00:00:00 2001 > From: Tony Lindgren > Date: Tue, 25 Oct 2016 08:33:34 -0700 > Subject: [PATCH] pinctrl: Introduce generic #pinctrl-cells and > pinctrl_parse_index_with_args > > Introduce #pinctrl-cells helper binding a

[PATCH v3 0/2] regulator: handling of error conditions for usb drivers

2016-11-04 Thread Axel Haslam
Some usb drivers rely on external power switches/regulators to for the port vbus. Some of these drivers are using a plain gpio for the enable pin and also the over current indicator pin. To make these drivers more generic, we can use a regulator to handle vbus, and send and over current event, but

[PATCH v3 2/2] regulator: fixed: Handle optional overcurrent pin

2016-11-04 Thread Axel Haslam
Fixed regulators (ex. TPS2087D) may have a over current pin that is activated on over current. Consumers may be interested to know about over current events to take appropriate actions. Allow the fix regulator to take in an optional gpio pin for over current and send the respective event to the co

[PATCH v3 1/2] regulator: fixed: dt: Allow an optional over current pin

2016-11-04 Thread Axel Haslam
Add support for an optional over current input pin which can be used to send an over current event to the regulator consumer. Cc: devicet...@vger.kernel.org Signed-off-by: Axel Haslam --- Documentation/devicetree/bindings/regulator/fixed-regulator.txt | 2 ++ 1 file changed, 2 insertions(+) dif

Re: console issue since 3.6, console=ttyS1 hangs

2016-11-04 Thread Nathan Zimmer
On Thu, Nov 03, 2016 at 06:25:46PM -0600, Peter Hurley wrote: > On Wed, Nov 2, 2016 at 9:29 AM, Nathan Zimmer wrote: > > On Mon, Oct 31, 2016 at 08:55:49PM -0600, Peter Hurley wrote: > >> On Mon, Oct 31, 2016 at 2:27 PM, Sean Young wrote: > >> > On Sun, Oct 30, 2016 at 10:33:02AM -0500, Nathan wr

Re: [PATCH 01/14] pinctrl-sx150x: Rely on of_modalias_node for OF matching

2016-11-04 Thread Linus Walleij
On Fri, Nov 4, 2016 at 9:09 PM, Andrey Smirnov wrote: > On Fri, Nov 4, 2016 at 5:28 AM, Linus Walleij > wrote: >> On Tue, Nov 1, 2016 at 4:57 PM, Andrey Smirnov >> wrote: >> >>> None of the OF match table entries contain any compatiblity strings that >>> could not be matched against using i2c_

[PATCH v11 12/22] vfio: Add notifier callback to parent's ops structure of mdev

2016-11-04 Thread Kirti Wankhede
Add a notifier calback to parent's ops structure of mdev device so that per device notifer for vfio module is registered through vfio_mdev module. Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: Iafa6f1721aecdd6e50eb93b153b5621e6d29b637 --- drivers/vfio/mdev/vfio_mdev.c | 19 +++

[PATCH v11 07/22] vfio iommu type1: Update argument of vaddr_get_pfn()

2016-11-04 Thread Kirti Wankhede
Update arguments of vaddr_get_pfn() to take struct mm_struct *mm as input argument. Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: I885fd4cd4a9f66f4ee2c1caf58267464ec239f52 --- drivers/vfio/vfio_iommu_type1.c | 30 +++--- 1 file changed, 23 insertions(+)

[PATCH v11 08/22] vfio iommu type1: Add find_iommu_group() function

2016-11-04 Thread Kirti Wankhede
Add find_iommu_group() Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: I9d372f1ebe9eb01a5a21374b8a2b03f7df73601f --- drivers/vfio/vfio_iommu_type1.c | 58 - 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/drivers/vfio/vfio_

[PATCH v11 03/22] vfio: Rearrange functions to get vfio_group from dev

2016-11-04 Thread Kirti Wankhede
This patch rearranges functions to get vfio_group from device Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: I1f93262bdbab75094bc24b087b29da35ba70c4c6 --- drivers/vfio/vfio.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/drivers/vf

[PATCH v11 13/22] vfio: Introduce common function to add capabilities

2016-11-04 Thread Kirti Wankhede
Vendor driver using mediated device framework should use vfio_info_add_capability() to add capabilities. Introduced this function to reduce code duplication in vendor drivers. Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: I6fca329fa2291f37a2c859d0bc97574d9e2ce1a6 --- drivers/v

[PATCH v11 17/22] vfio_platform: Updated to use vfio_set_irqs_validate_and_prepare()

2016-11-04 Thread Kirti Wankhede
Updated vfio_platform_common.c file to use vfio_set_irqs_validate_and_prepare() Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: Id87cd6b78ae901610b39bf957974baa6f40cd7b0 --- drivers/vfio/platform/vfio_platform_common.c | 31 +++- 1 file changed, 8 inserti

Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build

2016-11-04 Thread Pandruvada, Srinivas
On Fri, 2016-11-04 at 21:44 +0100, Pavel Machek wrote: > Hi! > > > > > > > > > Let me try v4.9-rc2... that works ok (cpus at the high frequency > > > during the kernel build). Unfortunately that sends my cpus to 99C > > > temperature range (and eventually forces emergency shutdown). > > > > Thi

[PATCH v11 21/22] docs: Sample driver to demonstrate how to use Mediated device framework.

2016-11-04 Thread Kirti Wankhede
The Sample driver creates mdev device that simulates serial port over PCI card. Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: I857f8f12f8b275f2498dfe8c628a5cdc7193b1b2 --- Documentation/vfio-mediated-device.txt | 103 ++- samples/vfio-mdev/Makefile | 13 + sampl

[PATCH v11 16/22] vfio_pci: Updated to use vfio_set_irqs_validate_and_prepare()

2016-11-04 Thread Kirti Wankhede
Updated vfio_pci.c file to use vfio_set_irqs_validate_and_prepare() Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: I9f3daba89d8dba5cb5b01a8cff420412f30686c7 --- drivers/vfio/pci/vfio_pci.c | 34 +++--- 1 file changed, 7 insertions(+), 27 deletions(-)

[PATCH v11 20/22] docs: Sysfs ABI for mediated device framework

2016-11-04 Thread Kirti Wankhede
Added details of sysfs ABI for mediated device framework Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: Icb0fd4ed58a2fa793fbcb1c3d5009a4403c1f3ac --- Documentation/ABI/testing/sysfs-bus-vfio-mdev | 111 ++ 1 file changed, 111 insertions(+) create mode 1

[PATCH v11 15/22] vfio: Introduce vfio_set_irqs_validate_and_prepare()

2016-11-04 Thread Kirti Wankhede
Vendor driver using mediated device framework would use same mechnism to validate and prepare IRQs. Introducing this function to reduce code replication in multiple drivers. Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: Ie201f269dda0713ca18a07dc4852500bd8b48309 --- drivers/vfi

[PATCH v11 19/22] docs: Add Documentation for Mediated devices

2016-11-04 Thread Kirti Wankhede
Add file Documentation/vfio-mediated-device.txt that include details of mediated device framework. Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: I137dd646442936090d92008b115908b7b2c7bc5d --- Documentation/vfio-mediated-device.txt | 298 + 1 file

[PATCH v11 11/22] vfio iommu: Add blocking notifier to notify DMA_UNMAP

2016-11-04 Thread Kirti Wankhede
Added blocking notifier to IOMMU TYPE1 driver to notify vendor drivers about DMA_UNMAP. Exported two APIs vfio_register_notifier() and vfio_unregister_notifier(). Notifier should be registered, if external user wants to use vfio_pin_pages()/vfio_unpin_pages() APIs to pin/unpin pages. Vendor driver

[PATCH v11 06/22] vfio iommu type1: Update arguments of vfio_lock_acct

2016-11-04 Thread Kirti Wankhede
Updated arguments of vfio_lock_acct to take mm structure as input argument Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: I5d3673cc9d3786bb436b395d5f74537f1a36da80 --- drivers/vfio/vfio_iommu_type1.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-)

[PATCH v11 14/22] vfio_pci: Update vfio_pci to use vfio_info_add_capability()

2016-11-04 Thread Kirti Wankhede
Update msix_sparse_mmap_cap() to use vfio_info_add_capability() Update region type capability to use vfio_info_add_capability() Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: I52bb28c7875a6da5a79ddad1843e6088aff58a45 --- drivers/vfio/pci/vfio_pci.c | 49 ++--

[PATCH v11 09/22] vfio iommu type1: Add task structure to vfio_dma

2016-11-04 Thread Kirti Wankhede
Add task structure to vfio_dma. Add address space structure. Each vfio_dma structure points to the address space of the task who mapped it. List of address spaces is maintained in vfio_iommu structure. >From DMA_MAP call if address space already exist in address space list, vfio_dma points to it. I

[PATCH v11 18/22] vfio: Define device_api strings

2016-11-04 Thread Kirti Wankhede
Defined device API strings. Vendor driver using mediated device framework should use corresponding string for device_api attribute. Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: I42d29f475f02a7132ce13297fbf2b48f1da10995 --- include/uapi/linux/vfio.h | 10 ++ 1 file cha

[PATCH v11 22/22] MAINTAINERS: Add entry VFIO based Mediated device drivers

2016-11-04 Thread Kirti Wankhede
Adding myself as a maintainer of mediated device framework, a sub module of VFIO. Signed-off-by: Kirti Wankhede Signed-off-by: Neo Jia Change-Id: I58f6717783e0d4008ca31f4a5c4494696bae8571 --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS inde

[PATCH v11 10/22] vfio iommu type1: Add support for mediated devices

2016-11-04 Thread Kirti Wankhede
VFIO IOMMU drivers are designed for the devices which are IOMMU capable. Mediated device only uses IOMMU APIs, the underlying hardware can be managed by an IOMMU domain. Aim of this change is: - To use most of the code of TYPE1 IOMMU driver for mediated devices - To support direct assigned device

[PATCH v11 05/22] vfio iommu: Added pin and unpin callback functions to vfio_iommu_driver_ops

2016-11-04 Thread Kirti Wankhede
Added two new callback functions to struct vfio_iommu_driver_ops. Backend IOMMU module that supports pining and unpinning pages for mdev devices should provide these functions. Added APIs for pining and unpining pages to VFIO module. These calls back into backend iommu module to actually pin and un

  1   2   3   4   5   >