Message ID | 20221219182958.476231-13-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp2550677wrn; Mon, 19 Dec 2022 10:34:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf52NleqkhoLSUe95Lhng5y3i4iFgdsTJ9aUZjOVXRDh8EaY6rx0/Hlucn27nsR82eNbKiJ5 X-Received: by 2002:a17:906:b1c6:b0:78d:f455:b5d4 with SMTP id bv6-20020a170906b1c600b0078df455b5d4mr37007722ejb.20.1671474879669; Mon, 19 Dec 2022 10:34:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671474879; cv=none; d=google.com; s=arc-20160816; b=yohn9eQSkrK4NZMLDoVbpE9sKWvC+BLRmSsxlbGx5ArmHJmkazaUragsIv4n7lgrkE prDdQzT9erGS01bNMax5J6vWc5h7t2WgvBhsU03Zhcqc98imhH0DxwZ0kjO0uc/2+DDs on4Vxc4svLGuQxlpvRm5p1L9YBQ/SSFU7Ju9RFs2X0/TgqV29RbNy5MRam3IrkE2/TWe GzKgEdkVtw5IvRlE3dJf64y7EUjWEAgAMNBQsRvqcLHw8wRxq4r9ZUllC1EVw645Jo+5 5GwWYoY0xDuBdG7qEbcglT82BrO0b/5sRJl0Dr/ntsIcFk4k7Ax6IPMAt9QLZ49LG9Gw 0tJA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=d0mC3YHxzlEQlwMPao/Y7ASve0hKwhscYa/RkKUoFYA=; b=i7QdP/4cP6ihabSZtHE2soo4Yb08pD2Ik5o7UHhb/sVbUDzBahXhy/XFKuKEOtg/T0 XDPto7/qYcd1/WiibIXn3eH3gjF3D09lpSYksRuybZ9AZffmYWrOXF+gcWLo9yW6qqCk sosQoazoYBkwnVLzwCJ7l1p4JN7xR7o6D+9W4lvV33hNmv9AaURSOjikXDew+IQ3ABAe Ldz8HtuWQdP235FZKIpfNt4dTH/I8goNYnwPrdftcnB9OGhHi5nC76rCU4PLsJ3INY8A hBy73DkvdUT0tJ6J0CU7tbyDJnbqxeW/+4nMnbaDT7Mx0KkTWPNNK+xxgBBglF4KgZkO sbqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XP3AwAH3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f25-20020a1709064dd900b007c16fb7f176si50342ejw.956.2022.12.19.10.34.16; Mon, 19 Dec 2022 10:34:39 -0800 (PST) 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=@linaro.org header.s=google header.b=XP3AwAH3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232630AbiLSSd0 (ORCPT <rfc822;abdi.embedded@gmail.com> + 99 others); Mon, 19 Dec 2022 13:33:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232554AbiLSScU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 19 Dec 2022 13:32:20 -0500 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E80B513DF8 for <linux-kernel@vger.kernel.org>; Mon, 19 Dec 2022 10:31:33 -0800 (PST) Received: by mail-pl1-x62b.google.com with SMTP id 17so9925743pll.0 for <linux-kernel@vger.kernel.org>; Mon, 19 Dec 2022 10:31:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=d0mC3YHxzlEQlwMPao/Y7ASve0hKwhscYa/RkKUoFYA=; b=XP3AwAH3vWxz0xfNNFiGJ5EgonMs84vx5Gf0ya1zoxdRXLS4mgG7GJljlIBSp3sWSp pE/P+777utad613pX0v1LpwSeiQaQvT4BLznyztZI4BRxJ5UCdxvQf89huY3c6odg0BZ beom1cAixCxe2nouy47FZellniD8Vj/wWCeqrhrqnkFR5Qq6FVs9El10bowukBUYxbJ0 xPlgcxMmxk4q03q9VnvSF3FMGZEKbhc1dlcU1cDCt9J7ry2zH1y19dccMivVxxN4upEw VJcf3SeWyVV/qqV6sPnsX4Li7PS8XBkntHkOC/PKcKZHZEyaZWDgxxizO3meAyubPNKE VQZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d0mC3YHxzlEQlwMPao/Y7ASve0hKwhscYa/RkKUoFYA=; b=i+p63i7FYYyj1wAitwrlVPjjX1fVxttruEfZtYc03q8ovQS3WBIdNfMSzh58mpECa6 fkQd6HMWnGjYbMcsIzGADVD2//W1wMVALjNmzBLk5w2zh4DDUuwaYnVQSIwfZsKCdO5/ YvJEwH275XygKIo33r9OIyNST9cPBD4Ei5m35+bybu0D70Rr+3DuJvv/xPyHpxNpFTVC EvTWULtNt39dyXC/Pu+Zn4dhJjYVdTUZSVXBf6rN856DLT8i6/XyD+q71rZbakB6I2ij pNUuFPLx06cWNW/LvtGH5qNvxU+e07pj6xRU+PqylCrOHGHqcWR3xv0HXhbaIBs0qWxa Z4Jg== X-Gm-Message-State: ANoB5pkhovVVlPUcy7sj1KNAHAixkmIMiIAgVpVLubafC/gl2dMRQ8Ac 0I8XBw6iMF2l08ymZmSVSl7e X-Received: by 2002:a17:903:251:b0:189:7891:574d with SMTP id j17-20020a170903025100b001897891574dmr50681181plh.47.1671474693614; Mon, 19 Dec 2022 10:31:33 -0800 (PST) Received: from localhost.localdomain ([220.158.159.17]) by smtp.gmail.com with ESMTPSA id d2-20020a170903230200b00186e34524e3sm7480979plh.136.2022.12.19.10.31.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Dec 2022 10:31:32 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, bp@alien8.de, tony.luck@intel.com Cc: quic_saipraka@quicinc.com, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, james.morse@arm.com, mchehab@kernel.org, rric@kernel.org, linux-edac@vger.kernel.org, quic_ppareek@quicinc.com, luca.weiss@fairphone.com, ahalaney@redhat.com, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>, stable@vger.kernel.org Subject: [PATCH v3 12/15] EDAC/device: Make use of poll_msec value in edac_device_ctl_info struct Date: Mon, 19 Dec 2022 23:59:55 +0530 Message-Id: <20221219182958.476231-13-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221219182958.476231-1-manivannan.sadhasivam@linaro.org> References: <20221219182958.476231-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752668443733834287?= X-GMAIL-MSGID: =?utf-8?q?1752668443733834287?= |
Series |
Qcom: LLCC/EDAC: Fix base address used for LLCC banks
|
|
Commit Message
Manivannan Sadhasivam
Dec. 19, 2022, 6:29 p.m. UTC
The EDAC drivers may optionally pass the poll_msec value. Use that value if
available, else fall back to 1000ms.
Cc: <stable@vger.kernel.org> # 4.9
Fixes: e27e3dac6517 ("drivers/edac: add edac_device class")
Reported-by: Luca Weiss <luca.weiss@fairphone.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
drivers/edac/edac_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c index 19522c568aa5..19c3ab2a434e 100644 --- a/drivers/edac/edac_device.c +++ b/drivers/edac/edac_device.c @@ -447,7 +447,7 @@ int edac_device_add_device(struct edac_device_ctl_info *edac_dev) * enable workq processing on this instance, * default = 1000 msec */ - edac_device_workq_setup(edac_dev, 1000); + edac_device_workq_setup(edac_dev, edac_dev->poll_msec ? edac_dev->poll_msec : 1000); } else { edac_dev->op_state = OP_RUNNING_INTERRUPT; }