Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1621905iob; Sat, 14 May 2022 14:55:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLIZUcy8v6Xg/MhXG3QjoDjNJrzZSQvQ/pMk3jcqL4M9Qtb/BF6bqpmpPiMGkr57hQuh6d X-Received: by 2002:adf:f7c5:0:b0:20a:e153:1f32 with SMTP id a5-20020adff7c5000000b0020ae1531f32mr8862080wrq.364.1652565327439; Sat, 14 May 2022 14:55:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652565327; cv=none; d=google.com; s=arc-20160816; b=wVcOutp2RXvu8ccJa91/CG3FjN9JWWo8emua/50imje+g2oxrtKFQh7CPWeIwUvhwh A6GFfBlJvR7ikto4wydM4xMvfUTd8OPzy/2xc4gIVukOntn333T0GhukPSkdC50t2TDk CP2hMWjc21D9vEmUjvthRUbHi6quDdm2f2m/5ufXvauhhcV/InudJn5RKfJvMkLoD5Fb TDEIN8LK5hCx5RSbYudtEDqkeVNx52n805GX1jjx9dS60hFNBpRusGX4FVEE6ANBRvRG xYCKi9EQtTX+RwWeM8VCzy3LBV9Ykhfe3koP6O9UHFVwoV3hRTxitt7mdGEOYi/9Saoo X57g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=fXzV1fpic6FIBZFtsxUjhfRXDG+va5qpRFfngHIik8E=; b=HrghEJUara0oO6Vif6EaY0H8UtiQHPj//esqB3K9dzZRQAZ/c/1VNT8n/2tDKFtFeW A+OxmAHOVNv3IdwyKvHec1YVv7qr8Ul/swCHtClwc/3FgcVjakvl3I0hhNzUdNrF5LE+ kVjat6HCOvKg3+qrl2pqiBIOf2IxvkoWap0V3PGPAjiCt5ejuRlP6AlqdftbYdZw24GV e8AL+vzkzDJ7//Idk6nm473WISkVVtWC0o9Y8cqgl5PiRLLQYsBxPNmhfdD7mTKoMG01 XCMG/BFIyRvFHOrDW4OZnM4c7EuvuTlzYR6yjF0tdjykFU+OYRf7ZTdlnE6tKGmba/XP 2R6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WMwBL9u+; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a0560001aca00b0020c622c0631si5984429wry.49.2022.05.14.14.55.02; Sat, 14 May 2022 14:55:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=WMwBL9u+; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 S234912AbiENTcO (ORCPT + 69 others); Sat, 14 May 2022 15:32:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234727AbiENTcN (ORCPT ); Sat, 14 May 2022 15:32:13 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 026FD1B7A6 for ; Sat, 14 May 2022 12:32:11 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id i10so19678982lfg.13 for ; Sat, 14 May 2022 12:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=fXzV1fpic6FIBZFtsxUjhfRXDG+va5qpRFfngHIik8E=; b=WMwBL9u+A7cVFaSFpoSvfQhotjddSY3EEfSStc/go3iWLy7T4NqDaod58gnHU1T6tR wCYfEEHhQ5L1xTZcF8uiyLWh2mJET+ibN/8dtyMkATHs1Y+W/rIhs+qVls6IG+J1Qnyf 0wRGdwZhCF3ZFyfePovHpgZYVssiFt1X4SnGLnQkPv6o9t+0fWEUzT05nVparICioHLg FWsIDfC7Ta3IiKHQS81GQyErMdey8NdrKvgB3l4VDgqAS8V9XoOSMI7dCIbBcuRMHP0V OkWnBgClT2qMSjiFN4LPWsNPbZAiwo+XJJ6Qd2muplhM2Mqi3MCQECnKH13Cx5WN6Ib6 PQkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=fXzV1fpic6FIBZFtsxUjhfRXDG+va5qpRFfngHIik8E=; b=tONfhf1d5R5wI3+XSIiCwkId443MV8TKNJY0ogrACP4EmdL+OXF3VjeJcV76eNF3zT Ep54qjWRqNZH0dX+dpzTRrU8/jOwPghvYl0XgD8RmiOb9z717N6xuZ22u1hqtrTgfITH 42GFHpuPYJcibwpVC28Uq+ZikuMjC96yGNsiDGL6Ao+ScbWD9cfgba55m8W18io1Yvub KRBLvVamIzRlclhRuUlhe9JDrZpm1mvexStxubfNFEBGoYsk17vL5QQcwwqouj4uwRKv 06/WMX/SmNIRJ76YUwGFyqTC5n38ZYEdxJimt7HhpZZY4TJk9UMXiQUlGJtIflhZlLgh mtAw== X-Gm-Message-State: AOAM531BeffsKNscD+q7y94hfyRnLCq54opQl5HUap5txFcja4MJDORL t/Wlq3RIVkAaZHcm004ApsKSBA== X-Received: by 2002:a05:6512:3f8c:b0:45d:cb2a:8779 with SMTP id x12-20020a0565123f8c00b0045dcb2a8779mr7745769lfa.499.1652556729330; Sat, 14 May 2022 12:32:09 -0700 (PDT) Received: from [192.168.0.17] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id f13-20020a2eb5ad000000b0024f3d1daedfsm896630ljn.103.2022.05.14.12.32.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 14 May 2022 12:32:08 -0700 (PDT) Message-ID: <93181c1d-16a7-697e-976c-190b1c99f2c2@linaro.org> Date: Sat, 14 May 2022 21:32:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH] ath10k: do not enforce interrupt trigger type Content-Language: en-US To: Kalle Valo Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Govind Singh , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , linux-arm-msm@vger.kernel.org References: <20220513151516.357549-1-krzysztof.kozlowski@linaro.org> <87zgjl4e8t.fsf@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <87zgjl4e8t.fsf@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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-wireless@vger.kernel.org On 13/05/2022 17:57, Kalle Valo wrote: > Krzysztof Kozlowski writes: > >> Interrupt line can be configured on different hardware in different way, >> even inverted. Therefore driver should not enforce specific trigger >> type - edge rising - but instead rely on Devicetree to configure it. >> >> All Qualcomm DTSI with WCN3990 define the interrupt type as level high, >> so the mismatch between DTSI and driver causes rebind issues: >> >> $ echo 18800000.wifi > /sys/bus/platform/drivers/ath10k_snoc/unbind >> $ echo 18800000.wifi > /sys/bus/platform/drivers/ath10k_snoc/bind >> [ 44.763114] irq: type mismatch, failed to map hwirq-446 for interrupt-controller@17a00000! >> [ 44.763130] ath10k_snoc 18800000.wifi: error -ENXIO: IRQ index 0 not found >> [ 44.763140] ath10k_snoc 18800000.wifi: failed to initialize resource: -6 > > So you tested on WCN3990? On what firmware version? I run it on a Qualcomm RB3 board with Qualcomm SDM845 and WCN3990. However on that kernel I did not manage to WiFi actually work - regardless of that patch - so I would no count it yet as fully tested. It would be great if someone would provide some tests. I saw Steev's replies - thanks! Best regards, Krzysztof