Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
- arch/arm64/kernel/fpsimd.c | 6 +++---
+ arch/arm64/kernel/fpsimd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
-diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c
-index af59b42973141..177363abbd3e3 100644
--- a/arch/arm64/kernel/fpsimd.c
+++ b/arch/arm64/kernel/fpsimd.c
-@@ -315,7 +315,7 @@ static unsigned int find_supported_vector_length(unsigned int vl)
+@@ -304,7 +304,7 @@ static unsigned int find_supported_vecto
return sve_vl_from_vq(bit_to_vq(bit));
}
static int sve_proc_do_default_vl(struct ctl_table *table, int write,
void __user *buffer, size_t *lenp,
-@@ -361,9 +361,9 @@ static int __init sve_sysctl_init(void)
+@@ -350,9 +350,9 @@ static int __init sve_sysctl_init(void)
return 0;
}
#define ZREG(sve_state, vq, n) ((char *)(sve_state) + \
(SVE_SIG_ZREG_OFFSET(vq, n) - SVE_SIG_REGS_OFFSET))
---
-2.25.1
-
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
- arch/arm64/kernel/fpsimd.c | 6 +++---
+ arch/arm64/kernel/fpsimd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
-diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c
-index d8895251a2aac..338e0966d3ca2 100644
--- a/arch/arm64/kernel/fpsimd.c
+++ b/arch/arm64/kernel/fpsimd.c
-@@ -349,7 +349,7 @@ static unsigned int find_supported_vector_length(unsigned int vl)
+@@ -338,7 +338,7 @@ static unsigned int find_supported_vecto
return sve_vl_from_vq(__bit_to_vq(bit));
}
static int sve_proc_do_default_vl(struct ctl_table *table, int write,
void __user *buffer, size_t *lenp,
-@@ -395,9 +395,9 @@ static int __init sve_sysctl_init(void)
+@@ -384,9 +384,9 @@ static int __init sve_sysctl_init(void)
return 0;
}
#define ZREG(sve_state, vq, n) ((char *)(sve_state) + \
(SVE_SIG_ZREG_OFFSET(vq, n) - SVE_SIG_REGS_OFFSET))
---
-2.25.1
-
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
- drivers/nvme/host/multipath.c | 12 ++++--------
+ drivers/nvme/host/multipath.c | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
-diff --git a/drivers/nvme/host/multipath.c b/drivers/nvme/host/multipath.c
-index 0f08c15553a64..18f0a05c74b56 100644
--- a/drivers/nvme/host/multipath.c
+++ b/drivers/nvme/host/multipath.c
-@@ -414,11 +414,10 @@ static void nvme_mpath_set_live(struct nvme_ns *ns)
+@@ -413,11 +413,10 @@ static void nvme_mpath_set_live(struct n
{
struct nvme_ns_head *head = ns->head;
if (!(head->disk->flags & GENHD_FL_UP))
device_add_disk(&head->subsys->dev, head->disk,
nvme_ns_id_attr_groups);
-@@ -431,9 +430,10 @@ static void nvme_mpath_set_live(struct nvme_ns *ns)
+@@ -430,9 +429,10 @@ static void nvme_mpath_set_live(struct n
__nvme_find_path(head, node);
srcu_read_unlock(&head->srcu, srcu_idx);
}
}
static int nvme_parse_ana_log(struct nvme_ctrl *ctrl, void *data,
-@@ -484,14 +484,12 @@ static inline bool nvme_state_is_live(enum nvme_ana_state state)
+@@ -483,14 +483,12 @@ static inline bool nvme_state_is_live(en
static void nvme_update_ns_ana_state(struct nvme_ana_group_desc *desc,
struct nvme_ns *ns)
{
}
static int nvme_update_ana_state(struct nvme_ctrl *ctrl,
-@@ -670,10 +668,8 @@ void nvme_mpath_add_disk(struct nvme_ns *ns, struct nvme_id_ns *id)
- nvme_update_ns_ana_state(&desc, ns);
- }
+@@ -661,10 +659,8 @@ void nvme_mpath_add_disk(struct nvme_ns
+ nvme_parse_ana_log(ns->ctrl, ns, nvme_set_ns_ana_state);
+ mutex_unlock(&ns->ctrl->ana_lock);
} else {
- mutex_lock(&ns->head->lock);
ns->ana_state = NVME_ANA_OPTIMIZED;
nvme_mpath_set_live(ns);
- mutex_unlock(&ns->head->lock);
}
+ }
- if (bdi_cap_stable_pages_required(ns->queue->backing_dev_info)) {
---
-2.25.1
-
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
- arch/arm64/kernel/fpsimd.c | 6 +++---
+ arch/arm64/kernel/fpsimd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
-diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c
-index 4a77263c183b3..befc5a715dc4e 100644
--- a/arch/arm64/kernel/fpsimd.c
+++ b/arch/arm64/kernel/fpsimd.c
-@@ -349,7 +349,7 @@ static unsigned int find_supported_vector_length(unsigned int vl)
+@@ -338,7 +338,7 @@ static unsigned int find_supported_vecto
return sve_vl_from_vq(__bit_to_vq(bit));
}
static int sve_proc_do_default_vl(struct ctl_table *table, int write,
void __user *buffer, size_t *lenp,
-@@ -395,9 +395,9 @@ static int __init sve_sysctl_init(void)
+@@ -384,9 +384,9 @@ static int __init sve_sysctl_init(void)
return 0;
}
#define ZREG(sve_state, vq, n) ((char *)(sve_state) + \
(SVE_SIG_ZREG_OFFSET(vq, n) - SVE_SIG_REGS_OFFSET))
---
-2.25.1
-
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
- drivers/nvme/host/multipath.c | 12 ++++--------
+ drivers/nvme/host/multipath.c | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
-diff --git a/drivers/nvme/host/multipath.c b/drivers/nvme/host/multipath.c
-index fece4654fa3e7..f4287d8550a9f 100644
--- a/drivers/nvme/host/multipath.c
+++ b/drivers/nvme/host/multipath.c
-@@ -410,11 +410,10 @@ static void nvme_mpath_set_live(struct nvme_ns *ns)
+@@ -409,11 +409,10 @@ static void nvme_mpath_set_live(struct n
{
struct nvme_ns_head *head = ns->head;
if (!(head->disk->flags & GENHD_FL_UP))
device_add_disk(&head->subsys->dev, head->disk,
nvme_ns_id_attr_groups);
-@@ -427,9 +426,10 @@ static void nvme_mpath_set_live(struct nvme_ns *ns)
+@@ -426,9 +425,10 @@ static void nvme_mpath_set_live(struct n
__nvme_find_path(head, node);
srcu_read_unlock(&head->srcu, srcu_idx);
}
}
static int nvme_parse_ana_log(struct nvme_ctrl *ctrl, void *data,
-@@ -484,14 +484,12 @@ static inline bool nvme_state_is_live(enum nvme_ana_state state)
+@@ -483,14 +483,12 @@ static inline bool nvme_state_is_live(en
static void nvme_update_ns_ana_state(struct nvme_ana_group_desc *desc,
struct nvme_ns *ns)
{
}
static int nvme_update_ana_state(struct nvme_ctrl *ctrl,
-@@ -670,10 +668,8 @@ void nvme_mpath_add_disk(struct nvme_ns *ns, struct nvme_id_ns *id)
- nvme_update_ns_ana_state(&desc, ns);
- }
+@@ -661,10 +659,8 @@ void nvme_mpath_add_disk(struct nvme_ns
+ nvme_parse_ana_log(ns->ctrl, ns, nvme_set_ns_ana_state);
+ mutex_unlock(&ns->ctrl->ana_lock);
} else {
- mutex_lock(&ns->head->lock);
ns->ana_state = NVME_ANA_OPTIMIZED;
nvme_mpath_set_live(ns);
- mutex_unlock(&ns->head->lock);
}
+ }
- if (bdi_cap_stable_pages_required(ns->queue->backing_dev_info)) {
---
-2.25.1
-