[PATCH RESEND v9 00/10] sched: consolidation of CPU capacity and usage

2015-01-15 Thread Vincent Guittot
This patchset consolidates several changes in the capacity and the usage tracking of the CPU. It provides a frequency invariant metric of the usage of CPUs and generally improves the accuracy of load/usage tracking in the scheduler. The frequency invariant metric is the foundation required for the

[PATCH RESEND v9 02/10] sched: Track group sched_entity usage contributions

2015-01-15 Thread Vincent Guittot
From: Morten Rasmussen Adds usage contribution tracking for group entities. Unlike se->avg.load_avg_contrib, se->avg.utilization_avg_contrib for group entities is the sum of se->avg.utilization_avg_contrib for all entities on the group runqueue. It is _not_ influenced in any way by the task

Re: linux-next: Tree for Jan 12 (build failures: m68k, ppc)

2015-01-15 Thread Geert Uytterhoeven
On Mon, Jan 12, 2015 at 6:59 PM, Guenter Roeck wrote: >> > Build failures, seen since next-20150109: >> > m68k:allmodconfig >> > powerpc:ppc6xx_defconfig It looks like parisc is also suffering: http://kisskb.ellerman.id.au/kisskb/buildresult/12343847/ >> > Due to: >> >

[PATCH_V5] dm9000: Add regulator and reset support to dm9000

2015-01-15 Thread Zubair Lutfullah Kakakhel
In boards, the dm9000 chip's power and reset can be controlled by gpio. It makes sense to add them to the dm9000 driver and let dt be used to enable power and reset the phy. Signed-off-by: Zubair Lutfullah Kakakhel Signed-off-by: Paul Burton --- V4 Reordered an error check. PTR_ERR inside

[PATCH RESEND v9 10/10] sched: move cfs task on a CPU with higher capacity

2015-01-15 Thread Vincent Guittot
When a CPU is used to handle a lot of IRQs or some RT tasks, the remaining capacity for CFS tasks can be significantly reduced. Once we detect such situation by comparing cpu_capacity_orig and cpu_capacity, we trig an idle load balance to check if it's worth moving its tasks on an idle CPU. Once

RE: [PATCH v8 9/11] xfstests: generic/043: Test multiple fallocate insert/collapse range calls

2015-01-15 Thread Namjae Jeon
> > +_require_scratch > > +_require_xfs_io_command "fiemap" > > +_require_xfs_io_command "finsert" > > +_require_xfs_io_command "fcollapse" > > +_do_die_on_error=y > > What is _do_die_on_error for? Seems like that's only relevant for using > _do()? > > > +src=$SCRATCH_MNT/testfile > >

Re: [PATCH v7 0/4] hwspinlock core & omap dt support

2015-01-15 Thread Ohad Ben-Cohen
Hi Suman, On Wed, Jan 14, 2015 at 10:58 PM, Suman Anna wrote: > This is an updated version of the hwspinlock dt support series, > rebased onto v3.19-rc3 and mainly addresses the continued discussion > on the need to maintain a list of registered spinlock banks [1]. > I have removed this patch as

RE: [PATCH v8 11/11] xfstests: fsx: Add fallocate insert range operation

2015-01-15 Thread Namjae Jeon
> > } > > do_collapse_range(offset, size); > > break; > > + case OP_INSERT_RANGE: > > + TRIM_OFF(offset, file_size); > > + TRIM_LEN(offset, size, maxfilelen - file_size); > > Ugh, I hit a crash down in do_insert_range() due to the

[PATCH RESEND v9 06/10] sched: add per rq cpu_capacity_orig

2015-01-15 Thread Vincent Guittot
This new field cpu_capacity_orig reflects the original capacity of a CPU before being altered by rt tasks and/or IRQ The cpu_capacity_orig will be used: - to detect when the capacity of a CPU has been noticeably reduced so we can trig load balance to look for a CPU with better capacity. As an

[PATCH RESEND v9 08/10] sched: replace capacity_factor by usage

2015-01-15 Thread Vincent Guittot
The scheduler tries to compute how many tasks a group of CPUs can handle by assuming that a task's load is SCHED_LOAD_SCALE and a CPU's capacity is SCHED_CAPACITY_SCALE. group_capacity_factor divides the capacity of the group by SCHED_LOAD_SCALE to estimate how many task can run in the group.

[PATCH RESEND v9 05/10] sched: make scale_rt invariant with frequency

2015-01-15 Thread Vincent Guittot
The average running time of RT tasks is used to estimate the remaining compute capacity for CFS tasks. This remaining capacity is the original capacity scaled down by a factor (aka scale_rt_capacity). This estimation of available capacity must also be invariant with frequency scaling. A frequency

[PATCH RESEND v9 03/10] sched: remove frequency scaling from cpu_capacity

2015-01-15 Thread Vincent Guittot
Now that arch_scale_cpu_capacity has been introduced to scale the original capacity, the arch_scale_freq_capacity is no longer used (it was previously used by ARM arch). Remove arch_scale_freq_capacity from the computation of cpu_capacity. The frequency invariance will be handled in the load

