From patchwork Fri Jun 25 11:18:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 466835 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp1354482jao; Fri, 25 Jun 2021 04:19:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPiRpJGFpq2MORvgGB6srfDA046Xz70aEVrHw41z2P6Yf4WFD3EC7dbeN/G6hppF7Iq78A X-Received: by 2002:a67:c88b:: with SMTP id v11mr7949193vsk.7.1624619962311; Fri, 25 Jun 2021 04:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624619962; cv=none; d=google.com; s=arc-20160816; b=LB6ZJtCNacESLthALiPxwnRFf9weyCQuWGhT/8ol5BYu0fDnIhnJY/TVZjbBA5pIKO qZ+AJsGdHKS5TDOpQxnpeNAjAq2txEOtOdj2GC5IEW2fGHnPTHtp2R508lOsbFfgcRdu iktgMipI7Epl78vk3EQbOIuBa48YJ8yvW4wolNd06OXe21i5yJMJKMPCeUjfz9g+xQSU neNrcN6LEhXyTzx/PfWUyVzp2vCM38+w3/gxWcxR2Z7eUVtvMBJjg9fCYHvIwejD5udD Ll5HAQk5wVPGKx5zsvdoorfQkhB7L2PrxotzNxcwqvbn7Nheq5Dd9A834W8qzgXtOrEu UU2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:message-id:date:subject:to:from :dkim-signature; bh=gtdORX/Lc1UAm+r9wIb6v8yFJiA3dxGeuTUthAA5zdg=; b=Up6ou88qVNBM34fZJp71HRZHnZ/JupBLPPTVtWcMX6cE0oM1ij9qFxcHRt1aAzXfiF /9EJeTpzXpnMiANaWd5jSH/exvg9KWEcxb31cJZ7qT4J/1YpPLYNam+1hUg91zHiXr/z eDGG0i47j78v4ZTsqJzIhxFNUMD05kut765g++v8lGJhOhg4kDIjRwhv/vDw3O+6UH05 YKcbK/H0yn86lnMXTi50ONniKbB0NX/hnFB4l1tyoqlDzIgKPo4TV7dvhLuM+prNHk89 PZGBJ8/4JTgGs2wK6lUuAuF0E0ItRQCS3pHXRYVRo8dQe9FTzcnXUoZfah6zFchPCkEh RuXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DF74QdlO; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id n12si4210311vsk.392.2021.06.25.04.19.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Jun 2021 04:19:22 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DF74QdlO; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:56826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwjrl-00087l-O2 for patch@linaro.org; Fri, 25 Jun 2021 07:19:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwjrO-0007cf-QD for qemu-devel@nongnu.org; Fri, 25 Jun 2021 07:18:58 -0400 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:37464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwjrN-0004VG-9w for qemu-devel@nongnu.org; Fri, 25 Jun 2021 07:18:58 -0400 Received: by mail-lj1-x22f.google.com with SMTP id k8so12007060lja.4 for ; Fri, 25 Jun 2021 04:18:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=gtdORX/Lc1UAm+r9wIb6v8yFJiA3dxGeuTUthAA5zdg=; b=DF74QdlOlGF7Qhq5F7Xee72l7r5TUM05JjtTFsPQE2Qak4TRJit5dE12li8MIZiewM iwMtrvL4Dh+4PVjdI+xOmR8v0xMO2BBmr8ImcslORZ9ITk21ACLyJztdC2rSbSAxqkiB on7uld/Z9GpuIp813NFE97o45mvrqj8wcEiD9Hs89KUUFn3m2IJZ8DYtovHmwguy8SxM csvkxruuIjoKC+VIazy2AIBIzyib9gEqUkC2z4JKgpQY2fwPhFU0hb9n0KnSmq+yD7L9 wohngJTdh+FL6lu1AiLpLlXyibvNHKCXQOUkcVJ2BU2fm0wxoxbn5bA0y1E3bpu+rl5T kwaQ== 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=gtdORX/Lc1UAm+r9wIb6v8yFJiA3dxGeuTUthAA5zdg=; b=Nr1lnlV7/g6RUOKPx6XyNasLBMyAadmVtJrpYTGm00dTpvZcnMP+ct/JODebxfP+pL IXRSQHbUMq/CiMVqyGLEgRw4zm0KuZ0BXxvdCSfPKRv/Astb3PxRQWpVK1gexRq5gCZZ lDlNeuTjzYXuBBUe6zVHnW5CIgeiBs/9SqKhwNXPPGBnz7iNeCTXSr5rwZSIUDNs36th 6QCOG0b7fgEfocO1DIWGNtrAVfeeoTf8ZdBM39PNv4wrtAesuYSdkYB6i6MZ+HdlnXcr rNoUz8djRe7HrN8lWtFheOggs4pOZHtfBzrukSS486snpzrBit8EWS+JKj+Gm+AdWoTp dXGw== X-Gm-Message-State: AOAM5314DroS+9lzkPyurQ7cERO6QnCEqfI69hujMLa0XGs6GgQ4NOJ6 Ej/JHKIuLC1j+6rPINDxtA7pB36WwngAkw== X-Received: by 2002:a2e:6c1a:: with SMTP id h26mr8004059ljc.34.1624619934333; Fri, 25 Jun 2021 04:18:54 -0700 (PDT) Received: from localhost.localdomain ([91.193.178.173]) by smtp.gmail.com with ESMTPSA id p19sm536354lfd.70.2021.06.25.04.18.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 04:18:53 -0700 (PDT) From: Maxim Uvarov To: qemu-devel@nongnu.org Subject: [PATCH 0/2] arm/virt: fix machine poweroff Date: Fri, 25 Jun 2021 14:18:40 +0300 Message-Id: <20210625111842.3790-1-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.17.1 Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=maxim.uvarov@linaro.org; helo=mail-lj1-x22f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, qemu-arm@nongnu.org, Maxim Uvarov Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Tested against the latest ecba223da6215d6f6ce2d343b70b2e9a19bfb90b and ATF code. Patches fix 'reboot' and 'poweroff' commands issued from linux. Maxim Uvarov (2): arm/virt: fix irq mapping for gpio_pwr gpio_pwr: use shutdown function for reboot hw/arm/virt.c | 4 ++-- hw/gpio/gpio_pwr.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.17.1