get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/1177677/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1177677,
    "url": "http://patchwork.ozlabs.org/api/patches/1177677/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20191016080838.25648-1-sasha.neftin@intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20191016080838.25648-1-sasha.neftin@intel.com>",
    "list_archive_url": null,
    "date": "2019-10-16T08:08:38",
    "name": "[v1] e1000e: Add support for Tiger Lake",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "5ded74e47e2315d726670da41b33098ce7337da3",
    "submitter": {
        "id": 69860,
        "url": "http://patchwork.ozlabs.org/api/people/69860/?format=api",
        "name": "Sasha Neftin",
        "email": "sasha.neftin@intel.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20191016080838.25648-1-sasha.neftin@intel.com/mbox/",
    "series": [
        {
            "id": 136423,
            "url": "http://patchwork.ozlabs.org/api/series/136423/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=136423",
            "date": "2019-10-16T08:08:38",
            "name": "[v1] e1000e: Add support for Tiger Lake",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/136423/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1177677/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1177677/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=osuosl.org (client-ip=140.211.166.136;\n\thelo=silver.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=intel.com"
        ],
        "Received": [
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 46tQ0s2XL0z9sNx\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 16 Oct 2019 19:08:44 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 413E9204A4;\n\tWed, 16 Oct 2019 08:08:43 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 4DOHhHNSZFzM; Wed, 16 Oct 2019 08:08:41 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 8095E204D0;\n\tWed, 16 Oct 2019 08:08:41 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 38C691BF82B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 16 Oct 2019 08:08:40 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 33184204D0\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 16 Oct 2019 08:08:40 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id Irk2vzg2JTqI for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 16 Oct 2019 08:08:39 +0000 (UTC)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 560D6204A4\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 16 Oct 2019 08:08:39 +0000 (UTC)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t16 Oct 2019 01:08:39 -0700",
            "from ccdlinuxdev08.iil.intel.com ([143.185.161.150])\n\tby FMSMGA003.fm.intel.com with ESMTP; 16 Oct 2019 01:08:38 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.67,303,1566889200\"; d=\"scan'208\";a=\"202007078\"",
        "From": "Sasha Neftin <sasha.neftin@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Wed, 16 Oct 2019 11:08:38 +0300",
        "Message-Id": "<20191016080838.25648-1-sasha.neftin@intel.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "Subject": "[Intel-wired-lan] [PATCH v1] e1000e: Add support for Tiger Lake",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "Add devices ID's for the next LOM generations that will be\navailable on the next Intel Client platform (Tiger Lake)\nThis patch provides the initial support for these devices\n\nSigned-off-by: Sasha Neftin <sasha.neftin@intel.com>\n---\n drivers/net/ethernet/intel/e1000e/ethtool.c | 4 +++-\n drivers/net/ethernet/intel/e1000e/hw.h      | 6 ++++++\n drivers/net/ethernet/intel/e1000e/ich8lan.c | 7 +++++++\n drivers/net/ethernet/intel/e1000e/netdev.c  | 8 ++++++++\n drivers/net/ethernet/intel/e1000e/ptp.c     | 2 ++\n 5 files changed, 26 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/e1000e/ethtool.c b/drivers/net/ethernet/intel/e1000e/ethtool.c\nindex de8c5818a305..adce7e319b9e 100644\n--- a/drivers/net/ethernet/intel/e1000e/ethtool.c\n+++ b/drivers/net/ethernet/intel/e1000e/ethtool.c\n@@ -894,8 +894,9 @@ static int e1000_reg_test(struct e1000_adapter *adapter, u64 *data)\n \tcase e1000_pch2lan:\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n-\t\t/* fall through */\n \tcase e1000_pch_cnp:\n+\t\t/* fall through */\n+\tcase e1000_pch_tgp:\n \t\tmask |= BIT(18);\n \t\tbreak;\n \tdefault:\n@@ -1559,6 +1560,7 @@ static void e1000_loopback_cleanup(struct e1000_adapter *adapter)\n \tswitch (hw->mac.type) {\n \tcase e1000_pch_spt:\n \tcase e1000_pch_cnp:\n+\tcase e1000_pch_tgp:\n \t\tfext_nvm11 = er32(FEXTNVM11);\n \t\tfext_nvm11 &= ~E1000_FEXTNVM11_DISABLE_MULR_FIX;\n \t\tew32(FEXTNVM11, fext_nvm11);\ndiff --git a/drivers/net/ethernet/intel/e1000e/hw.h b/drivers/net/ethernet/intel/e1000e/hw.h\nindex 11fdc27faa82..f556163481cb 100644\n--- a/drivers/net/ethernet/intel/e1000e/hw.h\n+++ b/drivers/net/ethernet/intel/e1000e/hw.h\n@@ -92,6 +92,11 @@ struct e1000_hw;\n #define E1000_DEV_ID_PCH_CMP_I219_V11\t\t0x0D4D\n #define E1000_DEV_ID_PCH_CMP_I219_LM12\t\t0x0D53\n #define E1000_DEV_ID_PCH_CMP_I219_V12\t\t0x0D55\n+#define E1000_DEV_ID_PCH_TGP_I219_LM13\t\t0x15FB\n+#define E1000_DEV_ID_PCH_TGP_I219_V13\t\t0x15FC\n+#define E1000_DEV_ID_PCH_TGP_I219_LM14\t\t0x15F9\n+#define E1000_DEV_ID_PCH_TGP_I219_V14\t\t0x15FA\n+#define E1000_DEV_ID_PCH_TGP_I219_LM15\t\t0x15F4\n \n #define E1000_REVISION_4\t4\n \n@@ -115,6 +120,7 @@ enum e1000_mac_type {\n \te1000_pch_lpt,\n \te1000_pch_spt,\n \te1000_pch_cnp,\n+\te1000_pch_tgp,\n };\n \n enum e1000_media_type {\ndiff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.c b/drivers/net/ethernet/intel/e1000e/ich8lan.c\nindex a1fab77b2096..b4135c50e905 100644\n--- a/drivers/net/ethernet/intel/e1000e/ich8lan.c\n+++ b/drivers/net/ethernet/intel/e1000e/ich8lan.c\n@@ -316,6 +316,7 @@ static s32 e1000_init_phy_workarounds_pchlan(struct e1000_hw *hw)\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n \tcase e1000_pch_cnp:\n+\tcase e1000_pch_tgp:\n \t\tif (e1000_phy_is_accessible_pchlan(hw))\n \t\t\tbreak;\n \n@@ -458,6 +459,7 @@ static s32 e1000_init_phy_params_pchlan(struct e1000_hw *hw)\n \t\tcase e1000_pch_lpt:\n \t\tcase e1000_pch_spt:\n \t\tcase e1000_pch_cnp:\n+\t\tcase e1000_pch_tgp:\n \t\t\t/* In case the PHY needs to be in mdio slow mode,\n \t\t\t * set slow mode and try to get the PHY id again.\n \t\t\t */\n@@ -700,6 +702,7 @@ static s32 e1000_init_mac_params_ich8lan(struct e1000_hw *hw)\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n \tcase e1000_pch_cnp:\n+\tcase e1000_pch_tgp:\n \tcase e1000_pchlan:\n \t\t/* check management mode */\n \t\tmac->ops.check_mng_mode = e1000_check_mng_mode_pchlan;\n@@ -1638,6 +1641,7 @@ static s32 e1000_get_variants_ich8lan(struct e1000_adapter *adapter)\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n \tcase e1000_pch_cnp:\n+\tcase e1000_pch_tgp:\n \t\trc = e1000_init_phy_params_pchlan(hw);\n \t\tbreak;\n \tdefault:\n@@ -2090,6 +2094,7 @@ static s32 e1000_sw_lcd_config_ich8lan(struct e1000_hw *hw)\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n \tcase e1000_pch_cnp:\n+\tcase e1000_pch_tgp:\n \t\tsw_cfg_mask = E1000_FEXTNVM_SW_CONFIG_ICH8M;\n \t\tbreak;\n \tdefault:\n@@ -3127,6 +3132,7 @@ static s32 e1000_valid_nvm_bank_detect_ich8lan(struct e1000_hw *hw, u32 *bank)\n \tswitch (hw->mac.type) {\n \tcase e1000_pch_spt:\n \tcase e1000_pch_cnp:\n+\tcase e1000_pch_tgp:\n \t\tbank1_offset = nvm->flash_bank_size;\n \t\tact_offset = E1000_ICH_NVM_SIG_WORD;\n \n@@ -4070,6 +4076,7 @@ static s32 e1000_validate_nvm_checksum_ich8lan(struct e1000_hw *hw)\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n \tcase e1000_pch_cnp:\n+\tcase e1000_pch_tgp:\n \t\tword = NVM_COMPAT;\n \t\tvalid_csum_mask = NVM_COMPAT_VALID_CSUM;\n \t\tbreak;\ndiff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c\nindex 2dedeed74cd4..f73253b53469 100644\n--- a/drivers/net/ethernet/intel/e1000e/netdev.c\n+++ b/drivers/net/ethernet/intel/e1000e/netdev.c\n@@ -3538,6 +3538,7 @@ s32 e1000e_get_base_timinca(struct e1000_adapter *adapter, u32 *timinca)\n \t\tadapter->cc.shift = shift;\n \t\tbreak;\n \tcase e1000_pch_cnp:\n+\tcase e1000_pch_tgp:\n \t\tif (er32(TSYNCRXCTL) & E1000_TSYNCRXCTL_SYSCFI) {\n \t\t\t/* Stable 24MHz frequency */\n \t\t\tincperiod = INCPERIOD_24MHZ;\n@@ -4049,6 +4050,8 @@ void e1000e_reset(struct e1000_adapter *adapter)\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n \tcase e1000_pch_cnp:\n+\t\t/* fall-through */\n+\tcase e1000_pch_tgp:\n \t\tfc->refresh_time = 0xFFFF;\n \t\tfc->pause_time = 0xFFFF;\n \n@@ -7759,6 +7762,11 @@ static const struct pci_device_id e1000_pci_tbl[] = {\n \t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_CMP_I219_V11), board_pch_cnp },\n \t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_CMP_I219_LM12), board_pch_spt },\n \t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_CMP_I219_V12), board_pch_spt },\n+\t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_TGP_I219_LM13), board_pch_cnp },\n+\t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_TGP_I219_V13), board_pch_cnp },\n+\t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_TGP_I219_LM14), board_pch_cnp },\n+\t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_TGP_I219_V14), board_pch_cnp },\n+\t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_TGP_I219_LM15), board_pch_cnp },\n \n \t{ 0, 0, 0, 0, 0, 0, 0 }\t/* terminate list */\n };\ndiff --git a/drivers/net/ethernet/intel/e1000e/ptp.c b/drivers/net/ethernet/intel/e1000e/ptp.c\nindex 1a4c65d9feb4..eaa5a0fb99f0 100644\n--- a/drivers/net/ethernet/intel/e1000e/ptp.c\n+++ b/drivers/net/ethernet/intel/e1000e/ptp.c\n@@ -295,6 +295,8 @@ void e1000e_ptp_init(struct e1000_adapter *adapter)\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n \tcase e1000_pch_cnp:\n+\t\t/* fall-through */\n+\tcase e1000_pch_tgp:\n \t\tif ((hw->mac.type < e1000_pch_lpt) ||\n \t\t    (er32(TSYNCRXCTL) & E1000_TSYNCRXCTL_SYSCFI)) {\n \t\t\tadapter->ptp_clock_info.max_adj = 24000000 - 1;\n",
    "prefixes": [
        "v1"
    ]
}