Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6150328rdb; Mon, 18 Sep 2023 05:50:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGBfu7R6N7T6hMrFWRWLSoecNbSw+rYYa8pYoGzGP/EdBLqFYoYGE7qb41fe/kMvoUKczc2 X-Received: by 2002:a17:903:110c:b0:1b8:28f6:20e6 with SMTP id n12-20020a170903110c00b001b828f620e6mr9020237plh.34.1695041456650; Mon, 18 Sep 2023 05:50:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695041456; cv=none; d=google.com; s=arc-20160816; b=YAZMsAk4GrT/KhRcOAoZg3EXNu0EWh9ZqSv+3APQuzLZSn9PmvFWGBr5cD87+tUDuz 1Wdh7QUDNHbTaevzH788Famn/KbqopbJgA21IljKNNaU1KxZH9SlPcHw/l4J8B4l06gr K6XUGTcnzBs6POfYUmbpG2fRCyasPN06ewYx37LJRyN7Xdm9kI73FZNC4Iy/ND/LhrSS 8hqXOb5GAnnpHKMxXWdF13LQuhQlnz2FlzHp4rSe8/Qjty/1c5+J36h9PCdOiriXKmFC Tdl6c+OdrT4B2oMMxaLrxcHoJJsxZPC2oO5WgF9eUCwKlPcSkTM2Ie5JiQalclmnozLd 5yig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=+NN1fkpERrxTMF3Wd1F5mbveVcfPPT3Tb4ZOs/mQdnY=; fh=tRpJPxCo3jBplZxyM9d5KIiXcLgoWXc0p0eaYLTN3Vw=; b=L+M6gxB6L5YNY1aBJ0VNSklljsQX2GYaZvM0AobyOQ/eDI0Gey9b2vTF9LfdrwoPRZ ibsqC6NAm1aj7p/asAjoQ29CO6o818lfN7rdzRcsU027d8LEUPX7EkZrDGxpzYDZEwRD BpgqokIpZqoiZkDslcljpal7N8BDeGb3wIMNkdileYNDLSEvqNoNXGtZGUky6l1RfGx8 oHOF9RpidWRKgeIXpQsmoMaBO4DtcnqDTwfaQHQb53NljB3MzXCExIHvm8+1fxcEsVtG DI9lMLtJAdGSoRrkOgavvZOSntWXi5oO1Faa7wYWaTGrXZ8eg8dCrN0iZn+beoBLYjti e3mw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id jb18-20020a170903259200b001c3f6dbe2bdsi7937750plb.105.2023.09.18.05.50.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 05:50:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BB2AA8025E51; Mon, 18 Sep 2023 05:39:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240226AbjIRMjL convert rfc822-to-8bit (ORCPT + 99 others); Mon, 18 Sep 2023 08:39:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241413AbjIRMip (ORCPT ); Mon, 18 Sep 2023 08:38:45 -0400 Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A91FE7; Mon, 18 Sep 2023 05:38:39 -0700 (PDT) Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-59c0281d72dso35118157b3.0; Mon, 18 Sep 2023 05:38:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695040718; x=1695645518; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e9ZCzxi6Aw1yRdjYwesxAoKZKahcsiLzQsVUb2WRDfM=; b=uNGk8uRU3ocY40g5K6LMGMt7gugTfWPyNzZ3sq2CwIfxF2evDkArzrYdAXdwTTC2hS jIdbSPbNKeboDYmpJsoHugwSYlWXgnSTNSTsA8vWdftYnWUjdx3G+jFsHrt45r/s6FfB DzbJ5ObZEP5Q10qpOnf1kTw1Hba1fEONAwcbXW3U5J2MW0BuAf/U/Z1kvekV9u0BoJEm QLoOjkzhpoZTLCydxF0hdW5sR66fKGLZ4gDQ5tPR1grKVouqLX2p4jvUB1PIPFWRqRy4 eS+64hg21WQjqCgyf6PY35//DBQbiyH/Jri/IH5QxGZfL8+6HTNNXmZ65XUk15qUFyiv RNRQ== X-Gm-Message-State: AOJu0YzAiTT33qgR/s2Ok5SR4mkIp5/7S7e7ucN0Lv7rXzC1mKcKbXlY UsnEi1svSEIPniv11DIxYG18lchB9o98Mw== X-Received: by 2002:a0d:c981:0:b0:59b:14ca:4316 with SMTP id l123-20020a0dc981000000b0059b14ca4316mr9153893ywd.43.1695040718203; Mon, 18 Sep 2023 05:38:38 -0700 (PDT) Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com. [209.85.128.182]) by smtp.gmail.com with ESMTPSA id y18-20020a81a112000000b0058451c12076sm2557882ywg.14.2023.09.18.05.38.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Sep 2023 05:38:37 -0700 (PDT) Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-59c0281d72dso35117997b3.0; Mon, 18 Sep 2023 05:38:37 -0700 (PDT) X-Received: by 2002:a0d:eb0a:0:b0:59b:85c:404a with SMTP id u10-20020a0deb0a000000b0059b085c404amr9500169ywe.6.1695040717617; Mon, 18 Sep 2023 05:38:37 -0700 (PDT) MIME-Version: 1.0 References: <20230918122411.237635-1-biju.das.jz@bp.renesas.com> <20230918122411.237635-2-biju.das.jz@bp.renesas.com> In-Reply-To: <20230918122411.237635-2-biju.das.jz@bp.renesas.com> From: Geert Uytterhoeven Date: Mon, 18 Sep 2023 14:38:26 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] irqchip: renesas-rzg2l: Fix logic to clear TINT interrupt source To: Biju Das Cc: Thomas Gleixner , Marc Zyngier , Lad Prabhakar , Claudiu Beznea , Geert Uytterhoeven , Biju Das , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 18 Sep 2023 05:39:38 -0700 (PDT) On Mon, Sep 18, 2023 at 2:24 PM Biju Das wrote: > The logic to clear the TINT interrupt source in rzg2l_irqc_irq_disable() > is wrong as the mask is correct only for LSB on the TSSR register. > This issue is found when testing with two TINT interrupt sources. So fix > the logic for all TINTs by using the macro TSSEL_SHIFT() to multiply > tssr_offset with 8. > > Fixes: 3fed09559cd8 ("irqchip: Add RZ/G2L IA55 Interrupt Controller driver") > Signed-off-by: Biju Das > Tested-by: Claudiu Beznea Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds