Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1162514pxa; Fri, 28 Aug 2020 05:38:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUiyAu+4/uWvjpBxt4lL/6jB3b9T6ew6sjQOjjuCQXCIrMgytkc65hcWCPQsL9k94pyVh/ X-Received: by 2002:a17:906:74de:: with SMTP id z30mr1648247ejl.478.1598618292339; Fri, 28 Aug 2020 05:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598618292; cv=none; d=google.com; s=arc-20160816; b=ExuW3cey7kBOG5x4FBQXXidK/PtHIxI8w62Sy8RybkIG/fDbxoDRQ5VKgBVzrymhbZ GY+FILl9GhbXPoyQ/5H70/UkpAX06SOXHxSPCmjnu8E40NHmp+u5Uf9klCgBYmO4KJp1 AMcLnTQI9ZVZK43gOHxdpFvy3VP2hsd/e07Bz/357i+gmiIMT1VtpTEgaQcUhpsXwXs1 O+tucRjlyDg20rGnNGLBJlbOaTLaRiRSjx7Vtg+9NINVTkl3UltBgS9qLkTevd4sG1N2 lu6WmPHTlAaO5CP7TwuxA0KD/gEY71Pq2rX8Lj3HdAOn/Jp4goZQSHtZasf5xpZvZ66H NK9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:reply-to:from:subject :message-id:ironport-sdr:ironport-sdr; bh=pjXWepRwn10GoOkKGFPuLDiqxENOVx2MFPpxh2mMejg=; b=tDCuoZGFDjzIKZDDx658a4mpwNhf7E5iOR/JSoekxVnYIAWHdhQOzAU6XC7OAy28sh SbLYGO+yS6zxlviE3Rw84HTv67w6f7qqbHT6P9N5Nr32MbMZuap6uascvyLgvIEV9lHu v5lqZEDDDal7C8g73e6a662F018kFSG4Ci4ZsFRGuIOVM71Zptzp/bsn4GDwJey5OKTu ETzKz5WYZIcHaPCbvxAg5vDKYh21H+ibmQ3huQNNT6ujDl9fIQFhIHQz0JGcluUSpw1z ikJApuYgieW5k91pirutZXStldM3lHTZjsreBYsN5EtuH2BHZs0Sn8lsSycRTJeX4Pou Fq2w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g64si505620ede.153.2020.08.28.05.37.49; Fri, 28 Aug 2020 05:38:12 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729317AbgH1Mg7 (ORCPT + 99 others); Fri, 28 Aug 2020 08:36:59 -0400 Received: from mga01.intel.com ([192.55.52.88]:53245 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729123AbgH1Mg4 (ORCPT ); Fri, 28 Aug 2020 08:36:56 -0400 IronPort-SDR: SJV83WcqkG7cljGzGBetsnM/XKMLj/RsclMvOj/jzuvMFpUMPmeyljBfvKGomIjkcV29cK7F7l vvlidoxQkiZQ== X-IronPort-AV: E=McAfee;i="6000,8403,9726"; a="174705239" X-IronPort-AV: E=Sophos;i="5.76,363,1592895600"; d="scan'208";a="174705239" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Aug 2020 05:36:50 -0700 IronPort-SDR: oJzDwEnTq8R023bdDnDdlXS31C1qf40zcQm0YvSiTxEF78yBXxYiSwCCXIQNcsOqQeZHfSC2Nf nTNAe5+YITew== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,363,1592895600"; d="scan'208";a="332533699" Received: from linux.intel.com ([10.54.29.200]) by fmsmga002.fm.intel.com with ESMTP; 28 Aug 2020 05:36:50 -0700 Received: from abityuts-desk1.fi.intel.com (abityuts-desk1.fi.intel.com [10.237.72.186]) by linux.intel.com (Postfix) with ESMTP id 251345803C5; Fri, 28 Aug 2020 05:36:48 -0700 (PDT) Message-ID: Subject: Re: [PATCH v3 3/5] cpufreq: intel_pstate: Tweak the EPP sysfs interface From: Artem Bityutskiy Reply-To: artem.bityutskiy@linux.intel.com To: "Rafael J. Wysocki" , Linux PM Cc: Srinivas Pandruvada , LKML , Doug Smythies Date: Fri, 28 Aug 2020 15:36:48 +0300 In-Reply-To: <9094016.kKgRgCK7kp@kreacher> References: <2240881.fzTuzKk6Gz@kreacher> <9094016.kKgRgCK7kp@kreacher> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-08-27 at 17:14 +0200, Rafael J. Wysocki wrote: > From: "Rafael J. Wysocki" > > Modify the EPP sysfs interface to reject attempts to change the EPP > to values different from 0 ("performance") in the active mode with > the "performance" policy (ie. scaling_governor set to "performance"), > to avoid situations in which the kernel appears to discard data > passed to it via the EPP sysfs attribute. > > Signed-off-by: Rafael J. Wysocki This one looks good to me, thanks. Reviewed-by: Artem Bityutskiy -- Best Regards, Artem Bityutskiy