Re: [PATCH v2 2/5] ARM: OMAP2+: DRA7: Add hwmod entries for PWMSS

2015-07-29 Thread Vignesh R
On 07/23/2015 09:05 PM, R, Vignesh wrote: > > > On 7/16/2015 9:01 PM, R, Vignesh wrote: >> Hi, >> >> On 07/16/2015 03:24 AM, Paul Walmsley wrote: >>> Hi, >>> >>> some comments. >>> >>> On Wed, 3 Jun 2015, Vignesh R wrote: >>> Add hwmod entries for the PWMSS on DRA7. Set

Re: [PATCH v3 5/6] iommu/mediatek: Add mt8173 IOMMU driver

2015-07-29 Thread Yong Wu
On Mon, 2015-07-27 at 14:23 +0100, Robin Murphy wrote: > On 16/07/15 10:04, Yong Wu wrote: > > This patch adds support for mediatek m4u (MultiMedia Memory Management > > Unit). > > > > Signed-off-by: Yong Wu > [...] > > +static void mtk_iommu_flush_pgtable(void *ptr, size_t size, void *cookie) >

[PATCH 1/4] Input: max77693: Remove a read-only pwm_divisor field

2015-07-29 Thread Krzysztof Kozlowski
Storing a predefined PWM divisor in state container structure is meaningless. The field, after initialization, is only read so this only obfuscates the code. Remove the field and use directly enum value. Signed-off-by: Krzysztof Kozlowski --- drivers/input/misc/max77693-haptic.c | 4 +--- 1

[PATCH 3/4] Input: max77693: Add support for Maxim 77843

2015-07-29 Thread Krzysztof Kozlowski
The Maxim 77843 haptic driver differs from 77693 by: 1. Setting the bias. 2. Different configuration register. 3. Not enabling the low-sys DAC. 4. Using same regmap for PMIC and haptic blocks. Incorporate all differences into max77693 haptic driver so both devices can be supported.

[PATCH 2/4] Input: max77693: Prepare for adding support for Maxim 77843

2015-07-29 Thread Krzysztof Kozlowski
Prepare the driver for supporting two devices: Maxim 77693 and 77843: 1. Add table of device ids and store current device type for later usage. 2. Differentiate the haptic device configuration. Signed-off-by: Krzysztof Kozlowski --- drivers/input/misc/max77693-haptic.c | 41

[PATCH 0/4] Input: Merge max77843 haptic driver into max77693

2015-07-29 Thread Krzysztof Kozlowski
Hi, Description === The Maxim 77843 haptic driver differs from 77693 by: 1. Setting the bias. 2. Different configuration register. 3. Not enabling the low-sys DAC. 4. Using same regmap for PMIC and haptic blocks. The patchset merges max77843 driver into the max77693. Dependencies

[PATCH 4/4] Input: Remove the max77843 haptic driver

2015-07-29 Thread Krzysztof Kozlowski
The max77693 haptic driver supports Maxim 77843 device so remove the max77843 driver. Signed-off-by: Krzysztof Kozlowski --- drivers/input/misc/Kconfig | 12 -- drivers/input/misc/Makefile | 1 - drivers/input/misc/max77843-haptic.c | 359

Re: [RFCv2 1/3] docs: dts: Added documentation for Xilinx Zynq Reset Controller bindings.

2015-07-29 Thread Moritz Fischer
Hi Sören, On Tue, Jul 28, 2015 at 3:53 PM, Sören Brinkmann wrote: > On Mon, 2015-07-27 at 09:52PM -0700, Moritz Fischer wrote: >> Hi Sören, >> >> thanks for your feedback. >> >> On Mon, Jul 27, 2015 at 7:58 PM, Sören Brinkmann >> wrote: >> > Hi Moritz, >> > >> > On Fri, 2015-07-24 at 05:21PM

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-29 Thread Tomeu Vizoso
On 28 July 2015 at 17:31, Rob Herring wrote: > On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso > wrote: >> On 28 July 2015 at 15:39, Rob Herring wrote: >>> On Tue, Jul 28, 2015 at 8:19 AM, Tomeu Vizoso >>> wrote: From an arbitrary node in the tree, find the enclosing node that

[PATCH] drivers/rtc/rtc-pl031.c: fix typo for author email

2015-07-29 Thread Leo Yan
The email address missed character ">", so add it. Signed-off-by: Leo Yan --- drivers/rtc/rtc-pl031.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-pl031.c b/drivers/rtc/rtc-pl031.c index 99181fff..41dcb7d 100644 --- a/drivers/rtc/rtc-pl031.c +++

[PATCH] memstick: fix Kconfig typo

2015-07-29 Thread AceLan Kao
The module name of the Realtek USB Memstick Card Interface Driver should be rtsx_usb_ms, instead of rts5139_ms. Signed-off-by: AceLan Kao --- drivers/memstick/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memstick/host/Kconfig

Re: [PATCH RFC 2/3] x86: Add Intel PT logger

2015-07-29 Thread Alexander Shishkin
Takao Indoh writes: > This patch provides Intel PT logging feature. When system boots with a > parameter "intel_pt_log", log buffers for Intel PT are allocated and > logging starts, then processor flow information is written in the log > buffer by hardware like flight recorder. This is very

[PATCH] drivers/rtc/rtc-pl031.c: reset registers in init flow

