Update source to Armbian-dev-202610.A311Y3

This commit is contained in:
2026-11-11 08:50:43 +08:00
parent 3428a94f6b
commit f459ef6a9e
12514 changed files with 2264376 additions and 468481 deletions
@@ -27,7 +27,7 @@ extern void __iomem *socinfo_sharemem_base;
int auth_region_set(void *auth_input)
{
long ret;
struct arm_smccc_res res;
struct arm_smccc_res res = { 0 };
socinfo_sharemem_base = get_meson_sm_input_base();
if (!socinfo_sharemem_base)
@@ -49,7 +49,7 @@ int auth_region_set(void *auth_input)
int auth_region_get_all(void *auth_input)
{
long ret;
struct arm_smccc_res res;
struct arm_smccc_res res = { 0 };
u32 data;
socinfo_sharemem_base = get_meson_sm_output_base();
@@ -77,7 +77,7 @@ int auth_region_get_all(void *auth_input)
int auth_region_rst(void)
{
long ret;
struct arm_smccc_res res;
struct arm_smccc_res res = { 0 };
asm __volatile__("" : : : "memory");
arm_smccc_smc(auth_reg_ops_cmd, AUTH_REG_SET_RST, 0,
@@ -29,7 +29,7 @@ static long meson64_efuse_fn_smc(struct efuse_hal_api_arg *arg)
long ret;
unsigned int cmd, offset, size;
unsigned long *retcnt = (unsigned long *)(arg->retcnt);
struct arm_smccc_res res;
struct arm_smccc_res res = {0};
switch (arg->cmd) {
case EFUSE_HAL_NOCS_API_READ:
@@ -56,18 +56,27 @@ static long socdata_unlocked_ioctl(struct file *file,
void *all_authnt_region;
switch (cmd) {
case CMD_POC_DATA:
if (put_user(readl(soc_poc_addr), soc_info))
case CMD_POC_DATA: {
u32 val = readl(soc_poc_addr);
if (put_user(val, soc_info))
return -EFAULT;
break;
case CMD_SOCVER1_DATA:
if (put_user(readl(soc_ver1_addr), soc_info))
}
case CMD_SOCVER1_DATA: {
u32 val = readl(soc_ver1_addr);
if (put_user(val, soc_info))
return -EFAULT;
break;
case CMD_SOCVER2_DATA:
if (put_user(readl(soc_ver1_addr + 4), soc_info))
}
case CMD_SOCVER2_DATA: {
u32 val = readl(soc_ver1_addr + 4);
if (put_user(val, soc_info))
return -EFAULT;
break;
}
case CMD_NOCSDATA_READ:
if (nocsdata_read(info, NOCS_DATA_LENGTH, &offset))
return -EFAULT;
@@ -163,7 +172,7 @@ static struct class socdata_class = {
static int aml_socdata_probe(struct platform_device *pdev)
{
int ret = -1;
int ret;
struct device *devp;
socdata_devp = devm_kzalloc(&pdev->dev,