RE: [PATCH RFC V2 1/3] Input: goodix - add dt axis swapping and axis inversion support

2015-10-12 Thread Tirdea, Irina
> -Original Message- > From: linux-input-ow...@vger.kernel.org > [mailto:linux-input-ow...@vger.kernel.org] On Behalf Of Karsten Merker > Sent: 09 October, 2015 20:56 > To: Bastien Nocera; Dmitry Torokhov; Tirdea, Irina; Aleksei Mamlin; > linux-in...@vger.kernel.org; Ian Campbell > Cc:

Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller.

2015-10-12 Thread Thomas Gleixner
Majun, On Tue, 13 Oct 2015, majun (F) wrote: > 在 2015/10/12 0:45, Thomas Gleixner 写道: > > So now in the mbigen case this looks like this: > > > > [MSI-BUS] - [MBIGEN]<---[Device interrupt] > > > > Again, you have a 'wire' from the device to the MSI unit (MBIGEN) and > > w

Re: [PATCH] UBIFS: Fix possible memory leak in ubifs_readdir()

2015-10-12 Thread David Gstir
> On 12.10.2015, at 23:35, Richard Weinberger wrote: > > If ubifs_tnc_next_ent() returns something else than -ENOENT > we leak file->private_data. > > Signed-off-by: Richard Weinberger > --- > fs/ubifs/dir.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/fs/ubifs

Re: [PATCH] mmc: omap_hsmmc: fix initialization order of mmc block devices

2015-10-12 Thread Lokesh Vutla
+Nishanth, On Tuesday 13 October 2015 10:59 AM, Heiko Schocher wrote: > On embedded devices, often there is a combination of > removable mmc devices (e.g. MMC/SD cards) and hard > wired ones (e.g. eMMC). Depending on the hardware > configuration, the 'mmcblkN' node might change if > the removable

Re: [PATCH v3] ARM: dts: twl4030: Add iio properties for bci subnode

2015-10-12 Thread Belisko Marek
Hi, On Tue, Oct 13, 2015 at 1:53 AM, Sebastian Reichel wrote: > Hi, > > On Mon, Oct 12, 2015 at 03:20:10PM -0700, Tony Lindgren wrote: >> * Tony Lindgren [151012 14:43]: >> > * Belisko Marek [150926 13:02]: >> > > Tony sorry I forgot to add you to the recipients for this patchset. >> > > Can yo

RE: [PATCH v9 9/9] Input: goodix - sort includes using inverse Xmas tree order

2015-10-12 Thread Tirdea, Irina
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 12 October, 2015 19:31 > To: Bastien Nocera > Cc: Mark Rutland; Tirdea, Irina; Aleksei Mamlin; Karsten Merker; > linux-in...@vger.kernel.org; Purdila, Octavian; lkml; > devicet...@vger.kernel.org > Su

RE: [PATCH v9 2/9] Input: goodix - reset device at init

2015-10-12 Thread Tirdea, Irina
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 12 October, 2015 19:48 > To: Tirdea, Irina > Cc: Bastien Nocera; Aleksei Mamlin; Karsten Merker; > linux-in...@vger.kernel.org; Mark Rutland; Purdila, Octavian; linux- > ker...@vger.kernel.org; device

Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller.

2015-10-12 Thread majun (F)
Hi Thomas: 在 2015/10/12 0:45, Thomas Gleixner 写道: > On Sun, 11 Oct 2015, Marc Zyngier wrote: >> On Sun, 11 Oct 2015 11:54:49 +0200 >> Thomas Gleixner wrote: >> >>> On Sat, 10 Oct 2015, Marc Zyngier wrote: On Sat, 10 Oct 2015 17:01:32 +0800 "majun (F)" wrote: > But there is a proble

Re: [PATCH v10 4/6] PCI: hisi: Add PCIe host support for HiSilicon SoC Hip05

2015-10-12 Thread Zhou Wang
On 2015/10/13 5:35, Bjorn Helgaas wrote: > [+cc Arnd, Rob] > > Hi Zhou, > > I have a few minor comments and two questions: one about the fact > all the config accesses are 32 bits, and another about the use of the > "msi-parent" node. > > On Sat, Oct 10, 2015 at 10:59:15AM +0800, Zhou Wang wrote

[PATCH] NFC: nfcwilink: Drop a useless static qualifier

2015-10-12 Thread Christophe JAILLET
There is no need to have the 'struct nfcwilink *drv' variable static in the probe function. It only wastes a few bytes of memory. Signed-off-by: Christophe JAILLET --- drivers/nfc/nfcwilink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nfc/nfcwilink.c b/drivers/nf

[PATCH] zsmalloc: remove unless line in obj_free

