search for: nvbios_checksum

Displaying 3 results from an estimated 3 matches for "nvbios_checksum".

2015 Oct 02
2
[PATCH] bios: fix OF loading
...ge %d invalid\n", idx); + return 0; + } } nvkm_debug(subdev, "%08x: type %02x, %d bytes\n", image.base, image.type, image.size); @@ -74,7 +82,8 @@ shadow_image(struct nvkm_bios *bios, int idx, u32 offset, struct shadow *mthd) switch (image.type) { case 0x00: - if (nvbios_checksum(&bios->data[image.base], image.size)) { + if (!mthd->func->ignore_checksum && + nvbios_checksum(&bios->data[image.base], image.size)) { nvkm_debug(subdev, "%08x: checksum failed\n", image.base); if (mthd->func->rw) diff --git a/drm/n...
2015 Oct 02
2
[PATCH] bios: fix OF loading
...bytes\n", >> image.base, image.type, image.size); >> @@ -74,7 +82,8 @@ shadow_image(struct nvkm_bios *bios, int idx, u32 >> offset, struct shadow *mthd) >> >> switch (image.type) { >> case 0x00: >> - if (nvbios_checksum(&bios->data[image.base], image.size)) >> { >> + if (!mthd->func->ignore_checksum && >> + nvbios_checksum(&bios->data[image.base], image.size)) >> { >> nvkm_debug(subdev, "%08x: che...
2014 Mar 24
4
[PATCH 1/4] pm/fan: drop the fan lock in fan_update() before rescheduling
From: Martin Peres <martin.peres at labri.fr> This should fix a deadlock that has been reported to us where fan_update() would hold the fan lock and try to grab the alarm_program_lock to reschedule an update. On an other CPU, the alarm_program_lock would have been taken before calling fan_update(), leading to a deadlock. We should Cc: <stable at vger.kernel.org> # 3.9+ Reported-by: