1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

platform-drivers-x86 for v6.14-2

Fixes:
 
  - ideapad-laptop: Pass a correct pointer to the driver data
 
  - intel/ifs: Provide a link to the IFS test images
 
  - intel/pmc: Use large enough type when decoding LTR value
 
 The following is an automated shortlog grouped by driver:
 
 ideapad-laptop:
  -  pass a correct pointer to the driver data
 
 intel/ifs:
  -  Update documentation with image download path
 
 intel: pmc:
  -  fix ltr decode in pmc_core_ltr_show()
 -----BEGIN PGP SIGNATURE-----
 
 iHQEABYIAB0WIQSCSUwRdwTNL2MhaBlZrE9hU+XOMQUCZ6HR1QAKCRBZrE9hU+XO
 MZ66AP9MoxGhJJgR9A9+Rr+zwRLsbudl4XGJqGcDGFR4HeeVTwD3Q0mSBHvNW+XQ
 yzwkyP+sySzQvoNu62n3GTsOnv75CA==
 =b/yB
 -----END PGP SIGNATURE-----

Merge tag 'platform-drivers-x86-v6.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86

Pull x86 platform driver fixes from Ilpo Järvinen:

 - ideapad-laptop: Pass a correct pointer to the driver data

 - intel/ifs: Provide a link to the IFS test images

 - intel/pmc: Use large enough type when decoding LTR value

* tag 'platform-drivers-x86-v6.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
  platform/x86/intel/ifs: Update documentation with image download path
  platform/x86/intel: pmc: fix ltr decode in pmc_core_ltr_show()
  platform/x86: ideapad-laptop: pass a correct pointer to the driver data
This commit is contained in:
Linus Torvalds 2025-02-04 09:50:02 -08:00
commit f5a2601378
3 changed files with 7 additions and 8 deletions

View file

@ -1121,7 +1121,7 @@ static int ideapad_dytc_profile_init(struct ideapad_private *priv)
/* Create platform_profile structure and register */
priv->dytc->ppdev = devm_platform_profile_register(&priv->platform_device->dev,
"ideapad-laptop", &priv->dytc,
"ideapad-laptop", priv->dytc,
&dytc_profile_ops);
if (IS_ERR(priv->dytc->ppdev)) {
err = PTR_ERR(priv->dytc->ppdev);

View file

@ -23,12 +23,14 @@
* IFS Image
* ---------
*
* Intel provides a firmware file containing the scan tests via
* github [#f1]_. Similar to microcode there is a separate file for each
* Intel provides firmware files containing the scan tests via the webpage [#f1]_.
* Look under "In-Field Scan Test Images Download" section towards the
* end of the page. Similar to microcode, there are separate files for each
* family-model-stepping. IFS Images are not applicable for some test types.
* Wherever applicable the sysfs directory would provide a "current_batch" file
* (see below) for loading the image.
*
* .. [#f1] https://intel.com/InFieldScan
*
* IFS Image Loading
* -----------------
@ -125,9 +127,6 @@
* 2) Hardware allows for some number of cores to be tested in parallel.
* The driver does not make use of this, it only tests one core at a time.
*
* .. [#f1] https://github.com/intel/TBD
*
*
* Structural Based Functional Test at Field (SBAF):
* -------------------------------------------------
*

View file

@ -626,8 +626,8 @@ static u32 convert_ltr_scale(u32 val)
static int pmc_core_ltr_show(struct seq_file *s, void *unused)
{
struct pmc_dev *pmcdev = s->private;
u64 decoded_snoop_ltr, decoded_non_snoop_ltr;
u32 ltr_raw_data, scale, val;
u64 decoded_snoop_ltr, decoded_non_snoop_ltr, val;
u32 ltr_raw_data, scale;
u16 snoop_ltr, nonsnoop_ltr;
unsigned int i, index, ltr_index = 0;