Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6677747rwl; Mon, 9 Jan 2023 11:27:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXvAuogJKSmyxHugdezPpnSnJ2mvfMSoi51Px7TA2NGZSFaz6h8xRI0g+IrGvrs9k42fYrKA X-Received: by 2002:a17:907:20d6:b0:844:5d1f:95cc with SMTP id qq22-20020a17090720d600b008445d1f95ccmr52399424ejb.15.1673292430152; Mon, 09 Jan 2023 11:27:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673292430; cv=none; d=google.com; s=arc-20160816; b=YJQolLKE+KTRtmDh5njq8f96eAUjbzUnNXpJeCz3OUezz7jaPqFev722VgbiVC+2qf 9fl17utDAfANiGL88nmyVeq9y6XnYdQf2bPzYqi7eHhOxGpIr+dK5jyc7sqNQ1A7KxN4 Htuc0AhI/lrvGphnhhWpW5xv0nJW002ivyO8JSV2cq4dG3ce934baKbMnKvc8Kp+TUTK O571TkVltr5iFwSJREGw4fp4n1reFWMJboVw0y9I3c+Wn6vEzvUNlFfhm/FoXpV+AuI3 2uFxfDGzy06bsB4mwcKomQcEunM5tnoTjRqI7MjBFJbUBow6c3RzQKmDJ+BNSqZt2v2d REsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=vtRFdTmuN+czXRloZuJahQBiEWPIOIfJue0GPu8iOwg=; b=WXBPoIHAY8dAjUXOieByz+vx4cZnohr1Surb5Bcdi0OoATdnm3vqOWNdpF9/hJsxSe AXaMXl/tVrcEhpeDBKN1PcleT++BaF/Tzh+wY2n3FOJtVXIByXzJ1hSzYK9ldyKr5rAr AhUH90kUgVY/2Ws55goJpGtsPX2IMO37et9Ss5xDdvtABEDrexEaIY3s4x7rs2sLF6iv qvFXtpYSg7oUtQFXtiKHD5Y64dAs1OUko6l+MvEQjOtMkntUTe5FgpwAN2tHpETQjNCt F9mXfku4RHMf08+rNWDNlnknN7hKxDda/lHH/Z5FjKsp4D+A6+4pYkyzOKi93S78LJD4 MNOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HWgv9+dU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w16-20020aa7dcd0000000b0045cfb63a033si9316161edu.551.2023.01.09.11.26.57; Mon, 09 Jan 2023 11:27:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HWgv9+dU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236558AbjAISeR (ORCPT + 53 others); Mon, 9 Jan 2023 13:34:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237552AbjAISc7 (ORCPT ); Mon, 9 Jan 2023 13:32:59 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0801F765A; Mon, 9 Jan 2023 10:30:14 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 309H8CTi032253; Mon, 9 Jan 2023 18:30:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : to : cc : from : subject : content-type : content-transfer-encoding; s=qcppdkim1; bh=vtRFdTmuN+czXRloZuJahQBiEWPIOIfJue0GPu8iOwg=; b=HWgv9+dUIWPpZ+8jmscn+8g00AQNxJv2g/6fQX0+NYPcn2Kea1tensK2y4qhkQdac/Nv NutN9DlajE7RwLTC9XYYay+15RGNsqVPLwAdgw44qPjjh6zTW0q6dn4M/tB8zH1wcfpY 7vJlKUwwIyZUW67GV+N5UaS973tLeTBJlrPzcTWpEqdF+lxN7H8MvP/mzUF/Aie1oxgN dTHKvsy3tVF5zqmcCiSLVOoWP/bVsJqi5sJWYQjGLAOrILRc1v83hvPlxYmRIvZxChi7 +hPmkVjT00jrSzi80tJxDu6w/i+XUqdaaXS3cNMv9eFypIkKx0IQ0u31SMDF+Pp3bFg+ UQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n0q2ar4rh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 09 Jan 2023 18:30:12 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 309IUBem013949 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 9 Jan 2023 18:30:11 GMT Received: from [10.110.108.111] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 9 Jan 2023 10:30:10 -0800 Message-ID: <58121e22-a992-e8c8-2add-e3279be25185@quicinc.com> Date: Mon, 9 Jan 2023 10:30:09 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Content-Language: en-US To: , , CC: , , , , From: John Moon Subject: Out-of-tree devfreq governor header Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: HznFUOqTV4_ihcvZ21kzOx8KcM8PK_gE X-Proofpoint-ORIG-GUID: HznFUOqTV4_ihcvZ21kzOx8KcM8PK_gE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-09_12,2023-01-09_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 clxscore=1031 adultscore=0 impostorscore=0 malwarescore=0 spamscore=0 mlxlogscore=916 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301090132 X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, We have an out-of-tree devfreq governor which uses the "governor.h" header from "drivers/devfreq". The source code for the governor is public on CodeLinaro [1]. Currently, the driver directly includes the "governor.h" header even though it's not a public header. A comment at the top of "governor.h" says explicitly: "This header is for devfreq governors in drivers/devfreq/". Could you please advise the best way to use this private devfreq header from an out-of-tree governor? Could we move the header into "include/linux"? [1]: https://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/graphics-kernel/-/blob/gfx-kernel.lnx.1.0.r3-rel/governor_msm_adreno_tz.c#L20 Thanks, John