Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp3027170pxb; Tue, 12 Jan 2021 04:42:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJxxIMSk1eFxEiVS5FMh81xM6sbAgT7AH/L3f/wy6tde+rpBq+F/lnd3ki7NWA6FulYeug5U X-Received: by 2002:a17:906:ce51:: with SMTP id se17mr3054173ejb.314.1610455322314; Tue, 12 Jan 2021 04:42:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610455322; cv=none; d=google.com; s=arc-20160816; b=sgN+3cXe7KVIqTj9Fr6mTYhqpkn9innd/ReCHWCkPFLG0VSUWXSD1yrhHKsh9ovn56 RpRoON3/c4E7b+8nu7qi4ktJto4WL3R44XWHghAlQXwDGTMUC4ekPsDy96K243DQ7qb4 bTRMIcwAHrmkgS6eR4PLazlGtNYjLHOZ3iqTKmygx1Lw6reOB6nOKsJF8Z3GzsI5xPIR hbF37NLiamDG3sn3N8bE+ejblYd0/JiMDn7c9ZeVCypbJ9+0wDtWinYu59Xz/lATI1rd Ke6JJ8FzoE75piGP/NViLk8etDef5jekp9asD2legwwCPmawFCO7MUQTkkiJ8IU+qFzl yLtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=qke5d5/aNaSSKkThN5FT7wSxphV5md/SPNTgBKloGFo=; b=h7klPGWg3QSB9QjummonMlLckZZNLtKoQDkMvGTao4iuJrpzaT3tJFa37tFMDU4ZvJ Q2S1ITs9Pk63DC74V+0t3uLdaWBD1KrrA3/qhzWY9taoi7bjk1vxp9+AUu0xQXfT8rZ1 i66QpEgUZMt+4y6wX50iEEGCuu3c/Ht/2ZNuHfHe6SKIREselsgmpFwopxFxdI5rbIsB WiuKZ1YqmfIromL0Z0JiJjE97iNLKEdt1HmxHuvZeoygMqVm4bmv2mkLbD6vaU7zeX+O B3gfN3ywn1bdBzDGZ6hxq+dSW941Wc2tCZq94U6kFQPICWVzyWleMKZggjrw/dqELIXV +P+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=LKqXS39K; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d9si1102529ejd.681.2021.01.12.04.41.38; Tue, 12 Jan 2021 04:42:02 -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=@oracle.com header.s=corp-2020-01-29 header.b=LKqXS39K; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392959AbhALKIN (ORCPT + 99 others); Tue, 12 Jan 2021 05:08:13 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:48204 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390366AbhALKIM (ORCPT ); Tue, 12 Jan 2021 05:08:12 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 10C9tJ6j063075; Tue, 12 Jan 2021 10:07:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2020-01-29; bh=qke5d5/aNaSSKkThN5FT7wSxphV5md/SPNTgBKloGFo=; b=LKqXS39KXK3pfLIXVuq47zf+WMd80DpW7E++m/8GDK0B/jkmjAQHFPn1MT8a6zwoP+LF 5i4NRUTgCZKWIuCdx6XuS/7sY6D3SDs+uyMi/sgvQPNt/RzTaPiNcqC5Mi6EEwEoMqGO F5WOIgDoR3n0bjYcpBUCdKqumTZ/s1l+lWLRnorlRhDGy0AVj6QQTihbgpmwvn8GsR72 f6M2b6czEpm4tPKHpScyN4Lkebo5SS7aAy7RgKdlBzjTwKyE/YMSJlrRJCLt88GfkEwD AEAwHIKLdc/gSuuNG5OBelqsrENCfWboBrbUax8yDIu5hFJPBNGGrE7cvBIc44zf4aWf BQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 360kvjwfsr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 Jan 2021 10:07:24 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 10C9pjg3181291; Tue, 12 Jan 2021 10:07:24 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 360ke69p35-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Jan 2021 10:07:24 +0000 Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 10CA7JpG003574; Tue, 12 Jan 2021 10:07:20 GMT Received: from kadam (/102.36.221.92) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 12 Jan 2021 02:07:18 -0800 Date: Tue, 12 Jan 2021 13:07:06 +0300 From: Dan Carpenter To: Colin King Cc: Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , David Airlie , Daniel Vetter , Xiaojian Du , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH][next] drm/amdgpu: Add missing BOOTUP_DEFAULT to profile_name[] Message-ID: <20210112100706.GF5083@kadam> References: <20210111114638.16530-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210111114638.16530-1-colin.king@canonical.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9861 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 spamscore=0 mlxlogscore=999 malwarescore=0 bulkscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101120054 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9861 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 malwarescore=0 clxscore=1011 impostorscore=0 spamscore=0 mlxscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101120054 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 11, 2021 at 11:46:38AM +0000, Colin King wrote: > From: Colin Ian King > > A recent change added a new BOOTUP_DEFAULT power profile mode > to the PP_SMC_POWER_PROFILE enum but omitted updating the > corresponding profile_name array. Fix this by adding in the > missing BOOTUP_DEFAULT to profile_name[]. > Still not enough to prevent the array overflow. It needs POWERSAVE as well. regards, dan carpenter