Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp124828pxm; Tue, 22 Feb 2022 18:32:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxBIZHiPOyvbtovyO5/moA/JSxb5PK1PcCaJThWOzDPEyGWi69kbg6p3yVsKJDPa3DpGhf5 X-Received: by 2002:a17:906:b348:b0:6cf:5b66:2f80 with SMTP id cd8-20020a170906b34800b006cf5b662f80mr20701564ejb.638.1645583548039; Tue, 22 Feb 2022 18:32:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645583548; cv=none; d=google.com; s=arc-20160816; b=ThFt2By0H4Bn25DRiBcwu+nye/e7TEtfvcRW7PiGAfH9XxRXwe1MnUot4vkq6qkBXQ Y2D7m5yQwKzbWHK7ypx7rPWyQN5iZ1va9uqfpS881g99uOc5gqxuoVTMrYQ5iGRjf6aL 7tOfx3/8ImhZRsbMzSpJU4oXDOkkZpR5etV8q93gNQNuT27/lc9qWrL8vhobPRQ9dfQb eTFyVDyAQxYiQyYCGIatnbJ2RGuBFBs1OmU/RvE/H45Ut0AiY5qdj+3oW3Zx3JJ1Rp/n UHpzLqg80Fb4qm12LB2mlXHU+1DMjHCV0/rQ7Bz0favOwgfGO9f4ERIw4th5mdZAXvBl FGQQ== 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=nHpckon73NxRmYoVfO40UcLZRQ15SngqOkstqfVmPw8=; b=zW25IcW6P1Qtx4+WmvJCaA7/fChASduoh2b3OjiAABz3udchscUp8zoKLia43j+rV3 kAeG5AnWJMuMsyC+O8x9YG60XTwfvon94MMUx2l98ld6iFe+srzjA2KgfG1zgC1JZK11 wzPUGWxVsAer3XbdyBWbRwol2j6ROfQTMXQE/ISRYNLUxqvTLLyzG4jg5kRz0yR7j9RD ZpOqsQAq82sfPD2UGaeZZxpNEHqHu0AijKgTTK8vZFXBt0rZei44JCAqN9yjND5CnAJy 8hRlbOLQirGL6MY7Ea8Ogj3AkzLtjjRVq0MJlYn+HijhK3OeB+M6W5O2DT3YgCbqce2U R+qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jBS+hSK7; 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 sa34si13724209ejc.555.2022.02.22.18.32.05; Tue, 22 Feb 2022 18:32:28 -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=@kernel.org header.s=k20201202 header.b=jBS+hSK7; 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 S231373AbiBVQco (ORCPT + 99 others); Tue, 22 Feb 2022 11:32:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232774AbiBVQcn (ORCPT ); Tue, 22 Feb 2022 11:32:43 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C41C6E8E7; Tue, 22 Feb 2022 08:32:18 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id E51E260A55; Tue, 22 Feb 2022 16:32:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 300F4C340EB; Tue, 22 Feb 2022 16:32:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645547537; bh=n4zs+rZb5Rlpi273Kls2o3HUlG6Pi72lTm7KhhiQ3to=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jBS+hSK7FvHzJ4KJJb6jBaOIQEK+f6qtFKHYv9nuUQH9ve9izvlgUKOKQjxkdm7LX KCIGQmVr/56Jd0jfstuBiQ3RMzogSOoayEoNCySFZKAq3lY3iMWqgjIqvf0DSCAn+f 7XhH03EP7XiXjf9CGECc3s/jLdPGiWvILRYp3DKdMGJVPgVuW3/PKBYbWC/WUSQykt WAf1PiiBKmBK14hk4eNPfiBV1fIew2j4wueqal2AmEU4U9xPLoDUFiIY+7Ok0VBYvL oHGF9vLOWh76jNAIKuHiOVYg1Klmw8ApH+4V7FUAOZonRNTGlq4pa1gGKFszKoj0bV I0aOm901Uph8Q== Received: by pali.im (Postfix) id 1537E2B5E; Tue, 22 Feb 2022 17:32:15 +0100 (CET) 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 , Gregory Clement Cc: linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] PCI: Add PCI_EXP_SLTCTL_ASPL_DISABLE macro Date: Tue, 22 Feb 2022 17:31:53 +0100 Message-Id: <20220222163158.1666-2-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220222163158.1666-1-pali@kernel.org> References: <20220222163158.1666-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 --- 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