From patchwork Mon Jun 5 14:35:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil V L X-Patchwork-Id: 13267401 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 68BDCC7EE23 for ; Mon, 5 Jun 2023 14:35:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=WaePhsxQJXncmcJv0jkJZS/TXDA3LHcf5NoNjnmI/hk=; b=DDnO2IXuWxOeV5 QJ4bnReKADXUzllE9yfYjwJIHacxpwcWrwAGEwAftYpJpkQnCyBnDg4pbROTyLprASA7eehn5Q3h3 KtAs272BCsDmsw2TV8utRLab6HdSbMLU3+mpsK8QqRV58c8+dniPAIeA/TiB5TLbpbxtNqdEx7vhg U7pPcpHg7xKMg/BUDSToYBbMrLIp9DpEot+4zqBMZOVr7PUz/p5Oy4iOQkt3NTRpXDUUK/G/OsG6E KRKKSJj+Oaf5oGZFcc3Mwb2iq78LYa/voQG5RTcJClO2TzAcGWnrXEKfaK+et7oCV3kpcMqEspDyj 1rDAta8lT6RFyybg/n/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q6BIn-00FoGB-33; Mon, 05 Jun 2023 14:35:21 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q6BIm-00FoFH-0h for linux-arm-kernel@lists.infradead.org; Mon, 05 Jun 2023 14:35:21 +0000 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-543ae6ce8d1so1081025a12.2 for ; Mon, 05 Jun 2023 07:35:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1685975719; x=1688567719; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Q3khYtgeUULt7e5l5ueg0RsqVZIRlFDE+jq/4yBZsmo=; b=LIn8WJ/3LEHfU+pG64HvMCl4aGlrGhQZ2zXku7l5yzg/yQ5oY+T1DLfY2hMr3nBgR9 R+tEN6blSMtmMkNW7F6b7MnIXCUiBn00INjPXZ7/45jmfgu4JJq0avOTUARyJD7bPae5 9qHTq5bBIk95KCvgn+7lr/rg8LW5Lo1lBpZUkjgcLIBpBg7730ZUlQGfYck1rnxMZ5YL hvrTxUEUMcqkVqf5A/TrlckGdVwH7AqEPf6h3ZY45ecwpoDCeRBS2c2QdJGBv4VRz0gJ sMmVLwZK6v04jShn7c9wfDPeTiyjQzl20IuXWPiLPfgYf4n3KHk4I+5TLsQpJo/tuizr GYKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685975719; x=1688567719; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Q3khYtgeUULt7e5l5ueg0RsqVZIRlFDE+jq/4yBZsmo=; b=VaPYDGzSwbbOegM1885Jly6HSNBdDCFZeViuPuwcduMzT4TJLrR0lhfE9wPCbgWhRH TR4SlHADWQR5e3BBzJEKh1udn5YixJ51kcI6lpvuaPA+lDyASdHs+dW8Kx8d8/QmgDOb QeK30nsp/bm3oUiWi7aYlDEvniyf50Hf2l+ClGqbCU69D3we6Zf7wpHVm/6OtsCAT/Ky LOwTmQutxne8ylOhRChboWLVFBkAOZqXhqMpBBuPPaGVz8Oig5MIOyV95lLXvKYShLKV l2XWhfnS6KGCDTB3RG/aEuDOTjjSKQOpDCgAgN0X9OPvybqv5FuoTQu9/jcuAITAQ236 mX9A== X-Gm-Message-State: AC+VfDzfE3SqvWSw4j5FPCPoggh3oALjljaQ6wjMwySE2didd1fJFNjk Kr2atPnSm4ViiK3KHrXZT4UEwQ== X-Google-Smtp-Source: ACHHUZ5gp/nF86uqF74WMpv1cRmJIDO1sxPZeQJD6hGyHcVxGqwUGJgPklbYGDpA+Xzi3nA6Eihslg== X-Received: by 2002:a17:90b:1204:b0:258:8609:f1e4 with SMTP id gl4-20020a17090b120400b002588609f1e4mr6540632pjb.24.1685975718828; Mon, 05 Jun 2023 07:35:18 -0700 (PDT) Received: from kerodi.Dlink ([106.51.186.3]) by smtp.gmail.com with ESMTPSA id z14-20020a17090a1fce00b00250334d97dasm8297069pjz.31.2023.06.05.07.35.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jun 2023 07:35:18 -0700 (PDT) From: Sunil V L To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Atish Patra , Anup Patel , Will Deacon , Mark Rutland , Sunil V L Subject: [PATCH v1 -next 0/2] RISC-V ACPI: Assorted fixes Date: Mon, 5 Jun 2023 20:05:10 +0530 Message-Id: <20230605143512.707533-1-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230605_073520_255847_5548A0D6 X-CRM114-Status: GOOD ( 11.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series fixes couple of issues required to complete the previously merged basic ACPI support series. 1) Kernel test bot has found a new warning using the sparse tool. Though I believe this warning exists for other architectures also, I don't see an issue fixing this for RISC-V. 2) When sscofpmf extension is enabled, the perf driver tries to find out the root INTC domain to register the over flow interrupt handler. However, this function is DT based and needs to be enhanced to work on ACPI based systems. Sunil V L (2): RISC-V: ACPI : Fix for usage of pointers in different address space RISC-V/perf: Use standard interface to get INTC domain arch/riscv/kernel/acpi.c | 4 ++-- drivers/perf/riscv_pmu_sbi.c | 17 ++--------------- 2 files changed, 4 insertions(+), 17 deletions(-)