Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp6188786pxb; Mon, 8 Nov 2021 04:44:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwFLcQwBhXRCcNRuPKjKLsBPlaxqZNrE8MQG6DOoqjbpHh3an1qtlCFIjAyrSVkV8FVOZQ3 X-Received: by 2002:a17:907:7d8c:: with SMTP id oz12mr57004926ejc.450.1636375440764; Mon, 08 Nov 2021 04:44:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636375440; cv=none; d=google.com; s=arc-20160816; b=Ng1CR9xQ7iHRs2Nq4eeybE3Mqcw6gJ8jO9xBGiUJvzyzlrHxWt0f0nsK+wuUg6a1sn ReAGecOLegSYOeWhDV13U0bi88Kp9x6dF7q1J1nxBLePv+Hu1ahPATVr+P25vLwoQglH btyFNF1XzhEoxK4V/Y3MKmKABkNTyO7fGz+niOfgK1JYPcxNNhnKp09i3LHuQBIbcUNM nlAHnGzsCi02zSe9CbJymImLn+5024BL+0X4zAVcZNfaJiTYnZfQ2ALeYgsXdx9GQgHk i7lryXHln3vv0V8VKuT/KfpRCHMirp0U+tiHcA9Bb8kTRg7Ww5PaW5VM1tOwEiTrQ9Zr J/aw== 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=FzM8qSFY0zQQQfksibg27pvdfAM5iEzRGUbH+QhUlQE=; b=Esq1SW+H6LSxAPevOuR6XB91jXY3cNi3Pl6Q2yn2kOgrhinyQDRLKkLjv9B8CzNtVB pXfW6QexVza5LX+zPHnJfNstid6usuZ23fV+LDY3usGIzMDEVjXEYUiUGNTO8+a6aUPt x6mqHkL2ecduxUtsLsemv1WUQCdYwKHr4XecEVljv/ChiKzwaJpHwOWl5DcXOrVlazAn KZ9j3DkxZQHvl+/Y11t3B8NsitF8khOjvYICLMI3or37hO7n8b0ZSi+AYPgP2iViTQIv c2splZA6B5SPMpQGfjS9lXTO8rXhum1TsKxvQfRG5rW+VtfU+FcTdBsrwv4/wQDHvyu9 XNgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=jGIFB3r4; 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 jg4si37510728ejc.55.2021.11.08.04.43.35; Mon, 08 Nov 2021 04:44:00 -0800 (PST) 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=@infradead.org header.s=desiato.20200630 header.b=jGIFB3r4; 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 S238279AbhKHJD7 (ORCPT + 99 others); Mon, 8 Nov 2021 04:03:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238261AbhKHJD4 (ORCPT ); Mon, 8 Nov 2021 04:03:56 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F355C061570; Mon, 8 Nov 2021 01:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=FzM8qSFY0zQQQfksibg27pvdfAM5iEzRGUbH+QhUlQE=; b=jGIFB3r4hyLCG8fJt6TPktHCpM GhX88zXQeOPiLn01k4xFVaP6ysm93Y2lR+7wkUXr9W1qcGJswrsJ+RMFJF6lZ1ssaWB9oRU1SkAmZ +uqXUKs9EtBvjh0gfOXYPG0DEgc8FHsNA40a4T/yBLRUvFOHMCTcKHmlCj71V7PDg+bMwnOuMhJ/L sjol8WEB5wvPW2rKOisBvK01kgFHRXe7dB/GlNPvvNWU6cXP2LhpUdDiVHagKG1Cn7hEw+W4SEYbd +nyHQ+TqPZb8s073nBb4LaQn4mGuIH54DiJCyARFqZrv/GqlrTugfvPsROi6OxU4qlwFHg097OZMv 8S1/V6rQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mk0WX-00ErA1-5s; Mon, 08 Nov 2021 09:01:05 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id CA8E23000A3; Mon, 8 Nov 2021 10:01:04 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 73107200C6B85; Mon, 8 Nov 2021 10:01:04 +0100 (CET) Date: Mon, 8 Nov 2021 10:01:04 +0100 From: Peter Zijlstra To: Ricardo Neri Cc: "Rafael J. Wysocki" , Daniel Lezcano , linux-pm@vger.kernel.org, x86@kernel.org, linux-doc@vger.kernel.org, Len Brown , Srinivas Pandruvada , Aubrey Li , Amit Kucheria , Andi Kleen , Tim Chen , "Ravi V. Shankar" , Ricardo Neri , linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/7] thermal: intel: hfi: Enable notification interrupt Message-ID: References: <20211106013312.26698-1-ricardo.neri-calderon@linux.intel.com> <20211106013312.26698-6-ricardo.neri-calderon@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211106013312.26698-6-ricardo.neri-calderon@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 05, 2021 at 06:33:10PM -0700, Ricardo Neri wrote: > + /* > + * On most systems, all CPUs in the package receive a package-level > + * thermal interrupt when there is an HFI update. Since they all are > + * dealing with the same update (as indicated by the update timestamp), > + * it is sufficient to let a single CPU to acknowledge the update and > + * schedule work to process it. > + */ That's pretty crap hardware behaviour. Is there really no way to steer these interrupts?