lkml.org 
[lkml]   [2018]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: UV: raw_spinlock conversion
On Fri, 4 May 2018, Sebastian Andrzej Siewior wrote:

> From: Mike Galbraith <umgwanakikbuti@gmail.com>
>
> Shrug. Lots of hobbyists have a beast in their basement, right?

This hardly qualifies as a proper changelog ...

> }
> @@ -299,13 +299,17 @@ static int uv_rtc_unset_timer(int cpu, i
> static u64 uv_read_rtc(struct clocksource *cs)
> {
> unsigned long offset;
> + u64 cycles;
>
> + preempt_disable();
> if (uv_get_min_hub_revision_id() == 1)
> offset = 0;
> else
> offset = (uv_blade_processor_id() * L1_CACHE_BYTES) % PAGE_SIZE;
>
> - return (u64)uv_read_local_mmr(UVH_RTC | offset);
> + cycles = (u64)uv_read_local_mmr(UVH_RTC | offset);
> + preempt_enable();
> + return cycles;

And how exaclty is this hunk related?

Thanks,

tglx

\
 
 \ /
  Last update: 2018-05-06 12:28    [W:0.079 / U:1.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site