Re: [PATCH v2 5/5] dax: handle media errors in dax_do_io

2016-03-29 Thread Christoph Hellwig
On Wed, Mar 30, 2016 at 12:54:37AM -0600, Vishal Verma wrote: > On Tue, 2016-03-29 at 23:34 -0700, Christoph Hellwig wrote: > > Hi Vishal, > > > > still NAK to calling the direct I/O code directly from the dax code. > > Hm, I thought this was what you meant -- do the fallback/retry attempts > at

Re: [PATCH v2 5/5] dax: handle media errors in dax_do_io

2016-03-29 Thread Vishal Verma
On Tue, 2016-03-29 at 23:34 -0700, Christoph Hellwig wrote: > Hi Vishal, > > still NAK to calling the direct I/O code directly from the dax code. Hm, I thought this was what you meant -- do the fallback/retry attempts at the callers of dax_do_io instead of the new dax wrapper function.. Did I mis

[PATCH v2] gpio: pca953x: Use correct u16 value for register word write

2016-03-29 Thread Yong Li
The current implementation only uses the first byte in val, the second byte is always 0. Change it to use cpu_to_le16 to write the two bytes into the register Signed-off-by: Yong Li --- drivers/gpio/gpio-pca953x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpio

Re: [PATCH] block: don't make BLK_DEF_MAX_SECTORS too big

2016-03-29 Thread Christoph Hellwig
On Tue, Mar 29, 2016 at 03:01:10PM -0700, Shaohua Li wrote: > The problem is bcache allocates a big bio (with bio_alloc). The bio is > split with blk_queue_split, but it isn't split to small size because > queue limit. the bio is cloned later in md, which uses bio_alloc_bioset. > bio_alloc_bioset i

Re: [PATCH v8] acpi, apei, arm64: APEI initial support for aarch64.

2016-03-29 Thread kbuild test robot
-arm64-APEI-initial-support-for-aarch64/20160329-154730 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux for-next/core config: arm64-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O

Re: [PATCH] tpm: remove redundant code from self-test functions

2016-03-29 Thread kbuild test robot
Hi Jarkko, [auto build test ERROR on next-20160330] [cannot apply to v4.6-rc1 v4.5-rc7 v4.5-rc6 v4.6-rc1] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Jarkko-Sakkinen/tpm-remove-redundant-co

[PATCH] sched/fair: Update comment after a variable rename

2016-03-29 Thread Yuyang Du
Commit ed82b8a1ff76ed7b2709 renamed prio_to_weight to sched_prio_to_weight, but the old name was not updated in a comment. Signed-off-by: Yuyang Du --- kernel/sched/fair.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 303d6

[PATCH v2] ARM: reboot: remove duplicated local_irq_disable()

2016-03-29 Thread Jisheng Zhang
Once entering machine_halt() and machine_restart(), local_irq_disable() is called, and local irq is kept disabled, so the local_irq_disable() at the end of these two functions are not necessary, remove it. Signed-off-by: Jisheng Zhang --- Since v1: - correct typo in commit msg arch/arm/kernel

Re: [PATCH 1/4] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-29 Thread Peter Zijlstra
On Wed, Mar 30, 2016 at 09:57:02AM +0800, Wangnan (F) wrote: > > > On 2016/3/29 20:54, Peter Zijlstra wrote: > >On Mon, Mar 28, 2016 at 06:41:29AM +, Wang Nan wrote: > >>Add new ioctl() to pause/resume ring-buffer output. > >> > >>In some situations we want to read from ring buffer only when

Re: [PATCH v3] sched/deadline: do not try to push tasks if pinned task switches to dl

2016-03-29 Thread Peter Zijlstra
On Tue, Mar 29, 2016 at 06:47:22PM -0400, Steven Rostedt wrote: > I'm looking at some old changes for sched-deadline, and I stumbled > across this. As I'm working on sched deadline tests, I've discovered > that they can't have cpu affinity. They are limited to their sched > domains. That is, sched

Re: arm64: kernel v4.6-rc1 hangs on QEMU

2016-03-29 Thread Kefeng Wang
On 2016/3/30 6:52, Yury Norov wrote: > On Wed, Mar 30, 2016 at 12:32:42AM +0200, Arnd Bergmann wrote: >> On Wednesday 30 March 2016 01:22:17 Yury Norov wrote: Undefined instruction in cpuinfo_store_boot_cpu() could be related to the SYS_ID_AA64MMFR2_EL1 access that was recently add

[PATCH] modify wrong comment in ubi_leb_map function.

