Hi Javier,
On 10/20/2015 05:48 PM, Javier Martinez Canillas wrote:
Hello Yakir,
On 10/20/2015 04:10 AM, Yakir Yang wrote:
Hi Javier,
On 10/19/2015 06:40 PM, Javier Martinez Canillas wrote:
Hello Yakir,
On 10/10/2015 05:35 PM, Yakir Yang wrote:
Hi all,
The Samsung Exynos eDP
On 10/19/2015 11:18 PM, Luis de Bethencourt wrote:
Smatch complains about returning hard coded error codes, silence this
warning.
drivers/target/iscsi/iscsi_target_parameters.c:211
iscsi_create_default_params() warn: returning -1 instead of -ENOMEM is sloppy
Signed-off-by: Luis de Bethencourt
Mathieu Poirier writes:
> /**
> + * struct cs_buffer - keep track of a recording session' specifics
> + * @cur: index of the current buffer
> + * @nr_pages:max number of pages granted to us
> + * @nr_bufs: number of clustered pages
> + * @offset: offset within the current buffer
>
The PAGES_TO_MiB macros is only used for unit conversion.
Signed-off-by: Tan Xiaojun
---
drivers/edac/edac_mc.c | 2 +-
drivers/edac/ghes_edac.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
index 943ed8c..77ecd6a 100644
On 10/20/2015 01:17 PM, Takashi Iwai wrote:
> On Tue, 20 Oct 2015 11:46:31 +0200,
> Lars-Peter Clausen wrote:
>>
>> Use the new dmaengine_synchronize() function to make sure that all complete
>> callbacks have finished running before the runtime data, which is accessed
>> in the completed
Hi,
On 19-10-15 17:55, Larry Finger wrote:
On 10/19/2015 03:08 AM, Hans de Goede wrote:
Hi,
On 19-10-15 01:59, Larry Finger wrote:
Hi,
I recently upgraded the kernel in a Dell Latitude D600 and found that the
touchpad clicks failed. The problem was bisected to commit
On Mon, Oct 19, 2015 at 03:58:16PM -0700, Andi Kleen wrote:
> Switch the cycles:pp alias from UOPS_RETITRED to INST_RETIRED.PREC_DIST.
> The basic mechanism of abusing the inverse cmask to get all cycles
> works the same as before.
>
> PREC_DIST has special support for avoiding shadow effects,
On Mon, 19 Oct 2015, Andrew F. Davis wrote:
> On 10/19/2015 10:21 AM, Lee Jones wrote:
> >On Mon, 19 Oct 2015, Andrew F. Davis wrote:
> >
> >>On 10/19/2015 04:13 AM, Lee Jones wrote:
> >>>On Fri, 16 Oct 2015, Andrew F. Davis wrote:
> >>>
> The TPS65086 PMIC contains several regulators and a
On 16/10/15 17:17, Stephen Warren wrote:
> On 10/16/2015 03:24 AM, Jon Hunter wrote:
>> The description of the XUSB_PADCTL_USB3_PAD_MUX_0 register in the
>> Tegra124
>> documentation implies that all functions (pcie, usb3 and sata) can be
>> muxed onto to all lanes (pcie lanes 0-4 and sata lane
Add the optional 2nd clock for BG2Q's sdhci0 and sdhci1. This would let the
clock be disabled during runtime pm, so saves power a bit.
Signed-off-by: Jisheng Zhang
---
arch/arm/boot/dts/berlin2q.dtsi | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
Since we have added the necessary two clks' properties in dts, we can
remove the "sdio" clk's CLK_IGNORE_UNUSED flag now.
Signed-off-by: Jisheng Zhang
---
drivers/clk/berlin/bg2q.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/berlin/bg2q.c
The clocks' properties have been already properly set, so there's no
need to set this flag for sdio0 and sdio1 clk any more.
Signed-off-by: Jisheng Zhang
---
drivers/clk/berlin/bg2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/berlin/bg2.c
Add or fix the optional clock property, then remove the CLK_IGNORE_UNUSED
flag for sdio clk(s).
Since v1:
- remove the "mmc: sdhci-pxav3: fix optional clock name" patch to not
block the clock clean up patches, will send another separate patch
after talking with HW people.
Jisheng
The optional 2nd clock is CLKID_SDIO.
Signed-off-by: Jisheng Zhang
---
arch/arm/boot/dts/berlin2q.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi
index 63a4849..2cb07fa 100644
---
On Tue, 20 Oct 2015 11:46:31 +0200,
Lars-Peter Clausen wrote:
>
> Use the new dmaengine_synchronize() function to make sure that all complete
> callbacks have finished running before the runtime data, which is accessed
> in the completed callback, is freed.
>
> This fixes a long standing
On 10/19/2015 08:24 PM, Josh Cartwright wrote:
> On Mon, Oct 19, 2015 at 04:09:09PM +0200, Michal Simek wrote:
>> On 10/18/2015 07:53 PM, Josh Cartwright wrote:
>>> On Fri, Oct 16, 2015 at 03:42:29PM -0700, Moritz Fischer wrote:
> [..]
@@ -294,6 +294,11 @@
devcfg:
On Tue, Oct 20, 2015 at 02:38:01PM +0800, Ken Xue wrote:
> DW I2C driver tries to register a clk from id->driver_data as an
> alternative way besides intel lpss. But code doesn't register the
> clk to clkdev. So, devm_clk_get will fail during probe.
>
> The patch can fix this issue.
Since you
Hi Andy,
On Mon, 19 Oct 2015, Andy Lutomirski wrote:
On Mon, Oct 19, 2015 at 5:58 AM, Paul Osmialowski
wrote:
From: Marcin Niesluchowski
kmsg* devices write operation wrote no dict along with message
Due to usage of kmsg devices in userspace dict has been added
identifying pid, tid and
Hi Jisheng Zhang,
On Tue, Oct 20, 2015 at 04:02:39PM +0800, Jisheng Zhang wrote:
> We should not trace digicolor_timer_sched_read() function, add notrace
> attribute to this function.
>
> Signed-off-by: Jisheng Zhang
Acked-by: Baruch Siach
Thanks,
baruch
--
On Tue, Oct 20, 2015 at 02:45:37PM +0530, Pankaj Dubey wrote:
> This patch adds Exynos SROM controller driver which will handle
> save restore of SROM registers during S2R.
>
> Signed-off-by: Pankaj Dubey
...
> +config EXYNOS_SROM
> + bool
> + depends on ARM && ARCH_EXYNOS && PM
Cool,
On Mon, 2015-10-19 at 16:43 +0100, Russell King - ARM Linux wrote:
> On Mon, Oct 19, 2015 at 04:29:40PM +0100, David Woodhouse wrote:
> > I don't know that there *is* a coherent plan here to address it
> > all.
> >
> > Certainly, we *will* need subsystems to have firmware-specific
> > knowledge
Hi Shuah,
Thanks for your comments,
On Mon, 19 Oct 2015, Shuah Khan wrote:
--- a/tools/testing/selftests/Makefile
+++ b/tools/testing/selftests/Makefile
@@ -7,6 +7,7 @@ TARGETS += ftrace
TARGETS += futex
TARGETS += kcmp
TARGETS += kdbus
Doesn't look like this patch is based on
Sorry, I missed Makefile and Kconfig file in this patch.
I will re-send this patch set.
在 2015/10/20 16:41, MaJun 写道:
> From: Ma Jun
>
> Mbigen means Message Based Interrupt Generator(MBIGEN).
>
> Its a kind of interrupt controller that collects
> the interrupts from external devices and
On Tuesday 20 October 2015 10:59:34 Jesper Nilsson wrote:
> On Tue, Oct 20, 2015 at 10:18:22AM +0200, Arnd Bergmann wrote:
> > On Monday 19 October 2015 11:53:25 John Stultz wrote:
> > >
> > > But yea. At the same time I get you want to avoid user-pain like in
> > > the case of the badly
Am 2015-10-15 um 15:10 schrieb Martin Kepplinger:
> This change is important in order for everyone to be easily able to use the
> driver for one of the supported accelerometer chips!
>
> Until now, the driver blindly assumed that the INT1 interrupt line is wired
> on a user's board. But these
On Mon, Oct 19, 2015 at 03:54:29PM -0700, Andi Kleen wrote:
> @@ -2307,7 +2312,13 @@ perf_callchain_user(struct perf_callchain_entry
> *entry, struct pt_regs *regs)
> frame.next_frame = NULL;
> frame.return_address = 0;
>
> - bytes =
Hi,
I have recently upgraded from 4.1.6 to 4.2.1 and am now seeing a kernel
panic when trying to do IPSec (using ipsec-tools, racoon and setkey) over
IPv6:
Call Trace:
[] ? ip6_dst_destroy+0x5c/0xf0
[] dst_destroy+0x6f/0xd0
[] dst_gc_task+0xb7/0x220
[] ? __switch_to+0x273/0x480
[]
On 10/20, Dmitry Vyukov wrote:
>
> On Tue, Oct 20, 2015 at 10:34 AM, Dmitry Vyukov wrote:
> > On Mon, Oct 19, 2015 at 10:17 PM, Dmitry Vyukov wrote:
> >> On Mon, Oct 19, 2015 at 9:49 PM, Oleg Nesterov wrote:
> >>>
> >>> So I bet the problem is that your /sbin/init doesn't use __WALL,
> >>> so
Am 20.10.2015 um 12:42 schrieb Alexander Holler:
Another idea to split this one file into multiple ones would be to
reserve blocks of IDs. E.g. use 1-2 for networking stuff,
1000-1200 for I2C and so on.
In detail it could look like
driver_ids_base.h:
enum {
drvid_i2c_base =
Hi,
If you load hid-multitouch into the initramfs it leads to random crashes.
If you load the module later it doesn't harm.
Only Arch dm-crypt users are affected by this issue because they need the
mkinitcpio "keyboard" hook to be able to type the password, and it loads
hid-multitouch into the
This creates an IIO configfs subystem named "iio", with a default
"triggers" group. Next patches will add trigger types support,
allowing new triggers creation using configfs.
Signed-off-by: Daniel Baluta
---
drivers/iio/Kconfig | 8 +
drivers/iio/Makefile|
Signed-off-by: Daniel Baluta
---
Documentation/ABI/testing/configfs-iio | 21
Documentation/iio/iio_configfs.txt | 93 ++
2 files changed, 114 insertions(+)
create mode 100644 Documentation/ABI/testing/configfs-iio
create mode 100644
This patch registers a new IIO software trigger interrupt source
based on high resolution timers.
Notice that if configfs is enabled we create sampling_frequency
attribute allowing users to change hrtimer period (1/sampling_frequency).
The IIO hrtimer trigger has a long history, this patch is
This patchset introduces IIO software triggers, offers a way of configuring
them via configfs and adds the IIO hrtimer based interrupt source to be used
with software triggers.
The arhitecture is now split in 3 parts, to remove all IIO trigger specific
parts from IIO configfs core:
(1) IIO
We don't want to hardcode default groups at subsystem
creation time. We export:
* configfs_register_group
* configfs_unregister_group
to allow drivers to programatically create/destroy groups
later, after module init time.
This is needed for IIO configfs support.
Suggested-by:
A software trigger associates an IIO device trigger with a software
interrupt source (e.g: timer, sysfs). This patch adds the generic
infrastructure for handling software triggers.
Software interrupts sources are kept in a iio_trigger_types_list and
registered separately when the associated
Am 20.10.2015 um 12:42 schrieb Alexander Holler:
Am 20.10.2015 um 12:30 schrieb Alexander Holler:
Am 19.10.2015 um 15:12 schrieb Mark Brown:
On Sat, Oct 17, 2015 at 08:46:44PM +0200, Alexander Holler wrote:
Am 17.10.2015 um 20:29 schrieb Greg Kroah-Hartman:
On Sat, Oct 17, 2015 at 07:55:17PM
On Tue, 20 Oct 2015, Richard Cochran wrote:
> On Mon, Oct 19, 2015 at 05:36:56PM -0700, John Stultz wrote:
> > If we're only tracking 4ms of history, how does this solution
> > measurably improve the error over using the timestamps to generate
> > MONOTONIC_RAW clock deltas (which doesn't require
On Tuesday 20 October 2015 03:41 PM, Peter Zijlstra wrote:
>> > Can we use existing syscall(s) - again this is what our good old pthread
>> > library
>> > code did.
>> >
>> > static void __pthread_acquire(int * spinlock)
>> > {
>> > int cnt = 0;
>> > struct timespec tm;
>> >
>> >
Thanks for review.
On 2015/10/20 17:00, Arnd Bergmann wrote:
> On Tuesday 20 October 2015 16:45:24 Chen Feng wrote:
>> +
>> + smmu@f421 {
>
> I think the canonical name for an IOMMU device is 'iommu', not 'smmu'.
Accept.
>
>> + compatible =
On Mon, Sep 07, 2015 at 02:23:36PM +0200, Tomeu Vizoso wrote:
> When looking up an i2c adapter or device through its OF node, probe it
> if it hasn't already.
>
> The goal is to reduce deferred probes to a minimum, as it makes it very
> cumbersome to find out why a device failed to probe, and can
Am 20.10.2015 um 12:30 schrieb Alexander Holler:
Am 19.10.2015 um 15:12 schrieb Mark Brown:
On Sat, Oct 17, 2015 at 08:46:44PM +0200, Alexander Holler wrote:
Am 17.10.2015 um 20:29 schrieb Greg Kroah-Hartman:
On Sat, Oct 17, 2015 at 07:55:17PM +0200, Alexander Holler wrote:
Am 17.10.2015 um
On 2015/10/19 22:53, Arnaldo Carvalho de Melo wrote:
Em Mon, Oct 19, 2015 at 11:42:31PM +0900, Namhyung Kim escreveu:
Hi,
On Wed, Oct 14, 2015 at 12:41:32PM +, Wang Nan wrote:
This patch enforces existing LLVM test, makes it compile more than one
BPF source file. The compiled results
Hi! A friend of mine gave me your email.
He was confident you would be very glad to read my CV.
After browsing your homepage and seeing what it is you guys do, I'm also quite
sure
you will not be disappointed. I'm attaching my resume for you to read.
I am really looking forward to you getting
On Tue, Oct 20, 2015 at 04:45:22PM +0800, Chen Feng wrote:
> docs: iommu: Documentation for smmu in hi6220 SoC.
>
> Signed-off-by: Chen Feng
> Signed-off-by: Yu Dongbin
> ---
> .../bindings/iommu/hisi,hi6220-iommu.txt | 52
> ++
> 1 file changed, 52 insertions(+)
Am 19.10.2015 um 15:12 schrieb Mark Brown:
On Sat, Oct 17, 2015 at 08:46:44PM +0200, Alexander Holler wrote:
Am 17.10.2015 um 20:29 schrieb Greg Kroah-Hartman:
On Sat, Oct 17, 2015 at 07:55:17PM +0200, Alexander Holler wrote:
Am 17.10.2015 um 19:45 schrieb Greg Kroah-Hartman:
A file like
Hi Magnus,
On Tuesday 20 October 2015 17:54:59 Magnus Damm wrote:
> On Mon, Oct 19, 2015 at 3:42 PM, Laurent Pinchart wrote:
> > On Monday 19 October 2015 12:02:53 Magnus Damm wrote:
> >> From: Magnus Damm
> >>
> >> Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE
> >> nor the
On Tue, Oct 20, 2015 at 12:02:33PM +0200, Daniel Vetter wrote:
> On Tue, Oct 20, 2015 at 10:23:11AM +0100, Liviu Dudau wrote:
> > Changelog:
> > v4: Fixed a bug where the wrong pointer was sent to component_match_add()
> > and
> > component_master_add_with_match() in the armada_drv.c file
On Tue, Oct 20, 2015 at 11:09:09AM +0100, Russell King - ARM Linux wrote:
> On Tue, Oct 20, 2015 at 11:00:55AM +0100, Emil Velikov wrote:
> > Hi Liviu,
> >
> > On 20 October 2015 at 10:23, Liviu Dudau wrote:
> > > A lot of component based DRM drivers use a variant of the same code
> > > as the
Cc Andrew
On (10/20/15 02:55), Geliang Tang wrote:
> This patch makes is_partial_io()/valid_io_request()/page_zero_filled()
> return boolean, since each function only uses either one or zero as its
> return value.
>
> Signed-off-by: Geliang Tang
looks good to me, but I'm not a huge fan of
On Tue, Oct 20, 2015 at 08:00:46AM +, Vineet Gupta wrote:
> On Monday 19 October 2015 03:22 PM, Peter Zijlstra wrote:
> > On Mon, Oct 19, 2015 at 09:46:35AM +, Vineet Gupta wrote:
> >> On ARC we could use the atomic EXchange to implement a user space only
> >> binary
> >> semaphore -
On 20/10/15 00:30, Stephen Warren wrote:
> From: Stephen Warren
>
> Convert the binding to provide a PHY per lane, rather than a PHY per
> "pad" block in the hardware. This will allow the driver to easily know
> which lanes are used by clients, and thus only enable those lanes, and
> generally
On Tue, Oct 20, 2015 at 11:00:55AM +0100, Emil Velikov wrote:
> Hi Liviu,
>
> On 20 October 2015 at 10:23, Liviu Dudau wrote:
> > A lot of component based DRM drivers use a variant of the same code
> > as the probe function. They bind the crtc ports in the first iteration
> > and then scan
Hello Alexei,
On Tue, Oct 20, 2015, at 03:09, Alexei Starovoitov wrote:
> On 10/19/15 4:02 PM, Hannes Frederic Sowa wrote:
> > I bet commercial software will make use of this ebpf framework, too. And
> > the kernel always helped me and gave me a way to see what is going on,
> > debug which part
On Tue, 2015-10-20 at 16:21 +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the powerpc tree, today's linux-next build (powerpc
> allyesconfig) produced this warning:
>
> WARNING: vmlinux.o(.text+0x9367c): Section mismatch in reference from the
> function .msi_bitmap_alloc() to the
Hi Jungseok,
On 17/10/15 15:27, Jungseok Lee wrote:
> Currently, kernel context and interrupts are handled using a single
> kernel stack navigated by sp_el1. This forces a system to use 16KB
> stack, not 8KB one. This restriction makes low memory platforms
> suffer from memory pressure
On 28.09.2015 19:57, Eric W. Biederman wrote:
Konstantin Khlebnikov writes:
If pid is negative then getvpid() returns pid of parent task for -pid.
Now that I am noticing this. I don't think I have seen any discussion
about justifying a syscall getting another processes parent pid. My
On Tue, Oct 20, 2015 at 10:23:11AM +0100, Liviu Dudau wrote:
> Changelog:
> v4: Fixed a bug where the wrong pointer was sent to component_match_add() and
> component_master_add_with_match() in the armada_drv.c file that was
> flagged
> by kbuild test robot. Dropped the RFC tag and added
On Mon, 19 Oct 2015, Andrew F. Davis wrote:
> On 10/19/2015 04:23 AM, Lee Jones wrote:
> >On Fri, 16 Oct 2015, Andrew F. Davis wrote:
> >
> >>Add support for the TPS65912 device. It provides communication
> >>through I2C and contains the following components:
> >>
> >> - Regulators
> >> - Load
Hi Liviu,
On 20 October 2015 at 10:23, Liviu Dudau wrote:
> A lot of component based DRM drivers use a variant of the same code
> as the probe function. They bind the crtc ports in the first iteration
> and then scan through the child nodes and bind the encoders attached
> to the remote
This patch makes is_partial_io()/valid_io_request()/page_zero_filled()
return boolean, since each function only uses either one or zero as its
return value.
Signed-off-by: Geliang Tang
---
drivers/block/zram/zram_drv.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
Mathieu Poirier writes:
> Implementing perf related APIs to activate and terminate
> a trace session. More specifically dealing with the sink
> buffer's internal mechanic along with perf's API to start
> and stop interactions with the ring buffers.
A matter of preference, but I'd say that it
From: Borislav Petkov
Merge the AMD and Intel sections and generalize pattern.
Signed-off-by: Borislav Petkov
---
MAINTAINERS | 16 +---
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5f467845ef72..3a39ef4b3c09 100644
---
From: Borislav Petkov
Merge the early loader functionality into the driver proper. The diff
is huge but logically, it is simply moving code from the _early.c files
into the main driver.
Signed-off-by: Borislav Petkov
---
arch/x86/Kconfig| 19 +-
From: Borislav Petkov
... and save us the stub.
Signed-off-by: Borislav Petkov
---
arch/x86/kernel/cpu/microcode/intel.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/arch/x86/kernel/cpu/microcode/intel.c
b/arch/x86/kernel/cpu/microcode/intel.c
index
From: Borislav Petkov
Remove the remaining module functionality leftovers. Make
"dis_ucode_ldr" an early_param and make it static again. Drop module
aliases, autoloading table, description, etc.
Bump version number, while at it.
Signed-off-by: Borislav Petkov
---
From: Borislav Petkov
We have the MAINTAINERS file for that. Also, Andreas doesn't have the
time for this work anymore.
Signed-off-by: Borislav Petkov
Cc: Andreas Herrmann
---
arch/x86/kernel/cpu/microcode/amd.c | 4
1 file changed, 4 deletions(-)
diff --git
From: Borislav Petkov
Make it a bool. It was practically a bool already anyway since early
loader was forcing it to =y. Regardless, there's no real reason to
have something be a module which gets built-in on the majority of
installations out there. And its not like there's noticeable change in
From: Borislav Petkov
Hi all,
so this basically codifies what we're already doing in practice anyway:
the early loader is enabled and the microcode functionality is built-in.
So we can make this official and remove all that additional Kconfig
complexity of keeping the early and the late loader
>>> On 19.10.15 at 18:25, wrote:
> On 10/19/2015 06:16 AM, John Doe wrote:
[0.00] general protection fault: [#1] SMP
[0.00] Modules linked in:
[0.00] CPU: 0 PID: 0 Comm: swapper Not tainted
> 4.1.9-6.pvops.qubes.x86_64 #1
[0.00] Hardware
Sowmini Varadhan wrote:
> x509_get_sig_params() has the same code pattern as the one in
> pkcs7_verify() that is fixed by commit 62f57d05e287 ("crypto: pkcs7 - Fix
> unaligned access in pkcs7_verify()") so apply a similar fix here: make
> sure that desc is pointing at an algined value past the
Hello Yakir,
On 10/20/2015 04:10 AM, Yakir Yang wrote:
> Hi Javier,
>
> On 10/19/2015 06:40 PM, Javier Martinez Canillas wrote:
>> Hello Yakir,
>>
>> On 10/10/2015 05:35 PM, Yakir Yang wrote:
>>> Hi all,
>>>
>>> The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller
>>> share
On Tue, Oct 20, 2015 at 09:49:32AM +0900, Byungchul Park wrote:
> > > = A^i * cpu_load(n-i) + (A^(i-1) + A^(i-2) + ... + 1) * B
> > > , where i = pending_updates - 1
> >
> > You missed an opportunity here, if you take i==n you avoid the need for
> > i entirely.
>
> i
Hi Yu,
On Tue, Oct 20, 2015 at 01:44:20AM +, Chen, Yu C wrote:
> > -Original Message-
> > From: Javi Merino [mailto:javi.mer...@arm.com]
> > Sent: Thursday, October 15, 2015 10:05 PM
> > To: Chen, Yu C
> > Cc: linux...@vger.kernel.org; edubez...@gmail.com; Zhang, Rui; linux-
> >
The DMAengine API has a long standing race condition that is inherent to
the API itself. Calling dmaengine_terminate_all() is supposed to stop and
abort any pending or active transfers that have previously been submitted.
Unfortunately it is possible that this operation races against a currently
Implement the new device_synchronize() callback to allow proper
synchronization when stopping a channel. Since the driver already makes
sure that no new complete callbacks are scheduled after the
device_terminate_all() callback has been called, all left to do in the
device_synchronize() callback
The DMAengine API has a long standing issue that is inherent to the API
itself. For a client that calls dmaengine_terminate_all() it is not
possible to properly synchronize the completion of any currently running
complete callbacks to the current context. This means it is possible to end
up with a
Add a synchronize helper function for the virt-dma library. The function
makes sure that any scheduled descriptor complete callbacks have finished
running before the function returns.
This needs to be called by drivers using virt-dma in their
device_synchronize() callback. Depending on the driver
Use the new dmaengine_synchronize() function to make sure that all complete
callbacks have finished running before the runtime data, which is accessed
in the completed callback, is freed.
This fixes a long standing use-after-free race condition that has been
observed on some systems.
Liviu Dudau writes:
> A lot of component based DRM drivers use a variant of the same code
> as the probe function. They bind the crtc ports in the first iteration
> and then scan through the child nodes and bind the encoders attached
> to the remote endpoints. Factor the common code into a
Commit-ID: d976441f44bc5d48635d081d277aa76556ffbf8b
Gitweb: http://git.kernel.org/tip/d976441f44bc5d48635d081d277aa76556ffbf8b
Author: Andrey Ryabinin
AuthorDate: Mon, 19 Oct 2015 11:37:17 +0300
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 11:04:19 +0200
compiler, atomics,
Hey Alexei,
On Tue, Oct 20, 2015, at 02:30, Alexei Starovoitov wrote:
> On 10/19/15 3:17 PM, Daniel Borkmann wrote:
> > On 10/19/2015 10:48 PM, Alexei Starovoitov wrote:
> >> On 10/19/15 1:03 PM, Hannes Frederic Sowa wrote:
> >>>
> >>> I doubt it will stay a lightweight feature as it should not
Commit-ID: f7d27c35ddff7c100d7a98db499ac0040149ac05
Gitweb: http://git.kernel.org/tip/f7d27c35ddff7c100d7a98db499ac0040149ac05
Author: Andrey Ryabinin
AuthorDate: Mon, 19 Oct 2015 11:37:18 +0300
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 11:04:19 +0200
x86/mm, kasan: Silence
Commit-ID: 43e41adc9e8c36545888d78fed2ef8d102a938dc
Gitweb: http://git.kernel.org/tip/43e41adc9e8c36545888d78fed2ef8d102a938dc
Author: Stephane Eranian
AuthorDate: Tue, 13 Oct 2015 09:09:11 +0200
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:30:55 +0200
perf record: Add
Commit-ID: c229bf9dc179d2023e185c0f705bdf68484c1e73
Gitweb: http://git.kernel.org/tip/c229bf9dc179d2023e185c0f705bdf68484c1e73
Author: Stephane Eranian
AuthorDate: Tue, 13 Oct 2015 09:09:08 +0200
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:30:53 +0200
perf: Add
Commit-ID: 24f1a79a5fc10858e05ee0bf651ec99abfc0319b
Gitweb: http://git.kernel.org/tip/24f1a79a5fc10858e05ee0bf651ec99abfc0319b
Author: Stephane Eranian
AuthorDate: Tue, 13 Oct 2015 09:09:10 +0200
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:30:54 +0200
perf/powerpc: Add
Commit-ID: d892819faa6860d469aae71d70c336b391c25505
Gitweb: http://git.kernel.org/tip/d892819faa6860d469aae71d70c336b391c25505
Author: Stephane Eranian
AuthorDate: Tue, 13 Oct 2015 09:09:09 +0200
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:30:53 +0200
perf/x86: Add support
Commit-ID: b9511cd761faafca7a1acc059e792c1399f9d7c6
Gitweb: http://git.kernel.org/tip/b9511cd761faafca7a1acc059e792c1399f9d7c6
Author: Adrian Hunter
AuthorDate: Fri, 16 Oct 2015 16:24:05 +0300
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:30:52 +0200
perf/x86: Fix time_shift
Commit-ID: e73e85f0593832aa583b252f9a16cf90ed6d30fa
Gitweb: http://git.kernel.org/tip/e73e85f0593832aa583b252f9a16cf90ed6d30fa
Author: Oleg Nesterov
AuthorDate: Sat, 10 Oct 2015 20:53:15 +0200
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:25:57 +0200
sched: Don't scan
Commit-ID: 07f06cb3b5f6bd21374a48dbefdb431d71d53974
Gitweb: http://git.kernel.org/tip/07f06cb3b5f6bd21374a48dbefdb431d71d53974
Author: Peter Zijlstra
AuthorDate: Fri, 9 Oct 2015 18:00:54 +0200
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:25:55 +0200
sched: Start stopper
Commit-ID: f0cf16cbd0659d2dd21352da9f06f3fab7a51596
Gitweb: http://git.kernel.org/tip/f0cf16cbd0659d2dd21352da9f06f3fab7a51596
Author: Oleg Nesterov
AuthorDate: Fri, 9 Oct 2015 18:00:51 +0200
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:23:56 +0200
stop_machine: Kill
Mathieu Poirier writes:
> +static void *etm_setup_aux(struct perf_event *event, void **pages,
> +int nr_pages, bool overwrite)
> +{
> + int cpu;
> + cpumask_t *mask;
> + struct etm_event_data *event_data = NULL;
> + struct coresight_device *csdev;
> +
> +
Commit-ID: c00166d87e730088d919814020e96ffed129d0d1
Gitweb: http://git.kernel.org/tip/c00166d87e730088d919814020e96ffed129d0d1
Author: Oleg Nesterov
AuthorDate: Fri, 9 Oct 2015 18:00:49 +0200
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:23:55 +0200
stop_machine: Kill
Commit-ID: 5caa1c089aebcb83ccd5b79a3b88b0aa58288d05
Gitweb: http://git.kernel.org/tip/5caa1c089aebcb83ccd5b79a3b88b0aa58288d05
Author: Oleg Nesterov
AuthorDate: Thu, 8 Oct 2015 16:51:34 +0200
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:23:54 +0200
stop_machine: Introduce
Commit-ID: d8bc853582bfd81a9c08ca6922aeb01570080ccc
Gitweb: http://git.kernel.org/tip/d8bc853582bfd81a9c08ca6922aeb01570080ccc
Author: Oleg Nesterov
AuthorDate: Thu, 8 Oct 2015 19:01:41 +0200
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:23:55 +0200
stop_machine: Change
Commit-ID: 6e490b0106a2118ee4c37c37847454a5c2dc6e32
Gitweb: http://git.kernel.org/tip/6e490b0106a2118ee4c37c37847454a5c2dc6e32
Author: Will Deacon
AuthorDate: Wed, 7 Oct 2015 15:10:38 +0100
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:17:23 +0200
ARM, locking/atomics:
Commit-ID: 233e7f267e580fefdeb36628b7efe8bfe056d27c
Gitweb: http://git.kernel.org/tip/233e7f267e580fefdeb36628b7efe8bfe056d27c
Author: Oleg Nesterov
AuthorDate: Thu, 8 Oct 2015 16:51:31 +0200
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:23:53 +0200
stop_machine: Ensure that
Commit-ID: 0baabb385eb4bce699ddab0db015112be6cf1e6a
Gitweb: http://git.kernel.org/tip/0baabb385eb4bce699ddab0db015112be6cf1e6a
Author: Frederic Weisbecker
AuthorDate: Mon, 12 Oct 2015 17:21:23 +0200
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:13:36 +0200
nohz: Revert "nohz:
Commit-ID: 5aa5050787f449e7eaef2c5ec93c7b357aa7dcdc
Gitweb: http://git.kernel.org/tip/5aa5050787f449e7eaef2c5ec93c7b357aa7dcdc
Author: Luca Abeni
AuthorDate: Fri, 16 Oct 2015 10:06:21 +0200
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:13:36 +0200
sched/deadline: Fix
Commit-ID: fde7d22e01aa0d252fc5c95fa11f0dac35a4dd59
Gitweb: http://git.kernel.org/tip/fde7d22e01aa0d252fc5c95fa11f0dac35a4dd59
Author: Yuyang Du
AuthorDate: Tue, 13 Oct 2015 09:18:22 +0800
Committer: Ingo Molnar
CommitDate: Tue, 20 Oct 2015 10:13:34 +0200
sched/fair: Fix overly small
901 - 1000 of 2446 matches
Mail list logo