From patchwork Thu May 7 13:06:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyuho Choi X-Patchwork-Id: 6357751 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6DE219F32B for ; Thu, 7 May 2015 13:06:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9646D2038C for ; Thu, 7 May 2015 13:06:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C69ED203AF for ; Thu, 7 May 2015 13:06:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751988AbbEGNGp (ORCPT ); Thu, 7 May 2015 09:06:45 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:35731 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752029AbbEGNGc (ORCPT ); Thu, 7 May 2015 09:06:32 -0400 Received: by pabtp1 with SMTP id tp1so39833885pab.2 for ; Thu, 07 May 2015 06:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=1i9dJORz1fi3C3NcbtD7bbzrAm+bwUaRUcHWRQ+Cotg=; b=zYK4joNCGrlGcJorrC8no6hf6AW67VoG8WS0+foNlGIBeVRR6sUFRvMFXP5ojMW2lJ AAxGjDo9fghTUbmduhS3l+MckG7Nc3fc+RuvsdjdD4Dl/7RqBOyjTwBF8uBMPKx/RWY1 AiN8fHY+GGUEKBOe5KQXbckSAXMYcl9WSf6BtSdvSLEbzb7XxQ0HBwTrNpHBI5A5bcDm d+vOdD3AiPL6YSnzd5+CMsMPEDhqQPxHz4EhL79Q0xJRzhDoPhuh6Un27AhCpnWVyXgw XGeSE6Olisy9CKpMueAhNkBtKkeiq0JOTRxF8zMgMRV7RAxhmmMZwK3FpS/pKJnOu+XD FVqQ== X-Received: by 10.70.38.195 with SMTP id i3mr6919448pdk.82.1431003992209; Thu, 07 May 2015 06:06:32 -0700 (PDT) Received: from localhost.localdomain ([222.98.112.237]) by mx.google.com with ESMTPSA id qm2sm2172519pdb.57.2015.05.07.06.06.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 May 2015 06:06:31 -0700 (PDT) From: Kyuho Choi X-Google-Original-From: Kyuho Choi To: vinholikatti@gmail.com, JBottomley@odin.com Cc: linux-scsi@vger.kernel.org, Kyuho Choi Subject: [PATCH] scsi: ufs: enable no_write_same for ufs Date: Thu, 7 May 2015 22:06:21 +0900 Message-Id: <1431003981-7106-1-git-send-email-kyuho.choi@sk.com> X-Mailer: git-send-email 1.9.1 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch disables write_same for ufs. Signed-off-by: Kyuho Choi --- drivers/scsi/ufs/ufshcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 648a446..6f770cd 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -4255,6 +4255,7 @@ static struct scsi_host_template ufshcd_driver_template = { .max_host_blocked = 1, .use_blk_tags = 1, .track_queue_depth = 1, + .no_write_same = 1, }; static int ufshcd_config_vreg_load(struct device *dev, struct ufs_vreg *vreg,