[PATCH RESEND v9 01/10] sched: add utilization_avg_contrib

2015-01-15 Thread Vincent Guittot
Add new statistics which reflect the average time a task is running on the CPU and the sum of these running time of the tasks on a runqueue. The latter is named utilization_load_avg. This patch is based on the usage metric that was proposed in the 1st versions of the per-entity load tracking

[PATCH][trivial] ALSA:hda - Fix typo in hda_controller.c

2015-01-15 Thread Masanari Iida
This patch fix spelling typo in hda_controller.c. Signed-off-by: Masanari Iida --- sound/pci/hda/hda_controller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c index 0cfc9c8..657b604 100644 ---

Re: [PATCH v2] usb: dwc2: call dwc2_is_controller_alive() under spinlock

2015-01-15 Thread Robert Baldyga
Hi, On 01/15/2015 07:24 AM, Felipe Balbi wrote: >>> This is really, really odd. Register accesses are atomic, so the >>> lock >>> isn't really doing anything. Besides, you're calling >>> dwc2_is_controller_alive() from within the IRQ handler, so IRQs are

Re: [PATCH v10] iopoll: Introduce memory-mapped IO polling macros

2015-01-15 Thread Will Deacon
On Wed, Jan 14, 2015 at 07:42:53PM +, Mitchel Humpherys wrote: > On Tue, Dec 16 2014 at 01:45:27 AM, Will Deacon wrote: > > On Mon, Dec 15, 2014 at 11:47:23PM +, Mitchel Humpherys wrote: > >> From: Matt Wagantall > >> > >> It is sometimes necessary to poll a memory-mapped register until

[RFC PATCH] NFC: st21nfcb: Avoid use of skb after free

2015-01-15 Thread Anda-Maria Nicolae
Do not insert in send queue the skb that contains unknown Packet Control Byte Signed-off-by: Anda-Maria Nicolae --- Only compile tested, please have a look drivers/nfc/st21nfcb/ndlc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nfc/st21nfcb/ndlc.c

[PATCH] [trivial] ASoC: Fix typo in bt-sco.c

2015-01-15 Thread Masanari Iida
This patch fix spelling typo in bt-sco.c Signed-off-by: Masanari Iida --- sound/soc/codecs/bt-sco.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/bt-sco.c b/sound/soc/codecs/bt-sco.c index 5075bf0..e7238b8 100644 --- a/sound/soc/codecs/bt-sco.c +++

Re: [GIT PULL] RAS update for 3.20

2015-01-15 Thread Ingo Molnar
* Borislav Petkov wrote: > Hi guys, > > please queue this for 3.20. > > Thanks. > > --- > The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: > > Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) > > are available in the git repository at: > >

Re: [GIT PULL] RAS update for 3.20

2015-01-15 Thread Ingo Molnar
* Luck, Tony wrote: > > Nothing special this time, just an error messages improvement from Andy > > and a cleanup from me. > > Also this APEI change that hasn't seen much commentary since Tomas Nowicki > pointed > out that v1 had cluttered up the APEI code with some x86-ism after he'd spent

[PATCH v3 1/2] irqchip: devicetree: document Conexant Digicolor irq binding

2015-01-15 Thread Baruch Siach
Signed-off-by: Baruch Siach --- .../bindings/interrupt-controller/digicolor-ic.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/digicolor-ic.txt diff --git

[PATCH v3 0/2] irqchip: Conexant CX92755 interrupts controller support

2015-01-15 Thread Baruch Siach
This short series adds support for the Conexant CX92755 SoC interrupts controller. This SoC is part of the Conexant Digicolor series of SoCs. v3: * Split from the "ARM: Conexant Digicolor CX92755 SoC support" series, as these patches should go via the irqchip maintainers * Use

[PATCH v3 2/2] irqchip: Conexant CX92755 interrupts controller driver

2015-01-15 Thread Baruch Siach
Add interrupt controller driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Use the generic irq framework support. Use syscon to access the system global UC_IRQ_CONTROL register. Signed-off-by: Baruch Siach --- drivers/irqchip/Makefile| 1 +

Re: [PATCH v2 2/2] fixup! net/macb: improved ethtool statistics support

2015-01-15 Thread Nicolas Ferre
Le 14/01/2015 23:20, Xander Huff a écrit : > Add spaces around arithmetic operators. > Make a separate gem_ethtool_ops for the new statistics functions. > Adjust new block comments to match the existing comments in macb.h. I wouldn't have mixed the 3 modification in one patch. More comments

Re: [GIT PULL] x86/entry changes for 3.20, round 1

2015-01-15 Thread Ingo Molnar
* Paul E. McKenney wrote: > On Wed, Jan 14, 2015 at 05:59:26PM -0800, Andy Lutomirski wrote: > > Hi Ingo and Thomas, > > > > At Linus' suggestion, I'm trying out some maintainerish stuff for x86 > > entry code. Please consider pulling to an appropriate branch *after > > Paul sends his RCU

