Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp602047ybz; Wed, 15 Apr 2020 14:57:09 -0700 (PDT) X-Google-Smtp-Source: APiQypISy/27OLkZGyjTM+SuIA7pX3W5J5hMjkqwNgHnWiCddIiHaAYd1fwMI6qnVylKA1JDmUJU X-Received: by 2002:aa7:ca53:: with SMTP id j19mr27395816edt.229.1586987829163; Wed, 15 Apr 2020 14:57:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586987829; cv=none; d=google.com; s=arc-20160816; b=jFC1eSyOyd/y7YdbuM1yY4EGHW1Q2+QGbkEtd7Kwc5EE9LhiSZmVyREKyjvXv9qs3s ve4rlt0HJpgXwQfVfRZ4boOD5nWwXsa6PuO/3Zt3fbNDOnPZ77yfQV15j17j536pNvfq RoLcevKhLZ4nGPgT3nczcfi+mtyxJbeEa+3BDBUG55Lu0NGgtFhZFdhehSzXl3ct4xoD PLmfIFrjGHi75RKFmYqmm/FUPK2E6D6Yq/Na0uK7i4OlVCfvOa6mpBIg5K4oG055UD6Z Z/nJrOGd7dBo42zKN4k9loaWjEteD+1ERqg7apDWKyi7YDw/klKBwoSi0ShsynmeSFfZ k87g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Dd7S6gAZLBhhHr05vJhNHDO8SyBjmtNjb8euaZCC1Yc=; b=rSFRs9PIra5ogHs0iDn/l7K/wf1mwV4j75yrBy7o+4pCWwQcP3h/LqlhpRnUU4DYt4 5Hp19c0P3tXNl0IT8+d40lsaEG4E/a46uw5zmucBKtWz5CRMxzW0F2TMWFPha6plAZcP Wufw4tnxbmB39cbuKm6lKM/3YyTKYnTZvsHy6xHKBtte5AZXj/7g7Hcadgdwdis/wnYh skTNS7af2aexLVI8V1OV1D1JQ5NMX9eR4fjBE6MODiRMqZaUVtG1+Sw7Vg+GAbE0/kyn XYCS+U6ewnLHcJHSVDlHnoXDO3na60QFG6Ja4y4SZFIqOLXSZqbiZG6IrGela0eBhohe 4OhQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j10si12486422edn.396.2020.04.15.14.56.45; Wed, 15 Apr 2020 14:57:09 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2633054AbgDNUXo (ORCPT + 99 others); Tue, 14 Apr 2020 16:23:44 -0400 Received: from mx2.suse.de ([195.135.220.15]:43980 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2633040AbgDNUXk (ORCPT ); Tue, 14 Apr 2020 16:23:40 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id BC76EAEFD; Tue, 14 Apr 2020 20:23:36 +0000 (UTC) Date: Tue, 14 Apr 2020 22:23:28 +0200 From: Borislav Petkov To: "Jason A. Donenfeld" , Srinivas Pandruvada Cc: LKML , linux-edac@vger.kernel.org, X86 ML , Arnd Bergmann , bberg@redhat.com, Tony Luck Subject: Re: [PATCH 3/3] x86/mce/therm_throt: allow disabling the thermal vector altogether Message-ID: <20200414202328.GK31763@zn.tnic> References: <20200407063345.4484-1-Jason@zx2c4.com> <20200407063345.4484-3-Jason@zx2c4.com> <0e189a4fe1e69b08afc859ce83623a0e5ea0c08b.camel@linux.intel.com> <4b75ec34ccff5abdc0b1c04a5ac39455ddd4f49b.camel@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + Tony. On Tue, Apr 14, 2020 at 01:41:08PM -0600, Jason A. Donenfeld wrote: > Generally it is desirable, and extremely common too. This thermal code > -- which mostly functions to print some messages into kmsg -- is very > verbose. This is not something I want to compile into smaller systems. > This is the reason why kconfig has options in the first place. I'm not > sure yet-another boottime flag makes sense for this. I don't mind making the already existing option selectable and leaving it default y, i.e., keeping the current situation by default. And people who want to disable it, can then do so. I do mind to having yet another config option though. No thanks - they're already too many. So it should be an all or nothing thing. Poking quickly at that and drivers/thermal/intel/x86_pkg_temp_thermal.c, all those things do is report trip points. therm_throt reports how long the hw throttled due to hitting a trip point, etc. IINM, of course so please correct me if I'm missing anything. But if not and this all is only for reporting and doesn't have any detrimental effects on the hardware when missing from the system, then I guess we could make CONFIG_X86_THERMAL_VECTOR user-selectable. Thx. -- Regards/Gruss, Boris. SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg