nfit.c (19357a685e870eeb825cbb7fd3104082ab041987) nfit.c (9484e12d7999a3c82d8732b60c0149f038bdd985)
1/*
2 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of version 2 of the GNU General Public License as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but

--- 2251 unchanged lines hidden (view full) ---

2260 SPA2_SIZE);
2261
2262 acpi_desc = &t->acpi_desc;
2263 set_bit(ND_CMD_ARS_CAP, &acpi_desc->bus_cmd_force_en);
2264 set_bit(ND_CMD_ARS_START, &acpi_desc->bus_cmd_force_en);
2265 set_bit(ND_CMD_ARS_STATUS, &acpi_desc->bus_cmd_force_en);
2266 set_bit(ND_CMD_CLEAR_ERROR, &acpi_desc->bus_cmd_force_en);
2267 set_bit(ND_INTEL_ENABLE_LSS_STATUS, &acpi_desc->dimm_cmd_force_en);
1/*
2 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of version 2 of the GNU General Public License as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but

--- 2251 unchanged lines hidden (view full) ---

2260 SPA2_SIZE);
2261
2262 acpi_desc = &t->acpi_desc;
2263 set_bit(ND_CMD_ARS_CAP, &acpi_desc->bus_cmd_force_en);
2264 set_bit(ND_CMD_ARS_START, &acpi_desc->bus_cmd_force_en);
2265 set_bit(ND_CMD_ARS_STATUS, &acpi_desc->bus_cmd_force_en);
2266 set_bit(ND_CMD_CLEAR_ERROR, &acpi_desc->bus_cmd_force_en);
2267 set_bit(ND_INTEL_ENABLE_LSS_STATUS, &acpi_desc->dimm_cmd_force_en);
2268 set_bit(ND_CMD_GET_CONFIG_SIZE, &acpi_desc->dimm_cmd_force_en);
2269 set_bit(ND_CMD_GET_CONFIG_DATA, &acpi_desc->dimm_cmd_force_en);
2270 set_bit(ND_CMD_SET_CONFIG_DATA, &acpi_desc->dimm_cmd_force_en);
2268}
2269
2270static int nfit_test_blk_do_io(struct nd_blk_region *ndbr, resource_size_t dpa,
2271 void *iobuf, u64 len, int rw)
2272{
2273 struct nfit_blk *nfit_blk = ndbr->blk_provider_data;
2274 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[BDW];
2275 struct nd_region *nd_region = &ndbr->nd_region;

--- 513 unchanged lines hidden ---
2271}
2272
2273static int nfit_test_blk_do_io(struct nd_blk_region *ndbr, resource_size_t dpa,
2274 void *iobuf, u64 len, int rw)
2275{
2276 struct nfit_blk *nfit_blk = ndbr->blk_provider_data;
2277 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[BDW];
2278 struct nd_region *nd_region = &ndbr->nd_region;

--- 513 unchanged lines hidden ---