lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20120605112255.GA11434@dhcp-26-207.brq.redhat.com>
Date:	Tue, 5 Jun 2012 13:22:59 +0200
From:	Alexander Gordeev <agordeev@...hat.com>
To:	linux-kernel@...r.kernel.org
Cc:	x86@...nel.org, Suresh Siddha <suresh.b.siddha@...el.com>,
	Yinghai Lu <yinghai@...nel.org>
Subject: [PATCH 0/8] x86: apic: Cleanup and improve four apic operations

This patchset is an attempt to make some implementations of four apic
operations bit more sane and readable. It was booted with these apic drivers:
flat/flat, flat/phys, bigsmp, x2apic/cluster.

- patches 2,3,4	get rid of duplicate implementation of apic operations
- patch 5	tunes the way vectors are assigned
- patch 6	makes minor improvement to the code
- patches 7,8	are a continuation of 18374d8 commit

Attached patches:
  1/8 x86: apic: Trivial whitespace fixes
  2/8 x86: apic: Factor out default target_cpus() operation
  3/8 x86: apic: Factor out default cpu_mask_to_apicid() operations
  4/8 x86: apic: Factor out default vector_allocation_domain() operations
  5/8 x86: apic: Try to spread IRQ vectors to different priority levels
  6/8 x86: apic: Avoid useless scanning thru a cpumask in
    assign_irq_vector()
  7/8 x86: apic: Make cpu_mask_to_apicid() operations return error code
  8/8 x86: apic: Make cpu_mask_to_apicid() operations check cpu_online_mask

 arch/x86/include/asm/apic.h           |   75 +++++++++++++++++---
 arch/x86/include/asm/x2apic.h         |   18 -----
 arch/x86/kernel/apic/apic.c           |   31 ++++++++
 arch/x86/kernel/apic/apic_flat_64.c   |   78 ++------------------
 arch/x86/kernel/apic/apic_noop.c      |   10 ++--
 arch/x86/kernel/apic/apic_numachip.c  |   51 +------------
 arch/x86/kernel/apic/bigsmp_32.c      |   49 +------------
 arch/x86/kernel/apic/es7000_32.c      |   43 ++++--------
 arch/x86/kernel/apic/io_apic.c        |  124 +++++++++++++++++++++-----------
 arch/x86/kernel/apic/numaq_32.c       |   30 +++-----
 arch/x86/kernel/apic/probe_32.c       |   21 +-----
 arch/x86/kernel/apic/summit_32.c      |   41 ++++-------
 arch/x86/kernel/apic/x2apic_cluster.c |   34 ++++++----
 arch/x86/kernel/apic/x2apic_phys.c    |   40 +----------
 arch/x86/kernel/apic/x2apic_uv_x.c    |   44 ++++++------
 arch/x86/platform/uv/uv_irq.c         |    7 ++-
 16 files changed, 291 insertions(+), 405 deletions(-)

-- 
1.7.7.6


-- 
Regards,
Alexander Gordeev
agordeev@...hat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