From patchwork Sat Sep 1 02:13:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 10584597 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 603A817DB for ; Sat, 1 Sep 2018 02:15:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4391F2C578 for ; Sat, 1 Sep 2018 02:15:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 355C12C580; Sat, 1 Sep 2018 02:15:18 +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=-7.3 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C87D52C578 for ; Sat, 1 Sep 2018 02:15:17 +0000 (UTC) Received: from localhost ([::1]:59202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvvRU-0007Wj-BZ for patchwork-qemu-devel@patchwork.kernel.org; Fri, 31 Aug 2018 22:15:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvvQF-0006at-UT for qemu-devel@nongnu.org; Fri, 31 Aug 2018 22:14:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvvQF-0002hs-4q for qemu-devel@nongnu.org; Fri, 31 Aug 2018 22:13:59 -0400 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]:38804) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fvvQB-0002dz-93 for qemu-devel@nongnu.org; Fri, 31 Aug 2018 22:13:57 -0400 Received: by mail-lf1-x142.google.com with SMTP id i7-v6so11346881lfh.5 for ; Fri, 31 Aug 2018 19:13:54 -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; bh=GVdbFR7WkqzCL1TfWZm+WNSUGLq/EWYAayBVC7E+dIg=; b=t8qjw11GSEtmF/WErpO2qBq3hfAVUAOEHjMAI+YqyV/63vIhbtXFPT0YKUGgyqmGXa kOeKIz4sM2FVY5vxp2aUH1Nlwd07suJpjZq1cdbpGGwehqf5m8covom8vBsJSMYTmYbx NTkeCCYn+nDncvl6Db+WXGZsput6eCwlU94YYU2PthmTnlO7yfXkF8PU6D8jbmNknGG8 cpEvRGl9foKfdYI06RM0fng/efHCL29PMIO+hpTB6M8nQ66OodbHkM9sxPM9OVLbxtDo RuVkEm05hPdBMQZOw0+GjsJlXGC43VsI86LI9rlQYo0PR/X/qFyZcwvMkwyizTqQR2wj VX6A== 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; bh=GVdbFR7WkqzCL1TfWZm+WNSUGLq/EWYAayBVC7E+dIg=; b=S+81l3AU3Iuz3ngn67HS3VJpYBSGYfdUIsUnvEyADwJv9LDc4RKYbFVLxEy55gFurY j8Fxmnr94vJhsqsrXWTY1x7gvgtB34ICvCuNJgXDH5jZT7UPAxFO9sF6+bvaRm/k5bwD 8TAxw/dh2vulKUNOWB3/ne6+e3Z5CxCuv0W+R5pNbN9Z0gjQOe1bB6SFNFvTjQuwPR7C cZXSm8znEIFOa2dDwEqjWtd5HK2x7SE5IxIuNG8ww4mk/zys2b7v25WhoC0+fohtz+fD OP1PbZDPnTvToUlnUb8MufEfBOxDXHaHK4/aI85c7h+x/pfCciAkJ5FfJLQmQHnw1KDR Dntw== X-Gm-Message-State: APzg51AnQqCF0qeBCrDQRRpms1DnDR4PTiB3aK+35ZK+wyjsAXhdb57V 8YKx0yr0fpdBS0NfEVfkSVb1nniYAHY= X-Google-Smtp-Source: ANB0VdYH8CadvviU5jpe73p5bQGGNFdsQEZ7RjJL/j+fy16NOu8z3rxTue3oMRBibbwUuX20zNr01A== X-Received: by 2002:a19:518a:: with SMTP id g10-v6mr12699339lfl.136.1535768033033; Fri, 31 Aug 2018 19:13:53 -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 g16-v6sm2115984lfb.5.2018.08.31.19.13.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Aug 2018 19:13:52 -0700 (PDT) From: Max Filippov To: qemu-devel@nongnu.org Date: Fri, 31 Aug 2018 19:13:39 -0700 Message-Id: <20180901021341.18066-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::142 Subject: [Qemu-devel] [PATCH 0/2] tests/tcg/xtensa: exception vectors/handlers improvement 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 Hello, this series generalizes xtensa test vectors and linker script a bit further: - it extracts exception/IRQ handlers from vectors, as not all core configurations have enough space between the vectors; - it conditionalizes vectors code, so that only handlers for configured IRQs and exceptions are generated. Max Filippov (2): tests/tcg/xtensa: move exception handlers to separate section tests/tcg/xtensa: only generate defined exception handlers tests/tcg/xtensa/linker.ld.S | 37 ++++++++++++++++++++++--------------- tests/tcg/xtensa/vectors.S | 16 ++++++++++++++++ 2 files changed, 38 insertions(+), 15 deletions(-)