* Arnaldo Carvalho de Melo wrote:
> Hi Ingo,
>
> Please consider pulling,
>
> - Arnaldo
>
> The following changes since commit 8eb22c984eb9eeaed47130f5679acd367af69678:
>
> Merge tag 'perf-core-for-mingo-3' of
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Commit-ID: 3a4acda1ecbd290973de08250d7dcdfaf5b2fe0f
Gitweb: http://git.kernel.org/tip/3a4acda1ecbd290973de08250d7dcdfaf5b2fe0f
Author: Adrian Hunter
AuthorDate: Mon, 1 Feb 2016 03:21:04 +
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 2 Feb 2016 12:51:11 -0300
perf tools: Fix
Commit-ID: 270bde1e76f400d81f8d0ab68905a18ee17fa2e8
Gitweb: http://git.kernel.org/tip/270bde1e76f400d81f8d0ab68905a18ee17fa2e8
Author: Hemant Kumar
AuthorDate: Tue, 2 Feb 2016 20:56:46 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 2 Feb 2016 13:30:16 -0300
perf probe: Sear
Commit-ID: ec183d22cc284a7a1e17f0341219d8ec8ca070cc
Gitweb: http://git.kernel.org/tip/ec183d22cc284a7a1e17f0341219d8ec8ca070cc
Author: Adrian Hunter
AuthorDate: Tue, 26 Jan 2016 14:05:20 +0200
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 1 Feb 2016 11:51:15 -0300
perf tools: tr
* Arnaldo Carvalho de Melo wrote:
> Hi Ingo,
>
> Please consider pulling,
>
> - Arnaldo
>
> The following changes since commit 28fb8a5b6e233fc384fb27f9f91f811b40ba9cf8:
>
> Merge tag 'perf-urgent-for-mingo' of
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urge
From: Mateusz Guzik
The code could leak xattrs->lock on error.
Problem introduced with 786534b92f3ce68f4 "tmpfs: listxattr should
include POSIX ACL xattrs".
Signed-off-by: Mateusz Guzik
Signed-off-by: Andreas Gruenbacher
Cc: # 4.4
---
fs/xattr.c | 6 +++---
1 file changed, 3 insertions(+),
Add DT bindings to configurate the PMC_FSMR and PMC_FSPR registers
to trigger a fast restart signal to PMC.
Signed-off-by: Wenyou Yang
---
Changes in v2:
- change the property name and property description.
.../devicetree/bindings/arm/atmel-pmc.txt | 63
1 file
The fast startup signal is used as wake up sources for ULP1 mode.
As soon as a fast startup signal is asserted, the embedded 12 MHz
RC oscillator restarts automatically.
This patch is to configure the fast startup signals, which signal
is enabled to trigger the PMC to wake up the system from ULP1
The ULP1 (Ultra Low-power mode 1) is introduced by SAMA5D2.
In the ULP1 mode, all the clocks are shut off, inclusive the embedded
12MHz RC oscillator, so as to achieve the lowest power consumption
with the system in retention mode and able to resume on the wake up
events. As soon as the wake up ev
On Thu 04-02-16 07:37:23, Michal Hocko wrote:
> On Wed 03-02-16 11:59:01, Tejun Heo wrote:
> > On Wed, Feb 03, 2016 at 05:48:52PM +0100, Michal Hocko wrote:
> [...]
> > > anything and add_timer_on also for WORK_CPU_UNBOUND is really required
> > > then we should at least preserve WORK_CPU_UNBOUND i
To make the code more legible and prepare to add the ULP1 mode
support in the future, create a separate procedure for the ULP0 mode.
Signed-off-by: Wenyou Yang
---
Changes in v2: None
arch/arm/mach-at91/pm_suspend.S | 65 ---
1 file changed, 40 insertions(
The ULP1 (Ultra Low-power mode 1) is introduced by SAMA5D2.
In order to achieve the lowest power consumption, in the ULP1 mode,
all the clocks are shut off, inclusive the embedded 12MHz RC oscillator.
The fast startup signal is used as a wake up source for ULP1 mode.
As soon as the wake up event
Current implementation of pfmemalloc handling in SLAB has some problems.
1) pfmemalloc_active is set to true when there is just one or more
pfmemalloc slabs in the system, but it is cleared when there is
no pfmemalloc slab in one arbitrary kmem_cache. So, pfmemalloc_active
could be wrongly cleared
Hi,
an updated patch pair addressing the feedback. Originally submitted
in [1]. Still not ready for merge as it needs the usb core [2] change
and an U-Boot change [3] to work properly.
[1] [PATCH 0/2] Set the Raspberry Pi Ethernet MAC address
http://lists.infradead.org/pipermail/linux-rpi-k
The hub and the ethernet in its port 1 are hardwired on the board.
Compared to the adapters that can be plugged into the USB ports, this
one has no serial EEPROM to store its MAC. Nevertheless, the Raspberry Pi
has the MAC address for this adapter in its ROM, accessible from its
firmware.
U-Boot
From: Arnd Bergmann
This takes the MAC address for smsc75xx/smsc95xx USB network devices
from a the device tree. This is required to get a usable persistent
address on the popular beagleboard, whose hardware designers
accidentally forgot that an ethernet device really requires an a
MAC address to
On Thu, 2016-02-04 at 06:28 +, Peter Chen wrote:
>
> > Lubomir Rintel writes:
> >
> > > diff --git a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
> > > b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
> > > index ef54050..32bbd2a 100644
> > > --- a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
> > > +++ b
2016-02-04 12:28 GMT+09:00 Herbert Xu :
> On Thu, Feb 04, 2016 at 11:25:27AM +0800, Li, Weigang wrote:
>>
>> Please can you advise how to get the acomp patch accepted?
>
> Can you do a posting of these patches without scomp so we can
> evaluate the effects?
>
Do you think not to merge scomp? Pleas
Currently /proc/kpageflags returns nothing for "tail" buddy pages, which
is inconvenient when grasping how free pages are distributed. This patch
sets KPF_BUDDY for such pages.
With this patch:
$ grep MemFree /proc/meminfo ; tools/vm/page-types -b buddy
MemFree: 3134992 kB
Currently /proc/kpageflags returns just KPF_COMPOUND_TAIL for slab tail pages,
which is inconvenient when grasping how slab pages are distributed (userspace
always needs to check which kind of tail pages by itself). This patch sets
KPF_SLAB for such pages.
With this patch:
$ grep Slab /proc/mem
/proc/pid/pagemap (pte_to_pagemap_entry() internally) already reports about
swap entry, so let's make the in-kernel utility aware of it.
Signed-off-by: Naoya Horiguchi
---
tools/vm/page-types.c | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git v4.5-
> I have 2 major comments here. First of all, you should break up your patch
> into smaller ones. Large patch like the one in the tar ball is hard to
> review.
Ok, we will do it.
>Secondly, you are modifying over 1000 lines of code in mm/slab.c
> with some modest increase in performance. That can
On 04.02.2016 11:03, Laxman Dewangan wrote:
>
> On Thursday 04 February 2016 05:40 AM, Krzysztof Kozlowski wrote:
>> On 03.02.2016 22:47, Laxman Dewangan wrote:
>>>
>>> Changes from V2:
>>> - Taken care of missed sequence for removing the resource.
>>> - Fix the crash when doing unbind by using re
On Tue, 2016-02-02 at 01:19 +0800, Liguo Zhang wrote:
> If 4GB mode is enable, we should add 4gb mode support in i2c driver.
> Set 4GB mode register to support 4GB mode.
>
> Signed-off-by: Liguo Zhang
> ---
> change in v6:
> Remove unnecessary init for reg_4g_mode.
> change in v5:
> Use BIT_ULL()
On Wed 03-02-16 15:10:57, David Rientjes wrote:
> On Wed, 3 Feb 2016, Michal Hocko wrote:
>
> > diff --git a/mm/oom_kill.c b/mm/oom_kill.c
> > index 8e345126d73e..b87acdca2a41 100644
> > --- a/mm/oom_kill.c
> > +++ b/mm/oom_kill.c
> > @@ -420,6 +420,7 @@ static struct task_struct *oom_reaper_th;
>
Hi,
On Thursday 04 February 2016 12:01 PM, Kishon Vijay Abraham I wrote:
> OCP2SCP doesn't support smart idle wakeup according to
> DRA72x_SR1.0_NDA_TRM_vL and DRA75x_DRA74x_SR1.1_NDA_TRM_vW.
Ignore this patch. I'll re-send the patch with a public TRM link.
Thanks
Kishon
> Remove SIDLE_SMART_WK
On Wed, Feb 03, 2016 at 11:35:26PM +0100, Arnd Bergmann wrote:
> The phy-am335x driver selects 'USB_COMMON', but all other drivers
> use 'depends on' for that symbol, and it depends on USB || USB_GADGET
> itself, which causes a Kconfig warning:
>
> warning: (AM335X_PHY_USB) selects USB_COMMON whic
On 03-02-16, 19:32, Viresh Kumar wrote:
> We used to drop policy->rwsem just before calling __cpufreq_governor()
> in some cases earlier and so it was possible that __cpufreq_governor()
> runs concurrently via separate threads.
>
> In order to guarantee valid state transitions for governors,
> 'go
On Wed 03-02-16 15:48:18, David Rientjes wrote:
> On Wed, 3 Feb 2016, Michal Hocko wrote:
>
> > From: Michal Hocko
> >
> > This is based on the idea from Mel Gorman discussed during LSFMM 2015 and
> > independently brought up by Oleg Nesterov.
> >
> > The OOM killer currently allows to kill onl
On Wed 03-02-16 11:59:01, Tejun Heo wrote:
> On Wed, Feb 03, 2016 at 05:48:52PM +0100, Michal Hocko wrote:
[...]
> > anything and add_timer_on also for WORK_CPU_UNBOUND is really required
> > then we should at least preserve WORK_CPU_UNBOUND in dwork->cpu so that
> > __queue_work can actually move
OCP2SCP doesn't support smart idle wakeup according to
DRA72x_SR1.0_NDA_TRM_vL and DRA75x_DRA74x_SR1.1_NDA_TRM_vW.
Remove SIDLE_SMART_WKUP from the list of supported SIDLE modes
in hwmod data.
Signed-off-by: Kishon Vijay Abraham I
---
arch/arm/mach-omap2/omap_hwmod_7xx_data.c |3 +--
1 file
From: Davidlohr Bueso
From: Mel Gorman
When dealing with key handling for shared futexes, we can drastically reduce
the usage/need of the page lock. 1) For anonymous pages, the associated futex
object is the mm_struct which does not require the page lock. 2) For inode
based, keys, we can check
Hi Shuah,
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on next-20160203]
[cannot apply to v4.5-rc2]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits/Shuah-Khan
On 03-02-16, 21:40, Viresh Kumar wrote:
> On 03-02-16, 15:54, Juri Lelli wrote:
> > Ouch, I've just got this executing -f basic on Juno. :(
> > It happens with the hotplug_1_by_1 test.
> >
> >
> > [ 1086.531252] IRQ1 no longer affine to CPU1
> > [ 1086.531495] CPU1: shutdown
> > [ 1086.538199] ps
On Thu, Feb 04, 2016 at 03:15:50PM +0900, Joonsoo Kim wrote:
> SLUB already has red zone debugging feature. But, it is only positioned
> at the end of object(aka right red zone) so it cannot catch left oob.
> Although current object's right red zone acts as left red zone of
> previous object, first
There is a performance drop report due to hugepage allocation and in there
half of cpu time are spent on pageblock_pfn_to_page() in compaction [1].
In that workload, compaction is triggered to make hugepage but most of
pageblocks are un-available for compaction due to pageblock type and
skip bit so
pageblock_pfn_to_page() is used to check there is valid pfn and all pages
in the pageblock is in a single zone. If there is a hole in the pageblock,
passing arbitrary position to pageblock_pfn_to_page() could cause to skip
whole pageblock scanning, instead of just skipping the hole page. For
determ
free_pfn and compact_cached_free_pfn are the pointer that remember
restart position of freepage scanner. When they are reset or invalid,
we set them to zone_end_pfn because freepage scanner works in reverse
direction. But, because zone range is defined as [zone_start_pfn,
zone_end_pfn), zone_end_pf
SLUB already has red zone debugging feature. But, it is only positioned
at the end of object(aka right red zone) so it cannot catch left oob.
Although current object's right red zone acts as left red zone of
previous object, first object in a slab cannot take advantage of
this effect. This patch ex
Hi, Shawn.
On 02/03/2016 12:26 PM, Shawn Lin wrote:
> dw_mci_rockchip_pmops just copy-paste what dw_mci_pltfm_pmops
> have done. Let's remove it.
Yep, it's possible to remove.
I'm not sure but i want to know there is no plan to add the specific code of
rockchip in suspend/resume.
Could you check
Hi, Shawn.
On 02/03/2016 12:26 PM, Shawn Lin wrote:
> EVENT_XFER_ERROR isn't been used now, so we can
> remove it.
If you are ok, after changing the commit message, I will apply this.
Thanks!
Best Regards,
Jaehoon Chung
>
> Signed-off-by: Shawn Lin
> ---
>
> include/linux/mmc/dw_mmc.h | 1 -
Hi, Shawn.
On 02/02/2016 03:11 PM, Shawn Lin wrote:
> This patch make num_slots to 1 if pdata->num_slot is not
> defined. Meanwhile, we need to make sure num_slots should
> not larger that the supported slots
Thanks! I will apply this.
Best Regards,
Jaehoon Chung
>
> Signed-off-by: Shawn Lin
Hello Maxime,
On Tue, Feb 2, 2016 at 9:17 PM, Maxime Ripard
wrote:
> Hi,
>
> On Sun, Jan 31, 2016 at 09:20:56AM +0800, Vishnu Patekar wrote:
>> AHB1 on A83T is similar to ahb1 on A31, except parents are different.
>> clock index 0b1x is PLL6.
>>
>> Signed-off-by: Vishnu Patekar
>
> If the clock
Hi, Shawn.
On 01/28/2016 10:31 AM, Shawn Lin wrote:
> We add this new argument into init hook for
> variant drivers to decide whether to do clock
> related stuff inside the hook.
>
> Signed-off-by: Shawn Lin
> ---
>
> drivers/mmc/host/dw_mmc-exynos.c | 4 ++--
> drivers/mmc/host/dw_mmc-rockc
On Wed, Feb 03, 2016 at 06:50:11PM +0100, Vlastimil Babka wrote:
> Commit 944d9fec8d7a ("hugetlb: add support for gigantic page allocation at
> runtime") has added the runtime gigantic page allocation via
> alloc_contig_range(), making this support available only when CONFIG_CMA is
> enabled. Becau
We can disable debug_pagealloc processing even if the code is complied
with CONFIG_DEBUG_PAGEALLOC. This patch changes the code to query
whether it is enabled or not in runtime.
Signed-off-by: Joonsoo Kim
---
mm/slub.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git
We can disable debug_pagealloc processing even if the code is complied
with CONFIG_DEBUG_PAGEALLOC. This patch changes the code to query
whether it is enabled or not in runtime.
Signed-off-by: Joonsoo Kim
---
mm/vmalloc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
We can disable debug_pagealloc processing even if the code is complied
with CONFIG_DEBUG_PAGEALLOC. This patch changes the code to query
whether it is enabled or not in runtime.
Signed-off-by: Joonsoo Kim
---
sound/drivers/pcsp/pcsp.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-
We can disable debug_pagealloc processing even if the code is complied
with CONFIG_DEBUG_PAGEALLOC. This patch changes the code to query
whether it is enabled or not in runtime.
Signed-off-by: Joonsoo Kim
---
arch/tile/mm/init.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
We can disable debug_pagealloc processing even if the code is complied
with CONFIG_DEBUG_PAGEALLOC. This patch changes the code to query
whether it is enabled or not in runtime.
Signed-off-by: Joonsoo Kim
---
arch/powerpc/kernel/traps.c | 5 ++---
arch/powerpc/mm/hash_utils_64.c | 40 ++
As CONFIG_DEBUG_PAGEALLOC can be enabled/disabled via kernel
parameters we can optimize some cases by checking the enablement
state.
This is follow-up work for Christian's Optimize CONFIG_DEBUG_PAGEALLOC.
https://lkml.org/lkml/2016/1/27/194
I can't test patches for sound, power and tile,
so plea
Rebased patch against 98ee377144935857d8ad5d7d70cdab1da4ede32e:
---
diff --git a/drivers/input/mouse/byd.c b/drivers/input/mouse/byd.c
index 9425e0f..f213a08 100644
--- a/drivers/input/mouse/byd.c
+++ b/drivers/input/mouse/byd.c
@@ -2,93 +2,276 @@
* BYD TouchPad PS/2 mouse driver
*
* Copyri
On 04-02-16, 00:50, Rafael J. Wysocki wrote:
> On Thu, Feb 4, 2016 at 12:31 AM, Shilpa Bhat wrote:
> > Sorry for the delayed report. But I see the below backtrace on Power8 box.
> > It
> > has 4 chips with 128 cpus.
Honestly, I wasn't expecting you to test this stuff, but I really
appreciate you
> Subject: Re: [PATCH V2 5/5] Microblaze: Modifying microblaze PCI subsytem
> to support generic Xilinx AXI PCIe Host Bridge IP driver
>
> [+cc Ben for real this time]
>
> On Wed, Feb 03, 2016 at 10:32:07AM -0600, Bjorn Helgaas wrote:
> > [+cc Ben, pcibios_get_phb_of_node() question]
> >
> > On T
Quoting Stephen Boyd (2016-02-02 17:42:13)
> We don't use CLK_IS_ROOT but in a few places in the common clk
> framework core. Let's replace those checks with a check for the
> number of parents a clk has instead of the flag, freeing up one
> flag for something else. We don't remove the flag yet so
Please ignore. It is a mistake...
From: Martin KaFai Lau [ka...@fb.com]
Sent: Wednesday, February 03, 2016 9:39 PM
To: linux-kernel@vger.kernel.org
Cc: Ingo Molnar; Masami Hiramatsu; Steven Rostedt; Alexei Starovoitov; Josef
Bacik; Kernel Team
Subject: [PAT
On 04-02-16, 00:12, Rafael J. Wysocki wrote:
> Hi,
>
> A few days ago I looked at the common code used by the ondemand and
> conservative
> governors because of the deadlock issue that Viresh has addressed recently
> (http://marc.info/?l=linux-pm&m=145450832814058&w=4) and it occurred to me
> tha
Signed-off-by: Martin KaFai Lau
---
kernel/trace/bpf_trace.c | 20 ++
samples/Makefile | 2 +-
samples/bpf/Makefile | 11 +-
samples/bpf/bpf_helpers.h| 4 +
samples/bpf/bpf_load.c | 44 +++--
samples/bpf/tcp_trace.h | 51 +
samples/bpf/tcp_trace_
Hi Robert,
[auto build test WARNING on usb/usb-testing]
[also build test WARNING on v4.5-rc2 next-20160203]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits/Robert-Baldyga/usb-gadget-composite
On 04-02-16, 02:25, Rafael J. Wysocki wrote:
> You are talking about something like this now:
>
> if (condition)
> goto label;
>
> return 0;
>
> label:
> do stuff
>
> I'm sorry, but I fail to see how this is easier to read than
>
> if (!condition)
> return 0;
>
On 04-02-16, 00:22, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki
>
> If the ondemand and conservative governors cannot use per-policy
> tunables (CPUFREQ_HAVE_GOVERNOR_PER_POLICY is not set in the cpufreq
> driver), all policy objects point to the same single dbs_data object.
> Additionally
* Tony Lindgren [160201 14:12]:
> * Pavel Machek [160201 13:18]:
> >
> > No, sorry, that was with 4.4. As you hit "PM regression with commit
> > 5de85b9d57ab PM runtime re-init in v4.5-rc1", I thought I'd avoid
> > v4.5-rc.
>
> OK
>
> > (I assume I have to insmod and rmmod, right? Because pow
On 02/03/2016 03:00 PM, Fu Wei wrote:
On 4 February 2016 at 02:45, Timur Tabi wrote:
Fu Wei wrote:
As you know I have made the pre-timeout support patch, If people like
it, i am happy to go on upstream it separately.
If we want to use pre-timeout here, user only can use get_pretimeout
and di
On Wed, Feb 03, 2016 at 03:19:50PM -0800, gre...@linuxfoundation.org wrote:
> On Mon, Jan 18, 2016 at 01:42:35PM +, Gujulan Elango, Hari Prasath (H.)
> wrote:
> > From: Hari Prasath Gujulan Elango
> >
> > This patch move's a macro defined in the middle of a structure
> > definition to make i
On Wed, Feb 03, 2016 at 10:11:04AM -0800, Laura Abbott wrote:
> On 02/03/2016 04:03 AM, Robin Murphy wrote:
> >On 03/02/16 06:49, Gujulan Elango, Hari Prasath (H.) wrote:
> >>From: Hari Prasath Gujulan Elango
> >>
> >>Use the managed version of the dma_alloc_coherent() i.e. the
> >>dmam_alloc_cohe
Hi Robert,
[auto build test WARNING on usb/usb-testing]
[also build test WARNING on v4.5-rc2 next-20160203]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits/Robert-Baldyga/usb-gadget-composite
On 04-02-16, 00:16, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki
>
> Every governor relying on the common code in cpufreq_governor.c
> has to provide its own mutex in struct common_dbs_data. However,
> those mutexes are never used at the same time
Why do you think so? I thought they can a
On 02/03/2016 07:55 PM, Luis Henriques wrote:
This fixes the following build failure:
drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.o: In function
`msm_dsi_pll_28nm_8960_init':
dsi_pll_28nm.c:(.text+0x1198): multiple definition of
`msm_dsi_pll_28nm_8960_init'
drivers/gpu/drm/msm/dsi/pll/dsi_pll.o
On 04-02-16, 00:14, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki
>
> The preprocessor magic used for setting the default cpufreq governor
> (and for using the performance governor as a fallback one for that
> matter) is really nasty, so replace it with __weak functions and
> overrides.
>
>
>> These will be the changes to the above function:
>> 1. Function will return the type y2038 safe timespec64 in [2].
>> 2. Function will use y2038 safe 64 bit functions in [2].
>> 3. Function will be extended to perform range checks in [3].
>
> I guess [2] and [3] are really independent of one ano
On 03-02-16, 02:16, Rafael J. Wysocki wrote:
> Index: linux-pm/drivers/cpufreq/cpufreq_governor.c
> -void gov_add_timers(struct cpufreq_policy *policy, unsigned int delay)
> +void gov_set_update_util(struct cpu_common_dbs_info *shared,
> + unsigned int delay_us)
> {
> + st
[cc list heavily trimmed]
On Wed, Feb 3, 2016 at 8:03 PM, Shuah Khan wrote:
> Change dvb frontend to check if tuner is free when
> device opened in RW mode. Call to enable_source
> handler either returns with an active pipeline to
> tuner or error if tuner is busy. Tuner is released
> when fronte
Hello Wens,
On Tue, Feb 2, 2016 at 3:37 PM, Chen-Yu Tsai wrote:
>
> On Sun, Jan 31, 2016 at 9:21 AM, Vishnu Patekar
> wrote:
> > This patch adds support for Sinovoip BPI-M3 A83T based board.
> >
> > It has 2G LPDDR3, UART, ethernet, USB, HDMI, USB Sata, MIPI DSI,
> > mic, AP6212 Wifi, etc on i
+CC Noam
On Wednesday 03 February 2016 09:50 PM, Alexey Brodkin wrote:
>> I agree with the current solution to add -atomic to for arc700 builds.
>> > Although making that default for arc700 tools will be better but that will
>> > not fix
>> > things before next release of tools etc.
>> >
>> > Bu
This patch series updates ALSA driver, and au0828 core
driver to use Managed Media controller API and Media
Controller API to share media resource (tuner).
This Patch v2 series is based on linux_media master.
This work addresses Mauro and Takashi's comments.
Composite or S-Video connector is the
Declare the interface types to be used on alsa for
the new G_TOPOLOGY ioctl.
Signed-off-by: Shuah Khan
---
drivers/media/media-entity.c | 16
include/uapi/linux/media.h | 22 ++
2 files changed, 38 insertions(+)
diff --git a/drivers/media/media-entity.c b/
Add new interfaces to register and unregister entity_notify
hook to media device. These interfaces allow drivers to add
hooks to take appropriate actions when new entities get added
to a shared media device. For example, au0828 bridge driver
registers an entity_notify hook to create links as needed
Add new fields to struct media_device to add enable_source, and
disable_source handlers, and source_priv to stash driver private
data that is used to run these handlers. The enable_source handler
finds source entity for the passed in entity and checks if it is
available. When link is found, it acti
Move the au8522_media_pads enum to au8522.h
from au8522_priv.h to export them. This will
allow au0828-core to use these defines instead
of hard-coding them them.
Signed-off-by: Shuah Khan
---
drivers/media/dvb-frontends/au8522.h | 7 +++
drivers/media/dvb-frontends/au8522_priv.h | 8 ---
Add new pad for ALSA Audio Out to au8522_media_pads.
Signed-off-by: Shuah Khan
---
drivers/media/dvb-frontends/au8522.h | 1 +
drivers/media/dvb-frontends/au8522_decoder.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/media/dvb-frontends/au8522.h
b/drivers/media/dvb-fron
Add a new interfaces to be used by v4l-core to invoke enable
source and disable_source handlers in the media_device. The
enable_source helper function invokes the enable_source handler
to find media source entity connected to the entity and check
is it is available or busy. If source is available,
Change s_input, s_fmt, s_tuner, s_frequency, querystd,
s_hw_freq_seek, and vb2_core_streamon interfaces that
alter the tuner configuration to check if it is free,
by calling v4l_enable_media_source(). If source isn't
free, return -EBUSY. v4l_disable_media_source() is
called from v4l2_fh_exit() to r
Add non-locking __media_entity_pipeline_start/stop() interfaces
to be called from code paths that hold the graph_mutex. For this
change, the media_entity_pipeline_start() routine is renamed to
__media_entity_pipeline_start() minus the graph_mutex lock and
unlock. media_entity_pipeline_start() now c
Remove au0828_enable_analog_tuner() as it is
no longer needed because v4l2-core implements
common interfaces to check for media source
availability.
In addition, queue_setup() no longer needs the
tuner availability check since v4l2-core does it.
Signed-off-by: Shuah Khan
---
drivers/media/usb/a
Change dvb frontend to check if tuner is free when
device opened in RW mode. Call to enable_source
handler either returns with an active pipeline to
tuner or error if tuner is busy. Tuner is released
when frontend is released calling the disable_source
handler.
Signed-off-by: Shuah Khan
---
driv
Change au0828 to check if tuner is free or not
before changing tuner configuration.
vidioc_g_tuner(), and au0828_v4l2_close() now call
v4l-core interface v4l_enable_media_source() before
changing tuner configuration.
Signed-off-by: Shuah Khan
---
drivers/media/usb/au0828/au0828-video.c | 14 +++
Change au0828_create_media_graph() to find and disable
tuner and demod link. This helps avoid an additional
disable step when tuner is requested by video or audio.
Signed-off-by: Shuah Khan
---
drivers/media/usb/au0828/au0828-core.c | 20 +++-
1 file changed, 19 insertions(+), 1
Register entity_notify async hook to create links
between existing bridge driver entities and a newly
added non-bridge driver entities. For example, this
handler creates link between V4L decoder entity and
ALSA mixer entity.
Signed-off-by: Shuah Khan
---
drivers/media/usb/au0828/au0828-core.c |
Change au0828 to use Managed Media Controller API to
share media device and coordinate creating/deleting
the shared media device with the snd-usb-audio driver.
The shared media device is created as device resource
of the parent usb device of the two drivers.
Signed-off-by: Shuah Khan
---
drivers
Change au0828-core to use au8522_media_pads enum defines
instead of hard-coding the pad values.
Signed-off-by: Shuah Khan
---
drivers/media/usb/au0828/au0828-core.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/media/usb/au0828/au0828-core.c
b/drivers/media/
Media device initialization and registration
steps are split. There is a window between
media device init and media device register
during usb probe.
au0828 bridge driver and snd-usb-audio could
try to initialize the media device, if they
simply checked, whether the device has been
registered. The
Change ALSA driver to use Media Controller API to
share media resources with DVB and V4L2 drivers
on a AU0828 media device. Media Controller specific
initialization is done after sound card is registered.
ALSA creates Media interface and entity function graph
nodes for Control, Mixer, PCM Playback,
Add enable_source and disable_source handlers.
The enable source handler is called from
v4l2-core, dvb-core, and ALSA drivers to check
if the shared media source is free. The disable
source handler is called to release the shared
media source.
Signed-off-by: Shuah Khan
---
drivers/media/usb/au08
Create tuner to demod pad link in disabled state to
avoid disable step when tuner resource is requested
by dvb.
Signed-off-by: Shuah Khan
---
drivers/media/usb/au0828/au0828-core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/usb/au0828/au0828-core.c
b/d
media_device_unregister() checks if the media device
is registered or not as the first step. However, the
MEDIA_FLAG_REGISTERED bit doesn't get cleared until
the end leaving a large window for two drivers to
attempt media device unregister.
The above leads to general protection faults when
device
Export __media_entity_setup_link() to be used from code paths
that hold the graph_mutex.
Signed-off-by: Shuah Khan
---
drivers/media/media-entity.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c
index 6179543..9b4d712 100644
--- a/
Add ALSA Media Controller capture, playback, and mixer
function entity defines.
Signed-off-by: Shuah Khan
---
include/uapi/linux/media.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
index ee020e8..7d50480 100644
--- a/in
On 11/06/2015 10:07 PM, Catalin Marinas wrote:
On Fri, Nov 06, 2015 at 02:47:12PM +0900, Krzysztof Kozlowski wrote:
2015-11-06 14:27 GMT+09:00 Alim Akhtar :
Exynos7 based espresso board uses S2MPS15, a multifunction device.
This patch enables S2MPS1X regulator, pmic-clk and rtc drivers utiliz
On 2/4/2016 11:29 AM, Herbert Xu wrote:
On Thu, Feb 04, 2016 at 11:28:50AM +0800, Herbert Xu wrote:
On Thu, Feb 04, 2016 at 11:25:27AM +0800, Li, Weigang wrote:
Please can you advise how to get the acomp patch accepted?
Can you do a posting of these patches without scomp so we can
evaluate t
Hi all,
Changes since 20160203:
The gpio tree still had its build failure so I used the version from
next-20160128.
The aio tree still had a build failure so I used the version from
next-20160111.
The akpm-current tree lost its build failures.
Non-merge commits (relative to Linus' tree):
1 - 100 of 1474 matches
Mail list logo