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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YcGhWRPSbxNC4Qn9@hirez.programming.kicks-ass.net>
Date:   Tue, 21 Dec 2021 10:41:45 +0100
From:   Peter Zijlstra <peterz@...radead.org>
To:     Mathias Nyman <mathias.nyman@...ux.intel.com>
Cc:     Greg KH <gregkh@...uxfoundation.org>,
        Dave Hansen <dave.hansen@...el.com>,
        Lu Baolu <baolu.lu@...ux.intel.com>, x86@...nel.org,
        linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
        Chunfeng Yun <chunfeng.yun@...iatek.com>
Subject: Re: earlyprintk=xdbc seems broken

On Tue, Dec 21, 2021 at 10:40:50AM +0100, Peter Zijlstra wrote:
> diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c
> index 2e076a459a0c..cd8b5cac542a 100644
> --- a/arch/x86/kernel/tsc.c
> +++ b/arch/x86/kernel/tsc.c
> @@ -1485,6 +1485,7 @@ void __init tsc_early_init(void)
>  	loops_per_jiffy = get_loops_per_jiffy();
>  
>  	tsc_enable_sched_clock();
> +	use_tsc_delay();
>  }
>  
>  void __init tsc_init(void)

Thomas, the above hunk seems right to me; should I make a proper patch
ouf of that or did I overlook something obvious ?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