From: Fenghua Yu
We use legacy xsave/xrstor for user space context. No xsaveopt or xsaves is
used here.
We don't use modified optimization which is implemented in xsaveopt and xsaves
because xrstor/xrstors might track a different application.
We don't use compacted format xsave area in xsaves
On Mon, May 26, 2014 at 6:27 AM, Djalal Harouni wrote:
> This patch is preparation, it adds a couple of helpers to read data and
> to get the cached permission checks during that ->read().
>
> Currently INF entries share the same code, they do not implement
> specific ->open(), only ->read()
From: Fenghua Yu
With compacted format xsave area supported, the xsave area header is changed
to support both compacted format and standard format xsave area.
The XSAVE header of an XSAVE area comprises the 64 bytes starting at offset
512 from the area\u2019s base address:
- Bytes 7:0
From: Fenghua Yu
If xsaves is eanbled, use xsaves/xrstors for context switch to utilize
compacted format xsave area and modified optimization.
Signed-off-by: Fenghua Yu
---
arch/x86/include/asm/xsave.h | 37 -
1 file changed, 12 insertions(+), 25
From: Fenghua Yu
If xsaves is eanbled, use xsaves/xrstors for saving and restoring xstate.
xsaves supports compacted format, init optimization, modified optimization,
and supervisor states.
Signed-off-by: Fenghua Yu
---
arch/x86/include/asm/xsave.h | 82
From: Fenghua Yu
__save_fpu() can be called during early booting time when cpu caps are not
enabled and alternative can not be used yet. Therefore, it calls
xsave_state_booting() to save xstate to task's xsave area.
Signed-off-by: Fenghua Yu
---
arch/x86/include/asm/fpu-internal.h | 9
Hi Ulf,
On 26/05/14 10:10, Ulf Hansson wrote:
Hi Srinivas,
+static struct variant_data variant_qcom = {
+ .fifosize = 16 * 4,
+ .fifohalfsize = 8 * 4,
+ .clkreg = MCI_CLK_ENABLE,
+ .datalength_bits= 24,
+
From: Fenghua Yu
setup_init_fpu_buf() calls booting time xsaves and xrstors to save/restore
xstate in xsave area.
Signed-off-by: Fenghua Yu
---
arch/x86/kernel/xsave.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/xsave.c
On 14/05/22, Michael Kerrisk wrote:
> Richard,
Hi Michael,
> On Tue, May 20, 2014 at 3:12 PM, Richard Guy Briggs wrote:
> > The purpose is to track namespaces in use by logged processes from the
> > perspective of init_*_ns.
> >
> > 1/6 defines a function to generate them and assigns them.
> >
From: Fenghua Yu
Since cpu caps are not enabled yet during early booting time, alternative
can not be used in functions to access xsave area. Therefore, we define
two new functions xrstor_state_booting and xsave_state_booting to access
xsave area during early booting time.
Because
From: Fenghua Yu
If xsaves/xrstors is enabled, compacted format of xsave area will be used
and less memory may be used for context switching per process. Modified
optimization implemented in xsaves/xrstors improves performance of saving
xstate as well.
Signed-off-by: Fenghua Yu
---
Hello Mark,
On 26/05/2014 17:43, Mark Brown wrote:
> On Mon, May 26, 2014 at 04:58:12PM +0200, Boris BREZILLON wrote:
>> Some regulators might take their power supply from other regulators defined
>> by the same PMIC.
>>
>> Retry regulators registration until all regulators are registered or the
From: Fenghua Yu
In standard format, each state is saved in the xsave area in fixed offset.
In compacted format, offset of each saved state only can be calculated during
run time because some xstates may not be saved.
get_xsave_addr() returns address of a given state saved in a xsave area.
It
From: Fenghua Yu
The reserved bits (128~511) in the xsave header must be zero. Clear the bits
here.
Signed-off-by: Fenghua Yu
---
arch/x86/kernel/i387.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/i387.c b/arch/x86/kernel/i387.c
index d5dd808..a9a4229
On Mon, May 26, 2014 at 6:27 AM, Djalal Harouni wrote:
> Add the helper pid_entry_access() to unify the permission checks during
> ->open()
>
> This is a preparation patch.
>
> Signed-off-by: Djalal Harouni
> ---
> fs/proc/generic.c | 22 ++
> fs/proc/internal.h | 2 ++
>
From: Fenghua Yu
Detect the xsaves feature in processor extended state enumberation sub-leaf
(eax=0x0d, ecx=1):
Bit 03: Supports xsaves/xrstors and IA32_XSS if set
The IA32_XSS MSR (index DA0H) contains a state-component bitmap that specifies
the state components that software has enabled
On Mon, May 26, 2014 at 6:27 AM, Djalal Harouni wrote:
> Add the deny or allow flags, so we can perform proper permission checks
> and set the result accordingly. These flags are needed in case we have
> to cache the result of permission checks that are done during ->open()
> time. Later during
On Mon, May 26, 2014 at 05:59:44PM +0200, Peter Zijlstra wrote:
> On Sun, May 25, 2014 at 04:29:47PM +0200, Frederic Weisbecker wrote:
> > An irq work can be handled from two places: from the tick if the work
> > carries the "lazy" flag and the tick is periodic, or from a self IPI.
> >
> > We
On Mon, May 26, 2014 at 06:41:21PM +0200, Emil Goode wrote:
> @@ -211,6 +215,7 @@ struct platform_device *platform_device_alloc(const char
> *name, int id)
> strcpy(pa->name, name);
> pa->pdev.name = pa->name;
> pa->pdev.id = id;
> +
On Mon, May 26, 2014 at 06:02:24PM +0200, Peter Zijlstra wrote:
> On Sun, May 25, 2014 at 04:29:49PM +0200, Frederic Weisbecker wrote:
> > +bool irq_work_queue_on(struct irq_work *work, int cpu)
> > +{
> > + /* Only queue if not already pending */
> > + if (!irq_work_claim(work))
> > +
On Mon, May 26, 2014 at 4:06 AM, Borislav Petkov wrote:
> On Mon, May 26, 2014 at 12:51:10PM +0200, Jiri Kosina wrote:
>> I think the comment is still not explaining the big part of what the
>> discussion was about -- i.e. if it was in kernel context, we always
>> panic.
>
> I thought the pointer
On Mon, May 26, 2014 at 04:27:03PM +0100, Al Viro wrote:
> Do these livelocks keep happening indefinitely, once triggered? IOW,
> is that a buggered state of dcache and/or kernfs, or is it a transient pileup
> that happens when we invalidate a subtree there?
Could you slap
if
From: Yann Droneaud
The changes made by this patch was originally part of the patch available
in the below link. It was requested that the change to .name was made in
a separate patch.
http://lkml.kernel.org/r/1390817152-30898-1-git-send-email-ydrone...@opteya.com
It's a pity that 7 bytes are
The first patch in this series changed the platform_device_alloc
function to assign the u64 .dma_mask pointer of struct device to
the address of a u64 .dma_mask member of struct platform_object.
This means that we no longer should allocate memory for the .dma_mask
pointer of struct device when
From: Yann Droneaud
Since commit 01dcc60a7cb8, platform_device_register_full() is
available to allocate and register a platform device.
If a dma_mask is provided as part of platform_device_info,
platform_device_register_full() allocate memory for a u64 using
kmalloc().
A comment in the code
-trout-gpio.c
Fix this by updating the reference to the new Kconfig option.
Reported-by: Paul Bolle
Signed-off-by: Georgi Djakov
---
Changes since v1:
- Fixed similar issue in board-trout.c and board-trout-gpio.c
Applies to next-20140526.
arch/arm/mach-msm/board-trout-gpio.c |2 +-
arch
On Wed, May 21, 2014 at 04:32:26PM +0100, Giedrius Rekasius wrote:
> From: Giedrius Rekasius
>
> Remove local variable "stored" from ext4_readdir(...). This variable
> gets initialized but is never used inside the function.
>
> Signed-off-by: Giedrius Rekasius
Applied, thanks.
Originally, this header was defining two new typedefs, CMND_TYPE and
CMND_TYPE_SD, following this type of declaration:
typedef enum {
...
} CMND_TYPE;
A previous commit (785086556a573f07747b3633732a9dbd7e45728f) tried to
fix warnings that were pointed out by checkpatch.pl, concerning not
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
index cf88bf2..4e9f797 100644
---
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/include/odm.h |8
1 file changed, 8 deletions(-)
diff --git a/drivers/staging/rtl8188eu/include/odm.h
b/drivers/staging/rtl8188eu/include/odm.h
index 9d1a79c..e83812f 100644
--- a/drivers/staging/rtl8188eu/include/odm.h
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/core/rtw_mp.c |1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/rtl8188eu/core/rtw_mp.c
b/drivers/staging/rtl8188eu/core/rtw_mp.c
index 705f666..17427a6 100644
--- a/drivers/staging/rtl8188eu/core/rtw_mp.c
+++
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/include/odm_interface.h |4
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/rtl8188eu/include/odm_interface.h
b/drivers/staging/rtl8188eu/include/odm_interface.h
index 5338290..ba58a67 100644
---
Use "ODM_REG_CCK_CCA_11N" directly instead of using ODM_REG(CCK_CCA, pDM_Odm)
which produces same after preprocessing.
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/hal/odm.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8188eu/hal/odm.c
Please I would like you to keep this proposal as a top secret and delete it if
you are not interested and get back to me if you are interested for details as
regards to the transfer of $24,500,000 to you.
This money initially belongs to a Libyan client who died in the libya crisis
and had no
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/hal/odm.c |9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/odm.c
b/drivers/staging/rtl8188eu/hal/odm.c
index 2bd68aa..205ba7f 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/include/odm_interface.h | 24 -
drivers/staging/rtl8188eu/include/odm_precomp.h |1 -
2 files changed, 25 deletions(-)
delete mode 100644 drivers/staging/rtl8188eu/include/odm_interface.h
diff --git
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/include/odm_interface.h | 30 -
1 file changed, 30 deletions(-)
diff --git a/drivers/staging/rtl8188eu/include/odm_interface.h
b/drivers/staging/rtl8188eu/include/odm_interface.h
index ba58a67..2c2991e 100644
---
ODM_REG(IGI_A, pDM_Odm) and ODM_BIT(IGI, pDM_Odm) macros produce
ODM_REG_IGI_A_11N and ODM_BIT_IGI_11N respectively after preprocessing.
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/hal/odm.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/include/odm_interface.h |6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/rtl8188eu/include/odm_interface.h
b/drivers/staging/rtl8188eu/include/odm_interface.h
index e29ac79..dc6b1c2 100644
---
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/include/odm_types.h | 25 -
1 file changed, 25 deletions(-)
diff --git a/drivers/staging/rtl8188eu/include/odm_types.h
b/drivers/staging/rtl8188eu/include/odm_types.h
index 78ee2ba..c1355b9 100644
---
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/include/odm_interface.h | 11 ---
1 file changed, 11 deletions(-)
diff --git a/drivers/staging/rtl8188eu/include/odm_interface.h
b/drivers/staging/rtl8188eu/include/odm_interface.h
index 548a309..3fc3e3c 100644
---
ODM_REG(IGI_A, pDM_Odm) and ODM_BIT(IGI, pDM_Odm) macros produce
ODM_REG_IGI_A_11N and ODM_BIT_IGI_11N respectively after preprocessing.
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/hal/odm.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/include/odm_interface.h | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/staging/rtl8188eu/include/odm_interface.h
b/drivers/staging/rtl8188eu/include/odm_interface.h
index 3fc3e3c..5338290 100644
---
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/include/odm_interface.h |6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/rtl8188eu/include/odm_interface.h
b/drivers/staging/rtl8188eu/include/odm_interface.h
index 2c2991e..e29ac79 100644
---
rtw_hal_dm_deinit() calls rtl8188e_deinit_dm_priv() using funtion pointer.
rtl8188e_deinit_dm_priv() has empty defination, so we can remove
rtw_hal_dm_deinit() and later rtl8188e_deinit_dm_priv() also will be
removed.
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/hal/hal_intf.c
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/hal/rtl8188e_dm.c |4
drivers/staging/rtl8188eu/include/rtl8188e_dm.h |1 -
2 files changed, 5 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
index
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c |1 -
drivers/staging/rtl8188eu/include/hal_intf.h |1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/hal/odm_HWConfig.c |4
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/odm_HWConfig.c
b/drivers/staging/rtl8188eu/hal/odm_HWConfig.c
index 0145a11..f2e1d02 100644
---
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/hal/usb_halinit.c |6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c
b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 9020129..141f85a 100644
---
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/hal/odm_HWConfig.c |8
1 file changed, 8 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/odm_HWConfig.c
b/drivers/staging/rtl8188eu/hal/odm_HWConfig.c
index a755df3..0145a11 100644
---
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/hal/hal_intf.c |9 -
drivers/staging/rtl8188eu/include/hal_intf.h |3 ---
2 files changed, 12 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/hal_intf.c
b/drivers/staging/rtl8188eu/hal/hal_intf.c
index
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/hal/usb_halinit.c |2 --
drivers/staging/rtl8188eu/include/hal_intf.h |3 ---
2 files changed, 5 deletions(-)
diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c
b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/core/rtw_pwrctrl.c|9 -
drivers/staging/rtl8188eu/include/rtw_pwrctrl.h |2 --
2 files changed, 11 deletions(-)
diff --git a/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
commit ab81cbf99c881ca2b9a83682a8722fc84b2483d2
Author: Johan Hedberg
Date: Wed Dec 15 13:53:18 2010 +0200
Bluetooth: Implement automatic setup procedure for local adapters
A new HCI_AUTO_OFF flag is added that user space needs to clear to
avoid the automatic power off
Help, how do I
Hi guys,
so I get this with rc7+tip but not with rc6+tip:
ACPI Error: Could not enable RealTimeClock event (20140214/evxfevnt-212)
ACPI Warning: Could not enable fixed event - RealTimeClock (4)
(20140214/evxface-628)
rtc_cmos gets initialized fine with both though:
rc6+tip:
rtc_cmos
On Thu, May 22, 2014 at 09:26:47AM +0800, Axel Lin wrote:
> Use regulator_set_voltage_time_sel() instead of open-coded.
Applied, thanks.
signature.asc
Description: Digital signature
On Sun, May 25, 2014 at 04:29:49PM +0200, Frederic Weisbecker wrote:
> +bool irq_work_queue_on(struct irq_work *work, int cpu)
> +{
> + /* Only queue if not already pending */
> + if (!irq_work_claim(work))
> + return false;
> +
> + /* All work should have been flushed
On Sun, May 25, 2014 at 04:29:47PM +0200, Frederic Weisbecker wrote:
> An irq work can be handled from two places: from the tick if the work
> carries the "lazy" flag and the tick is periodic, or from a self IPI.
>
> We merge all these works in a single list and we use some per cpu latch
> to
On 26/05/2014 17:43, Jes Sorensen wrote:
> Benoit Taine writes:
> > This issue was reported by coccicheck using the semantic patch
> > at scripts/coccinelle/api/memdup.cocci
> >
> > Signed-off-by: Benoit Taine
> > ---
> > Tested by compilation without errors.
> >
> >
On Fri, May 16, 2014 at 04:25:34PM +0200, Philipp Zabel wrote:
> Commit 932580409a9dacbf42215fa737bf06ae2c0aa624
> "regmap: mmio: Add support for 1/2/8 bytes wide register address."
> broke regmap_mmio_write for uneven counts, for example 32-bit register
> addresses with no padding and 8-byte
On Tue, May 20, 2014 at 01:14:39PM +0100, Lee Jones wrote:
> MFD parts look okay to me.
> Mark can you tag the branch and ping it over to me please?
The following changes since commit c9eaa447e77efe77b7fa4c953bd62de8297fd6c5:
Linux 3.15-rc1 (2014-04-13 14:18:35 -0700)
are available in the
Am 26.05.2014 17:21, schrieb Benoit Taine:
> This issue was reported by coccicheck using the semantic patch
> at scripts/coccinelle/api/memdup.cocci
>
> Signed-off-by: Benoit Taine
> ---
> Tested by compilation without errors.
>
> drivers/misc/vmw_vmci/vmci_datagram.c |3 +--
> 1 file
Hi Preeti,
I have done ebizzy tests on my platforms but doesn't have similar
results than you (my results below). It seems to be linked to SMT. I'm
going to look at that part more deeply and try to find a more suitable
HW for tests.
ebizzy -t N -S 20
Quad cores
N tip +patchset
Commit-ID: 8d2af85e87eda746ff50801f5decd8aed9aed28e
Gitweb: http://git.kernel.org/tip/8d2af85e87eda746ff50801f5decd8aed9aed28e
Author: Arnd Bergmann
AuthorDate: Mon, 26 May 2014 17:12:10 +0200
Committer: Thomas Gleixner
CommitDate: Mon, 26 May 2014 17:45:09 +0200
ARM: iop13xx: fix msi
On Sun, 2014-05-25 at 20:21 +0200, Manfred Spraul wrote:
> The actual Linux implementation for semctl(GETNCNT) and semctl(GETZCNT)
> always (since 0.99.10) reported a thread as sleeping on all semaphores
> that are listed in the semop() call.
> The documented behavior (both in the Linux man page
On Wed, May 21, 2014 at 08:52:47AM +0200, Krzysztof Kozlowski wrote:
> From: Robert Baldyga
>
> This patch removes wrapper functions used to access regmap, and
> make driver using regmap_*() functions instead.
Acked-by: Mark Brown
signature.asc
Description: Digital signature
On Mon, May 26, 2014 at 11:32:05AM -0400, Michael H. Warfield wrote:
> On Mon, 2014-05-26 at 11:16 +0200, Seth Forshee wrote:
> > On Fri, May 23, 2014 at 08:48:25AM +0300, Marian Marinov wrote:
> > > -BEGIN PGP SIGNED MESSAGE-
> > > Hash: SHA1
> > >
> > > One question about this patch.
>
On Mon, May 26, 2014 at 04:58:12PM +0200, Boris BREZILLON wrote:
> Some regulators might take their power supply from other regulators defined
> by the same PMIC.
>
> Retry regulators registration until all regulators are registered or the
> last iteration didn't manage to register any new
On 05/26/2014 05:58 PM, Paul Bolle wrote:
Hi Georgi,
Hi Paul,
On Mon, 2014-05-26 at 16:58 +0300, Georgi Djakov wrote:
The Kconfig options DEBUG_MSM_UART1, DEBUG_MSM_UART2 and DEBUG_MSM_UART3
are removed, but they are still referenced in arch/arm/mach-msm/io.c
Fix this by updating the
Benoit Taine writes:
> This issue was reported by coccicheck using the semantic patch
> at scripts/coccinelle/api/memdup.cocci
>
> Signed-off-by: Benoit Taine
> ---
> Tested by compilation without errors.
>
> drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c |3 +--
>
On Mon, May 26, 2014 at 04:56:54PM +0200, Paolo Bonzini wrote:
> Il 26/05/2014 16:28, Michael S. Tsirkin ha scritto:
> >> static inline void apic_clear_isr(int vec, struct kvm_lapic *apic)
> >> {
> >>- if (__apic_test_and_clear_vector(vec, apic->regs + APIC_ISR))
> >>+ struct kvm_vcpu *vcpu;
>
On Mon, May 19, 2014 at 01:14:20PM +0200, Alban Bedel wrote:
> Add the required definitions and macros to allow easily adding fixed
> regulators. This required for the TPS658640 that doesn't allow setting
> the LDO_RTC output voltage.
Applied both, thanks.
signature.asc
Description: Digital
On Mon, May 19, 2014 at 03:13:45PM +0800, Xiubo Li wrote:
> Since we cannot make sure the 'chip->num_regs' will always be none zero
> from the users, and then if 'chip->num_regs' equals to zero by mistake
> or other reasons, the kzalloc() will return ZERO_SIZE_PTR, which equals
> to ((void *)16).
On Mon, 2014-05-26 at 11:16 +0200, Seth Forshee wrote:
> On Fri, May 23, 2014 at 08:48:25AM +0300, Marian Marinov wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > One question about this patch.
> >
> > Why don't you use the devices cgroup check if the root user in that
> >
Hi
On Mon, May 26, 2014 at 5:21 PM, Benoit Taine wrote:
> This issue was reported by coccicheck using the semantic patch
> at scripts/coccinelle/api/memdup.cocci
>
> Signed-off-by: Benoit Taine
Reviewed-by: David Herrmann
Thanks
David
> ---
> Tested by compilation without errors.
>
>
Hi all,
I mentioned at LSF/MM that I wanted to revive this, and at the time there were
no disagreements.
I finally got around to refreshing the patch(es) so here goes.
These patches introduce VM_PINNED infrastructure, vma tracking of persistent
'pinned' page ranges. Pinned is anything that has
On Mon, 26 May 2014 17:04:24 +0200, Arnd Bergmann wrote:
> The gpio-pch driver was recently enabled for compile-tests,
> which revealed that it is missing an include for linux/slab.h,
> which on ARM is not implied by any of the other headers.
>
> Signed-off-by: Arnd Bergmann
>
> diff --git
The versatile express changes for 3.16 introduced a number of
build regressions for randconfig kernels by not tracking dependencies
between the components right.
This patch tries to rectify that:
* the mach-vexpress code cannot link without the syscfg driver,
which in turn needs
Change the perf RLIMIT_MEMLOCK accounting to use VM_PINNED. Because
the way VM_PINNED works (it hard assumes the entire vma length is
accounted) we have to slightly change semantics.
We used to only add to the RLIMIT_MEMLOCK accounting once we were over
the per-user limit, now we'll directly
XXX: got lost, need the start vaddr in the release paths, help?
Use the mm_mpin() call to prepare the vm for a 'persistent'
get_user_pages() call.
Cc: Christoph Lameter
Cc: Thomas Gleixner
Cc: Andrew Morton
Cc: Hugh Dickins
Cc: Mel Gorman
Cc: Mike Marciniszyn
Cc: Roland Dreier
Cc: Sean
Introduce VM_PINNED and related machinery to solve a number of issues;
Firstly, various subsystems (perf, IB amongst others) 'pin'
significant chunks of memory (through holding page refs or custom
maps), because this memory is unevictable we must test this against
RLIMIT_MEMLOCK.
However, you
Use the mm_mpin() call to prepare the vm for a 'persistent'
get_user_pages() call.
Cc: Christoph Lameter
Cc: Thomas Gleixner
Cc: Andrew Morton
Cc: Hugh Dickins
Cc: Mel Gorman
Cc: Roland Dreier
Cc: Sean Hefty
Cc: Hal Rosenstock
Signed-off-by: Peter Zijlstra
---
Hi
This is version 3 of my Thunderbolt driver for Apple hardware (see [1] for v2).
Changes since v2:
- Use pci quirks instead of changing the pcie port driver.
- Relax the DMI checks to run on all MacBooks with a Cactus Ridge chip (MBP
Mid 2012 - Early 2013, MBA Mid 2012 - Early 2014). I
On 26/05/2014 16:58, Boris BREZILLON wrote:
> Add support for the AXP221 PMIC device to the existing AXP20x driver.
>
> The AXP221 defines a new set of registers, power supplies and regulators,
> but most of the API is similar to the AXP20x ones.
> The AXP20x irq chip definition is reused, though
XXX: got lost, need the start vaddr in the release paths, help?
Use the mm_mpin() call to prepare the vm for a 'persistent'
get_user_pages() call.
Cc: Christoph Lameter
Cc: Thomas Gleixner
Cc: Andrew Morton
Cc: Hugh Dickins
Cc: Mel Gorman
Cc: Mike Marciniszyn
Cc: Roland Dreier
Cc: Sean
Add struct tb which will contain our view of the thunderbolt bus. For
now it just contains a pointer to the control channel and a workqueue
for hotplug events.
Add thunderbolt_alloc_and_start() and thunderbolt_shutdown_and_free()
which are responsible for setup and teardown of struct tb.
Thunderbolt config areas contain capability lists similar to those found
on pci devices. This patch introduces a tb_find_cap utility method to
search for capabilities.
Signed-off-by: Andreas Noever
---
drivers/thunderbolt/Makefile | 2 +-
drivers/thunderbolt/cap.c| 116
Thunderbolt switches have a plug events capability. This patch adds the
tb_plug_events_active method and uses it to activate plug events during
switch allocation.
Signed-off-by: Andreas Noever
---
drivers/thunderbolt/switch.c | 46
Thunderbolt devices are configured by reading/writing into their
configuration space (similar to pci). This is done by sending packets
through the NHI (native host interface) onto the control channel.
This patch handles the low level packet based protocol and exposes
higher level operations like
On Mon, May 26, 2014 at 05:29:48PM +0300, Mika Westerberg wrote:
> I attached the dmesg with 'echo t > /proc/sysrq-trigger' included.
> [ 133.826957] usb 3-10.3: USB disconnect, device number 7
> [ 159.326769] BUG: soft lockup - CPU#6 stuck for 22s! [systemd-udevd:1824]
> [ 159.326809] CPU:
We reveive a plug event callback whenever a thunderbolt device is added
or removed. This patch fills in the tb_handle_hotplug method and starts
reacting to these events by adding/removing switches from the hierarchy.
Signed-off-by: Andreas Noever
---
drivers/thunderbolt/switch.c | 42
Add utility methods tb_port_state and tb_wait_for_port. Add
tb_scan_switch which recursively checks for downstream switches.
Signed-off-by: Andreas Noever
---
drivers/thunderbolt/switch.c | 97
drivers/thunderbolt/tb.c | 44
A thunderbolt path is a unidirectional channel between two thunderbolt
ports. Two such paths are needed to establish a pci tunnel.
This patch introduces struct tb_path as well as a set of tb_path_*
methods which are used do activate & deactive paths.
Signed-off-by: Andreas Noever
---
A pci downstream and pci upstream port can be connected through a
tunnel. To establish the tunnel we have to setup two unidirectional
paths between the two ports.
Right now we only support paths with two hops (i.e. no chaining) and at
most one pci device per thunderbolt device.
Signed-off-by:
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/usb/storage/ene_ub6250.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
Thunderbolt hotplug is supposed to be handled by the firmware. But Apple
decided to implement thunderbolt at the operating system level. The
firmare only initializes thunderbolt devices that are present at boot
time. This driver enables hotplug of thunderbolt of non-chained
thunderbolt devices on
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/memstick/core/mspro_block.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/usb/r8152.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/net/usb/r8152.c
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/misc/vmw_vmci/vmci_datagram.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/wireless/ath/wcn36xx/smd.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
301 - 400 of 1404 matches
Mail list logo