From patchwork Wed Aug 7 10:10:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viktor Mitin X-Patchwork-Id: 11081797 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 3781313A4 for ; Wed, 7 Aug 2019 10:12:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2463E289D6 for ; Wed, 7 Aug 2019 10:12:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 174DA289D8; Wed, 7 Aug 2019 10:12:04 +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=-5.0 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BBCFA289D6 for ; Wed, 7 Aug 2019 10:12:03 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hvItz-00034F-Dy; Wed, 07 Aug 2019 10:10:39 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hvItx-00034A-SW for xen-devel@lists.xenproject.org; Wed, 07 Aug 2019 10:10:37 +0000 X-Inumbo-ID: 9969c5d1-b8fb-11e9-8980-bc764e045a96 Received: from mail-lf1-x141.google.com (unknown [2a00:1450:4864:20::141]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 9969c5d1-b8fb-11e9-8980-bc764e045a96; Wed, 07 Aug 2019 10:10:37 +0000 (UTC) Received: by mail-lf1-x141.google.com with SMTP id a30so542060lfk.12 for ; Wed, 07 Aug 2019 03:10:36 -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=ZBof11h7OSEBOC/U337k/8gGlRuCR+IfrkR1UYdfluk=; b=Ru4CuPqAp8hb7X4xLvx6bIR+x63DLSLtawZfiyb9kvve4LDTx1tQol0CMSWdvm2fbX 7LU0LIr67g2nU2t8gy5Je+C5VrmSvsL4x67v9Ifu0XIYF8b7HHlr3SIyXXSpPEiJQ5xp 8CbQKnNGk5K0RbVJzwwuUZ/QIA+30d+OSiJvFgkWh5yfudLv4+af6ztVIzjmy3XoiRMC axI0nYzWPJbmjSLMaqMcWetlEiPYVJy1V51Ftm8JEyXdv/hg62XXE9HfbOykP/MoDy3L FcvRXeSSOG1R5H3Z5o+RJsDXDX6fgwdtoYeeVdoWLpar//rDzJ8R2hMdWhxdQ4p9UmQm hG3A== 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=ZBof11h7OSEBOC/U337k/8gGlRuCR+IfrkR1UYdfluk=; b=So13g7rcmPfC5zpNtVWBKxkJPEZawtt928p7rTxlEuAbyg6/S7j/zzXSu351woFfnN gAsuIXfYcOyYkqJ9cuCPZd3uIHySWocARG34eE4vXDXyuk6jHMUyJeC6dpu+kvrofKvq es+zYAgam8kwgjEevLop0Wi31A7vh6YR38zAOxgl6MTsdMYuL/0N7db3jkl5bB/q+L5H v3XMSlrVS1BJ8Htryw8zYZiWrI4db/qT/+2wUcvM7/M5Dw/YQyPCiAHG0+vtdgmrgjTi 3dHv63UlavRmSUrkcMRK/YNl6INgL6xQ0mdO0/3fxjfCc8IaqJZRbFETnTnkhUAp94hA CyUw== X-Gm-Message-State: APjAAAUMsh5H8L1Rpw3P6Pv1ESH6Lj76d41ZajMakcGR4syyCjtaLZsH vCZfVkuBXvzmeVtnmlgY8ZhEeins X-Google-Smtp-Source: APXvYqwQpKtSPmnc3n7nqJ9IyJb6Aw+bHmaHR2qtLj99ApD54ZqX/DiHd+zS9vIlocK+001JtgE1fg== X-Received: by 2002:ac2:5976:: with SMTP id h22mr5366879lfp.79.1565172635380; Wed, 07 Aug 2019 03:10:35 -0700 (PDT) Received: from 3489.kyiv.epam.com (ll-22.209.223.85.sovam.net.ua. [85.223.209.22]) by smtp.gmail.com with ESMTPSA id n24sm18384408ljc.25.2019.08.07.03.10.34 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 07 Aug 2019 03:10:34 -0700 (PDT) From: Viktor Mitin To: xen-devel@lists.xenproject.org Date: Wed, 7 Aug 2019 13:10:26 +0300 Message-Id: <20190807101028.28778-1-viktor.mitin.19@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [Xen-devel] [PATCH v7 0/2] xen/arm: Consolidate make_timer_node and make_timer_domU_node X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Viktor Mitin MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Functions make_timer_node and make_timer_domU_node are quite similar, so it is better to consolidate them to avoid discrepancy. This patch series achives this goal in two steps: - Extend fdt_property_interrupts to deal with other domain than the hwdom. - Consolidate make_timer_node and make_timer_domU_node into one function: Viktor Mitin (2): xen/arm: extend fdt_property_interrupts to support DomU xen/arm: consolidate make_timer_node and make_timer_domU_node xen/arch/arm/domain_build.c | 118 ++++++++++++++---------------------- 1 file changed, 44 insertions(+), 74 deletions(-)