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=-8.7 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_GIT 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 EBD16C67839 for ; Thu, 13 Dec 2018 15:17:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A4AEA20870 for ; Thu, 13 Dec 2018 15:17:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="QbMrtn57" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A4AEA20870 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-block-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729474AbeLMPRk (ORCPT ); Thu, 13 Dec 2018 10:17:40 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:60808 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729473AbeLMPRk (ORCPT ); Thu, 13 Dec 2018 10:17:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6cHlf5sKQHOooB866VaIoB7T+XJ5BAMd257aVhfkcuo=; b=QbMrtn576xG2GIoYNp8af+g6Yo Prp9ZrOmSbpVrC4D3LEK5NvFea5zRoY61dltokaM6Yjj0xVChj3zJJWjtvvpYgJI6uyy+AZ6CAh+Z y3Qj1kQG9fTtaJuOMR5rJ7M1I0KwwzsIsu0sRqX7NUdSrIabIYRQCa/wxLADBbrvkbSx+J0tb15rx U3/xiXLh9WgLQGfzIFKFRF2uE1HIvisCUX18wmJvcwJ+9q0BsiUMeitNrT/rz2WslzNXYv4AFUQKw ZYWZYrOsJQ9a9StL0iuLoHiDWbI5zSJ5Fu+G6ZG43sng/JuKidHc+tQc4vyEji/JrNCz4R+maBSQG gKCTKEeQ==; Received: from 089144198147.atnat0007.highway.a1.net ([89.144.198.147] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXSk3-0001SF-MR; Thu, 13 Dec 2018 15:17:36 +0000 From: Christoph Hellwig To: "Martin K. Petersen" Cc: Jens Axboe , Ming Lei , Hannes Reinecke , Paul Mackerras , Juergen Gross , linux-scsi@vger.kernel.org, linux-block@vger.kernel.org Subject: [PATCH 08/10] mac53c94: remove DISABLE_CLUSTERING Date: Thu, 13 Dec 2018 16:17:08 +0100 Message-Id: <20181213151710.30036-9-hch@lst.de> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181213151710.30036-1-hch@lst.de> References: <20181213151710.30036-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org mac53c94 has no limitations on crossing pages for segments. Just make the 65535 byte segment size limit explicit, even if it matches the current block layer limit. Signed-off-by: Christoph Hellwig Tested-by: Paul Mackerras --- drivers/scsi/mac53c94.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/mac53c94.c b/drivers/scsi/mac53c94.c index 177701dfdfcb..c8e6ae98a4a6 100644 --- a/drivers/scsi/mac53c94.c +++ b/drivers/scsi/mac53c94.c @@ -403,7 +403,7 @@ static struct scsi_host_template mac53c94_template = { .can_queue = 1, .this_id = 7, .sg_tablesize = SG_ALL, - .use_clustering = DISABLE_CLUSTERING, + .max_segment_size = 65535, }; static int mac53c94_probe(struct macio_dev *mdev, const struct of_device_id *match) -- 2.19.2