2015-07-29 Thread Leo Yan
When use rtc-pl031 for suspend test on Hisilicon's SoC Hi6220, Usually the data register (DR) will read back as value zero. So the suspend test code will set the match register (MR) for 10 seconds' timeout; But there have chance later will read back some random values from DR register; So finally

[PATCH] net/phy: micrel: Reenable interrupts during resume

2015-07-29 Thread Nathan Sullivan
The ksz9031 has a behavior where it will clear the interrupt enable bits when leaving power down. To work around this, make sure the interrupt bits are in the state they are expected to be when resuming. Signed-off-by: Nathan Sullivan nathan.sulli...@ni.com --- drivers/net/phy/micrel.c | 18

Re: [PATCH v4 04/46] staging: emxx_udc: add ep capabilities support

2015-07-29 Thread Felipe Balbi
On Mon, Jul 27, 2015 at 11:16:14AM +0200, Robert Baldyga wrote: Convert endpoint configuration to new capabilities model. Fixed typo in epc-nulk to epc-bulk. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/staging/emxx_udc/emxx_udc.c | 60

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Support DDI lane reversal for DP

2015-07-29 Thread Benjamin Tissoires
On Jul 29 2015 or thereabouts, Sivakumar Thulasimani wrote: why not detect reverse in intel_dp_detect/intel_hpd_pulse ? that way you can identify both lane count and reversal state without touching anything in the link training code. i am yet to upstream my changes for CHT that i can share if

Re: [PATCH 2/2] vhost: increase default limit of nregions from 64 to 509

2015-07-29 Thread Michael S. Tsirkin
On Wed, Jul 29, 2015 at 04:29:23PM +0200, Igor Mammedov wrote: although now there is vhost module max_mem_regions option to set custom limit it doesn't help for default setups, since it requires administrator manually set a higher limit on each host. Which complicates servers deployments and

Re: [PATCH -mm v9 0/8] idle memory tracking

2015-07-29 Thread Vladimir Davydov
On Wed, Jul 29, 2015 at 04:26:19PM +0200, Michal Hocko wrote: On Wed 29-07-15 16:59:07, Vladimir Davydov wrote: On Wed, Jul 29, 2015 at 02:36:30PM +0200, Michal Hocko wrote: On Sun 19-07-15 15:31:09, Vladimir Davydov wrote: [...] USER API The user API consists of

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-29 Thread Rob Herring
On Wed, Jul 29, 2015 at 6:20 AM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 29 July 2015 at 08:14, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 28 July 2015 at 17:31, Rob Herring robherri...@gmail.com wrote: On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso tomeu.viz...@collabora.com

Re: [PATCH v2 1/3] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Lee Jones
On Wed, 29 Jul 2015, Matt Fleming wrote: From: Matt Fleming matt.flem...@intel.com Intel Sunrisepoint (Skylake PCH) has the iTCO watchdog accessible across the SMBus, unlike previous generations of PCH/ICH where it was on the LPC bus. Because it's on the SMBus, it doesn't make sense to pass

Re: [PATCH v3 11/11] smack: documentation for the Smack namespace

2015-07-29 Thread Lukasz Pawelczyk
Appologise for sending my previous email in HTML, this email address was never meant to be used with lists. I resend in plain text. On Wed, Jul 29, 2015 at 5:25 PM, Serge E. Hallyn se...@hallyn.com wrote: +Enabling Smack related capabilities (CAP_MAC_ADMIN and +CAP_MAC_OVERRIDE) is main goal

[GIT PULL] VFIO fixes for v4.2-rc5

2015-07-29 Thread Alex Williamson
Hi Linus, The following changes since commit afdf0b91bdf04bc66ee64e1ac44f0979c55749b1: Merge tag 'regulator-fix-v4.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator (2015-07-24 13:14:06 -0700) are available in the git repository at:

Re: [PATCH V3 3/5] perf,tools: Dump per-sample freq/CPU%/CORE_BUSY% in report -D

