Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp832332pxy; Wed, 5 May 2021 15:17:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzm/F8csqxJO3NQG145uQeGtqkKOX/EdFneMd5yz7Zm+TLfZtNcI0v23I5rC38Oa7eCvlXA X-Received: by 2002:a17:90a:1150:: with SMTP id d16mr826935pje.47.1620253049009; Wed, 05 May 2021 15:17:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620253049; cv=none; d=google.com; s=arc-20160816; b=BX8bItVIUbbvDtpEnLe0lymvgN/rxx2RZ6EYXvAVgRWXhUX60rVj1uQb/xBdOjhbTr 62N7fTdTrbSCkhd97snNAABB9fkICWVOjZaOloVyRReGGNQUdkhIudncNaInum1YfXjB fg2Wk52gpNxIj7N58H5CdAbC53nZQGbEnK4LcFizbGwSjfvtIqNVFr+ifIpcZPXVpv+m iCbzOgtstp3kBmBUrscsm2FdFJh0GqlhHVhKMq8M+a1lWtgrNfxoVgIvvNygmAL8MF1X RWqxUWo5B6VHdJfJhtaCwti6o8RC0mr/UgY1ATloMGZw5JoeRuMiMBl2TL/mrM6ZBCOF lAaw== 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=sFKStqMTp87LYvLhL4y5JagHNHCcA1psQUaO5LXStq4=; b=t9JaDNsOpiNC2cvTWvRtVbqHqCwzIOgWq4jYLf24egg7y3NbuL2ljdjAm1kQMAJbjn QDsh8YsnKHoqfDjMuxMj8wPrjjY2ch9/HkCjSR8UlSywgJQwC42jmLRKVV4+n8ofXszv /6XPvib+/z34hWxlYGxXOKpxPoOuMgZloz3/Y2EMUIj+oVZxwxj7KU3ONcq5Blc7ijEL pTyxCany5lQOY1vv9leOxBEDigWZ90j7ifEVoKKFxgtnqRzIIJ4UgROH48xKtzTerfws EAApdTcf7NN7qCmawtMbTcEWciy8Jln/Eythluz0yxFnL0FbCZ3qJ4gvntA6lLtV1oGu pAuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=FB6zP19Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q3si768839pgq.284.2021.05.05.15.17.16; Wed, 05 May 2021 15:17:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=FB6zP19Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232995AbhEEVFr (ORCPT + 99 others); Wed, 5 May 2021 17:05:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230329AbhEEVFq (ORCPT ); Wed, 5 May 2021 17:05:46 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BC6CC061574; Wed, 5 May 2021 14:04:50 -0700 (PDT) Received: from zn.tnic (p200300ec2f0b0700e564ac8d2a0c80af.dip0.t-ipconnect.de [IPv6:2003:ec:2f0b:700:e564:ac8d:2a0c:80af]) (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 EB98D1EC03E4; Wed, 5 May 2021 23:04:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1620248687; 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=sFKStqMTp87LYvLhL4y5JagHNHCcA1psQUaO5LXStq4=; b=FB6zP19Q4DqHwlMSA3f1aaFAjjOmc5byZ7ZuIZYxXNvDN0eJSvDtM/To7ZoK8lwiy/8Nx7 7FBP5PK1YJkwJTBQG7X22HfPil3rP1/n6VUe/2TJgGUimIqK+IwqhLG0TJOOzM+Bybo9ay oycO7L7VuQ4ncXbIq0RNiHnGq6MtMmY= Date: Wed, 5 May 2021 23:04:44 +0200 From: Borislav Petkov To: Tyler Hicks Cc: wangglei , "Lei Wang (DPLAT)" , "mchehab@kernel.org" , "tony.luck@intel.com" , "james.morse@arm.com" , "rric@kernel.org" , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Hang Li , Brandon Waller Subject: Re: [EXTERNAL] Re: [PATCH] EDAC: update edac printk wrappers to use printk_ratelimited. Message-ID: References: <20210505173027.78428-1-wangglei@gmail.com> <20210505202357.GC4967@sequoia> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210505202357.GC4967@sequoia> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 05, 2021 at 03:23:57PM -0500, Tyler Hicks wrote: > Would it be any more acceptable to add an > edac_mc_printk_ratelimited() macro, which uses printk_ratelimited(), > and then call that new macro from edac_ce_error()? You guys are way off here: the intent of EDAC drivers is to accurately report errors for purposes of counting them and doing analysis on that collected data as to whether components are going wrong - not to ratelimit them as some nuisance output. With breaking the EDAC reporting, you're barking up the wrong tree - if you don't want to see those errors, do not load the drivers. It is that simple. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette