Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5522687pxv; Wed, 7 Jul 2021 05:54:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOGVSbyG9su8nrgFnh/PAfvww0z8p+ZNqp50gLX3Nu6lWr8+0NYl0JBovBdOpejDa+sDY/ X-Received: by 2002:a05:6402:1385:: with SMTP id b5mr15185768edv.276.1625662451575; Wed, 07 Jul 2021 05:54:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625662451; cv=none; d=google.com; s=arc-20160816; b=ylNxYtFkvVpPQIGnn730G2Zct0xLjcPLumiGqfXXA2X6FNSuxdjxcsxicgGEy7HGoD DMWws+FthZu3byI7E0EzG4HpfSYO6Yo6u+PwfMpY2h8CtRyJKDKV7N6iQY4Fjt3Q2O1M M8LysaMjlY4NnJwiMdjFaPtMGM5ys2lIO462okqNttHsVO7G6xBK+zOCVehqpKkMPoGh FzjflrthUL/UDGdWI4xcMYP1bREJkwAIxZ61s8C465nWiPRNEqr/jmENTDrZIvK+Lrvf P8yCPym3p0D+uO3j+6VpOwULCyAkiUwp1kiCGqQyPE6LipdyyQQaRvg0X1nN+PMZs6RG qmPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=uYB6y4B7ttXJD3mqpNqkRqzcO9CmDNYO1GY2p2ckyxU=; b=Q3pFzusPIdytmTpTDZZoFc73AhpiuCVYhdTgQNJ0VXs8vX/zDMVEIXqiiCMV7ctiru zF9QAHPzVa7pPd6fkN00/jJqFQRwRjXZ22xR7kyyAYLlsrL7XUDphovuNkJnnPFbPUSb KKtdhkOGGfLU6Iv/EcqYxrs1sbMYZnyLUnlI1RsvnBqumqSgxBd0f+sT+jCcCJAjtYT0 I5qJP4xeq+iqXn+OZ4rEfbKh/oErFIe1i9QNyvHOAGh2bkstBijeUxHblM3xAnaa0nSv PmAfX/Td7fwXR+KKNu3aQNKuzeRdKEVvsRiySFNr7kIn+7Dm/Js19eHRELoRmEasHX1R ZYqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ark4QFeQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si17764464edz.128.2021.07.07.05.53.48; Wed, 07 Jul 2021 05:54:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ark4QFeQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231533AbhGGMz2 (ORCPT + 99 others); Wed, 7 Jul 2021 08:55:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229757AbhGGMz1 (ORCPT ); Wed, 7 Jul 2021 08:55:27 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F2E2C061574; Wed, 7 Jul 2021 05:52:46 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id b5-20020a17090a9905b029016fc06f6c5bso1561165pjp.5; Wed, 07 Jul 2021 05:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uYB6y4B7ttXJD3mqpNqkRqzcO9CmDNYO1GY2p2ckyxU=; b=Ark4QFeQHfTkcPVm6YpE+D3m4DlXkOnE6Omlb4vpjElS1l4UTbKggPwUGb9uqqUWQC +Pdb2iyS8Ot7XzqM5ioj4RNUotyUY+UO2PEAF8YmR9g9ZCfjZ0oj/8g8hRIQpIPGEqnB uPzp5AMsad8AArxf0+/iMFFLJ6wcXZNZDy5WrRG2pEmi/Zzoxa2vY7S3tXgIxfN5EYB9 2atrtdbQJxTUvd/AA1kEM+5lVJ8LsXmGPzpWvQL9UAV4DdAOnxOEBse5xhVej3q9n8uA WgGi8cGFVCxENnf09xHjjVh6qHS56/fDRHQH0bA2XD3EjWTysjTNPWQmkcFfVG463SKT H88w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uYB6y4B7ttXJD3mqpNqkRqzcO9CmDNYO1GY2p2ckyxU=; b=VHyeTefVS0AmdO+wlboxOhGXvNJ+vx+xqj+FBkAuz5tCPJPbIpxDxePRMn3B1Wd8l1 dKf4441348UfHt2BqgqbII4LbHLVa28PmDsHH1ZOcV0b1T+Fe06qH+8OrEDO5pJnP952 3lxIjjtA8K6IJsCvZj3xRIEIlBPzIuVwKPAwI1+zr9Z4DwG/ot81weZwidNOF6btgSfi PXFTyzOtUFUyUyubqdPKTXYiG9A/P0j7FgTaDBH8ZFb1c22allTj2QeDAmXyVFvV53qX 1XW5PZ0HYU/6KBFT8qJaivL5LBdpnrP3WPk+LHGu2+9GOoJWLfdTPOzM0yzK9VcdKjXw AaGA== X-Gm-Message-State: AOAM533aePJP9LuMX78aipLSce1HymnPBompJ1LFVClGs7SH24b6goEB AUOFuWePvZsNqliVHvm9fA0RvC5o5HU8BaxlXog= X-Received: by 2002:a17:90a:17ad:: with SMTP id q42mr5986234pja.181.1625662365935; Wed, 07 Jul 2021 05:52:45 -0700 (PDT) MIME-Version: 1.0 References: <1625489588-26079-1-git-send-email-zheyuma97@gmail.com> In-Reply-To: From: Andy Shevchenko Date: Wed, 7 Jul 2021 15:52:07 +0300 Message-ID: Subject: Re: [PATCH v4] tty: serial: jsm: allocate queue buffer at probe time To: Jiri Slaby Cc: Zheyu Ma , Greg Kroah-Hartman , "open list:SERIAL DRIVERS" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 7, 2021 at 10:50 AM Jiri Slaby wrote: > On 05. 07. 21, 14:53, Zheyu Ma wrote: > So how it comes an interrupt came before > neo_param() in jsm_tty_open was called? If IRQ is shared we have a special debug feature to test shared IRQs on freeing IRQ stage (*). But it doesn't matter, the IRQ handler must survive at any stage after the action has been listed. *) I believe we have quite a lot of drivers that will fail that test... -- With Best Regards, Andy Shevchenko