Re: [3/5, media] pwc-if: fix build warning when !CONFIG_USB_PWC_INPUT_EVDEV

2015-01-15 Thread Hans de Goede
Hi, On 02-10-14 01:10, Luis Henriques wrote: Label err_video_unreg in function usb_pwc_probe() is only used when CONFIG_USB_PWC_INPUT_EVDEV is defined. drivers/media/usb/pwc/pwc-if.c:1104:1: warning: label 'err_video_unreg' defined but not used [-Wunused-label] Signed-off-by: Luis Henriques

Re: [Xen-devel] [PATCH 3/8] x86/xen/p2m: Replace ACCESS_ONCE with READ_ONCE

2015-01-15 Thread David Vrabel
On 15/01/15 08:58, Christian Borntraeger wrote: > ACCESS_ONCE does not work reliably on non-scalar types. For > example gcc 4.6 and 4.7 might remove the volatile tag for such > accesses during the SRA (scalar replacement of aggregates) step > (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145) >

Re: [PATCH] sched,numa: do not move past the balance point if unbalanced

2015-01-15 Thread Peter Zijlstra
On Mon, Jan 12, 2015 at 04:30:39PM -0500, Rik van Riel wrote: > There is a subtle interaction between the logic introduced in commit > e63da03639cc9e6e83b62e7ef8ffdbb92421416a, the way the load balancer e63da03639cc ("sched/numa: Allow task switch if load imbalance improves") I have the below

Re: [PATCH v3 2/2] x86, arm, platform, xen, kconfig: add xen defconfig helper

2015-01-15 Thread Stefano Stabellini
On Wed, 14 Jan 2015, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > This lets you build a kernel which can support xen dom0 > or xen guests by just using: > >make xenconfig > > on both x86 and arm64 kernels. This also splits out the > options which are available currently to be

Re: [PATCH 3.16.y-ckt 075/216] drm/i915: Disallow pin ioctl completely for kms drivers

2015-01-15 Thread Luis Henriques
On Tue, Jan 13, 2015 at 07:33:57PM +, Luis Henriques wrote: > On Mon, Jan 12, 2015 at 06:03:12PM +, Luis Henriques wrote: > > 3.16.7-ckt4 -stable review patch. If anyone has any objections, please let > > me know. > > > > Hi Daniel and Chris, > > Thomas Voegtle (on Cc:) reported a

Re: [PATCH v3 3/4] ata: libahci: Allow using multiple regulators

2015-01-15 Thread Gregory CLEMENT
Hi Hans, On 15/01/2015 09:46, Hans de Goede wrote: > Hi, > > On 13-01-15 15:22, Gregory CLEMENT wrote: >> The current implementation of the libahci allows using multiple PHYs >> but not multiple regulators. This patch adds the support of multiple >> regulators. Until now it was mandatory to have

Re: [alsa-devel] unload Audio drivers while playback stream is active case kernel crash

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 01:40:49PM +0900, jiwang wrote: > Can we have a more generic fix to this issue? > Or shall we set owner field for all machine drivers? Ideally we should do both. signature.asc Description: Digital signature

Re: [PATCH 1/1] gspca: Add high-speed modes for PS3 Eye camera

2015-01-15 Thread Hans de Goede
Hi, On 04-01-15 16:29, Antonio Ospite wrote: On Mon, 29 Dec 2014 11:00:03 -0400 Joe Howse wrote: Add support in the PS3 Eye driver for QVGA capture at higher frame rates: 187, 150, and 137 FPS. This functionality is valuable because the PS3 Eye is popular for computer vision projects and no

Re: [PATCH 2/3] ftrace: Check both notrace and filter for old hash

2015-01-15 Thread Masami Hiramatsu
(2015/01/15 0:40), Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Using just the filter for checking for trampolines or regs is not enough > when updating the code against the records that represent all functions. > Both the filter hash and the notrace hash need to be checked. > >

Two variants of fixing Tegra20 suspend bug

2015-01-15 Thread Dmitry Osipenko
Hi, this is third attempt to fix Tegra20 suspend bug. First was to use other PMC scratch register for tegra_resume() address store and second to use syscore ops for PMC driver. Thierry Reding proposed other solution: to use IRAM instead of PMC scratch register. I prepared two implementation

[PATCH] ARM: tegra20: Store CPU "resettable" status in IRAM

2015-01-15 Thread Dmitry Osipenko
Commit 7232398abc6a ("ARM: tegra: Convert PMC to a driver") changed tegra_resume() location storing from late to early and, as a result, broke suspend on Tegra20. PMC scratch register 41 is used by tegra LP1 resume code for retrieving stored physical memory address of common resume function and

[PATCH] ARM: tegra: Store tegra_resume() address in IRAM

2015-01-15 Thread Dmitry Osipenko
Commit 7232398abc6a ("ARM: tegra: Convert PMC to a driver") changed tegra_resume() location storing from late to early and, as a result, broke suspend on Tegra20. PMC scratch register 41 is used by tegra LP1 resume code for retrieving stored physical memory address of common resume function and

