Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp473473rdb; Thu, 5 Oct 2023 11:09:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEJQNepsjEnT4KxBAp0Lcy3sbg2wFrn/ePWk9fcgCfShkfqsB3pUNT0pR7NVOQl0P0hF1u+ X-Received: by 2002:a05:6a21:3294:b0:13b:9d80:673d with SMTP id yt20-20020a056a21329400b0013b9d80673dmr7010067pzb.48.1696529346054; Thu, 05 Oct 2023 11:09:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696529346; cv=none; d=google.com; s=arc-20160816; b=ZIW8LbP/EzSMFLq+waxePU/H/xCJJbXPQDxI5X4AS4xNpN4aqS4uAUChFI6Qf6woz0 pOd5+aKzzkM4LuwDJa/BRDPhhwSrlNKUHdo5TbSh5k/lwhDqcJ6JzeZDzKtW4VKu1jZr Fn1E/J216XsZGPGuWo+H83XUJa0do3YYbuvSXgrCVCWg+1ZtnBaPR1cVMYqAHv17k5Yh aw4ox1TqHuRYXzeztzQmWfbbeZLLKrOC3rDWIoijf3fxMtoCxx9SrAnv4vN9GulQKc9b r6hjBfzvXYRZqKhjbIr6zIUySKlvSJe+n2Mlyxa0jAFbsv3zPe3Z6F/e/zXXA2IqC4hq Xitw== 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 :dkim-signature; bh=yfEzaAYRoCM2oEhK3EPu0Hj+aznJeUYqKLfmZ+hOYv8=; fh=n8+QSz4yk5vTkwfwPe3J9/Ybw2OWc5WDjk8VZdFCcZQ=; b=VqcCaCnmw2OxieOChhUtw37xl8FtpVzh7hJGKxcO/GRCQiU2zpYb5WVq0K8sxmN2t8 T+HWbP01BomwtnNOTuxCh1wX9OM/qr0qp0FTfSwmycWnpE1T/QhF5awbcOfYDFuRFo9u KPpmzVFT5WCxoJlT0P46yqZyFAagTeHgnfSt4wLX3pWXG1k3w3Y0oXAG7GnyWhC73ORC lEChoZK2Fa/CBE7XGjf3AiDNG48/Ks8iZErUxdghkA8guF/oDsaFuyVW1yOvosEgkoYG xiiu+kRFzZCf8K+MJr67nzmUl7E10/OgOmusWcwCGg5aquZ+wfbXSdlLB4GMg/8V9nF4 avyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WsHaJihv; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id o7-20020a63f147000000b00577dd005706si1830222pgk.779.2023.10.05.11.09.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 11:09:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WsHaJihv; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id DC52283CF93F; Thu, 5 Oct 2023 11:09:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229974AbjJESI7 (ORCPT + 52 others); Thu, 5 Oct 2023 14:08:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229993AbjJESI0 (ORCPT ); Thu, 5 Oct 2023 14:08:26 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2753910C; Thu, 5 Oct 2023 11:08:18 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-68fb85afef4so1114936b3a.1; Thu, 05 Oct 2023 11:08:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696529297; x=1697134097; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=yfEzaAYRoCM2oEhK3EPu0Hj+aznJeUYqKLfmZ+hOYv8=; b=WsHaJihvvvT5MNHC+joG1dLs1P1KfBpmv4qOEAh6/rJM83ZYOJMS/maGRAp0mG3IBL dLIb08JAyKIcY/f0DN87khZoyEo1+uoaWP9zpCh1pfg5RhGuO4TrBBH9h+hGS5NxPmsu r53z7wRwpazmCfIMaAwh2TVZ9rdnDIaDXT8rjzg7SYCHv5YZrKVEXEnmfu2rx4YGztkN Hz9Va55ZtFzWCzj0tg49KeEFIzynflyXseMaX5kBEhOYgfm2E3lAEl1839oHu8fvUafb 4yhpiqMJQMniAMnE8Tk0LJ4QoaSVMehPzIjkdzwcWt9cjTvUTmJ/ao1ZjE1sbUpjc/ea Og+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696529297; x=1697134097; 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=yfEzaAYRoCM2oEhK3EPu0Hj+aznJeUYqKLfmZ+hOYv8=; b=xLLrFl9UogEvemoJQOUWCmNqtBeqeJ/KbQyqzTm8cUIYIyYxTbQ1gxWTMoMAxSYfVa 6rlXv5Tt/SH/XLSSQULpga1BIQsF+PB+urZUuwOYCSPoLZbtXP1HNosLAh/JWtuaY9Aa RU7V5HlRFwHmvw8KwAK/YWbWVNN3+Ax7uibwMCJJg3yr1FNZwXvqw/psMprO3kJ/5gAB 6xwJV0+sA7sbk3gAs8y1XJyxSLAmZoVPSWJlE/XL2O3OTpgB+w3Pi5doZeYZI1ijK3lf x1AKpUr9bs0QTy7Jvpyq1GkNNlvOaBj4GOxGlyFbtyB1RdvLdn1A2gDqBloMMQcrXEUB SzTg== X-Gm-Message-State: AOJu0Yy+iCxp6jldsSwTVO3+x+7ARvl27vnFCZW6b74TfOzub+r9JxbY vQSx3xWmogcs0K2ruOzJW4wQO6TPcSf7cKcbOufmSSAN X-Received: by 2002:a05:6a00:10c1:b0:690:c2b3:e4c5 with SMTP id d1-20020a056a0010c100b00690c2b3e4c5mr6733619pfu.4.1696529297534; Thu, 05 Oct 2023 11:08:17 -0700 (PDT) MIME-Version: 1.0 References: <20231002185053.GB402943@wp.pl> <20231004182826.GA411448@wp.pl> In-Reply-To: <20231004182826.GA411448@wp.pl> From: enc0der Date: Thu, 5 Oct 2023 14:08:06 -0400 Message-ID: Subject: Re: rt8000usb driver issue (maybe interaction with other drivers) To: Stanislaw Gruszka Cc: Bagas Sanjaya , Linux Regressions , Linux Kernel Mailing List , Linux Wireless Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 05 Oct 2023 11:09:02 -0700 (PDT) On Wed, Oct 4, 2023 at 2:28=E2=80=AFPM Stanislaw Gruszka wro= te: > Here is the issue. We send the frames with spin_lock taken, in such > case no sleep (i.e. schedule() call) is allowed. Some function from > tegra/nvhost is actually sleeping, hence the bug. > > As already pointed Thorsten, those tegra_/nvhost_ are proprietary functio= ns, > which are not included in the upstream linux kernel, so we can not fix th= em. > > However I can advice you to detach those from crypto_aead_encrypt, > this should be doable. At worst your will need to recompile your > kernel with those crypto offload engines disabled, but perhaps > this can be configured dynamically. Thank you Stanislaw and everyone else for your help, super appreciated. I will bring this back to Nvidia as this makes sense to me the problem is in their upstream changes. I suspect the person who was trying to help me just wasn't familiar with all their own changes. > Regards > Stanislaw