Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1057383ybi; Fri, 21 Jun 2019 12:59:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxNOvPIe7/L4xPVV+CcbX2fzbAHW4R3+f0WeVhmH8Z2wNlFyzOk+Ii6PhJVq7zqZmgoetOo X-Received: by 2002:a63:d748:: with SMTP id w8mr19674636pgi.157.1561147186410; Fri, 21 Jun 2019 12:59:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561147186; cv=none; d=google.com; s=arc-20160816; b=kEc2Qb0X/Rn3KgIaGSs0wy4ZR4PbV0x22Vm9FOLbH8f2MQWU5rGuj15DwGypZ6Sfp1 qbXAAntQJ77ECnuzuK+0Sk59bwWKDYL9mSfmpJuazXGblFXFUDBPiubPl7b50z4eCTSi Z8OgSt4Mv/GX8rN9VOU6JcRbwliX5/KRR1xOEfDKzm0vBJEvpW2AWyJKyDhLSMhS3FZ1 KUHzfu1MH0j8yRRuNpBHWKR+AvhqUUo6JAy7LajwFVHEs63e+SPY7E5h9AMikzgbrNY4 x0/CZVxCt6u2KmQP3JwYuxBdeJ8qi9YqMKQ8dJ2ejx1PXqhMp4b2p+gBj86p3xBFYGvc QWMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rrgP+tN7q+KdQueUxlF4aRY0BkMcXUVAckmsuIhwpT0=; b=COK9aSagkWlUvei6stJZ0Y63awu5/S2w1nA4+CxIl3BR2j/l/pJNhfcsLqZjhWw6bZ UmvAvp0oLKCsfmOYKNECGlrLNqSmEw/Or0OcHq26wuvzZbqjG09zL/cf6N2d991uFFIC fN42xFimOpEbx1S0mSJHxT8Fp1zhVWoDpU3Wb+zEtL9+dNXFaZZbWh9aTnzRNEmHHrZZ yBQeIopLiTsoPMGGfQ2yypiyYLkR2PvDlp2wEdoojd/YQa5trsNbleGKHRbJ20G6g5kz eerQkmInfj2jBQ7XgfgQ66AHkOh4QWo8mbdMFiFJD+foVhkiChbqhMX8LkslQ9ygWROv /gEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=L8tes+em; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id m11si3662892pjr.100.2019.06.21.12.59.31; Fri, 21 Jun 2019 12:59:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=L8tes+em; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726125AbfFUT70 (ORCPT + 99 others); Fri, 21 Jun 2019 15:59:26 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:55153 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725985AbfFUT70 (ORCPT ); Fri, 21 Jun 2019 15:59:26 -0400 Received: by mail-wm1-f67.google.com with SMTP id g135so7319510wme.4; Fri, 21 Jun 2019 12:59:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rrgP+tN7q+KdQueUxlF4aRY0BkMcXUVAckmsuIhwpT0=; b=L8tes+emvST9pmj/IRzX9+hojeOq4GZDIGhXxywVATI8gFUF36BSHIDNOPx7EIFvlg Dqe2ZBXumHdHNB1+AaiBqOA2ciM0EzKSuqJHmqrR4CY5zxj6myfpVBLFs6HNNVHzuJ/1 nhMcwOfXVXk1CSdtsVbkKXKgFp1yssRB/NXBEV/sbWRH0Q58Q/2V8sNWgQyyq00gNLee R7uLrPpIAr8oMpiNVuhE+zjJn6CY+v2PDedNHna3YUOukRp4NOqOualC7fuoGOqHVCqx iH80DV2EdO8Fwg7g5PpHdcs0d4hG6uqbt8HgPDt6BbL37SL9c1CIx0hSkPA+0C12TLn/ tLMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rrgP+tN7q+KdQueUxlF4aRY0BkMcXUVAckmsuIhwpT0=; b=YfTFUWBlurPB21AnPQS1yRWZHjlIzJcnJAG7tEtiuagqZKSPzHHkVlhtbGHaOTn4Zw kaQPZo3m5PwymEv4PMXx/cphMVmrhMMOuWJKaXPEjsh0FnW+JD7UXPWdTlK2b7hQlXAb 7DIjf8xPv+4UZXR6n4IYs3elIJAomAyk03jwg5Gp2QZstTLFWe0xybTVIwHhYSXngby/ HTlqseS20/46ph5DJVHiECFPi5pX5aZ7A9rjPCEC2zzu/H4Ve7lhVluHGeJzjwfg9THl 4ONZ5P6vFvVjzshdwzn780I4oMjqu4fvZifjf+Cpwi9teOrnxQffW/srqj4EP2+HHWTy A7Qw== X-Gm-Message-State: APjAAAWJekkrbYi/PRy02wNYGCjoFuj/RfMEwbgsTmH6/Yl7WOFKzKKB PqUjkvoBa8TzO5sYYUv27sA= X-Received: by 2002:a1c:a654:: with SMTP id p81mr4872126wme.36.1561147163961; Fri, 21 Jun 2019 12:59:23 -0700 (PDT) Received: from debian64.daheim (pD9E297F7.dip0.t-ipconnect.de. [217.226.151.247]) by smtp.gmail.com with ESMTPSA id g19sm2198006wmg.10.2019.06.21.12.59.23 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 21 Jun 2019 12:59:23 -0700 (PDT) Received: from localhost.daheim ([127.0.0.1] helo=debian64.localnet) by debian64.daheim with esmtp (Exim 4.92) (envelope-from ) id 1hePgw-0006iD-KX; Fri, 21 Jun 2019 21:59:22 +0200 From: Christian Lamparter To: Vinod Koul Cc: Mathias Nyman , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, Bjorn Andersson , Christian Lamparter , Yoshihiro Shimoda , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/5] usb: xhci: add firmware loader for uPD720201 and uPD720202 w/o ROM Date: Fri, 21 Jun 2019 21:59:22 +0200 Message-ID: <1897697.zOhlaAKarQ@debian64> In-Reply-To: <20190621085913.8722-2-vkoul@kernel.org> References: <20190621085913.8722-1-vkoul@kernel.org> <20190621085913.8722-2-vkoul@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday, June 21, 2019 10:59:09 AM CEST Vinod Koul wrote: > + /* > + * The Firmware's Data Format is describe in > + * "6.3 Data Format" R19UH0078EJ0500 Rev.5.00 page 124 > + */ > + > + /* "Each row is 8 bytes". => firmware size must be a multiple of 8. */ > + if (length % 8 != 0) > + dev_warn(&dev->dev, "firmware size is not a multiple of 8."); It doesn't look like this holds true for the newer K2026090.mem which arguably fixes a lot of bugs over K2013080.mem. I think we should remove this check and message. Cheers, Christian