Re: [PATCH] usb: Fix typo in `struct usb_host_interface' comment

2015-01-15 Thread Oliver Neukum
On Wed, 2015-01-14 at 21:52 -0600, Chris Rorvick wrote: > The descriptor member `bNumEndpoints' is plural. I am afraid that is not a good idea. The name of a member of a structure mentioned in the specification should appear as it is used in the specification. Regards

Re: [PATCH][trivial] ALSA:hda - Fix typo in hda_controller.c

2015-01-15 Thread Takashi Iwai
At Thu, 15 Jan 2015 19:22:19 +0900, Masanari Iida wrote: > > This patch fix spelling typo in hda_controller.c. > > Signed-off-by: Masanari Iida Applied, thanks. Takashi > --- > sound/pci/hda/hda_controller.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: backport a4dba130891271084344c12537731542ec77cb85 to 3.16+

2015-01-15 Thread Luis Henriques
On Mon, Jan 12, 2015 at 06:09:33PM +, Stefano Stabellini wrote: > Hi all, > I would like to request a backport of the following commit: > > > commit a4dba130891271084344c12537731542ec77cb85 > Author: Stefano Stabellini > Date: Fri Nov 21 11:07:39 2014 + > > xen/arm/arm64:

Re: [PATCH v6 2/4] KVM: introduce kvm_arch_intc_initialized

2015-01-15 Thread Christoffer Dall
On Tue, Jan 13, 2015 at 06:33:38PM +0100, Eric Auger wrote: > Introduce __KVM_HAVE_ARCH_INTC_INITIALIZED define and > associated kvm_arch_intc_initialized function. This latter > allows to test whether the virtual interrupt controller is initialized > and ready to accept virtual IRQ injection. On

Re: [PATCH v6 3/4] KVM: arm/arm64: implement kvm_arch_intc_initialized and use it in irqfd

2015-01-15 Thread Christoffer Dall
On Tue, Jan 13, 2015 at 06:33:39PM +0100, Eric Auger wrote: > On arm/arm64 the VGIC is dynamically instantiated and it is useful > to expose its state, especially for irqfd setup. > > This patch defines __KVM_HAVE_ARCH_INTC_INITIALIZED and > implements kvm_arch_intc_initialized. > > The new

Re: [PATCH] [trivial] ASoC: Fix typo in bt-sco.c

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 07:29:28PM +0900, Masanari Iida wrote: > This patch fix spelling typo in bt-sco.c Applied, thanks. signature.asc Description: Digital signature

Re: [Xen-devel] [PATCH 3/8] x86/xen/p2m: Replace ACCESS_ONCE with READ_ONCE

2015-01-15 Thread Christian Borntraeger
Am 15.01.2015 um 11:43 schrieb David Vrabel: > On 15/01/15 08:58, Christian Borntraeger wrote: >> ACCESS_ONCE does not work reliably on non-scalar types. For >> example gcc 4.6 and 4.7 might remove the volatile tag for such >> accesses during the SRA (scalar replacement of aggregates) step >>

Re: [PATCH] pci: generic host: make it more generic

2015-01-15 Thread Alexander Graf
On 11.11.14 11:33, Ming Lei wrote: > This patch converts the generic host controller driver > into a more generic one, and basically don't need > platform's pcibios support, and use DT based generic > APIs to parse resource and remap IO port. > > This patch has been tested on both ARMv7 and ARMv8

[PATCH v3] usb: dwc2: call dwc2_is_controller_alive() under spinlock

2015-01-15 Thread Robert Baldyga
This patch fixes the following problem: data transmission in direction IN break unless the GSNPSID register access is done with spinlock held. This issue occurs at least in Exynos4412 SoC, probably in many SoC's from Exynos familly. The problem is described here:

[PATCH 00/10] mfd: rtsx: add support for new rts524A and rts525A

2015-01-15 Thread micky_ching
From: Micky Ching This patchset including re-format some coding-style and add two new chip rts524A and rts525A. Micky Ching (10): mfd: rtsx: replace TAB by SPC after #define mfd: rtsx: place register address and values togather mfd: rtsx: add debug info when access register failed mfd:

[PATCH 07/10] mfd: rtsx: remove LCTLR defination

2015-01-15 Thread micky_ching
From: Micky Ching To enable/disable ASPM we should find LINK CONTROL register in PCI config space. All old chip use 0x80 address, but new chip may use another address, so we using pci_find_capability() to get LINK CONTROL address. rtsx_gops.c was removed, we consider to put some common

Re: 3.19-rc4: Xen pci-passthrough regression, bisected to commit cffe0a2b5a34c95a4dadc9ec7132690a5b0f6687 "x86, irq: Keep balance of IOAPIC pin reference count"

2015-01-15 Thread Jiang Liu
Hi Sander, It really cost me some time to understand HVM, PVH, Dom0, PV and read Xen interrupt related code:( Now I have basic understanding of related staffs. The patch for previous issue is actually wrong and I'm working on another fixes for it. I will handle this issue once getting done

[PATCH 05/10] mfd: rtsx: update driving settings

2015-01-15 Thread micky_ching
From: Micky Ching update card drive settings, This setting can be used for rts5249 rts524A and rts525A. Signed-off-by: Micky Ching --- drivers/mfd/rts5249.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/rts5249.c b/drivers/mfd/rts5249.c index

[PATCH 04/10] mfd: rtsx: update PETXCFG address

2015-01-15 Thread micky_ching
From: Micky Ching PETXCFG is defined at 0xFF03, the old 0xFE49 not used any more. Signed-off-by: Micky Ching --- drivers/mfd/rts5227.c| 6 ++ drivers/mfd/rts5249.c| 6 ++ include/linux/mfd/rtsx_pci.h | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git

[PATCH 10/10] mfd: rtsx: using pcr_dbg replace dev_dbg

2015-01-15 Thread micky_ching
From: Micky Ching pcr_dbg is a wrapper of dev_dbg, which can save some code, and help to enable/disable debug message static. Signed-off-by: Micky Ching --- drivers/mfd/rtl8411.c | 11 +-- drivers/mfd/rts5209.c | 4 ++-- drivers/mfd/rts5227.c | 4 ++-- drivers/mfd/rts5229.c | 4

[PATCH 09/10] mfd: rtsx: add support for rts525A

2015-01-15 Thread micky_ching
From: Micky Ching add support for new chip rts525A. Signed-off-by: Micky Ching --- drivers/mfd/rts5249.c | 93 +- drivers/mfd/rtsx_pcr.c | 13 +-- drivers/mfd/rtsx_pcr.h | 1 + 3 files changed, 103 insertions(+), 4 deletions(-) diff --git

[PATCH 06/10] mfd: rtsx: update phy register

2015-01-15 Thread micky_ching
From: Micky Ching update phy register value and using direct value instead of macros. It is much easier to debug using constant value than a lot of macros. We usually need compare the value directly to check the configure. Signed-off-by: Micky Ching --- drivers/mfd/rts5249.c | 46

[PATCH 08/10] mfd: rtsx: add support for rts524A

2015-01-15 Thread micky_ching
From: Micky Ching add support for new chip rts524A. Signed-off-by: Micky Ching --- drivers/mfd/rts5249.c| 112 +++ drivers/mfd/rtsx_pcr.c | 5 ++ drivers/mfd/rtsx_pcr.h | 4 ++ include/linux/mfd/rtsx_pci.h | 87

Re: [PATCH V1] regulator: da9211: fix unmatched of_node and add gpio control

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 10:29:08AM +0900, James Ban wrote: > This is a patch for fixing unmatched of_node and adding gpio control. That sounds like two separate changes to me... > Optional properties: > +- bucka-uses-gpio: BUCKA can be controlled by gpio. > +- bucka-enable-platform-gpio:

[PATCH 01/10] mfd: rtsx: replace TAB by SPC after #define

2015-01-15 Thread micky_ching
From: Micky Ching Re-format coding-style, using uniform SPC after "#define" keyword instead of mixing using TAB and SPC. Signed-off-by: Micky Ching --- include/linux/mfd/rtsx_pci.h | 254 +-- 1 file changed, 127 insertions(+), 127 deletions(-) diff

[PATCH 03/10] mfd: rtsx: add debug info when access register failed

2015-01-15 Thread micky_ching
From: Micky Ching Add debug info when access register failed, this is useful for debug. Signed-off-by: Micky Ching --- drivers/mfd/rtsx_pcr.c | 22 +- include/linux/mfd/rtsx_pci.h | 2 ++ 2 files changed, 19 insertions(+), 5 deletions(-) diff --git

Re: [PATCHv2 2/2] spi: orion: Add multiple chip select support to spi-orion

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 11:07:12AM +1000, Ken Wilson wrote: > I agree that we could support any sane chip select for a slave, since the > slave addresses do need > to be explicitly defined. I'm happy with whatever your preference is. Just accepting anything seems easier both for users and in

[GIT PULL] fbdev fixes for 3.19

2015-01-15 Thread Tomi Valkeinen
Hi Linus, Please pull fbdev fixes for 3.19: The following changes since commit eaa27f34e91a14cdceed26ed6c6793ec1d186115: linux 3.19-rc4 (2015-01-11 12:44:53 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git tags/fbdev-fixes-3.19

[PATCH 02/10] mfd: rtsx: place register address and values togather

2015-01-15 Thread micky_ching
From: Micky Ching It is more readable to place register address and values define togather. The values define add two leading space indicate belong to the register address defined above. Signed-off-by: Micky Ching --- include/linux/mfd/rtsx_pci.h | 836

Re: Another SCHED_DEADLINE bug (with bisection and possible fix)

2015-01-15 Thread Luca Abeni
Hi Kirill, On 01/14/2015 01:43 PM, Kirill Tkhai wrote: [...] Say we have a userspace task that evaluates and changes runtime parameters for other tasks (basically what Luca is doing IIRC), and the changes keep resetting the sleep time, the whole guarantee system comes down, rendering the

Re: [PATCH] fbdev: ssd1307fb: drop unused function ssd1307fb_write_data()

2015-01-15 Thread Tomi Valkeinen
On 12/01/15 21:21, Lad, Prabhakar wrote: > this patch drops the unused function ssd1307fb_write_data(). > > Signed-off-by: Lad, Prabhakar > --- > drivers/video/fbdev/ssd1307fb.c | 17 - > 1 file changed, 17 deletions(-) > > diff --git a/drivers/video/fbdev/ssd1307fb.c

Re: [PATCH 1/2] fbdev: ssd1307fb: set default height if not found in DT node

2015-01-15 Thread Tomi Valkeinen
On 08/01/15 10:17, Lad, Prabhakar wrote: > this patch sets the default height if its not found in DT. > > Signed-off-by: Lad, Prabhakar > --- > drivers/video/fbdev/ssd1307fb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/video/fbdev/ssd1307fb.c

Re: [PATCH] char: Added support for u-blox 6 i2c gps driver

2015-01-15 Thread One Thousand Gnomes
Which kernel did you see the write_room oops ? and I'll double check its all fixed. > >> + ublox_gps_i2c_client = client; > >> + ublox_gps_filp = NULL; > >> + ublox_gps_tty_port = NULL; > >> + ublox_gps_is_open = false; > > > > There are some other i2c based tty drivers in the

[git pull] m68k updates for 3.19 (take 2)

2015-01-15 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit b1940cd21c0f4abdce101253e860feff547291b0: Linux 3.19-rc3 (2015-01-05 17:05:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-linus for you to fetch changes up to

Re: [RESEND PATCH v3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-15 Thread Mark Rutland
On Wed, Jan 14, 2015 at 11:57:00PM +, Chanwoo Choi wrote: > Hi Kukjin, > > On 01/15/2015 01:02 AM, Daniel Lezcano wrote: > > On 01/14/2015 04:51 PM, Kukjin Kim wrote: > >> On 01/14/15 14:33, Chanwoo Choi wrote: > >> > >> Hi, > >> > >> + Doug, Olof > >> > >>> This patch adds the support for

[RFC PATCH] fs: file freeze support

2015-01-15 Thread Namjae Jeon
We introduce per-file freeze feature for unifying defrag ext4 and xfs as first ingredient. We get the idea courtesy of Dave Chinner (https://lkml.org/lkml/2014/7/14/759) per-file freeze will be used to avoid that file is not modified while userspace is doing the defrag. This patch tries to

[PATCH] virtio_balloon: coding style fixes

2015-01-15 Thread Michael S. Tsirkin
Most of our code has struct foo { } Fix two instances where balloon is inconsistent. Signed-off-by: Michael S. Tsirkin --- include/uapi/linux/virtio_balloon.h | 3 +-- drivers/virtio/virtio_balloon.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v4 20/20] kbuild: add a new kselftest_install make target to install selftests

2015-01-15 Thread Michal Marek
On 2015-01-14 17:32, Shuah Khan wrote: > On 01/06/2015 12:43 PM, Shuah Khan wrote: >> Add a new make target to install to install kernel selftests. >> This new target will build and install selftests. kselftest >> target now depends on kselftest_install and runs the generated >> kselftest script

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-15 Thread One Thousand Gnomes
On Wed, 14 Jan 2015 11:12:58 -0700 Jason Gunthorpe wrote: > On Wed, Jan 14, 2015 at 04:06:17PM +, One Thousand Gnomes wrote: > > > and I think you effectively have the user usage covered here for such > > things. It much like GPIO pins - we can describe them but we can also > > declare they

Re: [PATCH] clocksource: timer-atmel-pit: don't suspend/resume if unused

2015-01-15 Thread Daniel Lezcano
On 01/13/2015 11:47 AM, Thomas Gleixner wrote: On Mon, 12 Jan 2015, Daniel Lezcano wrote: On 01/12/2015 03:04 PM, Nicolas Ferre wrote: Le 18/12/2014 15:05, Nicolas Ferre a écrit : From: Sylvain Rochet Waiting for PIT to stop counting takes a long time: 1/(Master clock/prescaler/PIVR) =

[patch] ti-st: clean up data types (fix harmless memory corruption)

2015-01-15 Thread Dan Carpenter
The big issue here is: of_property_read_u32(np, "flow_cntrl", (u32 *)_pdata->flow_cntrl); "->flow_cntrl" is a char so when we write a 32 bit number to it then it corrupts past the end of the char. It's probably hard to notice because the struct has padding so the code works on little

[PATCH] virtio_blk: coding style fixes

2015-01-15 Thread Michael S. Tsirkin
Most of our code has struct foo { } Fix two instances where blk is inconsistent. Signed-off-by: Michael S. Tsirkin --- drivers/block/virtio_blk.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index

Re: [PATCH -mm v2] vmscan: move reclaim_state handling to shrink_slab

2015-01-15 Thread Hillf Danton
> current->reclaim_state is only used to count the number of slab pages > reclaimed by shrink_slab(). So instead of initializing it before we are > going to call try_to_free_pages() or shrink_zone(), let's set in > directly in shrink_slab(). > > Note that after this patch

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-15 Thread Mark Brown
On Thu, Jan 15, 2015 at 11:36:17AM +, One Thousand Gnomes wrote: > yes - there is a model for this in Linux already. Some of the audio > subsystems have "firmware" files distributed which are actually a > structured file that userspace parses to get a real set of firmware for > the controller

RE: [PATCH v2 1/2] fixup! net/macb: Adding comments to various #defs to make interpretation easier

2015-01-15 Thread David Laight
From: Xander Huff > Put #define comments into a single line. Breaks the 80 char limit. I suspect the definitions could be made to fit by judicial editing. But that probably requires knowing exactly what the comments mean. David > Signed-off-by: Xander Huff > --- >

[PATCH] virtio_rng: drop extra empty line

2015-01-15 Thread Michael S. Tsirkin
makes code look a bit prettier. Signed-off-by: Michael S. Tsirkin --- drivers/char/hw_random/virtio-rng.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c index 72295ea..3fa2f8a 100644 ---

[PATCH] cris: Remove unnecessary KERN_INFO from sync_serial.c

2015-01-15 Thread Masanari Iida
This patch remove unnecessary KERN_INFO in sync_serial.c Signed-off-by: Masanari Iida --- arch/cris/arch-v32/drivers/sync_serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/cris/arch-v32/drivers/sync_serial.c b/arch/cris/arch-v32/drivers/sync_serial.c index

Re: [PATCH] clocksource: timer-atmel-pit: don't suspend/resume if unused

2015-01-15 Thread Alexandre Belloni
Hi, I'll do it but only if you review my other series :) On 15/01/2015 at 12:41:27 +0100, Daniel Lezcano wrote : > On 01/13/2015 11:47 AM, Thomas Gleixner wrote: > >On Mon, 12 Jan 2015, Daniel Lezcano wrote: > > > >>On 01/12/2015 03:04 PM, Nicolas Ferre wrote: > >>>Le 18/12/2014 15:05, Nicolas

Re: [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table

2015-01-15 Thread Mark Brown
On Mon, Dec 15, 2014 at 11:31:11AM +0800, Bo Shen wrote: > +#ifdef CONFIG_OF > +static enum wm8904_type wm8904_data = WM8904; > +static enum wm8904_type wm8912_data = WM8912; > + > +static const struct of_device_id wm8904_of_match[] = { > + { > + .compatible = "wlf,wm8904", > +

Re: [PATCH 3/3] ftrace/jprobes/x86: Fix conflict between jprobes and function graph tracing

2015-01-15 Thread Masami Hiramatsu
Hi Steven, Thank you for fixing this bug! (2015/01/15 0:40), Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > If the function graph tracer traces a jprobe callback, the system will > crash. This can easily be demonstrated by compiling the jprobe > sample module that is in the

Re: [PATCH V2 18/24] irqchip: mips-gic: Stop using per-platform mapping tables

2015-01-15 Thread James Hogan
Hi Andrew, On 18/09/14 22:47, Andrew Bresticker wrote: > Now that the GIC properly uses IRQ domains, kill off the per-platform > routing tables that were used to make the GIC appear transparent. > > This includes: > - removing the mapping tables and the support for applying them, > - moving

Re: [PATCH v3 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-15 Thread Wolfram Sang
> >> + case M_CMD_STATUS_LOST_ARB: > >> + dev_err(dev->device, "lost bus arbitration\n"); > > I wouldn't dev_err that, only dev_dbg. I'm not sure how usual the errors > > for the next two cases is, maybe degrade them to dev_dbg, too? > > > These errors are rare, and it's nice to keep

[PATCH 1/1] MAINTEINERS: email update

2015-01-15 Thread Dmitry Kasatkin
Changed to my private email address as I left Samsung. Signed-off-by: Dmitry Kasatkin --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index ccb0fef..0ee6758 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4655,7 +4655,7 @@ F:

Re: [PATCH v4 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-15 Thread Wolfram Sang
> > + iproc_i2c->msg = msg; > Can it happen that iproc_i2c->msg still holds an uncompleted message > here or is this serialized by the core? Wolfram? Either here something We have per-adapter locks serializing transfers, if you mean that? > > +static int bcm_iproc_i2c_cfg_speed(struct

Re: Re: [PATCH v2 3/4] perf probe: Do not rely on map__load() filter to find symbols

2015-01-15 Thread Masami Hiramatsu
(2015/01/14 22:54), Arnaldo Carvalho de Melo wrote: > Em Wed, Jan 14, 2015 at 08:18:07PM +0900, Namhyung Kim escreveu: >> The find_probe_trace_events_from_map() searches matching symbol from a >> map (so from a backing dso). For uprobes, it'll create a new map (and >> dso) and loads it using a

Re: [PATCH v2 4/4] perf probe: Fix probing kretprobes

2015-01-15 Thread Masami Hiramatsu
(2015/01/14 20:18), Namhyung Kim wrote: > The commit dfef99cd0b2c ("perf probe: Use ref_reloc_sym based address > instead of the symbol name") converts kprobes to use ref_reloc_sym > (i.e. _stext) and offset instead of using symbol's name directly. So > on my system, adding do_fork ends up with

LED-LENSER flashlight

2015-01-15 Thread LED-LENSER
How is your business? This is Hellen from JRS Technology Co.,Ltd. Good News,NOW the LED LENSER H14.2 Headlamp and LED LENSER P7.2 H14R.2 rechargeable headlamp are available. And others LED LENSER flashlight models are all have competitive price. For more products information.please contact us in

[PATCH v2 1/1] MAINTAINERS: email update

2015-01-15 Thread Dmitry Kasatkin
Changed to my private email address as I left Samsung. Signed-off-by: Dmitry Kasatkin --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index ccb0fef..0ee6758 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4655,7 +4655,7 @@ F:

Re: [PATCH v3 1/3] perf tools: Add from argument to dso__find_symbol_by_name()

2015-01-15 Thread Masami Hiramatsu
(2015/01/15 8:48), Namhyung Kim wrote: > When a dso contains multiple symbols which have same name, current > dso__find_symbol_by_name() only finds an one of them and there's no way > to get the all symbols without going through the rbtree. > > So add the new 'from' argument to

[PATCH 1/2] virtio_pci: Kconfig grammar fix

2015-01-15 Thread Michael S. Tsirkin
This drivers -> this driver. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig index 00b2286..8286b63 100644 --- a/drivers/virtio/Kconfig +++ b/drivers/virtio/Kconfig

[PATCH 2/2] virtio_pci: drop Kconfig warnings

2015-01-15 Thread Michael S. Tsirkin
The ABI *is* stable, and has been for a while now. Drop Kconfig warning saying that it's not guaranteed to work. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig index

[PATCH v2 0/1] Email update

2015-01-15 Thread Dmitry Kasatkin
Hello, Sorry for the ugly typo in MAINTAINERS. - Dmitry Dmitry Kasatkin (1): MAINTAINERS: email update MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v3 2/3] perf probe: Do not rely on map__load() filter to find symbols

2015-01-15 Thread Masami Hiramatsu
(2015/01/15 8:48), Namhyung Kim wrote: > The find_probe_trace_events_from_map() searches matching symbol from a > map (so from a backing dso). For uprobes, it'll create a new map (and > dso) and loads it using a filter. It's a little bit inefficient in that > it'll read out the symbol table

Re: [PATCH v3 3/3] perf probe: Fix probing kretprobes

2015-01-15 Thread Masami Hiramatsu
(2015/01/15 8:48), Namhyung Kim wrote: > The commit dfef99cd0b2c ("perf probe: Use ref_reloc_sym based address > instead of the symbol name") converts kprobes to use ref_reloc_sym > (i.e. _stext) and offset instead of using symbol's name directly. So > on my system, adding do_fork ends up with

Re: [PATCH] clocksource: timer-atmel-pit: don't suspend/resume if unused

2015-01-15 Thread Daniel Lezcano
On 01/15/2015 12:52 PM, Alexandre Belloni wrote: Hi, I'll do it but only if you review my other series :) deal ! ;) -- Daniel On 15/01/2015 at 12:41:27 +0100, Daniel Lezcano wrote : On 01/13/2015 11:47 AM, Thomas Gleixner wrote: On Mon, 12 Jan 2015, Daniel Lezcano wrote: On

Re: Another SCHED_DEADLINE bug (with bisection and possible fix)

2015-01-15 Thread Peter Zijlstra
On Thu, Jan 15, 2015 at 12:23:43PM +0100, Luca Abeni wrote: > There are some parts of the patch that I do not understand (for example: > if I understand well, if the task is not throttled you set dl_new to 1... > And if it is throttled you change its current runtime and scheduling > deadline... >

Re: [PATCH v8 9/11] xfstests: generic/043: Test multiple fallocate insert/collapse range calls

2015-01-15 Thread Brian Foster
On Thu, Jan 15, 2015 at 07:14:26PM +0900, Namjae Jeon wrote: > > > > +_require_scratch > > > +_require_xfs_io_command "fiemap" > > > +_require_xfs_io_command "finsert" > > > +_require_xfs_io_command "fcollapse" > > > +_do_die_on_error=y > > > > What is _do_die_on_error for? Seems like that's

Re: [PATCH v3] ARM: dts: add bcm2835-pwm bindings

2015-01-15 Thread Bart Tanghe
I'm really sorry. I've used the wrong source. I make v4. Regards, Bart On 01/14/2015 06:06 PM, Stephen Warren wrote: > On 01/14/2015 02:18 AM, Bart Tanghe wrote: >> To probe the bcm2835-pwm driver properly, this dts bindings has to be added >> to the bcm2835 dtsi file. >> In expectation of a

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