2016-03-29 Thread z00189512
Signed-off-by: z00189512 --- drivers/mtd/ubi/kapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/ubi/kapi.c b/drivers/mtd/ubi/kapi.c index e844887..cc6fa01 100644 --- a/drivers/mtd/ubi/kapi.c +++ b/drivers/mtd/ubi/kapi.c @@ -708,7 +708,7 @@ int ubi_leb_map(struc

Re: [PATCH 1/4] KVM: MMU: fix permission_fault()

2016-03-29 Thread Xiao Guangrong
On 03/30/2016 02:36 PM, Paolo Bonzini wrote: On 30/03/2016 03:56, Xiao Guangrong wrote: x86/access.flat is currently using the "other" definition, i.e., PFEC.PK is only set if W=1 or CR0.WP=0 && PFEC.U=0 or PFEC.W=0. Can you use it (with ept=1 of course) to check what the processor is doing

RE: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V

2016-03-29 Thread KY Srinivasan
> -Original Message- > From: James Bottomley [mailto:james.bottom...@hansenpartnership.com] > Sent: Friday, March 18, 2016 3:41 PM > To: KY Srinivasan ; Martin K. Petersen > > Cc: Christoph Hellwig ; gre...@linuxfoundation.org; > linux-kernel@vger.kernel.org; de...@linuxdriverproject.org

Re: [RFC PATCH 0/4] Implement USB device/host switch for Vybrid

2016-03-29 Thread maitysanchayan
Hello Peter, On 16-03-29 00:24:46, Peter Chen wrote: > > > > > On 2016-03-25 00:40, Peter Chen wrote: > > > On Tue, Mar 15, 2016 at 02:08:26PM +0530, Sanchayan Maity wrote: > > >> Hello Peter, > > >> > > >> The existing usage of extcon in Chipidea driver relies on OTG > > >> registers. In case

Re: [PATCH] tpm: remove redundant code from self-test functions

2016-03-29 Thread Jarkko Sakkinen
On Wed, Mar 30, 2016 at 08:37:59AM +0300, Jarkko Sakkinen wrote: > Self-test functions construct PCR read calls by ad hoc, which is only a > waste space. Use instead tpm_pcr_read_dev (renamed as tpm1_pcr_read() by > this commit) in tpm_do_selftest and tpm2_pcr_read() in > tpm2_do_selftest() functio

Re: [PATCH 1/4] KVM: MMU: fix permission_fault()

2016-03-29 Thread Paolo Bonzini
On 30/03/2016 03:56, Xiao Guangrong wrote: >> x86/access.flat is currently using the "other" definition, i.e., PFEC.PK >> is only set if W=1 or CR0.WP=0 && PFEC.U=0 or PFEC.W=0. Can you use it >> (with ept=1 of course) to check what the processor is doing? > > Sure. > > And ept=1 is hard to tr

Re: [PATCH v2 5/5] dax: handle media errors in dax_do_io

2016-03-29 Thread Christoph Hellwig
Hi Vishal, still NAK to calling the direct I/O code directly from the dax code.

Re: [PATCH] iio: st_magn: always define ST_MAGN_TRIGGER_SET_STATE

2016-03-29 Thread Denis Ciocca
Hi Arnd, yup, my fault. Thanks. Acked-by: Denis Ciocca On |29 Mar 16 @ 22:27|, Arnd Bergmann wrote: > When CONFIG_IIO_TRIGGER is enabled but CONFIG_IIO_BUFFER is > not, we get a build error in the st_magn driver: > > drivers/iio/magnetometer/st_magn_core.c:573:23: error: > 'ST_MAGN_TRIGGER_S

Re: [PATCH] mm/highmem: simplify is_highmem()

2016-03-29 Thread Dan Williams
On Tue, Mar 29, 2016 at 9:43 PM, Chanho Min wrote: > The is_highmem() is can be simplified by use of is_highmem_idx(). > This patch removes redundant code and will make it easier to maintain > if the zone policy is changed or a new zone is added. > > Signed-off-by: Chanho Min > --- > include/lin

Re: [Intel-gfx] blank screen on boot with i915/DRM_FBDEV_EMULATION

2016-03-29 Thread Daniel Vetter
On Tue, Mar 29, 2016 at 06:44:57PM +0200, Florian Zumbiehl wrote: > Hi, > > > FBDEV_EMULATION vs. I915_FBDEV is probably a read herring, more likely is > > that for some odd reason the very first modeset fails. Once X has > > resurrect the screen, can you then switch to fbcon? Also please check in

Re: [PATCH] tpm: remove redundant code from self-test functions

2016-03-29 Thread kbuild test robot
Hi Jarkko, [auto build test ERROR on next-20160330] [cannot apply to v4.6-rc1 v4.5-rc7 v4.5-rc6 v4.6-rc1] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Jarkko-Sakkinen/tpm-remove-redundant-co

Re: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-29 Thread Baolin Wang
On 30 March 2016 at 10:54, Jun Li wrote: >> >> It is not for udc driver but for power users who want to negotiate >> >> with USB subsystem. >> >> >> > >> > Seems you don't want to guarantee charger type detection is done >> > before gadget connection(pullup DP), right? >> > I see you call usb_char

Re: Getting rid of inside_vm in intel8x0

2016-03-29 Thread Takashi Iwai
On Tue, 29 Mar 2016 23:37:32 +0200, Andy Lutomirski wrote: > > Would it be possible to revert: > > commit 228cf79376f13b98f2e1ac10586311312757675c > Author: Konstantin Ozerkov > Date: Wed Oct 26 19:11:01 2011 +0400 > > ALSA: intel8x0: Improve performance in virtual environment > > Presum

Re: [PATCH v5 1/4] leds: core: add generic support for RGB Color LED's

2016-03-29 Thread Heiner Kallweit
Am 29.03.2016 um 23:43 schrieb Pavel Machek: > Hi! > >>> First, please Cc me on RGB color support. >>> Add generic support for RGB Color LED's. Basic idea is to use enum led_brightness also for the hue and saturation color components.This allows to implement the color extension

[lkp] [mm] 39a1aa8e19: will-it-scale.per_process_ops +5.2% improvement

2016-03-29 Thread kernel test robot
FYI, we noticed that will-it-scale.per_process_ops +5.2% improvement with your commit. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 39a1aa8e194ab67983de3b9d0b204ccee12e689a ("mm: deduplicate memory overcommitment code") ==

[lkp] [drm/i915] 946ec703e5: No primary change, piglit.time.elapsed_time -59.2% improvement

2016-03-29 Thread kernel test robot
linux/x86_64-rhel/gcc-4.9/946ec703e5cf439a503a218345afa74e35aaf950/linux-headers.cgz" repeat_to: 2 kernel: "/pkg/linux/x86_64-rhel/gcc-4.9/946ec703e5cf439a503a218345afa74e35aaf950/vmlinuz-4.5.0-rc7-01401-g946ec70" dequeue_time: 2016-03-30 07:50:42.174878631 +08:00 job_state: finished l

[PATCH] tpm: remove redundant code from self-test functions

2016-03-29 Thread Jarkko Sakkinen
Self-test functions construct PCR read calls by ad hoc, which is only a waste space. Use instead tpm_pcr_read_dev (renamed as tpm1_pcr_read() by this commit) in tpm_do_selftest and tpm2_pcr_read() in tpm2_do_selftest() functions in order to remove the duplicate code. Patch can be tested easily tes

Re: [Update][PATCH v7 7/7] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-29 Thread Viresh Kumar
On 30-03-16, 04:00, Rafael J. Wysocki wrote: > +static int sugov_init(struct cpufreq_policy *policy) > +{ > + struct sugov_policy *sg_policy; > + struct sugov_tunables *tunables; > + unsigned int lat; > + int ret = 0; > + > + /* State should be equivalent to EXIT */ > + if (

Re: [PATCH 06/16] wcn36xx: Fetch private sta data from sta entry instead of from vif

2016-03-29 Thread Kalle Valo
Bjorn Andersson writes: >> All error/warnings (new ones prefixed by >>): >> >>drivers/net/wireless/ath/wcn36xx/main.c: In function 'wcn36xx_set_key': >> >> drivers/net/wireless/ath/wcn36xx/main.c:389:9: error: implicit >> >> declaration of function 'wcn36xx_sta_to_priv' >> >> [-Werror=impl

Re: [PATCH] gpio: pca953x: Use correct u16 value for register word write

2016-03-29 Thread Phil Reid
On 30/03/2016 1:01 PM, Yong Li wrote: Or another method is using the below to convert the u8 to u16: cpu_to_le16(get_unaligned((u16 *) val)), compared with the i2c_smbus_write_byte_data method, which one is better? G'day Yong, I'd go with the cpu_to_le16(get_unaligned((u16 *) val)) -- Reg

Re: [GIT PULL] bcm2835 clk changes for 4.6 maybe

2016-03-29 Thread Eric Anholt
Stephen Boyd writes: > On 03/17, Eric Anholt wrote: >> This is late, so feel free to drop it, but I figured I'd send it to >> you in case you were still open to merges. I've pounded on it a bit >> today (modesets to all sorts of resolutions on HDMI, used it for >> testing the DPI panel support t

Re: [Update][PATCH v7 6/7] cpufreq: Support for fast frequency switching

2016-03-29 Thread Viresh Kumar
On 30-03-16, 03:47, Rafael J. Wysocki wrote: > Index: linux-pm/drivers/cpufreq/acpi-cpufreq.c > @@ -843,6 +883,7 @@ static int acpi_cpufreq_cpu_exit(struct > pr_debug("acpi_cpufreq_cpu_exit\n"); > > if (data) { > + policy->fast_switch_possible = false; Is this done just f

Re: [PATCH v2 0/6] MIPS seccomp_bpf self test and fixups

2016-03-29 Thread Kees Cook
On Tue, Mar 29, 2016 at 1:35 AM, Matt Redfearn wrote: > These patches imporve seccomp support on MIPS. > > Firstly support is added for building the seccomp_bpf self test for > MIPS. The > initial results of these tests were: > > 32bit kernel O32 userspace before: 48 / 48 pass > 64bit kernel O32 u

Re: [PATCH] gpio: pca953x: Use correct u16 value for register word write

2016-03-29 Thread Yong Li
Or another method is using the below to convert the u8 to u16: cpu_to_le16(get_unaligned((u16 *) val)), compared with the i2c_smbus_write_byte_data method, which one is better? Thanks, Yong 2016-03-30 10:43 GMT+08:00 Yong Li : > If use the get_unaligned, below is the code example, but we cannot d

[lkp] [x86/mm] 729ed6fc97: BUG: spinlock bad magic on CPU#0, v86d/194

2016-03-29 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/pcid commit 729ed6fc971182a09c0869dbf8007ae5e538a04a ("x86/mm: Hold a spinlock when propagating TLB flushes") As below, the log "BUG: spinlock bad magic on CPU#0, v86d/194" showed with your c

[PATCH] mm/highmem: simplify is_highmem()

2016-03-29 Thread Chanho Min
The is_highmem() is can be simplified by use of is_highmem_idx(). This patch removes redundant code and will make it easier to maintain if the zone policy is changed or a new zone is added. Signed-off-by: Chanho Min --- include/linux/mmzone.h |5 + 1 file changed, 1 insertion(+), 4 delet

[PATCH] cpufreq: acpi: policy->driver_data can't be NULL in ->exit()

2016-03-29 Thread Viresh Kumar
Its always set by ->init() and so it will always be there in ->exit(). There is no need to have a special check for just that. Signed-off-by: Viresh Kumar --- drivers/cpufreq/acpi-cpufreq.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/cpufreq/acpi-cpuf

Re: [PATCH 2/2] mfd: remove dependency on HAS_IOMEM

2016-03-29 Thread Krzysztof Kozlowski
On Wed, Mar 30, 2016 at 3:23 AM, Rob Herring wrote: > Lots of drivers select MFD_SYSCON which depends on HAS_IOMEM and causes > this kbuild warning if HAS_IOMEM is not enabled: > > warning: (ST_IRQCHIP && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && > DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DW

Re: [PATCH v2 1/5] block, dax: pass blk_dax_ctl through to drivers

2016-03-29 Thread kbuild test robot
Hi Dan, [auto build test ERROR on linux-nvdimm/libnvdimm-for-next] [also build test ERROR on v4.6-rc1 next-20160329] [cannot apply to xfs/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux

Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM

2016-03-29 Thread Krzysztof Kozlowski
On Wed, Mar 30, 2016 at 3:23 AM, Rob Herring wrote: > Drivers shouldn't have to care about HAS_IOMEM to compile and having to > causes a Kconfig mess: > > warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_I2C) > selects I2C_MUX which has unmet direct dependencies (I2C && HAS_IOMEM

Re: [PATCH 1/8] phy: Fix phy-hi6220-usb dependencies

2016-03-29 Thread Krzysztof Kozlowski
On Sat, Mar 26, 2016 at 7:40 AM, Richard Weinberger wrote: > This driver needs io memory. > > Fixes the following Kconfig warning: > warning: (ST_IRQCHIP && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && > DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP > && PIN

[PATCH v2] sched/fair: Initiate a new task's util avg to a bounded value

2016-03-29 Thread Yuyang Du
Hi Peter, It looks like this patch is left last year. I fixed a bug - it did not init task group's entities. And I started this new thread to attend to it. Please refer to the link for the previous version and some data experimented: http://article.gmane.org/gmane.linux.kernel/2117689 Would yo

Re: [PATCH v6 7/7][Resend] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-29 Thread Viresh Kumar
On 29-03-16, 14:58, Rafael J. Wysocki wrote: > On Monday, March 28, 2016 02:33:33 PM Viresh Kumar wrote: > > Its gonna be same for all policies sharing tunables .. > > The value will be the same, but the cacheline won't. Fair enough. So this information is replicated for each policy for performan

Re: [PATCH v7 1/4] dt-bindings: power: reset: add document for reboot-mode driver

2016-03-29 Thread Krzysztof Kozlowski
On 30.03.2016 11:19, Andy Yan wrote: > Add device tree bindings document for reboot-mode driver. > > Signed-off-by: Andy Yan > Acked-by: Rob Herring > > --- > > Changes in v7: > - fix some spelling mistakes > - declare that the mode magic should be none-zero value > > Changes in v6: > - fix a

Re: [PATCH v7 2/4] power: reset: add reboot mode driver

2016-03-29 Thread Krzysztof Kozlowski
On 30.03.2016 11:20, Andy Yan wrote: > This driver parses the reboot commands like "reboot bootloader" > and "reboot recovery" to get a boot mode described in the > device tree , then call the write interfae to store the boot > mode in some place like special register or sram, which can > be read b

Re: [PATCH V9 RESEND 13/14] arm64: tegra: add soctherm node for Tegra210

2016-03-29 Thread Wei Ni
Hi Thierry & Stephen, The driver patches in this series were taken by Eduardo, so do know who can take these tow dts patches 13 and 14? Thanks. Wei. On 2016年03月29日 23:16, Eduardo Valentin wrote: > On Tue, Mar 29, 2016 at 06:29:23PM +0800, Wei Ni wrote: >> Adds soctherm node for Tegra210, and add

Re: [PATCH V1 Resend 2/3] cpufreq: dt: Add generic platform-device creation support

2016-03-29 Thread Viresh Kumar
On 29-03-16, 21:45, Arnd Bergmann wrote: > Regarding new platforms, I'd hope that we could manage to define an extension > to the oppv2 binding that marks a machine as compatible with opp, so we can The extension of oppv2 binding or compatible string is for platforms that really need extend oppv2

Re: [PATCH v2 5/5] dax: handle media errors in dax_do_io

2016-03-29 Thread kbuild test robot
Hi Vishal, [auto build test WARNING on linux-nvdimm/libnvdimm-for-next] [also build test WARNING on v4.6-rc1 next-20160329] [cannot apply to xfs/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci

Re: [PATCH v3 7/7] crypto: AF_ALG - add support for key_id

2016-03-29 Thread Tadeusz Struk
Hi, On 03/29/2016 06:49 PM, kbuild test robot wrote: > Hi Tadeusz, > > [auto build test ERROR on v4.6-rc1] > [also build test ERROR on next-20160329] > [cannot apply to crypto/master] > [if your patch is applied to the wrong git tree, please drop us a note to > help

Re: [PATCH v3 0/4] thermal: hisilicon: enable power allocator for Hi6220

2016-03-29 Thread Leo Yan
On Tue, Mar 29, 2016 at 08:45:59AM -0700, Eduardo Valentin wrote: > On Tue, Mar 29, 2016 at 07:27:11PM +0800, Leo Yan wrote: > > Hi6220 has octa-core so it has quite high power consumption when run > > benchmark and introduces high temperature for SoC. So need enable > > thermal governor to control

RE: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-29 Thread Jun Li
> -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Tuesday, March 29, 2016 5:49 PM > To: Jun Li > Cc: Peter Chen ; Felipe Balbi ; > Greg KH ; Sebastian Reichel ; > Dmitry Eremin-Solenikov ; David Woodhouse > ; Peter Chen ; Alan Stern > ; r.bald...@samsung.co

Re: [PATCH v2 2/2] ASoC: codecs: add support for TAS5720 digital amplifier

2016-03-29 Thread Andreas Dannenberg
Hi Mark, thanks for taking time reviewing the driver. Some comments below... On Mon, Mar 28, 2016 at 08:01:43PM +0100, Mark Brown wrote: > On Mon, Mar 21, 2016 at 12:08:27PM -0500, Andreas Dannenberg wrote: > > > +static int tas5720_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, > > +

Re: [PATCH v2] thermal: add sysfs_notify on some attributes

2016-03-29 Thread Srikar Srimath Tirumala
On 03/28/2016 06:35 PM, Eduardo Valentin wrote: On Tue, Mar 15, 2016 at 11:08:00PM +, Pandruvada, Srinivas wrote: On Mon, 2016-03-14 at 11:12 -0700, Srikar Srimath Tirumala wrote: Add a sysfs_notify on thermal_zone*/temp and cooling_device*/ cur_state whenever any trip is triggered or cur s

Re: [PATCH v3 7/7] crypto: AF_ALG - add support for key_id

2016-03-29 Thread kbuild test robot
Hi Tadeusz, [auto build test ERROR on v4.6-rc1] [also build test ERROR on next-20160329] [cannot apply to crypto/master] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Tadeusz-Struk/crypto

Re: [PATCH] gpio: pca953x: Use correct u16 value for register word write

2016-03-29 Thread Yong Li
If use the get_unaligned, below is the code example, but we cannot detect if it is big endian or little endian. I would like to use the same write logic as PCA957X_TYPE: use the i2c_smbus_write_byte_data API to write two times. How do you think about it? if (big_endian) value = get_unaligned_be16(

Re: [GIT PULL] Ceph fixes for -rc7

2016-03-29 Thread NeilBrown
On Wed, Mar 30 2016, Yan, Zheng wrote: > On Wed, Mar 30, 2016 at 8:24 AM, NeilBrown wrote: >> On Fri, Mar 25 2016, Ilya Dryomov wrote: >> >>> On Fri, Mar 25, 2016 at 5:02 AM, NeilBrown wrote: On Sun, Mar 06 2016, Sage Weil wrote: > Hi Linus, > > Please pull the following Ce

Re: [PATCH 4/4] perf core: Add backward attribute to perf event

2016-03-29 Thread Wangnan (F)
On 2016/3/30 10:28, Wangnan (F) wrote: On 2016/3/29 22:04, Peter Zijlstra wrote: On Mon, Mar 28, 2016 at 06:41:32AM +, Wang Nan wrote: Could you maybe write a perf/tests thingy for this so that _some_ userspace exists that exercises this new code? int perf_output_begin(struct perf_

Re: [PATCH] perf jit: genelf makes assumptions about endian

2016-03-29 Thread Michael Ellerman
On Tue, 2016-03-29 at 17:59 +1100, Anton Blanchard wrote: > Commit 9b07e27f88b9 ("perf inject: Add jitdump mmap injection support") > incorrectly assumed that PowerPC is big endian only. > > Simplify things by consolidating the define of GEN_ELF_ENDIAN and checking > for __BYTE_ORDER == __BIG_END

Re: [GIT PULL] Ceph fixes for -rc7

2016-03-29 Thread Yan, Zheng
On Wed, Mar 30, 2016 at 8:24 AM, NeilBrown wrote: > On Fri, Mar 25 2016, Ilya Dryomov wrote: > >> On Fri, Mar 25, 2016 at 5:02 AM, NeilBrown wrote: >>> On Sun, Mar 06 2016, Sage Weil wrote: >>> Hi Linus, Please pull the following Ceph patch from git://git.kernel.org/pub

Re: [PATCH] Input: Change BTN_TOOL_FINGER falg when HOVER event trigger

2016-03-29 Thread 'Dmitry Torokhov'
Hi Duson, On Wed, Mar 30, 2016 at 10:02:02AM +0800, DusonLin wrote: > Only ABS_DISTANCE is not enough for upper OS to distiguish hover event > be triggered from object form faraway to and close touchpad surface or from > object prepare to leave the touchpad surface. We add BNT_TOOL_FINGER to help

Re: [PATCH 4/4] perf core: Add backward attribute to perf event

2016-03-29 Thread Wangnan (F)
On 2016/3/29 22:04, Peter Zijlstra wrote: On Mon, Mar 28, 2016 at 06:41:32AM +, Wang Nan wrote: Could you maybe write a perf/tests thingy for this so that _some_ userspace exists that exercises this new code? int perf_output_begin(struct perf_output_handle *handle,

Re: [PATCH] block: don't make BLK_DEF_MAX_SECTORS too big

2016-03-29 Thread Shaohua Li
On Wed, Mar 30, 2016 at 09:39:35AM +0800, Ming Lei wrote: > On Wed, Mar 30, 2016 at 12:42 AM, Shaohua Li wrote: > > bio_alloc_bioset() allocates bvecs from bvec_slabs which can only > > allocate maximum 256 bvec (eg, 1M for 4k pages). We can't bump > > BLK_DEF_MAX_SECTORS to exceed this value othe

[PATCH v7 4/4] ARM64: dts: rockchip: add syscon-reboot-mode DT node

2016-03-29 Thread Andy Yan
Add syscon-reboot-mode driver DT node for rk3368 platform Tested-by: Caesar Wang Signed-off-by: Andy Yan --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - descirbe all reboot mode as property instead of subnode Changes in v2: - make this node

Re: [PATCH v3 7/7] crypto: AF_ALG - add support for key_id

2016-03-29 Thread kbuild test robot
Hi Tadeusz, [auto build test ERROR on v4.6-rc1] [also build test ERROR on next-20160329] [cannot apply to crypto/master] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Tadeusz-Struk/crypto

[PATCH v7 3/4] ARM: dts: rockchip: add syscon-reboot-mode DT node

2016-03-29 Thread Andy Yan
Rockchip platform use a SYSCON mapped register store the reboot mode magic value for bootloader to use when system reboot. So add syscon-reboot-mode driver DT node for rk3xxx/rk3036/rk3288 based platform Reviewed-by: Matthias Brugger Signed-off-by: Andy Yan --- Changes in v7: None Changes in v

[PATCH v7 2/4] power: reset: add reboot mode driver

2016-03-29 Thread Andy Yan
This driver parses the reboot commands like "reboot bootloader" and "reboot recovery" to get a boot mode described in the device tree , then call the write interfae to store the boot mode in some place like special register or sram, which can be read by the bootloader after system reboot, then the

[PATCH v7 1/4] dt-bindings: power: reset: add document for reboot-mode driver

2016-03-29 Thread Andy Yan
Add device tree bindings document for reboot-mode driver. Signed-off-by: Andy Yan Acked-by: Rob Herring --- Changes in v7: - fix some spelling mistakes - declare that the mode magic should be none-zero value Changes in v6: - fix a typo with "property" - describe property "mask" more clear Ch

[PATCH v7 0/4] add reboot mode driver

2016-03-29 Thread Andy Yan
This driver parses the reboot commands like "reboot bootloader" and "reboot recovery" to get a boot mode described in the device tree , then call the corresponding write interfae to store the boot mode in some place like special register or ram, which can be read by the bootloader after system re

Re: [PATCH v4 1/4] perf config: Introduce perf_config_set class

2016-03-29 Thread Namhyung Kim
On March 30, 2016 8:28:21 AM GMT+09:00, Taeung Song wrote: >Hi, Arnaldo and Namhyung > >On 03/30/2016 01:12 AM, Arnaldo Carvalho de Melo wrote: >> Em Tue, Mar 29, 2016 at 09:43:13AM +0900, Taeung Song escreveu: >>> This infrastructure code was designed for >>> upcoming features of perf-config. >>

Re: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-29 Thread Peter Chen
On Tue, Mar 29, 2016 at 10:23:14AM -0700, Mark Brown wrote: > On Mon, Mar 28, 2016 at 03:13:51PM +0800, Peter Chen wrote: > > On Mon, Mar 28, 2016 at 02:51:40PM +0800, Baolin Wang wrote: > > > > > I am afraid I still not find the user (udc driver) for this framework, > > > > I would > > > > like

[PATCH] Input: Change BTN_TOOL_FINGER falg when HOVER event trigger

2016-03-29 Thread DusonLin
Only ABS_DISTANCE is not enough for upper OS to distiguish hover event be triggered from object form faraway to and close touchpad surface or from object prepare to leave the touchpad surface. We add BNT_TOOL_FINGER to help it. Object_at_faraway object_at_hover_area object_tou

[PATCH v2 0/5] dax: handling of media errors

2016-03-29 Thread Vishal Verma
Until now, dax has been disabled if media errors were found on any device. This series attempts to address that. The first three patches from Dan re-enable dax even when media errors are present. The fourth patch from Matthew removes the zeroout path from dax entirely, making zeroout operations a

[PATCH v2 3/5] dax: enable dax in the presence of known media errors (badblocks)

2016-03-29 Thread Vishal Verma
From: Dan Williams 1/ If a mapping overlaps a bad sector fail the request. 2/ Do not opportunistically report more dax-capable capacity than is requested when errors present. [vishal: fix a conflict with system RAM collision patches] Signed-off-by: Dan Williams --- block/ioctl.c |

[PATCH v2 2/5] dax: fallback from pmd to pte on error

2016-03-29 Thread Vishal Verma
From: Dan Williams In preparation for consulting a badblocks list in pmem_direct_access(), teach dax_pmd_fault() to fallback rather than fail immediately upon encountering an error. The thought being that reducing the span of the dax request may avoid the error region. Signed-off-by: Dan Willia

[PATCH v2 1/5] block, dax: pass blk_dax_ctl through to drivers

2016-03-29 Thread Vishal Verma
From: Dan Williams This is in preparation for doing badblocks checking against the requested sector range in the driver. Currently we opportunistically return as much data that can be "dax'd" starting at the given sector. When errors are present we want to limit that range to the first encounter

[PATCH v2 4/5] dax: use sb_issue_zerout instead of calling dax_clear_sectors

2016-03-29 Thread Vishal Verma
From: Matthew Wilcox dax_clear_sectors() cannot handle poisoned blocks. These must be zeroed using the BIO interface instead. Convert ext2 and XFS to use only sb_issue_zerout(). Signed-off-by: Matthew Wilcox [vishal: Also remove the dax_clear_sectors function entirely] Signed-off-by: Vishal V

[PATCH v2 5/5] dax: handle media errors in dax_do_io

2016-03-29 Thread Vishal Verma
dax_do_io (called for read() or write() for a dax file system) may fail in the presence of bad blocks or media errors. Since we expect that a write should clear media errors on nvdimms, make dax_do_io fall back to the direct_IO path, which will send down a bio to the driver, which can then attempt

[Update][PATCH v7 7/7] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add a new cpufreq scaling governor, called "schedutil", that uses scheduler-provided CPU utilization information as input for making its decisions. Doing that is possible after commit 34e2c555f3e1 (cpufreq: Add mechanism for registering utilization update callbacks) that

Re: [PATCH 1/4] KVM: MMU: fix permission_fault()

2016-03-29 Thread Xiao Guangrong
On 03/30/2016 04:09 AM, Paolo Bonzini wrote: On 29/03/2016 19:43, Xiao Guangrong wrote: Based on the SDM: PK flag (bit 5). This flag is 1 if (1) IA32_EFER.LMA = CR4.PKE = 1; (2) the access causing the page-fault exception was a data access; (3) the linear address was a user-mode address with

Re: [PATCH 1/4] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-29 Thread Wangnan (F)
On 2016/3/29 20:54, Peter Zijlstra wrote: On Mon, Mar 28, 2016 at 06:41:29AM +, Wang Nan wrote: Add new ioctl() to pause/resume ring-buffer output. In some situations we want to read from ring buffer only when we ensure nothing can write to the ring buffer during reading. Without this pat

Re: [PATCH v3 7/7] crypto: AF_ALG - add support for key_id

2016-03-29 Thread kbuild test robot
Hi Tadeusz, [auto build test ERROR on v4.6-rc1] [also build test ERROR on next-20160329] [cannot apply to crypto/master] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Tadeusz-Struk/crypto

linux-next: Tree for Mar 30

2016-03-29 Thread Stephen Rothwell
Hi all, Changes since 20160329: My fixes tree contains: perf tools: Fix build break on powerpc The drm-misc tree gained a conflict against Linus' tree. The rcu tree gained conflicts against Linus' tree. The nvdimm tree lost its build failure. Non-merge commits (relative to L

Re: [PATCH RESEND v2 11/18] fs: Ensure the mounter of a filesystem is privileged towards its inodes

2016-03-29 Thread Eric W. Biederman
Seth Forshee writes: > On Fri, Mar 04, 2016 at 04:43:06PM -0600, Eric W. Biederman wrote: >> In general this is only an issue if uids and gids on the filesystem >> do not map into the user namespace. >> >> Therefore the general fix is to limit the logic of checking for >> capabilities in s_user_

[Update][PATCH v7 6/7] cpufreq: Support for fast frequency switching

2016-03-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Modify the ACPI cpufreq driver to provide a method for switching CPU frequencies from interrupt context and update the cpufreq core to support that method if available. Introduce a new cpufreq driver callback, ->fast_switch, to be invoked for frequency switching from inte

Re: [PATCH] block: don't make BLK_DEF_MAX_SECTORS too big

2016-03-29 Thread Ming Lei
On Wed, Mar 30, 2016 at 12:42 AM, Shaohua Li wrote: > bio_alloc_bioset() allocates bvecs from bvec_slabs which can only > allocate maximum 256 bvec (eg, 1M for 4k pages). We can't bump > BLK_DEF_MAX_SECTORS to exceed this value otherwise bio_alloc_bioset will > fail. > > In the future, we can exte

Re: [PATCH] fs/vfs: improve __mnt_is_readonly

2016-03-29 Thread Yaowei Bai
On Tue, Mar 29, 2016 at 11:43:21AM +0200, Richard Weinberger wrote: > On Tue, Mar 29, 2016 at 8:35 AM, Yaowei Bai > wrote: > > On Sat, Mar 26, 2016 at 12:43:32AM +, Al Viro wrote: > >> On Fri, Mar 25, 2016 at 10:01:26AM +0800, Yaowei Bai wrote: > >> > This patch refactors __mnt_is_readonly and

Re: [PATCH v4 1/2] watchdog: imx2_wdt: add external reset support via 'ext-reset-output' dt prop

2016-03-29 Thread Shawn Guo
On Mon, Mar 28, 2016 at 04:19:15PM -0400, Akshay Bhat wrote: > Hi Shawn, > > On 02/28/2016 08:56 AM, Fabio Estevam wrote: > >Rob, > > > >On Thu, Jan 28, 2016 at 6:28 PM, Akshay Bhat wrote: > > > >>>I have no objections against the idea and the code itself. > >>>But as Guenter pointed out: it woul

Re: [PATCH 2/2] mmc: dw_mmc: add resets support to dw_mmc

2016-03-29 Thread zhangfei
On 03/30/2016 08:46 AM, Shawn Lin wrote: 在 2016/3/29 16:23, zhangfei 写道: More to think, Is it ok to match the behaviour of bootloader stage? My bootloader doesn't assert the reset pin of dw_mmc, so it seams if I want to fix you issue on kernel stage, I need a new round of assert->delay->deas

Re: [PATCH] mm: fix invalid node in alloc_migrate_target()

2016-03-29 Thread Naoya Horiguchi
On Tue, Mar 29, 2016 at 02:25:03PM +0200, Vlastimil Babka wrote: > On 03/25/2016 07:56 AM, Xishi Qiu wrote: > >It is incorrect to use next_node to find a target node, it will > >return MAX_NUMNODES or invalid node. This will lead to crash in > >buddy system allocation. > > One possible place of cr

Re: [PATCH v6 7/7][Resend] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-29 Thread Rafael J. Wysocki
On Tue, Mar 29, 2016 at 2:58 PM, Rafael J. Wysocki wrote: > On Monday, March 28, 2016 02:33:33 PM Viresh Kumar wrote: >> On 22-03-16, 02:54, Rafael J. Wysocki wrote: [cut] >> > +static unsigned int sugov_next_freq_shared(struct sugov_policy *sg_policy, >> > +

[PATCH v3 5/7] crypto: algif_akcipher - add ops_nokey

2016-03-29 Thread Tadeusz Struk
Similar to algif_skcipher and algif_hash, algif_akcipher needs to prevent user space from using the interface in an improper way. This patch adds nokey ops handlers, which do just that. Signed-off-by: Tadeusz Struk --- crypto/algif_akcipher.c | 159 +-

[PATCH v3 2/7] crypto: AF_ALG -- add setpubkey setsockopt call

2016-03-29 Thread Tadeusz Struk
From: Stephan Mueller For supporting asymmetric ciphers, user space must be able to set the public key. The patch adds a new setsockopt call for setting the public key. Signed-off-by: Stephan Mueller Signed-off-by: Tadeusz Struk --- crypto/af_alg.c | 18 +- include/c

[PATCH v3 3/7] crypto: AF_ALG -- add asymmetric cipher interface

2016-03-29 Thread Tadeusz Struk
From: Stephan Mueller This patch adds the user space interface for asymmetric ciphers. The interface allows the use of sendmsg as well as vmsplice to provide data. This version has been rebased on top of 4.6 and a few chackpatch issues have been fixed. Signed-off-by: Stephan Mueller Signed-off

[PATCH v3 1/7] crypto: AF_ALG -- add sign/verify API

2016-03-29 Thread Tadeusz Struk
From: Stephan Mueller Add the flags for handling signature generation and signature verification. Also, the patch adds the interface for setting a public key. Signed-off-by: Stephan Mueller Signed-off-by: Tadeusz Struk --- include/uapi/linux/if_alg.h |3 +++ 1 file changed, 3 insertions(

[PATCH v3 4/7] crypto: algif_akcipher - enable compilation

2016-03-29 Thread Tadeusz Struk
From: Stephan Mueller Add the Makefile and Kconfig updates to allow algif_akcipher to be compiled. Signed-off-by: Stephan Mueller Signed-off-by: Tadeusz Struk --- crypto/Kconfig |9 + crypto/Makefile |1 + 2 files changed, 10 insertions(+) diff --git a/crypto/Kconfig b/crypt

[PATCH v3 7/7] crypto: AF_ALG - add support for key_id

2016-03-29 Thread Tadeusz Struk
This patch adds support for asymmetric key type to AF_ALG. It will work as follows: A new PF_ALG socket options are added on top of existing ALG_SET_KEY and ALG_SET_PUBKEY, namely ALG_SET_KEY_ID and ALG_SET_PUBKEY_ID for setting public and private keys respectively. When these new options will be u

[PATCH v3 6/7] crypto: KEYS - add public_key info query

2016-03-29 Thread Tadeusz Struk
It is needed to query the key capabilities and how to use the key correctly. In case of a key stored in HW (TPM) it can not be passed to the crypto API. For now it the public_key_info only contains information about where the key is stored, which is needed to prevent other modules, like AF_ALG, usi

[PATCH v3 0/7] crypto: algif - add akcipher

2016-03-29 Thread Tadeusz Struk
First four patches are a resend of the v3 algif_akcipher from Stephan Mueller, with minor changes after rebase on top of 4.6-rc1. The next three patches add support for keys stored in system keyring subsystem. First patch adds a public_key info struct that is used to query information about the p

Re: [PATCH] Skein:move macros into appropriate header files

2016-03-29 Thread Greg Kroah-Hartman
On Wed, Mar 30, 2016 at 08:51:42AM +0800, Ming Li wrote: > hi, i move macros into header files. > > > regards, > > > Signed-off-by: Ming Li That's a very strange changelog comment, can you please expand on what you are doing this for? You need to explain _why_ you are doing something, not

  1   2   3   4   5   6   7   8   9   10   >