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]
Date:	Thu, 14 Jun 2012 09:48:15 +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: Bug, warning and stylistic fixes to cpu_mask_to_apicid() ops

This patch set completes a cleanup of cpu_mask_to_apicid() operations
and fixes few bugs, warnings and code uglinesses.

patch 2 - acked by Suresh Siddha and Yinghai Lu
patch 3 - addresses comments of Ingo Molnar on patch 2

Attached patches:
  1/6 x86/x2apic/cluster: vector_allocation_domain() should return a value
  2/6 x86/apic: Eliminate cpu_mask_to_apicid() operation
  3/6 x86/apic: Fix ugly casting and branching in cpu_mask_to_apicid_and()
  4/6 x86/apic/es7000+summit: Fix compile warning in cpu_mask_to_apicid()
  5/6 x86/apic/es7000+summit: Always make valid apicid from a cpumask
  6/6 x86/apic/es7000: Make apicid of a cluster (not CPU) from a cpumask

 arch/x86/include/asm/apic.h           |   33 ++++++++-------------------------
 arch/x86/kernel/apic/apic.c           |   26 +++++++-------------------
 arch/x86/kernel/apic/apic_flat_64.c   |    2 --
 arch/x86/kernel/apic/apic_noop.c      |    1 -
 arch/x86/kernel/apic/apic_numachip.c  |    1 -
 arch/x86/kernel/apic/bigsmp_32.c      |    1 -
 arch/x86/kernel/apic/es7000_32.c      |   12 ++++++------
 arch/x86/kernel/apic/io_apic.c        |    3 ++-
 arch/x86/kernel/apic/numaq_32.c       |    8 --------
 arch/x86/kernel/apic/probe_32.c       |    1 -
 arch/x86/kernel/apic/summit_32.c      |    9 +++++----
 arch/x86/kernel/apic/x2apic_cluster.c |   20 ++------------------
 arch/x86/kernel/apic/x2apic_phys.c    |    1 -
 arch/x86/kernel/apic/x2apic_uv_x.c    |   31 +++++++------------------------
 arch/x86/platform/uv/uv_irq.c         |    2 +-
 15 files changed, 38 insertions(+), 113 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