Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F64DC33C8C for ; Mon, 6 Jan 2020 16:17:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C826820848 for ; Mon, 6 Jan 2020 16:17:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alien8.de header.i=@alien8.de header.b="E0L91l5U" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726518AbgAFQRl (ORCPT ); Mon, 6 Jan 2020 11:17:41 -0500 Received: from mail.skyhub.de ([5.9.137.197]:48804 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726448AbgAFQRl (ORCPT ); Mon, 6 Jan 2020 11:17:41 -0500 Received: from zn.tnic (p200300EC2F270F00B18FEB7C8E4C4E0C.dip0.t-ipconnect.de [IPv6:2003:ec:2f27:f00:b18f:eb7c:8e4c:4e0c]) (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 6B9081EC068C; Mon, 6 Jan 2020 17:17:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1578327459; 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=0VhAvEHXgKym7Mcc4FcNCW/WIlO2xc2jAKlwcb5C37U=; b=E0L91l5Uix1tZoShcI7k9Nr6292MqiZkct8QcB/wmkydc/VcHGIDGEdySYT777AoFQK5Et 3cY6qSdQUOzif/D3X4MLy0zxdECZym2U+QgteKNnQH8gdWHoRmHHysoH6lsY+UzzYMbBbF DHltfGVV+k9u3Feu4YCF97nt7zIKrQg= Date: Mon, 6 Jan 2020 17:17:32 +0100 From: Borislav Petkov To: 'Aristeu Rozanski' Cc: "Luck, Tony" , "'linux-edac@vger.kernel.org'" , 'Mauro Carvalho Chehab' Subject: Re: [PATCH] EDAC: skx_common: downgrade message importance on missing PCI device Message-ID: <20200106161732.GF12238@zn.tnic> References: <20191204212325.c4k47p5hrnn3vpb5@redhat.com> <3908561D78D1C84285E8C5FCA982C28F7F4F13AB@ORSMSX115.amr.corp.intel.com> <3908561D78D1C84285E8C5FCA982C28F7F4F19BD@ORSMSX115.amr.corp.intel.com> <20191210090013.GA9395@zn.tnic> <20200106151242.vkdiiwhubmkx5osh@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200106151242.vkdiiwhubmkx5osh@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-edac-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org On Mon, Jan 06, 2020 at 10:12:42AM -0500, 'Aristeu Rozanski' wrote: > The other option I can think about is just allowing the module to load > in this situation: the CPU is present but you have no memory controller > PCI devices present. Some drivers will allow loading without having a > device present without errors. It's not clean as having to come up with > something modutils can pick up as hint to not try to load more than once. Yeah, but having a driver loaded when there's no hw to drive is also not pretty. > Or could just downgrade this specific message since it's a very common > case and let the more unusual situations report more than once. Yap, we did a similar thing for adm64_edac: 7fdfee926be7 ("EDAC/amd64: Get rid of the ECC disabled long message") but instead of downgrading prio we actually went and killed it directly. :-) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette