Displaying 3 results from an estimated 3 matches for "gid_info".
2015 Mar 11
3
[PATCH] pmu/gk20a: PMU boot support.
...nit.msg_type != PMU_INIT_MSG_TYPE_PMU_INIT) {
+ nv_error(ppmu,
+ "expecting init msg");
+ return -EINVAL;
+ }
+
+ tail += ALIGN(msg->hdr.size, PMU_DMEM_ALIGNMENT);
+ nv_wr32(ppmu, 0x0010a4cc,
+ tail & 0xffffffff);
+
+ init = &msg->msg.init.pmu_init_gk20a;
+ if (!pmu->gid_info.valid) {
+
+ pmu_copy_from_dmem(pmu,
+ init->sw_managed_area_offset,
+ (u8 *)&gid_data,
+ sizeof(struct pmu_sha1_gid_data), 0);
+
+ pmu->gid_info.valid =
+ (*(u32 *)gid_data.signature == PMU_SHA1_GID_SIGNATURE);
+
+ if (pmu->gid_info.valid) {
+
+ BUG_ON(sizeof(pmu->gid_...
2015 Mar 11
0
[PATCH] pmu/gk20a: PMU boot support.
...> + return -EINVAL;
> + }
> +
> + tail += ALIGN(msg->hdr.size, PMU_DMEM_ALIGNMENT);
> + nv_wr32(ppmu, 0x0010a4cc,
> + tail & 0xffffffff);
> +
> + init = &msg->msg.init.pmu_init_gk20a;
> + if (!pmu->gid_info.valid) {
> +
> + pmu_copy_from_dmem(pmu,
> + init->sw_managed_area_offset,
> + (u8 *)&gid_data,
> + sizeof(struct pmu_sha1_gid_data), 0);
> +
> + pmu->gid_info.valid =
> +...
2015 Mar 12
2
[PATCH] pmu/gk20a: PMU boot support.
...> + return -EINVAL;
> + }
> +
> + tail += ALIGN(msg->hdr.size, PMU_DMEM_ALIGNMENT);
> + nv_wr32(ppmu, 0x0010a4cc,
> + tail & 0xffffffff);
> +
> + init = &msg->msg.init.pmu_init_gk20a;
> + if (!pmu->gid_info.valid) {
> +
> + pmu_copy_from_dmem(pmu,
> + init->sw_managed_area_offset,
> + (u8 *)&gid_data,
> + sizeof(struct pmu_sha1_gid_data), 0);
> +
> + pmu->gid_info.valid =
> +...