From patchwork Sat Mar 23 21:40:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 10867295 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B6645922 for ; Sat, 23 Mar 2019 21:42:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A14E286B6 for ; Sat, 23 Mar 2019 21:42:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B26A29620; Sat, 23 Mar 2019 21:42:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3D060286B6 for ; Sat, 23 Mar 2019 21:42:11 +0000 (UTC) Received: from localhost ([127.0.0.1]:48409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7oP4-0000aW-Gm for patchwork-qemu-devel@patchwork.kernel.org; Sat, 23 Mar 2019 17:42:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7oO1-0008Bt-MI for qemu-devel@nongnu.org; Sat, 23 Mar 2019 17:41:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7oO0-0007H7-OH for qemu-devel@nongnu.org; Sat, 23 Mar 2019 17:41:05 -0400 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]:46113) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h7oO0-0007GM-FC for qemu-devel@nongnu.org; Sat, 23 Mar 2019 17:41:04 -0400 Received: by mail-lj1-x242.google.com with SMTP id z26so4704656lja.13 for ; Sat, 23 Mar 2019 14:41:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QBldiYOXlgDoN/gdig7ng+lUa7qhxBo//Pip9BahW78=; b=EuSLpvuM6Cc8xy28ESaQ3eeRUbfOhLfrslqlNVD6A6X5itpLHenXC2pvKFf6n5bbE9 7VZOaQ7DoJ3YFciWC4dzRmUL3JJhOx36Ua6dRM2BWkWR4GZjgcuK70nlyijzyFH+roaW XjugvCUJwXPII9eCbRVqCjsHQ4jOBaGAiM5YywnPpgBllPw2hRW37bTQlGrDNnRDuTsa lVIzSfV43I4SENEOujBPN6Urq+lj9cZLPbRaQkmFlTSMN8vmhA3yUk6z0ydJKP/Xuv+J +A6WIu6d694Xefv7zjz3fDEjgEBF1XY8A2wBbqQ/9Y3drswuKMZpOquptbowaI7oCBn0 3cIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QBldiYOXlgDoN/gdig7ng+lUa7qhxBo//Pip9BahW78=; b=f1prAHxE2Qfu/9jIHKdl6omOWBJCR+zLyoe7hkQ//2wKBOOQFPV/6Ylm9PYuyGVzZ9 LTunjkt1qeaKy4Stg/ykt2N8WoPH4SDEVoG2OWOLooOz++0EdGLvFVZ442icwrGJ3xji Gci96F6iE/gz4a72sqYxmmjyi9fDjbCD3OgAjd67y0hMkb3p5g9/DwytP96AyHkfuWsB Iec27En+QB74n2WA62UJWRpy9PRE8M93tBCZbM4r2iWncVWOhfhYLAOZcMNo1ga9WLDl T+dqeh+2i9E6mP3GGIzZmUz5EVnQU4zQwORFOBXb6Vjc775FoXYFmI6Y4tsciHqD+6tW xXPg== X-Gm-Message-State: APjAAAXHMn7YkwKos6x8Vb/ZQdKuII5uR2tYBjJs+ayz9B5TrbqE7oBr Ihrqa8s8oGJJrtBSm3YXKAOrYbEt X-Google-Smtp-Source: APXvYqx0sHnuXf4S0gLy6ueegz+KHRrDCSjnNeNJE6ZrjId6zwORaobgVyEgQpihTJVPv606IA4/og== X-Received: by 2002:a2e:85d2:: with SMTP id h18mr8571545ljj.128.1553377263130; Sat, 23 Mar 2019 14:41:03 -0700 (PDT) Received: from octofox.hsd1.ca.comcast.net. (jcmvbkbc-1-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:1fa::2]) by smtp.gmail.com with ESMTPSA id w3sm1382127lji.59.2019.03.23.14.41.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Mar 2019 14:41:02 -0700 (PDT) From: Max Filippov To: qemu-devel@nongnu.org Date: Sat, 23 Mar 2019 14:40:41 -0700 Message-Id: <20190323214043.28997-4-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190323214043.28997-1-jcmvbkbc@gmail.com> References: <20190323214043.28997-1-jcmvbkbc@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::242 Subject: [Qemu-devel] [PATCH for-4.1 3/5] target/xtensa: define IDMA and gather/scatter IRQ types X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Max Filippov Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP IDMA and scatter/gather features introduced new IRQ types that overlay_tool.h need to initialize Xtensa configuration. Signed-off-by: Max Filippov --- target/xtensa/cpu.h | 3 +++ target/xtensa/overlay_tool.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h index d0ca4f8b0148..e43dfb8447e4 100644 --- a/target/xtensa/cpu.h +++ b/target/xtensa/cpu.h @@ -298,6 +298,9 @@ typedef enum { INTTYPE_DEBUG, INTTYPE_WRITE_ERR, INTTYPE_PROFILING, + INTTYPE_IDMA_DONE, + INTTYPE_IDMA_ERR, + INTTYPE_GS_ERR, INTTYPE_MAX } interrupt_type; diff --git a/target/xtensa/overlay_tool.h b/target/xtensa/overlay_tool.h index ea07576bc921..8b380ce5e329 100644 --- a/target/xtensa/overlay_tool.h +++ b/target/xtensa/overlay_tool.h @@ -200,6 +200,9 @@ #define XTHAL_INTTYPE_TBD2 INTTYPE_WRITE_ERR #define XTHAL_INTTYPE_WRITE_ERROR INTTYPE_WRITE_ERR #define XTHAL_INTTYPE_PROFILING INTTYPE_PROFILING +#define XTHAL_INTTYPE_IDMA_DONE INTTYPE_IDMA_DONE +#define XTHAL_INTTYPE_IDMA_ERR INTTYPE_IDMA_ERR +#define XTHAL_INTTYPE_GS_ERR INTTYPE_GS_ERR #define INTERRUPT(i) { \