Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E93B8C4332D for ; Thu, 19 Mar 2020 21:06:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BA3C62072D for ; Thu, 19 Mar 2020 21:06:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="plQ7BzcQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BA3C62072D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=grimberg.me Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fy/tnmBh6Cfrf7fkwmqrY2jUahgGERDRIFaoNTmIppk=; b=plQ7BzcQQ2hogVAPrsZtzXPEB OY+/39PvQj04DxO23jFpS9YX2rqj4Vn8im2jPvCe8+VXHXWeQH7hXyiL34Lu/GWf5uKmU14QIj2OH tm3HCCryDnJAMNRxxNddE93at8lsQi0W3imFCzhJlPdBHFGXfI7lUgLlH5kXYA+KJSzBWqxwdysdo QzQVhBsVQCaIYbxxAg8r5fmLIljVQJloNe92EdCF+Qmnjb58H8ZKzoNknvkanMLPPlCn1cGXkokCS rFuw22hZ1Qh7VLAZS5REV9x8pjKWqsqp91Q8cYdeeXLDs8CIfemUDYBW6CnRIK4MJFgV43RpPE4Fz +KOzN/muA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jF2N2-0006sf-PP; Thu, 19 Mar 2020 21:06:28 +0000 Received: from mail-pf1-f196.google.com ([209.85.210.196]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jF2Mz-0006sM-Cc for linux-nvme@lists.infradead.org; Thu, 19 Mar 2020 21:06:26 +0000 Received: by mail-pf1-f196.google.com with SMTP id j10so2067772pfi.12 for ; Thu, 19 Mar 2020 14:06:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=c5p75LG4qtjcxTkEoIUAAvmC+72e4Uy7YVsYx71KVjM=; b=AS0tqRd/fhquIWHUOmsirPGVZELMZMh0sI8l8YvQcuNuLwdnhE89wktXhMNCdQ0eFP TipY3d0+59A+RScTdS2gOZXv9fppWSJEJkj0xA7BBdS3mgmiXDWqMqNexbDA4LR34n+A EyAZIwBfGPuQgbkXdEsCwIY1GRHxWQ0PRG/2vEz0OHP1WbZWZcLjsaAuXjFFv53v4m/f /1lm69v2/ZmGMyu1Bt0N6qh9mw8T7hGMM4ovZAiqAo8oOlKWcss+fh0xH1ASix4YrkQq JmRk4XzvuNXOSl+26WDRINsoUHwwGHxbaDGD1Um/y9r8wI60ewCCHlXCiNANe58b8Hry eOOg== X-Gm-Message-State: ANhLgQ3KfuZlo0+5kD2BRAQSmp2nG3mnz7Ri1JZ7IyDwslHZcd5sLTLz TofPQRRuhX5663uFGCiCkoNoD3dt X-Google-Smtp-Source: ADFU+vu9b7joh8Yiie0DSr1CaRqHxFYSTJsmv/A1obhe2CV/mn70M/5AfWxqa9dciH6n+xE/HV5Prg== X-Received: by 2002:a62:76c3:: with SMTP id r186mr212497pfc.303.1584651984659; Thu, 19 Mar 2020 14:06:24 -0700 (PDT) Received: from ?IPv6:2601:647:4802:9070:f092:4ccc:3e48:6081? ([2601:647:4802:9070:f092:4ccc:3e48:6081]) by smtp.gmail.com with ESMTPSA id v123sm3342793pfv.146.2020.03.19.14.06.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Mar 2020 14:06:23 -0700 (PDT) Subject: Re: [PATCH] nvmet: fix dsm failure when payload does not match sgl descriptor To: Potnuri Bharat Teja References: <20200124173942.2744-1-sagi@grimberg.me> <20200319172339.GA29063@chelsio.com> From: Sagi Grimberg Message-ID: <41b757fb-5ac0-db29-9bb3-6a8b68892dc0@grimberg.me> Date: Thu, 19 Mar 2020 14:06:22 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200319172339.GA29063@chelsio.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200319_140625_426667_60D87DB2 X-CRM114-Status: GOOD ( 12.46 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Keith Busch , Dakshaja Uppalapati , Christoph Hellwig , "linux-nvme@lists.infradead.org" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org >> The host is allowed to pass the controller an sgl describing a buffer >> that is larger than the dsm payload itself, allow it when executing >> dsm. >> >> Reported-by: Dakshaja Uppalapati >> Signed-off-by: Sagi Grimberg >> --- > > Hi Sagi, > I see this issue with 5.4 stable kernels. Can this be pushed to 5.4 stable? I can send this patch to stable. _______________________________________________ linux-nvme mailing list linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme