Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp383248rwi; Thu, 27 Oct 2022 02:35:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4P6fyG1W40mXlKJ2Uzxc0bfJKu/vlbB4HGJ62t81Q5DEd70sHtSOhCFvi4NrZsK4oZCRra X-Received: by 2002:a05:6a00:230f:b0:53e:2c2c:5c03 with SMTP id h15-20020a056a00230f00b0053e2c2c5c03mr48332019pfh.11.1666863300654; Thu, 27 Oct 2022 02:35:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666863300; cv=none; d=google.com; s=arc-20160816; b=DCLIqN+QxsZi0hF6btlwnumeFsV4UOcwq9ThBLHaPINd2emrnbdFZdGXupIbNCKCxg nTK9TY3ywWFL5CbtYD4djhTxUhksCCOyPgL5JT21eKd0J93nHRtURztEWcyBt8jOhghd MJ2qzODMsP8KjZ15M1OZLmDJeap/DfwMvttXJK91UMPp4wWSPqELKnsAEFRQkSxamaVl PP1cT1QG2Galw22SXJK+SmelZL6HUKreElOyMY5v53fDp2G7XzDk/bd7Yt++Vu1/UV5W txp/4hDswVB8cM1Ra97fbOzvLEt63Sj5LbIomXEqZjJvdOEFqRcm9b9CNoBgTOks5njq CT1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=PuWsivckZVN0DUmFsrtIzP5SfWNqnnELeSC7m6XkqO0=; b=jRO5LEpG1YeyqLkBhJzN5EWU7uSpmLrAMb3mUzbHYRzYWj2dg01iZ0dQTZM7RPDDb/ DBnsh0UZAhjkEY/nSGSYjKc2vmYn1DE4rwvb3/NatZvMJy0gAkGdAugPi2pAg575RYF+ G0355YKf63tI0N2DcdLx5LoBb7mOxdQ5N1nBF3kFRHEWq94Khz5VaPAVIpL6KdIZWCub 2T3Vsvc/dZkpMHq4gJjmGxS8UgwT08T9jBni1kSLy4Wpf/7xFV4cSLI7DpDVzmFaNrPJ /YghfPRbtxAOC7MIS0mBjGV3JWcSgvlqAC7oo6SBROj6ncr/khQBEwAu8M8jkkSWP4o3 SlhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=ECir+ksA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i26-20020a63221a000000b004525a153e80si986228pgi.445.2022.10.27.02.34.49; Thu, 27 Oct 2022 02:35:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=ECir+ksA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234456AbiJ0JSU (ORCPT + 99 others); Thu, 27 Oct 2022 05:18:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229616AbiJ0JSS (ORCPT ); Thu, 27 Oct 2022 05:18:18 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F2B6C4C for ; Thu, 27 Oct 2022 02:18:17 -0700 (PDT) Received: from zn.tnic (p200300ea9733e7cb329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9733:e7cb:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 07D621EC0304; Thu, 27 Oct 2022 11:18:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1666862296; 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: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=PuWsivckZVN0DUmFsrtIzP5SfWNqnnELeSC7m6XkqO0=; b=ECir+ksAb1wck/b9cY4WWx2YowY5msdpOFe8bK0ZcXwjlMW3WNGZRGyQhdE1uZfApCDO6H PVy6Q+uZLRRkULhLvqHKfLISTQL+6ltVx0iNx7+gNHmRnR2M6D1YkGWrGnhvGxTX8QT+Cs KfW+LUAy8hSIRP1hSJdjSZyOsmnvTuc= Date: Thu, 27 Oct 2022 11:18:11 +0200 From: Borislav Petkov To: Juergen Gross Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" Subject: Re: [PATCH v4 08/16] x86/mtrr: remove set_all callback from struct mtrr_ops Message-ID: References: <20221004081023.32402-1-jgross@suse.com> <20221004081023.32402-9-jgross@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221004081023.32402-9-jgross@suse.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 04, 2022 at 10:10:15AM +0200, Juergen Gross wrote: > diff --git a/arch/x86/kernel/cpu/mtrr/mtrr.c b/arch/x86/kernel/cpu/mtrr/mtrr.c > index dacb537da126..501ca1747d55 100644 > --- a/arch/x86/kernel/cpu/mtrr/mtrr.c > +++ b/arch/x86/kernel/cpu/mtrr/mtrr.c > @@ -165,15 +165,15 @@ static int mtrr_rendezvous_handler(void *info) > * saved, and we want to replicate that across all the cpus that come > * online (either at the end of boot or resume or during a runtime cpu > * online). If we're doing that, @reg is set to something special and on > - * all the cpu's we do mtrr_if->set_all() (On the logical cpu that > + * all the cpu's we do cache_cpu_init() (On the logical cpu that s/cpu's/CPUs/ s/cpu/CPU/ while at it. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette