Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751971AbdFPXE0 (ORCPT ); Fri, 16 Jun 2017 19:04:26 -0400 Received: from mga02.intel.com ([134.134.136.20]:38391 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750879AbdFPXEZ (ORCPT ); Fri, 16 Jun 2017 19:04:25 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,348,1493708400"; d="scan'208";a="1161474074" From: yi1.li@linux.intel.com To: mcgrof@kernel.org Cc: gregkh@linuxfoundation.org, atull@kernel.org, wagi@monom.org, dwmw2@infradead.org, rafal@milecki.pl, arend.vanspriel@broadcom.com, rjw@rjwysocki.net, moritz.fischer@ettus.com, pmladek@suse.com, johannes.berg@intel.com, emmanuel.grumbach@intel.com, luciano.coelho@intel.com, kvalo@codeaurora.org, luto@kernel.org, takahiro.akashi@linaro.org, dhowells@redhat.com, pjones@redhat.com, linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org, Yi Li Subject: [PATCHv3 0/3] Enable no_cache in driver_data Date: Fri, 16 Jun 2017 17:58:28 -0500 Message-Id: <1497653911-11944-1-git-send-email-yi1.li@linux.intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1455 Lines: 38 From: Yi Li Changes in v3: - Add a platform device to enable PM support in test driver - Add a debugfs device to enable driver data cache testing - Fix a logic error so driver_data can be able to cache - Add two test cases for caching and non-caching - Rebase to Luis R. Rodriguez's 20170605-driver-data branch Changes in v2: - Rebase to Luis R. Rodriguez's 20170501-driver-data-try2 branch - Expose DRIVER_DATA_REQ_NO_CACHE flag to public driver_data_req_params structure, so upper drivers can ask driver_data driver to bypass the internal caching mechanism. This will be used for streaming and other drivers maintains their own caching like iwlwifi. - Add self test cases. Yi Li (3): firmware_class: move NO_CACHE from private to driver_data_req_params iwlwifi: use DRIVER_DATA_REQ_NO_CACHE for driver_data test: add no_cache to driver_data load tester drivers/base/firmware_class-dbg.c | 108 ++++++++++++++++++++++++ drivers/base/firmware_class.c | 26 +++--- drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 2 + include/linux/driver_data.h | 4 + lib/test_driver_data.c | 97 ++++++++++++++++++--- tools/testing/selftests/firmware/driver_data.sh | 69 +++++++++++++++ 6 files changed, 285 insertions(+), 21 deletions(-) create mode 100644 drivers/base/firmware_class-dbg.c -- 2.7.4