2015-07-29 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 29, 2015 at 12:43:22PM -0300, Arnaldo Carvalho de Melo escreveu: Em Wed, Jul 29, 2015 at 02:53:29PM +0200, Jiri Olsa escreveu: switch (event-header.type) { case PERF_RECORD_SAMPLE: - dump_sample(evsel, event, sample); if (evsel == NULL) {

Re: [PATCH 1/2] net: Export __netdev_alloc_frag() to allow gfp_mask flags

2015-07-29 Thread Eric Dumazet
On Wed, 2015-07-29 at 11:10 -0400, WingMan Kwok wrote: This patch makes the function __netdev_alloc_frag() non-static and exports it so that drivers that need to specify additional flags, such as __GFP_DMA, can use it. The currently exported function, netdev_alloc_frag() doesn't allow passing

[PATCH RFC V7 6/7] perf,tools: per-event callgraph support

2015-07-29 Thread Kan Liang
From: Kan Liang kan.li...@intel.com When multiple events are sampled it may not be needed to collect callgraphs for all of them. The sample sites are usually nearby, and it's enough to collect the callgraphs on a reference event (such as precise cycles or precise instructions). This patchkit adds

[PATCH RFC V7 7/7] perf,tests: Add tests to callgraph and time parse

2015-07-29 Thread Kan Liang
From: Kan Liang kan.li...@intel.com Add tests in tests/parse-events.c to check call-graph and time option Signed-off-by: Kan Liang kan.li...@intel.com --- tools/perf/tests/parse-events.c | 38 ++ 1 file changed, 38 insertions(+) diff --git

[PATCH RFC V7 0/7] per event callgraph and time support

2015-07-29 Thread Kan Liang
This patchkit adds the ability to turn off callgraphs and time stamps per event. This in term can reduce sampling overhead and the size of the perf.data. Changes since V1: - Break up V1 patches into three patches(parse option changes, partial time support and partial callgraph support). -

Re: [PATCH 03/12] mtd: nand: omap: Move IRQ handling from GPMC to NAND driver

2015-07-29 Thread Roger Quadros
On 29/07/15 17:08, nick wrote: On 2015-07-29 09:52 AM, Roger Quadros wrote: On 29/07/15 15:13, nick wrote: On 2015-07-29 08:06 AM, Roger Quadros wrote: Tony, On 13/07/15 15:40, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [150713 03:07]: Tony, On 13/07/15 10:10, Tony Lindgren

Re: [PATCH V3 3/5] perf,tools: Dump per-sample freq/CPU%/CORE_BUSY% in report -D

2015-07-29 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 29, 2015 at 02:52:20PM +0200, Jiri Olsa escreveu: On Tue, Jul 28, 2015 at 07:29:33AM -0400, kan.li...@intel.com wrote: SNIP -static void dump_sample(struct perf_evsel *evsel, union perf_event *event, +static void dump_sample(struct perf_session *session, struct perf_evlist

[PATCH 2/2] net: netcp: Allocate RX packet buffers using __GFP_DMA

2015-07-29 Thread WingMan Kwok
The Keystone II DMA hardware can only access addresses in the lower 2 GiB of SDRAM. This patch makes sure the RX buffers are allocated using the __GFP_DMA flag so they meet this requirement. Signed-off-by: WingMan Kwok w-kw...@ti.com Signed-off-by: Reece R. Pollack x0183...@ti.com ---

Re: [RFC PATCH 13/14] kthread_worker: Add set_kthread_worker_user_nice()

2015-07-29 Thread Tejun Heo
Hello, On Wed, Jul 29, 2015 at 01:23:54PM +0200, Petr Mladek wrote: My plan is to make the API cleaner and hide struct kthread_worker definition into kthread.c. It would prevent anyone doing any hacks with it. BTW, we do the same with struct workqueue_struct. I think obsessive attachment to

Re: [PATCH 2/8] x86/vm86: Move fields from kernel_vm86_struct

2015-07-29 Thread Andy Lutomirski
On Tue, Jul 28, 2015 at 10:41 PM, Brian Gerst brge...@gmail.com wrote: Move the non-regs fields to the off-stack data. Acked-by: Andy Lutomirski l...@kernel.org Although I admit I haven't carefully reviewed the mindless conversion part of the patch. -- To unsubscribe from this list: send the

Re: [PATCH -mm v9 0/8] idle memory tracking

2015-07-29 Thread Vladimir Davydov
On Wed, Jul 29, 2015 at 05:08:55PM +0200, Michal Hocko wrote: On Wed 29-07-15 17:45:39, Vladimir Davydov wrote: On Wed, Jul 29, 2015 at 07:12:13AM -0700, Michel Lespinasse wrote: On Wed, Jul 29, 2015 at 6:59 AM, Vladimir Davydov vdavy...@parallels.com wrote: I guess the primary reason

Re: [PATCH v2] ARM64: zynqmp: Add eeprom memories on i2c bus

2015-07-29 Thread Shubhrajyoti Datta
On Wed, Jul 29, 2015 at 7:49 PM, Michal Simek michal.si...@xilinx.com wrote: Add i2c eeprom memories on i2c bus. Thanks for the patch. Feel free to add Reviewed-by: Shubhrajyoti Datta shubh...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - Change eeprom

[PATCH V6 5/6] selftests: vm: Add tests for lock on fault

2015-07-29 Thread Eric B Munson
Test the mlockall() flag and the mlock2 system call. These tests ensure that pages are not faulted in until they are accessed, that the pages are unevictable once faulted in, and that VMA splitting and merging works with the new VM flag. The second test ensures that mlock limits are respected.

Re: [PATCH V3 3/5] perf,tools: Dump per-sample freq/CPU%/CORE_BUSY% in report -D

2015-07-29 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 29, 2015 at 02:53:29PM +0200, Jiri Olsa escreveu: On Tue, Jul 28, 2015 at 07:29:33AM -0400, kan.li...@intel.com wrote: SNIP -static int machines__deliver_event(struct machines *machines, +static int machines__deliver_event(struct perf_session *session,

[PATCH V6 6/6] mips: Add entry for new mlock2 syscall

2015-07-29 Thread Eric B Munson
A previous commit introduced the new mlock2 syscall, add entries for the MIPS architecture. Signed-off-by: Eric B Munson emun...@akamai.com Cc: Ralf Baechle r...@linux-mips.org Cc: linux-m...@linux-mips.org Cc: linux-...@vger.kernel.org Cc: linux-a...@vger.kernel.org Cc: linux...@kvack.org Cc:

[PATCH V6 3/6] mm: Introduce VM_LOCKONFAULT

2015-07-29 Thread Eric B Munson
The cost of faulting in all memory to be locked can be very high when working with large mappings. If only portions of the mapping will be used this can incur a high penalty for locking. For the example of a large file, this is the usage pattern for a large statical language model (probably

[PATCH V6 1/6] mm: mlock: Refactor mlock, munlock, and munlockall code

2015-07-29 Thread Eric B Munson
Extending the mlock system call is very difficult because it currently does not take a flags argument. A later patch in this set will extend mlock to support a middle ground between pages that are locked and faulted in immediately and unlocked pages. To pave the way for the new system call, the

[PATCH V6 2/6] mm: mlock: Add new mlock system call

2015-07-29 Thread Eric B Munson
With the refactored mlock code, introduce a new system call for mlock. The new call will allow the user to specify what lock states are being added. mlock2 is trivial at the moment, but a follow on patch will add a new mlock state making it useful. Signed-off-by: Eric B Munson emun...@akamai.com

[PATCH V6 4/6] mm: mlock: Add mlock flags to enable VM_LOCKONFAULT usage

2015-07-29 Thread Eric B Munson
The previous patch introduced a flag that specified pages in a VMA should be placed on the unevictable LRU, but they should not be made present when the area is created. This patch adds the ability to set this state via the new mlock system calls. We add MLOCK_ONFAULT for mlock2 and MCL_ONFAULT

Re: [PATCHv2 06/10] xen/balloon: only hotplug additional memory if required

2015-07-29 Thread Daniel Kiper
On Fri, Jul 24, 2015 at 12:47:44PM +0100, David Vrabel wrote: Now that we track the total number of pages (included hotplugged regions), it is easy to determine if more memory needs to be hotplugged. Add a new BP_WAIT state to signal that the balloon process needs to wait until kicked by the

Re: [PATCH] PCI: Remove unused pci_probe flags

2015-07-29 Thread Bjorn Helgaas
On Mon, Jul 27, 2015 at 05:12:29PM -0500, Bjorn Helgaas wrote: The following flags are only used on x86, but they got copied to FR-V, MN10300, and SuperH: PCI_PROBE_BIOS PCI_PROBE_CONF1 PCI_PROBE_CONF2 PCI_ASSIGN_ROMS PCI_NO_CHECKS PCI_BIOS_IRQ_SCAN PCI_ASSIGN_ALL_BUSSES

Re: [PATCHv2 06/10] xen/balloon: only hotplug additional memory if required

2015-07-29 Thread David Vrabel
On 29/07/15 16:55, Daniel Kiper wrote: On Fri, Jul 24, 2015 at 12:47:44PM +0100, David Vrabel wrote: --- a/drivers/xen/balloon.c +++ b/drivers/xen/balloon.c @@ -75,12 +75,14 @@ * balloon_process() state: * * BP_DONE: done or nothing to do, + * BP_WAIT: wait to be rescheduled,

[PATCH net 07/11] net: thunderx: Wakeup TXQ only if CQE_TX are processed

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Previously TXQ is wakedup whenever napi is executed and irrespective of if any CQE_TX are processed or not. Added 'txq_stop' and 'txq_wake' counters to aid in debugging if there are any future issues. Signed-off-by: Sunil Goutham sgout...@cavium.com

[PATCH net 00/11] net: thunderx: Misc fixes

2015-07-29 Thread Aleksey Makarov
Miscellaneous fixes for the ThunderX VNIC driver All the patches can be applied individually. It's ok to drop some if the maintainer feels uncomfortable with applying for 4.2. Sunil Goutham (10): net: thunderx: Fix data integrity issues with LDWB net: thunderx: Fix memory leak while tearing

Re: [PATCH] x86/mm, efi: Check for valid image type

2015-07-29 Thread Josh Triplett
On Wed, Jul 29, 2015 at 10:30:51AM +0200, Sebastian Andrzej Siewior wrote: On 07/29/2015 02:10 AM, j...@joshtriplett.org wrote: On Wed, 22 Jul, at 05:32:44PM, Sebastian Andrzej Siewior wrote: now and then. The data behind that pointer changes on each boot because nobody preserves the

Re: [PATCH v2 3/3] iTCO_wdt: Add support for TCO on Intel Sunrisepoint

2015-07-29 Thread Guenter Roeck
On 07/29/2015 05:10 AM, Matt Fleming wrote: From: Matt Fleming matt.flem...@intel.com The revision of the watchdog hardware in Sunrisepoint necessitates a new version inside the TCO watchdog driver because some of the register layouts have changed. Also update the Kconfig entry to select both

Re: [RFC PATCH 2/2] dt: spi: s3c64xx: add compatible to controller-data

2015-07-29 Thread Brian Norris
On Wed, Jul 29, 2015 at 06:19:24PM +0200, Michal Suchanek wrote: On 29 July 2015 at 16:00, Mark Brown broo...@kernel.org wrote: On Wed, Jul 29, 2015 at 12:19:57PM +0200, Michal Suchanek wrote: Please use subject lines matching the style for the subsytsem so people can spot that the patch

[PATCH net 02/11] net: thunderx: Fix memory leak while tearing down interface

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Fixed 'tso_hdrs' memory not being freed properly. Also fixed SQ skbuff maintenance issues. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com ---

Re: [PATCH v3 11/11] smack: documentation for the Smack namespace

2015-07-29 Thread Serge E. Hallyn
On Fri, Jul 24, 2015 at 12:04:45PM +0200, Lukasz Pawelczyk wrote: +--- Design ideas --- + +Smack namespace is rather Smack labels namespace as not the whole +MAC is namespaced, only the labels. There is a great analogy between +Smack labels namespace and the user namespace part that remaps

[PATCH net 03/11] net: thunderx: Fix RQ_DROP miscalculation

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com With earlier configured value sufficient number of CQEs are not being reserved for transmitted packets. Hence under heavy incoming traffic load, receive notifications will take away most of the CQ thus transmit notifications will be lost resulting in tx

[PATCH net 04/11] net: thunderx: Fix memory leak when changing queue count

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Fix for memory leak when changing queue/channel count via ethtool Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- .../net/ethernet/cavium/thunder/nicvf_ethtool.c| 23

Re: [PATCH 1/8] x86/vm86: Move vm86 fields out of thread_struct

2015-07-29 Thread Andy Lutomirski
On Tue, Jul 28, 2015 at 10:41 PM, Brian Gerst brge...@gmail.com wrote: Allocate a separate structure for the vm86 fields. Acked-by: Andy Lutomirski l...@kernel.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] usb: gadget: Convert use of __constant_cpu_to_le16 to cpu_to_le16

2015-07-29 Thread Felipe Balbi
On Mon, Jul 27, 2015 at 11:44:08AM +0530, Vaishali Thakkar wrote: On Sat, Jun 6, 2015 at 7:02 AM, Vaishali Thakkar vthakkar1...@gmail.com wrote: In big endian cases, macro cpu_to_le16 unfolds to __swab16 which provides special case for constants. In little endian cases,

Re: [PATCH v4 4/5] tty/serial: at91: add support to FIFOs

2015-07-29 Thread Hans-Christian Egtvedt
try to blindly find the cause for this issue. # uname -a Linux buildroot 4.2.0-rc4-next-20150729+ #97 Wed Jul 29 17:50:11 EEST 2015 avr32 GNU/Linux Do you, guys, have that board (NGW100) or it's officially unsupported? Sorry but we don't have AVR32-based board in our office. Hans-Christian

Re: [PATCH 3/8] x86/vm86: Eliminate kernel_vm86_struct

2015-07-29 Thread Andy Lutomirski
On Tue, Jul 28, 2015 at 10:41 PM, Brian Gerst brge...@gmail.com wrote: Now there is no vm86-specific data left on the kernel stack while in userspace, except for the 32-bit regs. This is *so* much better. Acked-by: Andy Lutomirski l...@kernel.org -- To unsubscribe from this list: send the line

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Guenter Roeck
On 07/29/2015 08:32 AM, Lee Jones wrote: On Wed, 29 Jul 2015, Aaron Sierra wrote: From: Lee Jones lee.jo...@linaro.org Sent: Wednesday, July 29, 2015 2:38:41 AM On Tue, 28 Jul 2015, Aaron Sierra wrote: @@ -933,7 +956,7 @@ gpe0_done: lpc_chipset_info[priv-chipset].use_gpio = ret;

Re: [PATCH 8/9] x86/intel_rdt: Hot cpu support for Cache Allocation

2015-07-29 Thread Peter Zijlstra
On Wed, Jul 01, 2015 at 03:21:09PM -0700, Vikas Shivappa wrote: +/* + * cbm_update_msrs() - Updates all the existing IA32_L3_MASK_n MSRs + * which are one per CLOSid except IA32_L3_MASK_0 on the current package. + */ +static void cbm_update_msrs(void *info) +{ + int maxid =

Re: [RFC PATCH 2/2] dt: spi: s3c64xx: add compatible to controller-data

2015-07-29 Thread Michal Suchanek
On 29 July 2015 at 16:00, Mark Brown broo...@kernel.org wrote: On Wed, Jul 29, 2015 at 12:19:57PM +0200, Michal Suchanek wrote: Please use subject lines matching the style for the subsytsem so people can spot that the patch is in some way relevant. The controller-data subnode has no

Re: [RFC v2] genalloc:add an gen_pool_first_fit_align algo to genalloc

2015-07-29 Thread Scott Wood
On Tue, 2015-07-28 at 00:32 -0500, Zhao Qiang-B45475 wrote: On Tue, 2015-07-28 at 5:21, Scott Wood wrote: -Original Message- From: Wood Scott-B07421 Sent: Tuesday, July 28, 2015 5:21 AM To: Zhao Qiang-B45475 Cc: lau...@codeaurora.org; linux-kernel@vger.kernel.org; linuxppc-

Re: [PATCH v3 11/11] smack: documentation for the Smack namespace

2015-07-29 Thread Serge E. Hallyn
On Wed, Jul 29, 2015 at 06:13:59PM +0200, Lukasz Pawelczyk wrote: Appologise for sending my previous email in HTML, this email address was never meant to be used with lists. I resend in plain text. On Wed, Jul 29, 2015 at 5:25 PM, Serge E. Hallyn se...@hallyn.com wrote: +Enabling Smack

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Aaron Sierra
- Original Message - From: Guenter Roeck li...@roeck-us.net Sent: Wednesday, July 29, 2015 11:38:08 AM On 07/29/2015 09:20 AM, Aaron Sierra wrote: From: Lee Jones lee.jo...@linaro.org Sent: Wednesday, July 29, 2015 10:32:26 AM On Wed, 29 Jul 2015, Aaron Sierra wrote: From:

Re: Bug: shared usb dt document is incorrect

2015-07-29 Thread Tim Bird
On 07/28/2015 07:54 PM, Rob Herring wrote: On Tue, Jul 28, 2015 at 8:06 PM, Tim Bird tim.b...@sonymobile.com wrote: Antoine and Rob, I was just doing some testing with USB on a Qualcomm SoC. I followed the instructions in the binding document:

Re: [PATCH 1/2] vhost: add ioctl to query nregions upper limit

2015-07-29 Thread Michael S. Tsirkin
On Wed, Jul 29, 2015 at 05:01:43PM +0200, Paolo Bonzini wrote: On 29/07/2015 16:56, Michael S. Tsirkin wrote: Also, document our contract with legacy userspace: when running on an old kernel, you get -1 and you can assume at least 64 slots. Since 0 value's left

Re: [PATCH] asus-laptop: Add key found on Asus F3M

2015-07-29 Thread Darren Hart
Thanks Łukasz, The following change seems reasonable. While it's trivial, please provide some context in your commit message. I do not merge commits with empty messages. There is always something to say. Did you see a dmesg error, the key just didn't work, the 0x6A is new on model XYZ but you

Re: [patch|rfc] mtip32x: fix regression introduced by blk-mq per-hctx flush

2015-07-29 Thread Ming Lei
On Wed, Jul 29, 2015 at 10:22 AM, Jeff Moyer jmo...@redhat.com wrote: Hi, After commit f70ced091707 (blk-mq: support per-distpatch_queue flush machinery), the mtip32xx driver may oops upon module load due to walking off the end of an array in mtip_init_cmd. On initialization of the

Re: [PATCH v2] dtb: Create a common home for cross-architecture dtsi files.

2015-07-29 Thread Rob Herring
On Wed, Jul 29, 2015 at 8:22 AM, Ian Campbell ian.campb...@citrix.com wrote: On Wed, 2015-07-29 at 20:07 +0900, Masahiro Yamada wrote: Hi Ian, 2015-07-27 19:35 GMT+09:00 Ian Campbell ian.campb...@citrix.com: Commit 9ccd608070b6 arm64: dts: add device tree for ARM SMM-A53x2 on LogicTile

Re: [PATCH] staging: wilc1000: host_interface.c: Fix build warning

2015-07-29 Thread Chandra Gorentla
On Wed, Jul 29, 2015 at 05:20:37PM +0300, Dan Carpenter wrote: On Wed, Jul 29, 2015 at 07:36:59PM +0530, Chandra S Gorentla wrote: Fixed - warning: ‘*((void *)strHostIFmsg+4).pu8Head’ may be used uninitialized I can't reproduce this warning and the original code looks fine to me.

Re: [PATCH -mm v9 0/8] idle memory tracking

2015-07-29 Thread Michal Hocko
On Wed 29-07-15 18:36:40, Vladimir Davydov wrote: On Wed, Jul 29, 2015 at 05:08:55PM +0200, Michal Hocko wrote: On Wed 29-07-15 17:45:39, Vladimir Davydov wrote: [...] Page table scan approach has the inherent problem - it ignores unmapped page cache. If a workload does a lot of

Re: [PATCH 3/7] fs: Ignore file caps in mounts from other user namespaces

2015-07-29 Thread Serge E. Hallyn
On Thu, Jul 16, 2015 at 12:04:43AM -0500, Eric W. Biederman wrote: I tend to thing that, if we're not honoring the fcaps, we shouldn't be honoring the setuid bit either. After all, it's really not a trusted file, even though the only user who could have messed with it really is the

Re: [PATCH] PCI: iproc: Fix BCMA dependency in Kconfig

2015-07-29 Thread Ray Jui
On 7/29/2015 7:30 AM, Arnd Bergmann wrote: On Tuesday 28 July 2015 11:52:13 Ray Jui wrote: config PCIE_IPROC_BCMA bool Broadcom iProc PCIe BCMA bus driver - depends on ARCH_BCM_IPROC || (ARM COMPILE_TEST) + depends on ARCH_BCM_IPROC ARM select PCIE_IPROC

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Guenter Roeck
On 07/29/2015 09:20 AM, Aaron Sierra wrote: From: Lee Jones lee.jo...@linaro.org Sent: Wednesday, July 29, 2015 10:32:26 AM On Wed, 29 Jul 2015, Aaron Sierra wrote: From: Lee Jones lee.jo...@linaro.org Sent: Wednesday, July 29, 2015 2:38:41 AM On Tue, 28 Jul 2015, Aaron Sierra wrote: @@

Re: [PATCH -mm v9 0/8] idle memory tracking

2015-07-29 Thread Vladimir Davydov
On Wed, Jul 29, 2015 at 08:55:01AM -0700, Andres Lagar-Cavilla wrote: On Wed, Jul 29, 2015 at 8:28 AM, Vladimir Davydov vdavy...@parallels.com wrote: On Wed, Jul 29, 2015 at 04:26:19PM +0200, Michal Hocko wrote: On Wed 29-07-15 16:59:07, Vladimir Davydov wrote: On Wed, Jul 29, 2015 at

Re: [PATCH V12 0/9] Hot cpu handling changes to cqm, rapl and Intel Cache Allocation support

2015-07-29 Thread Peter Zijlstra
On Fri, Jul 24, 2015 at 11:28:22AM -0700, Vikas Shivappa wrote: On Fri, 24 Jul 2015, Thomas Gleixner wrote: On Wed, 1 Jul 2015, Vikas Shivappa wrote: Cache allocation patches(dependent on prep patches) adds a cgroup subsystem to support the new Cache Allocation feature found in future

Re: [PATCH v3 11/11] smack: documentation for the Smack namespace

2015-07-29 Thread Lukasz Pawelczyk
Just a clarification, from my previous email: 3. (expcetion #2) About the: Without the host admin doing anything.. With this namespace you delegate part of CAP_MAC_ADMIN privilege to an unprivileged user (as with any other namespace). There is now way that this will not involve host admin.

[PATCH net 09/11] net: thunderx: Fix crash when changing rss with mutliple traffic flows

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com This fixes a crash when changing rss with multiple traffic flows. While interface teardown, disable tx queues after all NAPI threads are done. If done otherwise tx queues might be woken up inside NAPI if any CQE_TX are processed. Signed-off-by: Sunil

[PATCH net 05/11] net: thunderx: Fix TSO packet statistic

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Fixing TSO packages not being counted. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH net 01/11] net: thunderx: Fix data integrity issues with LDWB

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Switching back to LDD transactions from LDWB. While transmitting packets out with LDWB transactions data integrity issues are seen very frequently. hence switching back to LDD. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Robert Richter

[PATCH net 11/11] net: thunderx: Fix for crash while BGX teardown

2015-07-29 Thread Aleksey Makarov
From: Thanneeru Srinivasulu tsrinivas...@caviumnetworks.com Cortina phy does not have kernel driver and we don't attach device with phy layer for intefaces like XFI, XLAUI etc, Hence check for interface type before calling disconnect. Signed-off-by: Thanneeru Srinivasulu

Re: [PATCH v2 3/3] i2c: i801: add support of Host Notify

2015-07-29 Thread Jean Delvare
On Wed, 29 Jul 2015 10:58:13 -0400, Benjamin Tissoires wrote: On Sat, Jul 25, 2015 at 5:38 PM, Jean Delvare jdelv...@suse.de wrote: On Sat, 25 Jul 2015 12:22:02 -0400, Benjamin Tissoires wrote: On Sat, Jul 25, 2015 at 12:11 PM, Jean Delvare jdelv...@suse.de wrote: Hi Benjamin, On

samples/kdbus/kdbus-workers.c and cross compiling MIPS

2015-07-29 Thread Paul Gortmaker
Hi David, Does it make sense to build this sample when cross compiling? The reason I ask is that it has been breaking the linux-next build of allmodconfig for a while now, with: HOSTCC samples/kdbus/kdbus-workers samples/kdbus/kdbus-workers.c: In function ‘prime_new’:

Re: [PATCH v3 11/11] smack: documentation for the Smack namespace

2015-07-29 Thread Lukasz Pawelczyk
On Wed, Jul 29, 2015 at 6:13 PM, Lukasz Pawelczyk hav...@gmail.com wrote: With this namespace you delegate part of CAP_MAC_ADMIN privilege to an unprivileged user (as with any other namespace). Ok, maybe the part in the brackets is an overstatement. Mostly with namespaces you create a full

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Aaron Sierra
From: Lee Jones lee.jo...@linaro.org Sent: Wednesday, July 29, 2015 10:32:26 AM On Wed, 29 Jul 2015, Aaron Sierra wrote: From: Lee Jones lee.jo...@linaro.org Sent: Wednesday, July 29, 2015 2:38:41 AM On Tue, 28 Jul 2015, Aaron Sierra wrote: @@ -933,7 +956,7 @@

randconfig build error with next-20150729, in drivers/mfd/intel-lpss-acpi.c

2015-07-29 Thread Jim Davis
Building with the attached random configuration file, In file included from drivers/mfd/intel-lpss-acpi.c:22:0: drivers/mfd/intel-lpss.h:58:2: error: ‘INTEL_LPSS_SLEEP_PM_OPS’ undeclared here (not in a function) INTEL_LPSS_SLEEP_PM_OPS \ ^ drivers/mfd/intel-lpss-acpi.c:67:8: note: in

Re: [PATCH -mm v9 0/8] idle memory tracking

2015-07-29 Thread Vladimir Davydov
On Wed, Jul 29, 2015 at 05:47:18PM +0200, Michal Hocko wrote: On Wed 29-07-15 18:28:17, Vladimir Davydov wrote: On Wed, Jul 29, 2015 at 04:26:19PM +0200, Michal Hocko wrote: On Wed 29-07-15 16:59:07, Vladimir Davydov wrote: On Wed, Jul 29, 2015 at 02:36:30PM +0200, Michal Hocko wrote:

Re: [PATCH 7/8] memcg: get rid of mm_struct::owner

2015-07-29 Thread Johannes Weiner
On Wed, Jul 29, 2015 at 05:05:49PM +0200, Michal Hocko wrote: On Wed 29-07-15 09:14:54, Johannes Weiner wrote: On Tue, Jul 14, 2015 at 05:18:23PM +0200, Michal Hocko wrote: [...] 3) fail mem_cgroup_can_attach if we are trying to migrate a task sharing mm_struct with a process outside of

Re: [PATCH 1/9] x86/intel_cqm: Modify hot cpu notification handling

2015-07-29 Thread Peter Zijlstra
On Wed, Jul 01, 2015 at 03:21:02PM -0700, Vikas Shivappa wrote: +/* + * Temporary cpumask used during hot cpu notificaiton handling. The usage + * is serialized by hot cpu locks. + */ +static cpumask_t tmp_cpumask; So the problem with this is that its 512 bytes on your general distro config.

Re: [PATCH v2 2/3] i2c: i801: Create iTCO device on newer Intel PCHs

2015-07-29 Thread Guenter Roeck
On 07/29/2015 05:10 AM, Matt Fleming wrote: From: Mika Westerberg mika.westerb...@linux.intel.com Starting from Intel Sunrisepoint (Skylake PCH) the iTCO watchdog resources have been moved to reside under the i801 SMBus host controller whereas previously they were under the LPC device. In

Re: [PATCH 4/8] x86/vm86: Use the normal pt_regs area for vm86

2015-07-29 Thread Brian Gerst
On Wed, Jul 29, 2015 at 11:50 AM, Andy Lutomirski l...@amacapital.net wrote: On Tue, Jul 28, 2015 at 10:41 PM, Brian Gerst brge...@gmail.com wrote: Change to use the normal pt_regs area to enter and exit vm86 mode. This is done by increasing the padding at the top of the stack to make room for

Re: [PATCH 08/10] posix-cpu-timers: Migrate to use new tick dependency mask model

2015-07-29 Thread Chris Metcalf
On 07/29/2015 09:23 AM, Frederic Weisbecker wrote: At a higher level, is the posix-cpu-timers code here really providing the right semantics? It seems like before, the code was checking a struct task-specific state, and now you are setting a global state such that if ANY task anywhere in the

[PATCH 1/2] net: Export __netdev_alloc_frag() to allow gfp_mask flags

2015-07-29 Thread WingMan Kwok
This patch makes the function __netdev_alloc_frag() non-static and exports it so that drivers that need to specify additional flags, such as __GFP_DMA, can use it. The currently exported function, netdev_alloc_frag() doesn't allow passing in gfp_mask flags. Signed-off-by: WingMan Kwok

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Lee Jones
On Wed, 29 Jul 2015, Aaron Sierra wrote: From: Lee Jones lee.jo...@linaro.org Sent: Wednesday, July 29, 2015 2:38:41 AM On Tue, 28 Jul 2015, Aaron Sierra wrote: @@ -933,7 +956,7 @@ gpe0_done: lpc_chipset_info[priv-chipset].use_gpio = ret;

Re: cgroup/loop Bad page state oops in Linux v4.2-rc3-136-g45b4b782e848

2015-07-29 Thread Ming Lei
On Wed, Jul 29, 2015 at 9:51 AM, Johannes Weiner han...@cmpxchg.org wrote: On Wed, Jul 29, 2015 at 09:27:16AM -0400, Josh Boyer wrote: Hi All, We've gotten a report[1] that any of the upcoming Fedora 23 install images are all failing on 32-bit VMs/machines. Looking at the first instance of

Re: [PATCH -mm v9 0/8] idle memory tracking

2015-07-29 Thread Vladimir Davydov
On Wed, Jul 29, 2015 at 08:08:22AM -0700, Michel Lespinasse wrote: On Wed, Jul 29, 2015 at 7:45 AM, Vladimir Davydov vdavy...@parallels.com wrote: Page table scan approach has the inherent problem - it ignores unmapped page cache. If a workload does a lot of read/write or map-access-unmap

Re: [PATCH 03/12] mtd: nand: omap: Move IRQ handling from GPMC to NAND driver

2015-07-29 Thread Roger Quadros
On 29/07/15 18:26, nick wrote: On 2015-07-29 11:12 AM, Roger Quadros wrote: On 29/07/15 17:08, nick wrote: On 2015-07-29 09:52 AM, Roger Quadros wrote: On 29/07/15 15:13, nick wrote: On 2015-07-29 08:06 AM, Roger Quadros wrote: Tony, On 13/07/15 15:40, Tony Lindgren wrote: * Roger

Re: [PATCH -mm v9 0/8] idle memory tracking

2015-07-29 Thread Michal Hocko
On Wed 29-07-15 18:28:17, Vladimir Davydov wrote: On Wed, Jul 29, 2015 at 04:26:19PM +0200, Michal Hocko wrote: On Wed 29-07-15 16:59:07, Vladimir Davydov wrote: On Wed, Jul 29, 2015 at 02:36:30PM +0200, Michal Hocko wrote: On Sun 19-07-15 15:31:09, Vladimir Davydov wrote: [...]

Re: [PATCH v2 1/3] iTCO_wdt: Expose watchdog properties using platform data

2015-07-29 Thread Matt Fleming
On Wed, 29 Jul, at 04:35:56PM, Lee Jones wrote: For my own reference (I assume this will go through the MFD tree): Acked-by: Lee Jones lee.jo...@linaro.org Great, thanks Lee! I've no strong opinion on which tree these 3 patches go through but at the very least patches 1 and 2 need to go

[PATCH RFC V7 4/7] perf,tools: per-event time support

2015-07-29 Thread Kan Liang
From: Kan Liang kan.li...@intel.com This patchkit adds the ability to turn off time stamps per event. One usable case of partial time is to work with per-event callgraph to enable PEBS threshold 1 (https://lkml.org/lkml/2015/5/10/196), which can significantly reduce the sampling overhead. The

[PATCH RFC V7 2/7] perf tools: Force period term to overload global settings

2015-07-29 Thread Kan Liang
From: Jiri Olsa jo...@kernel.org Currently the command line option settings beats the per event period settings: With no global settings, we get per-event configuration: $ perf record -e 'cpu/instructions,period=2/' sleep 1 $ perf evlist -v ... { sample_period, sample_freq }: 2

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