LWN.net Logo

libata: modularize PMP support, take #1

From:  Tejun Heo <htejun@gmail.com>
To:  jeff@garzik.org, linux-ide@vger.kernel.org, liml@rtr.ca
Subject:  [PATCHSET #upstream] libata: modularize PMP support, take #1
Date:  Tue, 25 Mar 2008 22:25:14 +0900
Message-ID:  <1206451517133-git-send-email-htejun@gmail.com>
Archive-link:  Article, Thread


Hello, all.

This patchset modularizes PMP support and contains the following three
patches.

  mails/0001-libata-separate-PMP-support-code-from-core-code.patch
  mails/0002-libata-implement-PMP-helpers.patch
  mails/0003-libata-make-PMP-support-optional.patch

LLDs which support PMP don't depend on PMP.  If PMP is turned on,
those LLDs support PMP, if PMP is off, they don't.  The size of
libata.ko on x86_64 w all debugging options off change like the
following.

		ON-DISK		LOADED
+SFF+PMP	226k		157k
+SFF-PMP	204k		141k
-SFF+PMP	193k		133k
-SFF-PMP	171k		117k

Both ahci and sata_sil24 have been verified to work w/ PMP turned on
and off.

This patchset is on top of

  upstream-fixes (4cde32fc4b32e96a99063af3183acdfd54c563f0)
+ prefer-hardreset (990d6db0af21830681157317ab58c10f80277cb8)
+ cleanup-sht-ops (ed75ba53c883bc7a63fa1b60c63f33fcf395e751)
+ [1] cleanup-pdc_adma
+ [2] modularize-SFF-support patchset, take #1

This patchset is available as git tree.

  http://git.kernel.org/?p=linux/kernel/git/tj/libata-dev.git;...
  git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata-dev.git modularize-PMP

Thanks.

--
tejun

[1] http://thread.gmane.org/gmane.linux.ide/29978
[2] http://thread.gmane.org/gmane.linux.ide/29981
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.