From patchwork Mon Aug 5 11:43:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viktor Mitin X-Patchwork-Id: 11076579 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 A0F1E1395 for ; Mon, 5 Aug 2019 11:45:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8ED9128711 for ; Mon, 5 Aug 2019 11:45:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 82F1528862; Mon, 5 Aug 2019 11:45:31 +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 2BBD528711 for ; Mon, 5 Aug 2019 11:45:31 +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 1hubP0-0003pa-Vj; Mon, 05 Aug 2019 11:43:46 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hubOz-0003pV-S1 for xen-devel@lists.xenproject.org; Mon, 05 Aug 2019 11:43:45 +0000 X-Inumbo-ID: 46f75d60-b776-11e9-8980-bc764e045a96 Received: from mail-lj1-x244.google.com (unknown [2a00:1450:4864:20::244]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 46f75d60-b776-11e9-8980-bc764e045a96; Mon, 05 Aug 2019 11:43:44 +0000 (UTC) Received: by mail-lj1-x244.google.com with SMTP id y17so54471048ljk.10 for ; Mon, 05 Aug 2019 04:43:44 -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=4C2OWib1H1mdgJvinElwjJ3QmclF3Xi+3gvhXtF+PDw=; b=dLZgJggRNLhXC0AaZxwz8IlRiwwVcNHq3gh74xY9J7T+7IpP9oCRdbq92yoQfJ1+Q1 m7TwjLTFXAGUezh8mnqA5Xqa6bgYJqtwurCMUmdx22YMIATtEouyPfKdfgsWmzphLFWA hOATJ1R2TF2300fkaDtbUn834JFExcoTRUg9qxEIaeEpu0Fpq2SlcREWWHE1VUriNsw3 lnrA6PJOEdJaegIdKqsxJ5WZAQpU88m6zxGwLSP69/Q8tptK7IjVUuDyK78x7BwvLLOt C2xTznIS9y27tuj2dSklsnU9GMQUYmTn7CYhKLetfuI/gN7nU6qFPSdEweD6CzGZqSzb C/OA== 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=4C2OWib1H1mdgJvinElwjJ3QmclF3Xi+3gvhXtF+PDw=; b=qwaHPHlt51RKKalo9Pj7HcvQpuNTE/4XCrjL3zGgh1K4/BdgFMxdqRtImF0iLH65x2 QRbpyBJOpDfU+X9rMrArxPaV6VBNDnDMjioLaBr0g09aQb5QoPZttF3RUMkMdDzNG0d5 AUlGyzlG8U8tZ6doGXdKtuO8wKuiv0yTvHVFGlBdsnu04f0+O3oh2W+Vf5sSnjbGpduy RehiNqx0zyglyL2SI+m9yDO8W9zoSAqYlK+Oa+0HvUwESvZHrdUzjCyW4K/VGY+6cnHt cDzzqSahoY+nfxvTih0GCVWdhLYs8UlLRvTQCR3tHvb5DwR9WM/41jKFZoMG0KqHHabn AFDA== X-Gm-Message-State: APjAAAUjzs41im/qTKo+jkORbrkEqy0nP1irsSRMj2Mwhd2b2xd1Fekz r1+nzLOYu1ExcDl+6bn0SAP0Ah8h X-Google-Smtp-Source: APXvYqwDtGPGmcwTDNHgiho/4iihsNJyFztBEedoBCaqlAxnbYFPgPYsQ9m0V9nZhDUbU6TKtwLPQA== X-Received: by 2002:a2e:98d7:: with SMTP id s23mr37731599ljj.179.1565005422907; Mon, 05 Aug 2019 04:43:42 -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 b1sm17285057ljj.26.2019.08.05.04.43.41 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 05 Aug 2019 04:43:42 -0700 (PDT) From: Viktor Mitin To: xen-devel@lists.xenproject.org Date: Mon, 5 Aug 2019 14:43:29 +0300 Message-Id: <20190805114332.15329-1-viktor.mitin.19@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [Xen-devel] [PATCH v6 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: make_timer_node(const struct kernel_info *kinfo) 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 | 122 ++++++++++++++---------------------- 1 file changed, 48 insertions(+), 74 deletions(-)