+CC linux-api
On 08/28/2017 02:28 AM, Joonsoo Kim wrote:
> On Fri, Aug 25, 2017 at 09:56:10AM +0200, Vlastimil Babka wrote:
>> On 08/25/2017 02:20 AM, Joonsoo Kim wrote:
>>> On Thu, Aug 24, 2017 at 11:41:58AM +0200, Vlastimil Babka wrote:
>>>
>>> Hmm, this is already pointed by Minchan and I have
Am 28.08.2017 02:23 schrieb Harinath Nampally:
This driver supports multiple devices like mma8653,
mma8652, mma8452, mma8453 and fxls8471. Almost all
these devices have more than one event.
Current driver design hardcodes the event specific
information, so only one event can be s
1;4803;0c
On Sun, Aug 27, 2017 at 03:55:23PM +0300, Priit Laes wrote:
> This reverts commit 2154d94b40ea2a5de05245521371d0461bb0d669.
>
> The original patch was intented to avoid some issues with the sunxi
> gpio rework and was supposed to be reverted after all the required
> DT bits had been merg
On Wed, Aug 16, 2017 at 01:35:35PM -0400, Nicolas Pitre wrote:
> +static const struct vm_operations_struct cramfs_vmasplit_ops;
> +static int cramfs_vmasplit_fault(struct vm_fault *vmf)
> +{
> + struct mm_struct *mm = vmf->vma->vm_mm;
> + struct vm_area_struct *vma, *new_vma;
> + unsig
Hi!
> >No, tag_ksz part probably is not acceptable. Do you see solution
> >better than just copying it into tag_ksz1 file?
>
> You could have all Micrel tag implementations live under net/dsa/tag_ksz.c
> and have e.g: DSA_TAG_PROTO_KSZ for the current (newer) switches and
> DSA_TAG_PROTO_KSZ_LE
On Mon, 2017-08-28 at 08:10 +0200, Mike Galbraith wrote:
> Iff deeper cstate etc for
> longer does make a big difference, I can imagine wakeup time migrate
> leftward if capacity exists as an "on battery" tactic. (though that
> thought also invokes some unpleasant bounce fest images)
(consolidate
On Mon, Aug 28, 2017 at 04:41:27PM +1000, Stephen Rothwell wrote:
> Hi James,
>
> Today's linux-next merge of the scsi tree got a conflict in:
>
> drivers/staging/unisys/visorhba/visorhba_main.c
>
> between commits:
>
> 781facd05eb9 ("staging: unisys: visorhba: visorhba_main.c: fixed commen
This patch adds the opregion driver for Dollar Cove TI PMIC on Intel
Cherry Trail devices. The patch is based on the original work by
Intel, found at:
https://github.com/01org/ProductionKernelQuilts
with many cleanups and rewrites.
The driver is currently provided only as built-in to follow
Hi Russell,
On Fri, Aug 25, 2017 at 11:46:16PM +0100, Russell King - ARM Linux wrote:
> On Fri, Aug 25, 2017 at 04:48:16PM +0200, Antoine Tenart wrote:
> > This patch adds logic to reconfigure the comphy/gop when the link status
> > change at runtime. This is very useful on boards such as the mcbi
Hi Nick,
On Fri, Aug 25, 2017 at 07:31:14PM +, Nick Terrell wrote:
> On 8/24/17, 10:19 PM, "Minchan Kim" wrote:
> > On Fri, Aug 25, 2017 at 01:35:35AM +, Nick Terrell wrote:
> [..]
> > > I think using dictionaries in zram could be very interesting. We could for
> > > example, take a rando
The error and the spurious interrupt are really rare events and not at all
so performance sensitive that two NOP5s can not be tolerated when tracing
is disabled.
Remove the nonsense.
Signed-off-by: Thomas Gleixner
Reviewed-by: Steven Rostedt (VMware)
---
arch/x86/include/asm/hw_irq.h |4 +-
The only users of alloc_intr_gate() are hypervisors, which both check the
used_vectors bitmap whether they have allocated the gate already. Move that
check into alloc_intr_gate() and simplify the users.
Signed-off-by: Thomas Gleixner
Reviewed-by: Juergen Gross
Cc: "K. Y. Srinivasan"
Cc: Stephen
The IDT cleanup is about to remove pack_descriptor(). The GDT setup for the
percpu storage can be achieved with the static initializer as well. Replace
it.
Signed-off-by: Thomas Gleixner
---
arch/x86/kernel/setup_percpu.c |9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
--- a/a
desc_struct is a union of u32 fields and bitfields. The access to the u32
fields is done with magic macros.
Convert it to use the bitfields and replace the macro magic with parseable
inline functions.
Signed-off-by: Thomas Gleixner
---
arch/x86/math-emu/fpu_entry.c | 11 -
arch/x86/
set_intr_gate() is an internal function of the IDT code. The only user left
is the KVM code which replaces the pagefault handler eventually.
Provide an explicit update_intr_gate() function and make set_intr_gate()
static. While at it replace the magic number 14 in the KVM code with the
proper trap
The IDT related inlines are not longer used. Remove them.
Signed-off-by: Thomas Gleixner
---
arch/x86/include/asm/desc.h | 36
1 file changed, 36 deletions(-)
--- a/arch/x86/include/asm/desc.h
+++ b/arch/x86/include/asm/desc.h
@@ -390,16 +390,6 @@ static i
Signed-off-by: Thomas Gleixner
---
arch/x86/include/asm/desc.h | 37 ++---
arch/x86/kernel/idt.c | 43 ++-
2 files changed, 36 insertions(+), 44 deletions(-)
--- a/arch/x86/include/asm/desc.h
+++ b/arch/x86/include
Initialize the regular traps with a table.
Signed-off-by: Thomas Gleixner
---
arch/x86/include/asm/desc.h |1
arch/x86/kernel/idt.c | 51
arch/x86/kernel/traps.c | 41 ---
3 files changed, 53 insertio
Like the IDT descriptors the LDT/TSS descriptors are pointlessly different
on 32 and 64 bit.
Unify them and get rid of the duplicated code.
Signed-off-by: Thomas Gleixner
---
arch/x86/include/asm/desc.h | 26 +++---
arch/x86/include/asm/desc_defs.h | 27
Move the gate intialization from interrupt init to the IDT code so all IDT
related operations are at a single place.
Signed-off-by: Thomas Gleixner
---
arch/x86/kernel/idt.c | 18 ++
arch/x86/kernel/irqinit.c | 18 --
2 files changed, 18 insertions(+), 18
Add the debug_idt init table and make use of it.
Signed-off-by: Thomas Gleixner
---
arch/x86/include/asm/desc.h |2 ++
arch/x86/kernel/idt.c | 23 +++
arch/x86/kernel/traps.c |6 +-
3 files changed, 26 insertions(+), 5 deletions(-)
--- a/arch/x86/incl
Hi Russell,
On Fri, Aug 25, 2017 at 11:43:13PM +0100, Russell King - ARM Linux wrote:
> On Fri, Aug 25, 2017 at 04:48:12PM +0200, Antoine Tenart wrote:
> > The link mode (speed, duplex) was forced based on what the phylib
> > returns. This should not be the case, and only forced by ethtool
> > fun
Replace the APIC/SMP vector gate initialization with the table based
mechanism.
Signed-off-by: Thomas Gleixner
---
arch/x86/include/asm/desc.h |1
arch/x86/kernel/idt.c | 48 ++
arch/x86/kernel/irqinit.c | 69 --
On Fri, Aug 25, 2017 at 05:41:03PM +0900, Byungchul Park wrote:
> Hello all,
>
> This is _RFC_.
>
> I want to request for comments about if it's reasonable conceptually. If
> yes, I want to resend after working it more carefully.
>
> Could you let me know your opinions about this?
>
> ->8--
Initialize the IST based traps via a table
Signed-off-by: Thomas Gleixner
---
arch/x86/include/asm/desc.h |2 ++
arch/x86/kernel/idt.c | 22 ++
arch/x86/kernel/traps.c |9 +
3 files changed, 25 insertions(+), 8 deletions(-)
--- a/arch/x86/include/
The GDT entry related code uses partially bitfields and macros which
initialize the two 16 bit parts of the entry by magic shift and mask
operations.
Clean it up and use the bitfields to initialize and access entries.
Signed-off-by: Thomas Gleixner
---
arch/x86/entry/vdso/vma.c|2 -
The IDT setup code is handled in several places. All of them use variants
of set_intr_gate() inlines. This can be done with a table based
initialization, which allows to reduce the inline zoo and puts all IDT
related code and information into a single place.
Add the infrastructure.
Signed-off-by:
Add the initialization table for the early trap setup and replace the early
trap init code.
Signed-off-by: Thomas Gleixner
---
arch/x86/kernel/idt.c | 53
arch/x86/kernel/setup.c |4 +--
arch/x86/kernel/traps.c | 27 -
Hi Jacek,
On Sun, Aug 27, 2017 at 06:44:05PM +0200, Jacek Anaszewski wrote:
> Hi Willy,
>
> Thanks for the updated patch.
>
> One formal note: please send the patches with git send-email instead
> of attaching them to the message.
Yep, I hesitated and wanted to reply. Will do it the other way n
kexec and reboot have both code to invalidate IDT. Create a common function
and use it.
Signed-off-by: Thomas Gleixner
---
arch/x86/include/asm/desc.h|3 +++
arch/x86/kernel/idt.c | 11 +++
arch/x86/kernel/machine_kexec_32.c | 14 +-
arch/x86/kern
The early IDT handler setup is done in C entry code for 64 bit and in ASM
entry code for 32 bit. Move the 64bit variant to the IDT code so it can be
shared with 32bit in the next step.
Signed-off-by: Thomas Gleixner
---
arch/x86/include/asm/desc.h |9 +
arch/x86/kernel/head64.c|
The early IDT setup can be done in C code like it's done on 64 bit. Reuse
the 64 bit version.
Signed-off-by: Thomas Gleixner
---
arch/x86/include/asm/segment.h |1 +
arch/x86/kernel/head32.c |4
arch/x86/kernel/head_32.S | 36 ++--
arch/x
The union inside of desc_struct which allows access to the raw u32 parts of
the descriptors. This raw access part is about to go away.
Replace the few code parts which access those fields.
Signed-off-by: Thomas Gleixner
Reviewed-by: Boris Ostrovsky
Cc: Juergen Gross
---
arch/x86/include/asm/x
This inline is not used at all.
Signed-off-by: Thomas Gleixner
---
arch/x86/include/asm/desc.h | 12
1 file changed, 12 deletions(-)
--- a/arch/x86/include/asm/desc.h
+++ b/arch/x86/include/asm/desc.h
@@ -446,18 +446,6 @@ static inline void set_system_intr_gate(
_set_gate
32bit has the idt_descr sitting in the low level assembly entry code. There
is no reason for that. Move it into the C file and use the 64bit version of
it.
Signed-off-by: Thomas Gleixner
---
arch/x86/kernel/head_32.S |6 --
arch/x86/kernel/idt.c | 10 +-
2 files changed, 5
The platform IPI vector is only installed when the local APIC is enabled. All
users of it depend on the local APIC anyway.
Make the related code conditional on CONFIG_X86_LOCAL_APIC.
Signed-off-by: Thomas Gleixner
---
arch/x86/include/asm/entry_arch.h |3 +--
arch/x86/kernel/irq.c
301 - 336 of 336 matches
Mail list logo