[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH linux-next v2 0/2] x86/xen TSC related cleanups


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
  • From: Krister Johansen <kjlx@xxxxxxxxxxxxxxxxxx>
  • Date: Wed, 22 Feb 2023 09:54:29 -0800
  • Arc-authentication-results: i=1; rspamd-9788b98bc-v29wb; auth=pass smtp.auth=dreamhost smtp.mailfrom=kjlx@xxxxxxxxxxxxxxxxxx
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1677088474; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=ukKEaiyitO8JgQ7lcfjsogM/CK+0CQFsiEgPLxhpECQ=; b=NKNRzIymtrfIHpsabE+/C5W1QFbnuFwVeE2R2++O91pwhHJiS6ETO1QFzmhMWRv1bgxDHY 1QkCtNbofpX3IB8egf48f4SkEpQd8uGnFnAj9vRHPzHnK8SBgSotqzjSrQdgyeWALpbB+I 9n1bshqR3CQHDjSALKHRKsSLOI5rtPGc2nIHGMxH2eINS+NVCwGhUKt0cuenPJ+v1q+oHR IKAntGwNTdla8+MUnf5oEUcwNtCJATyVOIGNVNQHmucz8kGaLvkDp7c6UMWk+nIWcOAVsb SciKS81rSnfvqKdqSXg9mw1FvmTjm1lIhuQOwDWo2gFtBzbh+MPHG/WNQ5Wf/g==
  • Arc-seal: i=1; s=arc-2022; d=mailchannels.net; t=1677088474; a=rsa-sha256; cv=none; b=A11yR1jR0VRK8sbWVZl8BEktB8QVm1bKuuOWsPW6PSpNrTXYvrsHLf2gypnkQhDdK0/4pp IKBeBNHYe0PkSvxS80QVdmc/1hutXoSPioUOtlnE/LDuqLqf/HGHa2wzD4cX9Q1y7v7vrS j5J6egdgdCvh8eoGBPFL1P1nNvnoxPejrofEgbRwEyxfGaSGDWH6ADO3i1O34iBp9KkA12 bXXhuv/QPme+Sm8LOOIJTfQnD6Ma/z3U24uEM39lUncz8+J11B3sXHGvqvhyDi9geJhxAH S21fHJuipZ+vJF2BzCXntZtp3z06BdXx1N1a0viXGCEEx9rbF7wGdsDQBJgy3w==
  • Cc: Juergen Gross <jgross@xxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>, x86@xxxxxxxxxx, "H. Peter Anvin" <hpa@xxxxxxxxx>, Marcelo Tosatti <mtosatti@xxxxxxxxxx>, Anthony Liguori <aliguori@xxxxxxxxxx>, David Reaver <me@xxxxxxxxxxxxxxx>, Brendan Gregg <brendan@xxxxxxxxx>
  • Delivery-date: Wed, 22 Feb 2023 17:55:15 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi,
Enclosed please find a pair of patches that perform some additional cleanup
that was suggested by Boris, Jan and Thomas.

Specifically: this resync's arch/x86/include/asm/xen/cpuid.h from its
upstream source in the Xen tree, and then uses one of the new #define-s to
replace a constant in x86/xen/time.c that was previously only numerically
defined.  Pedantic code from v1 is dropped in favor of a more appropriate
return statement.

Changes from v1:

- Coding style fixup in arch/x86/xen/time.c (Feedback from Thomas Gleixner)


Krister Johansen (2):
  xen: update arch/x86/include/asm/xen/cpuid.h
  x86/xen/time: cleanup xen_tsc_safe_clocksource

 arch/x86/include/asm/xen/cpuid.h | 22 ++++++++++++++++++----
 arch/x86/xen/time.c              |  7 ++-----
 2 files changed, 20 insertions(+), 9 deletions(-)

-- 
2.25.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.