Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp616193pxb; Tue, 12 Apr 2022 09:13:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBZtQyAnBY3YkHIxVqZlSUxQC1m220sUoTnW9O4IiGeannSX25DW3attm6u2oroBOrZiT4 X-Received: by 2002:a63:5310:0:b0:39c:f338:407e with SMTP id h16-20020a635310000000b0039cf338407emr19866652pgb.600.1649779998631; Tue, 12 Apr 2022 09:13:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649779998; cv=none; d=google.com; s=arc-20160816; b=VXkfZJ+4z3EEgJaOu0ryPL22NrVgRY68JVtIERpsyK5Nd63FlBkPTNVEYeghzUUwPG zQfXSGoWrNbbYh9I/fluf/pNYqS5w/Gq+EvUb0FcrGQV4VROURsvnya8LfJ8hrwEmA12 MvLlQUEgxEu1KkFXHHlUsvqA3B/nc501FTEoGvJnkvP6qXMMApoiSS9HiIJph7CfWowY C65DjDcOSsGhcCRzqCur1WxvOSWN8CD6rsOAgeU52jndV29lB6gwOvkaMoid81MqqglN rv58wnYYsp/5VcD1jytetzcewL2xbHCzqe3oJyX+TshCanz20aBDdaWZbDGd63VK36lB 6FYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=idzffO6un/Tl0Z8F6biwetOdTQWOcZF+Csh5EZ9HcC4=; b=Oi1xyZoZGnO8n32SzuOArKlhVKU0nboRsArvMNvKo5SX/fF8S9TZhX5FD4ADzAF/FA 9ViGdjeKXH0AVoqEQ84XzHJWDETSQ4FHy5AvVrvR28ElI4i/RLsPRTbmv6kZdOIssd7N oMQSum7YVTUfZymA8yu4oaYlvt9X7gT8zojCL5C0dxC80VuhoJsHu0sO7wUwppiQJtLP LIUZBeQ4U0FVXzCZsHuVN+Saz39WKBLS+EMPhFDeACgRwqe1POM85aSQAeJNZxxNKD1+ RpICc/B6uJrnGB8wIW596ouGRe9wEtiZ2Ta5yCxX47YaL944qqOWIL3400iSmUSetUYK dT5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JHuJekjx; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a056a00218600b004faa6d525ddsi12803892pfi.269.2022.04.12.09.13.01; Tue, 12 Apr 2022 09:13:18 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=JHuJekjx; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349311AbiDKTDq (ORCPT + 99 others); Mon, 11 Apr 2022 15:03:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349276AbiDKTDh (ORCPT ); Mon, 11 Apr 2022 15:03:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26A003205D; Mon, 11 Apr 2022 12:01:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7E12AB81868; Mon, 11 Apr 2022 19:01:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07B2CC385AB; Mon, 11 Apr 2022 19:01:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649703679; bh=vzWBAbR4Oux6P/RO30qmN2wLxTgTR+gOm30Ed6V+lZE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JHuJekjx19FT/keE+1R4DIQ8Jz+1gcHqZg2/bAuB0klme4/BrBu5vC2iXC/NfOXDg JBoF4xKgt0TzFP/tFB4bQ0Ak4oeU0pPCfz34QVPveLP0s95Nocz1kQZZ+Haocp6dPx CKqeDjrj6ZmgjapVsRdg4SzzU+rnsMZUz9okzAgnVilQfmJRToW9IQF+c7LwVw0aHx sWVb6HhXD64MtEqx8m8MN7rkpW5HkuL+K4Anznshau3Ywo7H9M4fsTD1IoN6kPwQ2s O3hML44BT2xloOIYtIGJBLvd8u34dBo0EOqm7rDq+cVC1nCFDnV5RYf+tHPXR4VZxu WQYP6xdK6EOdg== Received: by pali.im (Postfix) id 63E4A9F9; Mon, 11 Apr 2022 21:01:16 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Lorenzo Pieralisi , Bjorn Helgaas , Rob Herring , Andrew Lunn , Thomas Petazzoni , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Russell King Cc: linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/4] PCI: Add PCI_EXP_SLTCTL_ASPL_DISABLE macro Date: Mon, 11 Apr 2022 20:58:56 +0200 Message-Id: <20220411185859.32722-2-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220411185859.32722-1-pali@kernel.org> References: <20220411185859.32722-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Add macro defining Auto Slot Power Limit Disable bit in Slot Control Register. Signed-off-by: Pali Rohár Signed-off-by: Marek Behún Acked-by: Bjorn Helgaas --- include/uapi/linux/pci_regs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h index bee1a9ed6e66..108f8523fa04 100644 --- a/include/uapi/linux/pci_regs.h +++ b/include/uapi/linux/pci_regs.h @@ -616,6 +616,7 @@ #define PCI_EXP_SLTCTL_PWR_OFF 0x0400 /* Power Off */ #define PCI_EXP_SLTCTL_EIC 0x0800 /* Electromechanical Interlock Control */ #define PCI_EXP_SLTCTL_DLLSCE 0x1000 /* Data Link Layer State Changed Enable */ +#define PCI_EXP_SLTCTL_ASPL_DISABLE 0x2000 /* Auto Slot Power Limit Disable */ #define PCI_EXP_SLTCTL_IBPD_DISABLE 0x4000 /* In-band PD disable */ #define PCI_EXP_SLTSTA 0x1a /* Slot Status */ #define PCI_EXP_SLTSTA_ABP 0x0001 /* Attention Button Pressed */ -- 2.20.1