Re: [PATCH] perf, ibs: Fix waking up from S3 for AMD family 10h

From: Robert Richter
Date: Wed Jan 15 2014 - 13:03:36 EST


On 15.01.14 15:57:29, Robert Richter wrote:
> @@ -816,6 +817,18 @@ static int force_ibs_eilvt_setup(void)
> return ret;
> }
>
> +void ibs_eilvt_setup(void)

Grrr, this is not static. Could this be changed when the patch is
applied assuming the rest is ok? Otherwise I will send an update.

Thanks,

-Robert

+{
> + /*
> + * Force LVT offset assignment for family 10h: The offsets are
> + * not assigned by the BIOS for this family, so the OS is
> + * responsible for doing it. If the OS assignment fails, fall
> + * back to BIOS settings and try to setup this.
> + */
> + if (boot_cpu_data.x86 == 0x10)
> + force_ibs_eilvt_setup();
> +}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/