2015-10-12 Thread Hui Zhu
Signed-off-by: Hui Zhu --- mm/zsmalloc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index f135b1b..c7338f0 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -1428,8 +1428,6 @@ static void obj_free(struct zs_pool *pool, struct size_class *class, st

Re: [PATCH v3 27/27] ARM: dts: omap3: Fix gpmc and NAND nodes

2015-10-12 Thread Roger Quadros
On 13/10/15 03:43, Tony Lindgren wrote: > * Roger Quadros [150918 08:00]: >> Add compatible id, GPMC register resource and interrupt >> resource to NAND controller nodes. >> >> The GPMC driver now implements gpiochip and irqchip so >> enable gpio-controller and interrupt-controller properties. >>

Re: [PATCH] ext4: use private version of page_zero_new_buffers() for data=journal mode

2015-10-12 Thread Leonid V. Fedorenchik
On Fri, 9 Oct 2015 00:01:09 -0400 Theodore Ts'o wrote: > If there is a error while copying data from userspace into the page > cache during a write(2) system call, in data=journal mode, in > ext4_journalled_write_end() were using page_zero_new_buffers() from > fs/buffer.c. Unfortunately, this s

Re: Updated scalable urandom patchkit

2015-10-12 Thread George Spelvin
> We're really getting into low-level implementations here, and I think > it's best to worry about these sorts of things when we have a patch to > review. > it's probably safer to simply not exit it. > I'm personally more inclined to keep it with the task struct, so that > different threads w

Re: [PATCH] drivers :staging: android: make alignment match open parenthesis

2015-10-12 Thread Liao Tonglang
On Tue, Oct 13, 2015 at 11:40:00AM +0800, Greg KH wrote: - ashmem_area_cachep = kmem_cache_create("ashmem_area_cache", - sizeof(struct ashmem_area), - 0, 0, NULL); + ashmem_area_cachep = + km

Re: [PATCH v2] thp: use is_zero_pfn only after pte_present check

2015-10-12 Thread Minchan Kim
On Mon, Oct 12, 2015 at 10:41:24PM -0700, Greg Kroah-Hartman wrote: > On Tue, Oct 13, 2015 at 11:38:38AM +0900, Minchan Kim wrote: > > Use is_zero_pfn on pteval only after pte_present check on pteval > > (It might be better idea to introduce is_zero_pte where checks > > pte_present first). Otherwis

Re: 4.3-rc3 BAR allocation problems on multiple machines

2015-10-12 Thread Yinghai Lu
On Mon, Oct 12, 2015 at 10:43 PM, Yinghai Lu wrote: > On Mon, Oct 12, 2015 at 10:06 PM, Meelis Roos wrote: >>> >> > sparc64 machines: >> >> Updated on V210 - the others were more recent. Now I get more BAR >> warning there too: >> >> http://kodu.ut.ee/~mroos/dm/dm.v210+patches >> > > interesting,

Re: 4.3-rc3 BAR allocation problems on multiple machines

2015-10-12 Thread Yinghai Lu
On Mon, Oct 12, 2015 at 10:06 PM, Meelis Roos wrote: >> >> > sparc64 machines: > > Updated on V210 - the others were more recent. Now I get more BAR > warning there too: > > http://kodu.ut.ee/~mroos/dm/dm.v210+patches other warning: [ 38.829890] pci 0001:00:07.0: can't claim BAR 2 [mem 0x7ff00

Re: [PATCH 00/37] ARM: dts: Fix fixed regulators enable GPIO polarity

2015-10-12 Thread Sascha Hauer
On Tue, Oct 13, 2015 at 12:12:29AM +0300, Laurent Pinchart wrote: > Hello, > > While working on regulators, GPIOs and DT I noticed that many of our DT source > files incorrectly describe fixed regulators. The common error patterns are > > - Usage of the undefined (and never parsed) enable-active-

Re: [PATCH v3] scsi: report 'INQUIRY result too short' once per host

2015-10-12 Thread Hannes Reinecke
On 10/12/2015 05:16 PM, Vitaly Kuznetsov wrote: > Hannes Reinecke writes: > >> On 10/08/2015 06:54 PM, Vitaly Kuznetsov wrote: >>> Some host adapters (e.g. Hyper-V storvsc) are known for not respecting the >>> SPC-2/3/4 requirement for 'INQUIRY data (see table ...) shall contain at >>> least 36 b

Re: [PATCH 4/5] cpufreq: create cpu/cpufreq/policyX directories

2015-10-12 Thread Viresh Kumar
On 12-10-15, 12:31, Saravana Kannan wrote: > Can we use the first CPU in the related CPUs mask? Instead of the > first CPU that the policy got created on? The policyX numbering > would be a bit more consistent that way. Okay, checked this again. The problem is that ->init() isn't called yet and we

Re: [PATCH v3] igb: improve handling of disconnected adapters

2015-10-12 Thread Jeff Kirsher
On Wed, 2015-10-07 at 09:21 -0400, Jarod Wilson wrote: > Some pci changes upcoming in 4.3 seem to cause additional > disconnects, > which can happen at unfortuitous times for igb, leading to issues > such as > this: > > [ 414.440115] igb :15:00.0: enabling device ( -> 0002) > [ 414.47493

Re: [PATCH 5/5] cpufreq: Drop redundant check for inactive policies

2015-10-12 Thread Viresh Kumar
On 12-10-15, 12:35, Saravana Kannan wrote: > Doesn't really seem related to the sysfs reorg/clean up. Should it > be a separate patch outside of this series? Sent it separately now .. > Acked-by: Saravana Kannan A reviewed-by would have been more appropriate here though. -- viresh -- To unsub

RE: [PATCH] f2fs crypto: fix racing of accessing encrypted page among different competitors

2015-10-12 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, October 13, 2015 5:00 AM > To: Chao Yu > Cc: linux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] f2fs crypto: fix racing of accessing encrypted page > among differe

Re: [PATCH] drivers :staging: android: make alignment match open parenthesis

2015-10-12 Thread Greg KH
On Tue, Oct 13, 2015 at 11:32:31AM +0800, Liao Tonglang wrote: > Cleanup for checkpatch.pl warn below: > CHECK: Alignment should match open parenthesis > #836: FILE: drivers/staging/android/ashmem.c:836: > by split three lines to four. > > Signed-off-by: Liao Tonglang > --- > drivers

Re: [PATCH 3/3] fpga manager: Adding FPGA Manager support for Xilinx Zynq 7000

2015-10-12 Thread Mike Looijmans
On 12-10-15 14:38, Michal Simek wrote: Hi Mike, On 10/12/2015 02:22 PM, Mike Looijmans wrote: On 12-10-15 13:16, Michal Simek wrote: +static int zynq_fpga_ops_write(struct fpga_manager *mgr, +const char *buf, size_t count) +{ + struct zynq_fpga_priv *priv; +

[PATCH] arm, omap2, sram: On HS/EMU devices, only 64K internal SRAM is available.

2015-10-12 Thread Heiko Schocher
Of this, secure content (including PPA) uses initial portion of the SRAM. This chunk is not (and shouldn't be) accessible from the public code. The minimum size of this chunk (0x350) is used in this patch. Available size is rounded off to 63K. Both values would require a change if size of secure

Re: [PATCH v2] thp: use is_zero_pfn only after pte_present check

2015-10-12 Thread Greg Kroah-Hartman
On Tue, Oct 13, 2015 at 11:38:38AM +0900, Minchan Kim wrote: > Use is_zero_pfn on pteval only after pte_present check on pteval > (It might be better idea to introduce is_zero_pte where checks > pte_present first). Otherwise, it could work with swap or > migration entry and if pte_pfn's result is e

Re: [PATCH] staging: wilc1000: remove WILC1000_DYNAMICALLY_ALLOCATE_MEMROY

2015-10-12 Thread Greg KH
On Sat, Oct 10, 2015 at 03:41:54PM +0300, Stanislav Kholmanskikh wrote: > The config option in the subject may be removed, because, > indeed, it only serves as the 'n' value for > CONFIG_WILC1000_PREALLOCATE_AT_LOADING_DRIVER > > Signed-off-by: Stanislav Kholmanskikh > --- > drivers/staging/wilc

Re: [PATCH] scsi: advansys needs ISA dma api for ISA support

2015-10-12 Thread Hannes Reinecke
On 10/12/2015 05:10 PM, Arnd Bergmann wrote: > The advansys drvier uses the request_dma function that is used on ISA > machines for the internal DMA controller, which causes build errors > on platforms that have ISA slots but do not provide the ISA DMA API: > > drivers/scsi/advansys.c: In function

Re: [PATCH] iio: Move IIO Dummy Driver out of staging

2015-10-12 Thread Jonathan Cameron
On 12 October 2015 18:59:57 BST, Daniel Baluta wrote: > > >>> +static unsigned instances = 1; >>> +module_param(instances, uint, 0); > >One concern about this. We will still create a default number of >'instances' >when using configuration via configfs? > >I'm not sure we can remove this paramet

Re: 4.3-rc3 BAR allocation problems on multiple machines

2015-10-12 Thread Yinghai Lu
On Mon, Oct 12, 2015 at 10:06 PM, Meelis Roos wrote: >> >> > sparc64 machines: >> >> >> >> git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git >> >> for-pci-v4.4-next >> >> >> >> It should fix some "no compatible bridge window" >> > >> > Blade 100: still has 2 address conflicts

Re: [PATCH 2/3] staging: rtl8188eu: bugfix: correct channels range is set in Hal_ReadTxPowerInfo88E

2015-10-12 Thread Greg Kroah-Hartman
On Sat, Oct 10, 2015 at 01:27:00PM +0700, Ivan Safonov wrote: > Correct channels range is 1..14 (numbering from 1) but not 0..13. Why? Have you tested this? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majord

Re: [PATCHv4 1/2] staging: rtl8192u: r8192U_core: add temporary variables to keep lines under 80 characters

2015-10-12 Thread Greg Kroah-Hartman
On Sun, Oct 04, 2015 at 06:55:57PM -0400, Raphaël Beamonte wrote: > Add some temporary variables to reduce line length under the maximum > of 80 characters, as per the kernel code style. > > Signed-off-by: Raphaël Beamonte > --- > drivers/staging/rtl8192u/r8192U_core.c | 130 > +

Re: [PATCH 1/3] staging: rtl8188eu: 5 GHz channel groups removed from /hal/rtl8188e_hal_init.c

2015-10-12 Thread Greg Kroah-Hartman
On Sat, Oct 10, 2015 at 01:23:13PM +0700, Ivan Safonov wrote: > Unnecessary channel groups for 5 GHz removed from Hal_GetChnlGroup88E > and it transformed to pretty get_channel_group(const u8 channel). > > Also removed code for 5 GHz frequency in Hal_ReadPowerValueFromPROM_8188E. Why did you do t

Re: [PATCH 3/3] staging: rtl8188eu: BITn macro replaced by BIT(n) in hal/rtl8188e_hal_init.c

2015-10-12 Thread Greg Kroah-Hartman
On Sat, Oct 10, 2015 at 01:28:34PM +0700, Ivan Safonov wrote: > This patch replace BITn macro to BIT(n). Why? Have you deleted the BITn macros? -- 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

Re: [PATCH v2 2/4] Staging: rtl8712: Use ether_addr_equal() over memcmp()

2015-10-12 Thread Greg KH
On Tue, Oct 13, 2015 at 12:19:12AM +0530, punit vara wrote: > On Tue, Oct 13, 2015 at 12:16 AM, Punit Vara wrote: > > This patch is to the rtl871x_ioctl_linux.c file that fixes up following > > warning reported by checkpatch.pl : > > > > -Prefer ether_addr_equal() or ether_addr_equal_unaligned() o

Re: [PATCH v5 1/2] arm64: kvm: allows kvm cpu hotplug

2015-10-12 Thread AKASHI Takahiro
On 10/12/2015 10:28 PM, James Morse wrote: On 29/05/15 06:38, AKASHI Takahiro wrote: The current kvm implementation on arm64 does cpu-specific initialization at system boot, and has no way to gracefully shutdown a core in terms of kvm. This prevents, especially, kexec from rebooting the system o

[PATCH] mmc: omap_hsmmc: fix initialization order of mmc block devices

2015-10-12 Thread Heiko Schocher
On embedded devices, often there is a combination of removable mmc devices (e.g. MMC/SD cards) and hard wired ones (e.g. eMMC). Depending on the hardware configuration, the 'mmcblkN' node might change if the removable device is available or not at boot time. E.g. if the removable device is attache

[PATCH Resend] cpufreq: Drop redundant check for inactive policies

2015-10-12 Thread Viresh Kumar
We just made sure policy->cpu is online and this check will always fail as the policy is active. Drop it. Signed-off-by: Viresh Kumar Acked-by: Saravana Kannan --- Resending as a separate patch. drivers/cpufreq/cpufreq.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/cpufreq

[PATCH] block-mq:Fix the null memory access while setting tags cpumask

2015-10-12 Thread Raghavendra K T
In nr_hw_queues >1 cases when certain number of cpus are onlined/or offlined, that results change in request_queue map in block-mq layer, we see the kernel dumping like: BUG: unable to handle kernel NULL pointer dereference at 0080 IP: [] cpumask_set_cpu+0x6/0xd PGD 6d957067 PUD 760

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-12 Thread Richard Cochran
On Mon, Oct 12, 2015 at 11:45:19AM -0700, Christopher S. Hall wrote: > +int get_correlated_timestamp(struct correlated_ts *crt, > + struct correlated_cs *crs) > +{ > + struct timekeeper *tk = &tk_core.timekeeper; > + unsigned long seq; > + cycles_t cycles, cycle

Re: Linux Foundation Technical Advisory Board Elections and Nomination process

2015-10-12 Thread Kees Cook
On Tue, Oct 6, 2015 at 3:06 AM, Grant Likely wrote: > [Resending because I messed up the first one] > > The elections for five of the ten members of the Linux Foundation > Technical Advisory Board (TAB) are held every year[1]. This year the > election will be at the 2015 Kernel Summit in Seoul, So

Re: [PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-12 Thread Thomas Hellstrom
Hi! On 10/13/2015 12:35 AM, Dan Williams wrote: > Per commit 2e586a7e017a "drm/vmwgfx: Map the fifo as cached" the driver > expects the fifo registers to be cacheable. In preparation for > deprecating ioremap_cache() convert its usage in vmwgfx to memremap(). > > Cc: David Airlie > Cc: Thomas He

[PATCH] leds: leds-gpio: add shutdown function

2015-10-12 Thread Heiko Schocher
add a shutdown function for setting the gpio-leds into off state when shuting down. Signed-off-by: Heiko Schocher --- drivers/leds/leds-gpio.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index af1876a..5db4515 100644 ---

Re: [RFC PATCH 2/2] bpf: Implement bpf_perf_event_sample_enable/disable() helpers

2015-10-12 Thread Alexei Starovoitov
On 10/12/15 9:34 PM, Wangnan (F) wrote: On 2015/10/13 12:16, Alexei Starovoitov wrote: On 10/12/15 8:51 PM, Wangnan (F) wrote: why 'set disable' is needed ? the example given in cover letter shows the use case where you want to receive samples only within sys_write() syscall. The example make

[PATCH] net: phy: smsc: disable energy detect mode

2015-10-12 Thread Heiko Schocher
On some boards the energy enable detect mode leads in trouble with some switches, so make the enabling of this mode configurable through DT. Signed-off-by: Heiko Schocher --- .../devicetree/bindings/net/smsc-lan87xx.txt | 19 + drivers/net/phy/smsc.c

videobuf2-core.c:undefined reference to `__tracepoint_vb2_buf_queue'

2015-10-12 Thread kbuild test robot
Hi Philipp, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 25cb62b76430a91cc6195f902e61c2cb84ade622 commit: 2091f5181c66b3617a977e79843aba10e087be6c [media] videobuf2: add trace events date: 3 months ago config:

[PATCH] rtc: pcf8563: disable CLKOUT

2015-10-12 Thread Heiko Schocher
Disable the CLKOUT of the RTC after power-up. After power-up/reset of the RTC, CLKOUT is enabled by default, with CLKOUT enabled the RTC chip has 2-3 times higher power consumption. If you do not need CLKOUT, you can disable the CLKOUT with setting "disable-clkout" property. Signed-off-by: Heiko S

Re: 4.3-rc3 BAR allocation problems on multiple machines

2015-10-12 Thread Meelis Roos
> >> > sparc64 machines: > >> > >> git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git > >> for-pci-v4.4-next > >> > >> It should fix some "no compatible bridge window" > > > > Blade 100: still has 2 address conflicts: > > http://kodu.ut.ee/~mroos/dm/dm.sb100+patch > > > > V240:

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-12 Thread Richard Cochran
On Mon, Oct 12, 2015 at 11:45:19AM -0700, Christopher S. Hall wrote: > Another representative use case of time sync and the correlated > clocksource (in addition to PTP noted above) is PTP synchronized > audio. The added explanations of the audio use case do help. However, you did not address my

Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller'

2015-10-12 Thread Namhyung Kim
On Mon, Oct 05, 2015 at 06:03:35PM -0300, Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Which is the most common default found in other similar tools. I think it's more useful to change the default only when --children is used. And there's a related issue too - please see

Re: [RFC PATCH 2/2] bpf: Implement bpf_perf_event_sample_enable/disable() helpers

2015-10-12 Thread Wangnan (F)
On 2015/10/13 12:16, Alexei Starovoitov wrote: On 10/12/15 8:51 PM, Wangnan (F) wrote: why 'set disable' is needed ? the example given in cover letter shows the use case where you want to receive samples only within sys_write() syscall. The example makes sense, but sys_write() is running on th

Re: 4.3 group scheduling regression

2015-10-12 Thread Yuyang Du
On Tue, Oct 13, 2015 at 06:08:34AM +0200, Mike Galbraith wrote: > It sounded like you wanted me to run the below alone. If so, it's a nogo. Yes, thanks. Then it is the sad fact that after migrate and removed_load_avg is added in migrate_task_rq_fair(), we don't get a chance to update the tg so

Re: Updated scalable urandom patchkit

2015-10-12 Thread Raymond Jennings
On Mon, Oct 12, 2015 at 7:46 PM, Theodore Ts'o wrote: On Mon, Oct 12, 2015 at 04:30:59PM -0400, George Spelvin wrote: > Segregating abusers solves both problems. If we do this then we don't > need to drop the locks from the nonblocking pool, which solves the > security problem. Er, sor

Re: [PATCH] regulator: qcom-smd: Correct set_load() unit

2015-10-12 Thread Andy Gross
On Mon, Oct 12, 2015 at 05:49:52PM -0700, Bjorn Andersson wrote: > The set_load() op deals with uA while the SMD packets used mA, so > convert as we're building the packet. > > Signed-off-by: Bjorn Andersson > --- Looks fine to me. Thanks for the fix. -- Qualcomm Innovation Center, Inc. The Q

Re: [PATCH v2] ARM: OMAP: Change all cpu_is_* occurences to soc_is_*

2015-10-12 Thread Keerthy
On Monday 12 October 2015 10:59 PM, Tony Lindgren wrote: * Tony Lindgren [151012 10:17]: * Keerthy [150901 17:24]: On Tuesday 01 September 2015 11:33 PM, Tony Lindgren wrote: * Keerthy [150901 10:22]: On Wednesday 26 August 2015 09:29 AM, Keerthy wrote: Currently apart from dra7, om

Re: [PATCH v3] fsl-ifc: add missing include on ARM64

2015-10-12 Thread Lijun Pan
Dear Arnd, I would like to have your feedback on this patch. If it is good now, can you accept it? Lijun On 10/1/15, 4:14 PM, "Lijun Pan" wrote: >Need to include sched.h to fix the following compilation error >if FSL_IFC is enabled on ARM64 machine. > >In file included from include/linux/m

Re: [RFC PATCH 2/2] bpf: Implement bpf_perf_event_sample_enable/disable() helpers

2015-10-12 Thread Alexei Starovoitov
On 10/12/15 8:51 PM, Wangnan (F) wrote: why 'set disable' is needed ? the example given in cover letter shows the use case where you want to receive samples only within sys_write() syscall. The example makes sense, but sys_write() is running on this cpu, so just disabling it on the current one is

Re: 4.3 group scheduling regression

2015-10-12 Thread Mike Galbraith
On Tue, 2015-10-13 at 03:55 +0800, Yuyang Du wrote: > On Mon, Oct 12, 2015 at 12:23:31PM +0200, Mike Galbraith wrote: > > On Mon, 2015-10-12 at 10:12 +0800, Yuyang Du wrote: > > > > > I am guessing it is in calc_tg_weight(), and naughty boys do make them > > > more > > > favored, what a reality..

Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to detect sd-card

2015-10-12 Thread Anand Moon
Hi Jaehoon, On 13 October 2015 at 07:36, Jaehoon Chung wrote: > Dear, Anand. > > > On 10/13/2015 09:12 AM, Krzysztof Kozlowski wrote: >> On 12.10.2015 23:47, Anand Moon wrote: Anand, You essentially reverted here af6ad88acbd6 ("ARM: dts: Mux XMMCnDATA[0] pad correctly for

Re: [Linaro-acpi] [PATCH v5 0/5] Provide better MADT subtable sanity checks

2015-10-12 Thread Pat Erley
On 10/12/2015 01:52 PM, Al Stone wrote: On 10/11/2015 09:58 PM, Pat Erley wrote: On 10/11/2015 08:49 PM, Hanjun Guo wrote: On 10/12/2015 11:08 AM, Pat Erley wrote: On 10/05/2015 10:12 AM, Al Stone wrote: On 10/05/2015 07:39 AM, Rafael J. Wysocki wrote: On Wednesday, September 30, 2015 10:10:

Re: [RFC PATCH 2/2] bpf: Implement bpf_perf_event_sample_enable/disable() helpers

2015-10-12 Thread Wangnan (F)
On 2015/10/13 11:39, Alexei Starovoitov wrote: On 10/12/15 8:27 PM, Wangnan (F) wrote: Then how to avoid racing? For example, when one core disabling all events in a map, another core is enabling all of them. This racing may causes sereval perf events in a map dump samples while other events

Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

2015-10-12 Thread Anand Moon
Hi Krzysztof, On 13 October 2015 at 09:13, Krzysztof Kozlowski wrote: > On 13.10.2015 12:08, Anand Moon wrote: >> Hi Krzysztof, >> >> On 13 October 2015 at 05:44, Krzysztof Kozlowski >> wrote: >>> On 13.10.2015 00:32, Anand Moon wrote: Hi Krzysztof, On 12 October 2015 at 11:14, Kr

Re: [PATCH 4/4] debugfs: Add read-only/write-only bool file ops

2015-10-12 Thread Viresh Kumar
On 12-10-15, 18:09, Stephen Boyd wrote: > There aren't any read-only or write-only bool file ops, but there > is a caller of debugfs_create_bool() that calls it with mode > equal to 0400. This leads to the possibility of userspace > modifying the file, so let's use the newly created > debugfs_creat

Re: [PATCH 3/4] debugfs: Add read-only/write-only size_t file ops

2015-10-12 Thread Viresh Kumar
On 12-10-15, 18:09, Stephen Boyd wrote: > There aren't any read-only or write-only size_t file ops, but there > is a caller of debugfs_create_size_t() that calls it with mode > equal to 0400. This leads to the possibility of userspace > modifying the file, so let's use the newly created > debugfs_c

Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

2015-10-12 Thread Krzysztof Kozlowski
On 13.10.2015 12:08, Anand Moon wrote: > Hi Krzysztof, > > On 13 October 2015 at 05:44, Krzysztof Kozlowski > wrote: >> On 13.10.2015 00:32, Anand Moon wrote: >>> Hi Krzysztof, >>> >>> On 12 October 2015 at 11:14, Krzysztof Kozlowski >>> wrote: On 12.10.2015 00:46, Anand Moon wrote: > A

Re: [PATCH 2/4] debugfs: Add read-only/write-only x64 file ops

2015-10-12 Thread Viresh Kumar
On 12-10-15, 18:09, Stephen Boyd wrote: > There aren't any read-only or write-only x64 file ops, but there > is a caller of debugfs_create_x64() that calls it with mode equal > to S_IRUGO. This leads to the possibility of userspace modifying > the file, so let's use the newly created debugfs_create

Re: [PATCH 1/4] debugfs: Consolidate file mode checks in debugfs_create_*()

2015-10-12 Thread Viresh Kumar
On 12-10-15, 18:09, Stephen Boyd wrote: > The code that creates debugfs file with different file ops based > on the file mode is duplicated in each debugfs_create_*() API. > Consolidate that code into debugfs_create_mode(), that takes > three file ops structures so that we don't have to keep > copy

Re: 4.3 group scheduling regression

2015-10-12 Thread Yuyang Du
On Mon, Oct 12, 2015 at 12:23:31PM +0200, Mike Galbraith wrote: > On Mon, 2015-10-12 at 10:12 +0800, Yuyang Du wrote: > > > I am guessing it is in calc_tg_weight(), and naughty boys do make them more > > favored, what a reality... > > > > Mike, beg you test the following? > > Wow, that was quick

RE: [PATCH] qlcnic: constify qlcnic_mbx_ops structure

2015-10-12 Thread Sony Chacko
> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Julia Lawall > Sent: Sunday, October 11, 2015 4:48 AM > To: Dept-GE Linux NIC Dev > Cc: kernel-janit...@vger.kernel.org; netdev ; linux- > kernel > Subject: [PATCH] qlcnic: constify qlcnic_mbx_o

Re: [PATCH 4/5] cpufreq: create cpu/cpufreq/policyX directories

2015-10-12 Thread Viresh Kumar
On 12-10-15, 12:31, Saravana Kannan wrote: > Can we use the first CPU in the related CPUs mask? Instead of the > first CPU that the policy got created on? The policyX numbering > would be a bit more consistent that way. Okay.. > Suggested-by: ? Will add. Though me/Rafael thought about it long ba

Re: [RFC PATCH 2/2] bpf: Implement bpf_perf_event_sample_enable/disable() helpers

2015-10-12 Thread Alexei Starovoitov
On 10/12/15 8:27 PM, Wangnan (F) wrote: Then how to avoid racing? For example, when one core disabling all events in a map, another core is enabling all of them. This racing may causes sereval perf events in a map dump samples while other events not. To avoid such racing I think some locking must

Re: [PATCH] vf610_adc: Fix internal temperature calculation

2015-10-12 Thread Bhuvanchandra
Hi Stefan, Sorry! for the delay. On 10/08/2015 11:46 AM, Stefan Agner wrote: Hi Bhuvan, On 2015-09-23 06:43, Bhuvanchandra DV wrote: There is an observed temperature difference of ~20°C with the internal temperature reading and the temperature measured on SoC package. Existing calculations c

[PATCH] drivers :staging: android: make alignment match open parenthesis

2015-10-12 Thread Liao Tonglang
Cleanup for checkpatch.pl warn below: CHECK: Alignment should match open parenthesis #836: FILE: drivers/staging/android/ashmem.c:836: by split three lines to four. Signed-off-by: Liao Tonglang --- drivers/staging/android/ashmem.c | 7 --- 1 file changed, 4 insertions(+), 3 d

RE: [f2fs-dev] [PATCH 1/2] f2fs: add F2FS_GOING_DOWN_METAFLUSH to test power-failure

2015-10-12 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, October 13, 2015 4:37 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 1/2] f2fs: add F2FS_GOING

Re: [RFC PATCH 2/2] bpf: Implement bpf_perf_event_sample_enable/disable() helpers

2015-10-12 Thread Wangnan (F)
On 2015/10/13 3:29, Alexei Starovoitov wrote: On 10/12/15 2:02 AM, Kaixu Xia wrote: +extern const struct bpf_func_proto bpf_perf_event_sample_enable_proto; +extern const struct bpf_func_proto bpf_perf_event_sample_disable_proto; externs are unnecessary. Just make them static. Also I prefer s

Re: [PATCH 1/5] cpufreq: Use cpumask_copy instead of cpumask_or to copy a mask

2015-10-12 Thread Viresh Kumar
On 12-10-15, 12:12, Saravana Kannan wrote: > > if (new_policy) { > > /* related_cpus should at least include policy->cpus. */ > >-cpumask_or(policy->related_cpus, policy->related_cpus, > >policy->cpus); > >+cpumask_copy(policy->related_cpus, policy->cpus); >

Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to detect sd-card

2015-10-12 Thread Anand Moon
Hi Jaehoon Chung, On 13 October 2015 at 07:36, Jaehoon Chung wrote: > Dear, Anand. > > > On 10/13/2015 09:12 AM, Krzysztof Kozlowski wrote: >> On 12.10.2015 23:47, Anand Moon wrote: Anand, You essentially reverted here af6ad88acbd6 ("ARM: dts: Mux XMMCnDATA[0] pad correct

Re: 4.3 group scheduling regression

2015-10-12 Thread Yuyang Du
On Mon, Oct 12, 2015 at 01:47:23PM +0200, Peter Zijlstra wrote: > > Also, should we do the below? At this point se->on_rq is still 0 so > reweight_entity() will not update (dequeue/enqueue) the accounting, but > we'll have just accounted the 'old' load.weight. > > Doing it this way around we'll f

Re: GPF in shm_lock ipc

2015-10-12 Thread Davidlohr Bueso
On Mon, 12 Oct 2015, Bueso wrote: On Mon, 12 Oct 2015, Kirill A. Shutemov wrote: On Mon, Oct 12, 2015 at 10:49:45AM -0700, Davidlohr Bueso wrote: diff --git a/ipc/shm.c b/ipc/shm.c index 4178727..9615f19 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -385,9 +385,25 @@ static struct mempolicy *shm_

Re: [RFC PATCH 1/2] perf: Add the flag sample_disable not to output data on samples

2015-10-12 Thread Alexei Starovoitov
On 10/12/15 7:30 PM, xiakaixu wrote: The proper perf_event_enable/disable are so heavy that another >mechanism needed? cpu_function_call is probably too much to do >from bpf program, but that can be simplified? >Based on the use case from cover letter, sounds like you want >something like soft_di

Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

2015-10-12 Thread Anand Moon
Hi Krzysztof, On 13 October 2015 at 05:44, Krzysztof Kozlowski wrote: > On 13.10.2015 00:32, Anand Moon wrote: >> Hi Krzysztof, >> >> On 12 October 2015 at 11:14, Krzysztof Kozlowski >> wrote: >>> On 12.10.2015 00:46, Anand Moon wrote: Added support for UHS-I bus speed 50MB/s (SDR50, DDR50)

Re: [PATCH v2] extcon: gpio: Add the support for Device tree bindings

2015-10-12 Thread Chanwoo Choi
Hi Mark, On 2015년 10월 05일 20:13, Mark Rutland wrote: > On Mon, Oct 05, 2015 at 03:58:19PM +0900, Chanwoo Choi wrote: >> This patch adds the support for Device tree bindings of extcon-gpio driver. >> The extcon-gpio device tree node must include the both 'extcon-id' and >> 'extcon-gpio' property. >

Re: [PATCH v2 3/3] leds: rt5033: Add RT5033 Flash led device driver

2015-10-12 Thread Ingi Kim
Hi Jacek, Thanks for your kind comments I also append reply below On 2015년 10월 13일 00:10, Jacek Anaszewski wrote: > Hi Ingi, > > Thanks for the update. Few comments below. > > On 10/12/2015 03:12 PM, Ingi Kim wrote: >> This patch adds device driver of Richtek RT5033 PMIC. >> The driver supports

[PATCH v2] thp: use is_zero_pfn only after pte_present check

2015-10-12 Thread Minchan Kim
Use is_zero_pfn on pteval only after pte_present check on pteval (It might be better idea to introduce is_zero_pte where checks pte_present first). Otherwise, it could work with swap or migration entry and if pte_pfn's result is equal to zero_pfn by chance, we lose user's data in __collapse_huge_pa

Re: Updated scalable urandom patchkit

2015-10-12 Thread Theodore Ts'o
On Mon, Oct 12, 2015 at 04:30:59PM -0400, George Spelvin wrote: > > Segregating abusers solves both problems. If we do this then we don't > > need to drop the locks from the nonblocking pool, which solves the > > security problem. > > Er, sort of. I still think my points were valid, but they're

Re: [PATCH 2/3] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3

2015-10-12 Thread Anand Moon
Hi Jaehoon Chung, On 13 October 2015 at 08:09, Jaehoon Chung wrote: > On 10/13/2015 11:29 AM, Anand Moon wrote: >> Hi Krzysztof, >> >> On 13 October 2015 at 05:40, Krzysztof Kozlowski >> wrote: >>> On 12.10.2015 23:33, Anand Moon wrote: Hi Krzysztof, On 12 October 2015 at 17:43, K

Re: [PATCH 1/3] ARM: dts: exynos5422-odroidxu3: use cd-gpio method to detect sd-card

2015-10-12 Thread Anand Moon
Hi Krzysztof, On 13 October 2015 at 05:42, Krzysztof Kozlowski wrote: > On 12.10.2015 23:47, Anand Moon wrote: >>> >>> Anand, >>> >>> You essentially reverted here af6ad88acbd6 ("ARM: dts: Mux XMMCnDATA[0] >>> pad correctly for Exynos5420 boards"). Why? There is no explanation in >>> the commit m

Re: [PATCH 1/2] atm: iphase: return -ENOMEM instead of -1 in case of failed kmalloc()

2015-10-12 Thread David Miller
From: Tillmann Heidsieck Date: Sat, 10 Oct 2015 21:47:18 +0200 > Smatch complains about returning hard coded error codes, silence this > warning. > > drivers/atm/iphase.c:115 ia_enque_rtn_q() warn: returning -1 instead of > -ENOMEM is sloppy > > Signed-off-by: Tillmann Heidsieck Applied to n

Re: [PATCH 2/2] atm: iphase: fix misleading indention

2015-10-12 Thread David Miller
From: Tillmann Heidsieck Date: Sat, 10 Oct 2015 21:47:19 +0200 > Fix a smatch warning: > drivers/atm/iphase.c:1178 rx_pkt() warn: curly braces intended? > > The code is correct, the indention is misleading. In case the allocation > of skb fails, we want to skip to the end. > > Signed-off-by: Ti

Re: [PATCH 2/3] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3

2015-10-12 Thread Jaehoon Chung
On 10/13/2015 11:29 AM, Anand Moon wrote: > Hi Krzysztof, > > On 13 October 2015 at 05:40, Krzysztof Kozlowski > wrote: >> On 12.10.2015 23:33, Anand Moon wrote: >>> Hi Krzysztof, >>> >>> On 12 October 2015 at 17:43, Krzysztof Kozlowski >>> wrote: W dniu 12.10.2015 o 20:08, Anand Moon pisze

Re: [PATCH net-next] net: hns: fix the unknown phy_nterface_t type error

2015-10-12 Thread David Miller
From: huangdaode Date: Sat, 10 Oct 2015 17:20:38 +0800 > This patch fix the building error reported by Jiri Pirko > > drivers/net/ethernet/hisilicon/hns/hnae.h:465:2: error: unknown type > name 'phy_interface_t' > phy_interface_t phy_if; > ^ > the full build log is on https://list

Re: [PATCH] perf hists browser: Add 'm' key for context menu display

2015-10-12 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 13, 2015 at 09:02:01AM +0900, Namhyung Kim escreveu: > With horizontal scrolling, the left/right arrow keys are used to > scroll columns and ENTER/ESC keys are used to enter/exit menu. > However if callchain is recorded, the ENTER key is used to toggle > callchain expansion so there's n

Re: [RFC PATCH 1/2] perf: Add the flag sample_disable not to output data on samples

2015-10-12 Thread xiakaixu
于 2015/10/13 3:20, Alexei Starovoitov 写道: > On 10/12/15 2:02 AM, Kaixu Xia wrote: >> diff --git a/include/linux/bpf.h b/include/linux/bpf.h >> index f57d7fe..25e073d 100644 >> --- a/include/linux/bpf.h >> +++ b/include/linux/bpf.h >> @@ -39,6 +39,7 @@ struct bpf_map { >> u32 max_entries; >>

Re: [PATCH 2/3] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3

2015-10-12 Thread Anand Moon
Hi Krzysztof, On 13 October 2015 at 05:40, Krzysztof Kozlowski wrote: > On 12.10.2015 23:33, Anand Moon wrote: >> Hi Krzysztof, >> >> On 12 October 2015 at 17:43, Krzysztof Kozlowski >> wrote: >>> W dniu 12.10.2015 o 20:08, Anand Moon pisze: Hi Krzysztof, On 12 October 2015 at 11:

Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

2015-10-12 Thread Jaehoon Chung
On 10/12/2015 10:16 PM, Krzysztof Kozlowski wrote: > W dniu 12.10.2015 o 22:04, Jaehoon Chung pisze: >> On 10/12/2015 09:42 PM, Krzysztof Kozlowski wrote: >>> W dniu 12.10.2015 o 19:46, Anand Moon pisze: Hi Krzysztof, On 12 October 2015 at 11:14, Krzysztof Kozlowski wrote:

Re: 4.3 group scheduling regression

2015-10-12 Thread Mike Galbraith
On Mon, 2015-10-12 at 13:47 +0200, Peter Zijlstra wrote: > Also, should we do the below? Ew. Box said "Either you quilt pop/burn, or I boot windows." ;-) -Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.o

Re: [PATCH RFC 1/2] dt-bindings: simplefb: Support a list of regulator supply properties

2015-10-12 Thread Chen-Yu Tsai
On Tue, Oct 13, 2015 at 1:10 AM, Mark Rutland wrote: > On Tue, Oct 13, 2015 at 01:04:17AM +0800, Chen-Yu Tsai wrote: >> The physical display tied to the framebuffer may have regulators >> providing power to it, such as power for LCDs or interface conversion >> chips. >> >> The number of regulators

Re: [PATCH v2 0/3] Fix random hang up issue while kernel init

2015-10-12 Thread James Liao
Hi Matthias, On Mon, 2015-10-12 at 18:32 +0200, Matthias Brugger wrote: > > On 07/10/15 11:14, James Liao wrote: > > This patch is based on v4.3-rc4, to fix system hanging up issue > > while disabling unused clocks. > > > > There is nothing different in mtk-scpsys.c and mt8173.dtsi from v1 [1]. >

  1   2   3   4   5   6   7   8   9   10   >