Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/813638/?format=api
{ "id": 813638, "url": "http://patchwork.ozlabs.org/api/patches/813638/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170913220546.19560-5-robdclark@gmail.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170913220546.19560-5-robdclark@gmail.com>", "list_archive_url": null, "date": "2017-09-13T22:05:27", "name": "[U-Boot,v3,04/21] efi: add some more device path structures", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "ef31c07bc15f576b7807eedee74dff9c714f4633", "submitter": { "id": 18760, "url": "http://patchwork.ozlabs.org/api/people/18760/?format=api", "name": "Rob Clark", "email": "robdclark@gmail.com" }, "delegate": { "id": 3400, "url": "http://patchwork.ozlabs.org/api/users/3400/?format=api", "username": "agraf", "first_name": "Alexander", "last_name": "Graf", "email": "agraf@suse.de" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170913220546.19560-5-robdclark@gmail.com/mbox/", "series": [ { "id": 2990, "url": "http://patchwork.ozlabs.org/api/series/2990/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2990", "date": "2017-09-13T22:05:23", "name": "efi_loader: enough UEFI for standard distro boot", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/2990/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/813638/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/813638/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"nDmTdn7A\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xswll3qT2z9sNV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 14 Sep 2017 08:08:19 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 3B804C22617; Wed, 13 Sep 2017 22:06:27 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 0B348C223DA;\n\tWed, 13 Sep 2017 22:06:14 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid CC969C21EC9; Wed, 13 Sep 2017 22:06:06 +0000 (UTC)", "from mail-qk0-f195.google.com (mail-qk0-f195.google.com\n\t[209.85.220.195])\n\tby lists.denx.de (Postfix) with ESMTPS id 56FB6C2222A\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 22:06:03 +0000 (UTC)", "by mail-qk0-f195.google.com with SMTP id c69so937828qke.5\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 15:06:03 -0700 (PDT)", "from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a])\n\tby smtp.gmail.com with ESMTPSA id\n\tw31sm10318660qtg.48.2017.09.13.15.06.00\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tWed, 13 Sep 2017 15:06:01 -0700 (PDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=0HLerYTmPnGMALX7+280qm7VekjKZjPCzmGTASJHnXA=;\n\tb=nDmTdn7AenrfWBx4p0KVOn0mIRtwRgSZOEox7OJzOHElTuPPXjbrrXnEP07+7d2d68\n\tcQSRHfYjLKSecuudJcjlHgyBylULSlBr4drAx01oDrB9/wckGmYeYuWjMrzeyzNdvTr3\n\tYngiF79PIm6XGVhRZhktcPzWYUfpIUXtzBr59RUsi8OYlYfZR2oIw0GaG/56to1kpnwP\n\tSg6IJ1zZ7vnQbx5MAsn27iRt6INeuJKFAypbRgVxpz5Y3rDoD97SReSleTdK0PSTTNkp\n\tWhm2C6M3bQWbaCWvnvNcrgGWMCSljjRR7bjaEzh9AzkiZs0LQj752MI1t8xrmFnfgiP8\n\togrg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=0HLerYTmPnGMALX7+280qm7VekjKZjPCzmGTASJHnXA=;\n\tb=cRzK0EZl2Xcti0lq9UM1pzcYYhxal6yGz+g3NqxFEZvl9VUkgWcyfcPOPr6MnqZn6C\n\t2KPnBcSL9yoHlR9dStlGcxUxwnPBU0IgXDqQ13UtMflTEm7Iqj0YTZNux6e01iS+3OQU\n\t+lPBn4ZgpAqJXbgJ6aGU6iaJZVTRPFCkv5HKhBKvWgwCX+2fhjJu563c/wanafudqSMD\n\t2icWWhpgp5O8ZfjVdnyZRCv+2ZTaOBMTmbSDAW5aH0EHpS9RnPfDCWiz4Ps7IE2s9YNY\n\t3mxretx9A9+gZmYrbBlfeAoEwRlqCRWTOR2QCYLfkAvTG0c6c81SKO3jrZP356Qlye2F\n\tsIYg==", "X-Gm-Message-State": "AHPjjUjGyH6LH2AfAEbaEs8aQJVa8hLyVNBPXc+jmFEU2htppOTG91id\n\tqnvVJUEjuTrXwHeY+UQ=", "X-Google-Smtp-Source": "AOwi7QDTOWgCmUWftkvOsxTkRfKo0RDW3I7DpgZ4MsYzUlR/oIv3O3nIze0GF/IpgShLSQHMmOSl9A==", "X-Received": "by 10.55.22.146 with SMTP id 18mr20697qkw.112.1505340362042;\n\tWed, 13 Sep 2017 15:06:02 -0700 (PDT)", "From": "Rob Clark <robdclark@gmail.com>", "To": "U-Boot Mailing List <u-boot@lists.denx.de>", "Date": "Wed, 13 Sep 2017 18:05:27 -0400", "Message-Id": "<20170913220546.19560-5-robdclark@gmail.com>", "X-Mailer": "git-send-email 2.13.5", "In-Reply-To": "<20170913220546.19560-1-robdclark@gmail.com>", "References": "<20170913220546.19560-1-robdclark@gmail.com>", "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>, Peter Jones <pjones@redhat.com>", "Subject": "[U-Boot] [PATCH v3 04/21] efi: add some more device path structures", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "From: Peter Jones <pjones@redhat.com>\n\nSigned-off-by: Peter Jones <pjones@redhat.com>\nSigned-off-by: Rob Clark <robdclark@gmail.com>\n---\n include/efi_api.h | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 54 insertions(+)", "diff": "diff --git a/include/efi_api.h b/include/efi_api.h\nindex 175341348e..b761cf4822 100644\n--- a/include/efi_api.h\n+++ b/include/efi_api.h\n@@ -290,8 +290,38 @@ struct efi_mac_addr {\n \tu8 addr[32];\n } __packed;\n \n+#define DEVICE_PATH_TYPE_HARDWARE_DEVICE\t0x01\n+# define DEVICE_PATH_SUB_TYPE_VENDOR\t\t0x04\n+\n+struct efi_device_path_vendor {\n+\tstruct efi_device_path dp;\n+\tefi_guid_t guid;\n+\tu8 vendor_data[];\n+} __packed;\n+\n+#define DEVICE_PATH_TYPE_ACPI_DEVICE\t\t0x02\n+# define DEVICE_PATH_SUB_TYPE_ACPI_DEVICE\t0x01\n+\n+#define EFI_PNP_ID(ID)\t\t\t\t(u32)(((ID) << 16) | 0x41D0)\n+#define EISA_PNP_ID(ID)\t\t\t\tEFI_PNP_ID(ID)\n+\n+struct efi_device_path_acpi_path {\n+\tstruct efi_device_path dp;\n+\tu32 hid;\n+\tu32 uid;\n+} __packed;\n+\n #define DEVICE_PATH_TYPE_MESSAGING_DEVICE\t0x03\n+# define DEVICE_PATH_SUB_TYPE_MSG_USB\t\t0x05\n # define DEVICE_PATH_SUB_TYPE_MSG_MAC_ADDR\t0x0b\n+# define DEVICE_PATH_SUB_TYPE_MSG_SD\t\t0x1a\n+# define DEVICE_PATH_SUB_TYPE_MSG_MMC\t\t0x1d\n+\n+struct efi_device_path_usb {\n+\tstruct efi_device_path dp;\n+\tu8 parent_port_number;\n+\tu8 usb_interface;\n+} __packed;\n \n struct efi_device_path_mac_addr {\n \tstruct efi_device_path dp;\n@@ -299,9 +329,33 @@ struct efi_device_path_mac_addr {\n \tu8 if_type;\n } __packed;\n \n+struct efi_device_path_sd_mmc_path {\n+\tstruct efi_device_path dp;\n+\tu8 slot_number;\n+} __packed;\n+\n #define DEVICE_PATH_TYPE_MEDIA_DEVICE\t\t0x04\n+# define DEVICE_PATH_SUB_TYPE_HARD_DRIVE_PATH\t0x01\n+# define DEVICE_PATH_SUB_TYPE_CDROM_PATH\t0x02\n # define DEVICE_PATH_SUB_TYPE_FILE_PATH\t0x04\n \n+struct efi_device_path_hard_drive_path {\n+\tstruct efi_device_path dp;\n+\tu32 partition_number;\n+\tu64 partition_start;\n+\tu64 partition_end;\n+\tu8 partition_signature[16];\n+\tu8 partmap_type;\n+\tu8 signature_type;\n+} __packed;\n+\n+struct efi_device_path_cdrom_path {\n+\tstruct efi_device_path dp;\n+\tu32 boot_entry;\n+\tu64 partition_start;\n+\tu64 partition_end;\n+} __packed;\n+\n struct efi_device_path_file_path {\n \tstruct efi_device_path dp;\n \tu16 str[32];\n", "prefixes": [ "U-Boot", "v3", "04/21" ] }