From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C57E6C3F6B0 for ; Tue, 9 Aug 2022 15:14:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243800AbiHIPO1 (ORCPT ); Tue, 9 Aug 2022 11:14:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230178AbiHIPO0 (ORCPT ); Tue, 9 Aug 2022 11:14:26 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7889764DE; Tue, 9 Aug 2022 08:14:25 -0700 (PDT) Received: from zn.tnic (p200300ea971b9800329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:971b:9800: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 968A21EC050F; Tue, 9 Aug 2022 17:14:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1660058059; 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=+4HOfvI8mVF1+tfbZd5grdz8bB0WUV7y3pbiY6D96l4=; b=GAiuYPtQszC+SezMFQ0/c4DL1Vbmtgto8fOOxmA7JP6/07so846IkZrNJME8/ijneQt68c E7bVud7bhAlOn5Xovl1kC2wuT1ndF8xs/DZN8iQ6o/yIr0ty1Xg7lJEd3Ao0sqvEJsgg6W t0MTHX17qVEMx3i0tgKiDrlcIglIFrI= Date: Tue, 9 Aug 2022 17:14:15 +0200 From: Borislav Petkov To: "Kani, Toshi" Cc: Justin He , "Rafael J. Wysocki" , Len Brown , James Morse , Tony Luck , Mauro Carvalho Chehab , Robert Richter , Shuai Xue , Jarkko Sakkinen , ACPI Devel Maling List , Linux Kernel Mailing List , "open list:EDAC-CORE" Subject: Re: =?utf-8?B?5Zue5aSNOiBbUEFUQ0hdIEFDUEk=?= =?utf-8?Q?=3A?= APEI: move edac_init ahead of ghes platform drv register Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Tue, Aug 09, 2022 at 02:36:33PM +0000, Kani, Toshi wrote: > The logic needs to be latched on ghes presence, i.e., the condition is If GHES is not enabled, there'll of course be a stub which returns false. > Agree that changing all edac drivers to check with GHES is an option. Not all - all relevant drivers for your - HPE - use case. We don't load ghes_edac on anything else. Known-good platforms only, remember? > In this approach, though, they will need to check with foo_preferred() > when a new FW interface FOO is introduced. I'm afraid I don't understand what you mean here. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette