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: 10304 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2746164vqr; Mon, 5 Jun 2023 08:02:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6gf8Px/WCHHjG657awYpmiKsIdcJ/ejGqk+Ftz5gB54V6o1HstCIXX4Cc8F7PJHItLitzi X-Received: by 2002:a05:6a20:7d96:b0:116:fd37:c924 with SMTP id v22-20020a056a207d9600b00116fd37c924mr2396604pzj.5.1685977323834; Mon, 05 Jun 2023 08:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685977323; cv=none; d=google.com; s=arc-20160816; b=geoLvEy7eQ7JV0I2SuUGuF/I/5JXjfbXRHLj6zhTAOvjwdGqbsv6BWbqAUvRn8YLTd /4dEvbD0+tQLoVI6kCcHx9Pbarp+iZ/0hK/Frq3whtAJwefu/k57BztDxk7N8XvITs+z NLtash1EMwGpAyqqDRmzMtIo4D8fUGUm3Vw3bo8Q6n2NW2UWylT9y+Q9biHFjEP2gUyZ gKBWR9hUAkZI9CYSL3bPBLIjPru6w+q1jqaXnZ017+T+yNucWjPY7YqMxgiM6P+0aPzW vx7XdM+APSKKzP3gcHAIVoL3sRVzDAJU1tzf0nBDxLl3YTLBya8NuDOinxDiRA4qmav2 oNZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Q3khYtgeUULt7e5l5ueg0RsqVZIRlFDE+jq/4yBZsmo=; b=mJSveHtoRw5bTvt5d6bnAhHdgxruwsSN6g8AJIFebaR98H0MJuRIx2X2M1Q7KiUIyZ e2z/N0eYZa6oy2y7bvxX1aWJQiGNszGt39GwXgbTTrL2mt7kY+OZS4lK5GLwlcaxZ/Jr c360FgME5Cn/YxK1PA2RlNA+ETn279/+bbw8pVhoRtiQKzuANMeRQCwQEjdWiUeoCuQS CIYvoutWmDxaoHurR6n2wcR5bYyy/PZEO2Y2z9Sk26esdQZYMt/WC21mAsWVxwTixBtF fESnaRtktDNpIs8E9/EY7iutjSb1+v0km/yVx0ENYNyvb0bH3w/xXRCuIYoTdxZkvwSe ykDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="LIn8WJ/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z9-20020aa79909000000b00643bc9d1245si5285918pff.314.2023.06.05.08.01.48; Mon, 05 Jun 2023 08:02:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="LIn8WJ/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231840AbjFEOfV (ORCPT + 99 others); Mon, 5 Jun 2023 10:35:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230178AbjFEOfU (ORCPT ); Mon, 5 Jun 2023 10:35:20 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A66B83 for ; Mon, 5 Jun 2023 07:35:19 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-53fdae76f3aso4444000a12.0 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=K+t+Bb5977xU/jQJ1ouGctCzESdLty75wOXOW30c5y4gLw0oPZ2yisVwgWMQH9Aq8x oOf0ExVz9IhyKpf+fz0PbiK9/o+u2QCASA0Ict36le+Vu8ofbryc5vz84vQIeaNHULe3 rYo+2izcZOrgy/TRfQ21LekM3FSo5jBbGdug5et2oDaDeIlfqEEy21WFajtdWQUQfIzQ 5DadXVrKEV8+RGAjJrXRuhx1uPG9Xskl+ovb13RLEdZ0RMwfMKL8jHbz4x539IkZo//H kN1tcBYSpivx9eOqmQDZZsgXCOAiqf7Lie/1Pibiql+GvvsP0yB3GcW0iMDShtM1GuUP 9AlQ== X-Gm-Message-State: AC+VfDy7MIY1QYgSK9JaxOfxq1rFhPxFhkVtYj8suHI8SxoSG2amnQHn +k1XjepcHkGtQV2UJBsogC7pWN9rXkgfVkSt7ow= 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-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767875358064002230?= X-GMAIL-MSGID: =?utf-8?q?1767875358064002230?= 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(-)